[Python-checkins] r78759 - python/trunk/Lib/test/test_subprocess.py

florent.xicluna python-checkins at python.org
Sun Mar 7 13:21:36 CET 2010


Author: florent.xicluna
Date: Sun Mar  7 13:21:36 2010
New Revision: 78759

Log:
#2777: Enable test_send_signal, test_terminate and test_kill on win32 platforms.


Modified:
   python/trunk/Lib/test/test_subprocess.py

Modified: python/trunk/Lib/test/test_subprocess.py
==============================================================================
--- python/trunk/Lib/test/test_subprocess.py	(original)
+++ python/trunk/Lib/test/test_subprocess.py	Sun Mar  7 13:21:36 2010
@@ -768,7 +768,6 @@
                              ' -c "import sys; sys.exit(47)"')
         self.assertEqual(rc, 47)
 
-    @unittest.skip("It fails on some win32 platforms. See issue #2777")
     def test_send_signal(self):
         # Redirect the stdin file handle.
         # It should fix failure on some win32 platforms.
@@ -779,7 +778,6 @@
         p.send_signal(signal.SIGTERM)
         self.assertNotEqual(p.wait(), 0)
 
-    @unittest.skip("It fails on some win32 platforms. See issue #2777")
     def test_kill(self):
         p = subprocess.Popen([sys.executable, "-c", "input()"],
                              stdin=subprocess.PIPE)
@@ -788,7 +786,6 @@
         p.kill()
         self.assertNotEqual(p.wait(), 0)
 
-    @unittest.skip("It fails on some win32 platforms. See issue #2777")
     def test_terminate(self):
         p = subprocess.Popen([sys.executable, "-c", "input()"],
                              stdin=subprocess.PIPE)


More information about the Python-checkins mailing list