diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2010-03-23 19:19:16 +0000 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2010-03-23 19:19:16 +0000 |
commit | b074f613b3d6b6d3070ec83bd3831e022af5df45 (patch) | |
tree | 12ca3f3e41705c1854ad0fd142750d0d170d6e0d /Lib/test/test_subprocess.py | |
parent | 64f84186ec5678b109a6dc0c03fbe466d3e892b8 (diff) | |
download | cpython-b074f613b3d6b6d3070ec83bd3831e022af5df45.tar.gz |
The SIGINT signal may happen earlier, during site.py initialization.
Diffstat (limited to 'Lib/test/test_subprocess.py')
-rw-r--r-- | Lib/test/test_subprocess.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index 19eed154ea..a858c402ed 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -669,10 +669,7 @@ class POSIXProcessTestCase(BaseTestCase): def test_send_signal(self): p = self._kill_process('send_signal', signal.SIGINT) _, stderr = p.communicate() - self.assertStderrEqual(stderr, - "Traceback (most recent call last):\n" - " File \"<string>\", line 1, in <module>\n" - "KeyboardInterrupt\n") + self.assertIn('KeyboardInterrupt', stderr) self.assertNotEqual(p.wait(), 0) def test_kill(self): |