[Python-checkins] cpython (merge 3.2 -> default): Issue #12407: Explicitly skip test_capi.EmbeddingTest under Windows.

antoine.pitrou python-checkins at python.org
Thu Jun 30 20:05:05 CEST 2011


http://hg.python.org/cpython/rev/5cae52417b9d
changeset:   71102:5cae52417b9d
parent:      71100:0cef8cac71c8
parent:      71101:7c60c1b41da9
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Thu Jun 30 20:04:06 2011 +0200
summary:
  Issue #12407: Explicitly skip test_capi.EmbeddingTest under Windows.

files:
  Lib/test/test_capi.py |  3 +++
  Misc/NEWS             |  2 ++
  2 files changed, 5 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py
--- a/Lib/test/test_capi.py
+++ b/Lib/test/test_capi.py
@@ -145,6 +145,9 @@
 
 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
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -938,6 +938,8 @@
 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.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list