Merged revisions 75574 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75574 | antoine.pitrou | 2009-10-20 23:59:25 +0200 (mar., 20 oct. 2009) | 4 lines

  Test wouldn't work in debug mode.
  We probably need a function in test_support to handle this.
........
This commit is contained in:
Antoine Pitrou 2009-10-20 22:02:29 +00:00
parent 810a80ab64
commit be03eec2e6
1 changed files with 1 additions and 0 deletions

View File

@ -321,6 +321,7 @@ class ThreadTests(unittest.TestCase):
stderr=subprocess.PIPE)
stdout, stderr = p.communicate()
self.assertEqual(stdout, b"Woke up, sleep function is: <built-in function sleep>\n")
stderr = re.sub(br"^\[\d+ refs\]", "", stderr, re.MULTILINE).strip()
self.assertEqual(stderr, b"")
def test_enumerate_after_join(self):