From: Antoine Pitrou Date: Thu, 30 Jun 2011 18:02:54 +0000 (+0200) Subject: Issue #12407: Explicitly skip test_capi.EmbeddingTest under Windows. X-Git-Tag: v3.2.1rc2~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=71cbafbda124585b3dad1485659b32241be0038b;p=thirdparty%2FPython%2Fcpython.git Issue #12407: Explicitly skip test_capi.EmbeddingTest under Windows. --- diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py index 327ac6650144..ada393d9b469 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 5fa463a27072..9ce6cb56789a 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -136,6 +136,8 @@ Build 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.