Issue #12407: Explicitly skip test_capi.EmbeddingTest under Windows.
diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py
index 7236474..c649d3e 100644
--- a/Lib/test/test_capi.py
+++ b/Lib/test/test_capi.py
@@ -145,6 +145,9 @@
class EmbeddingTest(unittest.TestCase):
+ @unittest.skipIf(
+ sys.platform.startswith('win'),
+ "test doesn't work under Windows")
def test_subinterps(self):
# XXX only tested under Unix checkouts
basepath = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
diff --git a/Misc/NEWS b/Misc/NEWS
index f315c57..28d574f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -938,6 +938,8 @@
Tests
-----
+- Issue #12407: Explicitly skip test_capi.EmbeddingTest under Windows.
+
- Issue #12400: regrtest -W doesn't rerun the tests twice anymore, but captures
the output and displays it on failure instead. regrtest -v doesn't print the
error twice anymore if there is only one error.