]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #12407: Explicitly skip test_capi.EmbeddingTest under Windows.
authorAntoine Pitrou <solipsis@pitrou.net>
Thu, 30 Jun 2011 18:02:54 +0000 (20:02 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Thu, 30 Jun 2011 18:02:54 +0000 (20:02 +0200)
Lib/test/test_capi.py
Misc/NEWS

index 327ac66501447ccbefea441a9b2cef12b8c75f87..ada393d9b469ee9d4a773196dad4627c6435986e 100644 (file)
@@ -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__)))
index 5fa463a2707214f171d8e977cac4b8821db5401c..9ce6cb56789a3745edc8e78b70c631b84852eaf5 100644 (file)
--- 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.