From 3c919cf140170a03c20ec68a8fe63586b718d057 Mon Sep 17 00:00:00 2001
From: Florent Xicluna <florent.xicluna@gmail.com>
Date: Tue, 23 Mar 2010 19:19:16 +0000
Subject: The SIGINT signal may happen earlier, during site.py initialization.

---
 Lib/test/test_subprocess.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py
index 19eed15..a858c40 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):
-- 
cgit v0.12

