diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2009-10-23 12:01:13 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2009-10-23 12:01:13 (GMT) |
commit | b119ca9df4dd918c569c0831bae8ff2857d51d11 (patch) | |
tree | 12bd23b4ff985a360ea81a3db63f52b3df3b2f10 /Lib/test | |
parent | dc0205296b082b303c726d93c019e7e20fdc687b (diff) | |
download | cpython-b119ca9df4dd918c569c0831bae8ff2857d51d11.zip cpython-b119ca9df4dd918c569c0831bae8ff2857d51d11.tar.gz cpython-b119ca9df4dd918c569c0831bae8ff2857d51d11.tar.bz2 |
Fix Windows buildbot failure
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_threading.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py index 6e44a28..71a8844 100644 --- a/Lib/test/test_threading.py +++ b/Lib/test/test_threading.py @@ -326,12 +326,11 @@ class ThreadTests(unittest.TestCase): stdout=subprocess.PIPE, stderr=subprocess.PIPE) stdout, stderr = p.communicate() - self.assertEqual(stdout, "Woke up, sleep function is: <built-in function sleep>\n") + self.assertEqual(stdout.strip(), + "Woke up, sleep function is: <built-in function sleep>") stderr = re.sub(r"^\[\d+ refs\]", "", stderr, re.MULTILINE).strip() self.assertEqual(stderr, "") - - def test_enumerate_after_join(self): # Try hard to trigger #1703448: a thread is still returned in # threading.enumerate() after it has been join()ed. |