Merged revisions 75624 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r75624 | antoine.pitrou | 2009-10-23 14:01:13 +0200 (ven., 23 oct. 2009) | 3 lines Fix Windows buildbot failure ........
This commit is contained in:
parent
97115d190a
commit
899d1c64e3
|
@ -320,7 +320,8 @@ class ThreadTests(unittest.TestCase):
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE)
|
stderr=subprocess.PIPE)
|
||||||
stdout, stderr = p.communicate()
|
stdout, stderr = p.communicate()
|
||||||
self.assertEqual(stdout, b"Woke up, sleep function is: <built-in function sleep>\n")
|
self.assertEqual(stdout.strip(),
|
||||||
|
b"Woke up, sleep function is: <built-in function sleep>")
|
||||||
stderr = re.sub(br"^\[\d+ refs\]", b"", stderr, re.MULTILINE).strip()
|
stderr = re.sub(br"^\[\d+ refs\]", b"", stderr, re.MULTILINE).strip()
|
||||||
self.assertEqual(stderr, b"")
|
self.assertEqual(stderr, b"")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue