From: Florent Xicluna Date: Sun, 7 Mar 2010 12:21:36 +0000 (+0000) Subject: #2777: Enable test_send_signal, test_terminate and test_kill on win32 platforms. X-Git-Tag: v2.7b1~435 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c02bbe328df8d0edf646c56fb4b7748a54500e6c;p=python #2777: Enable test_send_signal, test_terminate and test_kill on win32 platforms. --- diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index 937518a8c3..5796fc0cfa 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -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)