summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-06-30 18:04:06 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-06-30 18:04:06 (GMT)
commit61600cb0c357fcdca048cee586865a26417dbd70 (patch)
tree5c9e96cb32f7bb5beb1b93fee2e468b510a29bff
parent5de1532163a3247dd82201449d9f0c63012259fc (diff)
parent71cbafbda124585b3dad1485659b32241be0038b (diff)
downloadcpython-61600cb0c357fcdca048cee586865a26417dbd70.zip
cpython-61600cb0c357fcdca048cee586865a26417dbd70.tar.gz
cpython-61600cb0c357fcdca048cee586865a26417dbd70.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 7236474..c649d3e 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 f315c57..28d574f 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.