summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-06-30 18:02:54 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-06-30 18:02:54 (GMT)
commit71cbafbda124585b3dad1485659b32241be0038b (patch)
tree2dc55fc802ac3682aed37f59fad71ed60d0d192f
parenta6d2c769fb38129b6654f8e4ad5b6b27af182f2c (diff)
downloadcpython-71cbafbda124585b3dad1485659b32241be0038b.zip
cpython-71cbafbda124585b3dad1485659b32241be0038b.tar.gz
cpython-71cbafbda124585b3dad1485659b32241be0038b.tar.bz2
Issue #12407: Explicitly skip test_capi.EmbeddingTest under Windows.
-rw-r--r--Lib/test/test_capi.py3
-rw-r--r--Misc/NEWS2
2 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py
index 327ac66..ada393d 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 5fa463a..9ce6cb5 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.