]> granicus.if.org Git - python/commitdiff
#2777: Enable test_send_signal, test_terminate and test_kill on win32 platforms.
authorFlorent Xicluna <florent.xicluna@gmail.com>
Sun, 7 Mar 2010 12:21:36 +0000 (12:21 +0000)
committerFlorent Xicluna <florent.xicluna@gmail.com>
Sun, 7 Mar 2010 12:21:36 +0000 (12:21 +0000)
Lib/test/test_subprocess.py

index 937518a8c36e26e82c2cb8410350b4542de10681..5796fc0cfa5325bd28b596171d9120eb303a3cc5 100644 (file)
@@ -768,7 +768,6 @@ class Win32ProcessTestCase(unittest.TestCase):
                              ' -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 @@ class Win32ProcessTestCase(unittest.TestCase):
         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 @@ class Win32ProcessTestCase(unittest.TestCase):
         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)