[Python-checkins] r79350 - python/trunk/Lib/test/test_subprocess.py
florent.xicluna
python-checkins at python.org
Tue Mar 23 20:19:16 CET 2010
Author: florent.xicluna
Date: Tue Mar 23 20:19:16 2010
New Revision: 79350
Log:
The SIGINT signal may happen earlier, during site.py initialization.
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 Tue Mar 23 20:19:16 2010
@@ -669,10 +669,7 @@
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):
More information about the Python-checkins
mailing list