diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py index 72364747f8d..c649d3e681e 100644 --- a/Lib/test/test_capi.py +++ b/Lib/test/test_capi.py @@ -145,6 +145,9 @@ class Test6012(unittest.TestCase): 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 f315c57b13c..28d574f2ef7 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -938,6 +938,8 @@ Extension Modules 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.