Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit be03eec

Browse files
committed
Merged revisions 75574 via svnmerge from
svn+ssh://[email protected]/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. ........
1 parent 810a80a commit be03eec

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_threading.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ def child():
321321
stderr=subprocess.PIPE)
322322
stdout, stderr = p.communicate()
323323
self.assertEqual(stdout, b"Woke up, sleep function is: <built-in function sleep>\n")
324+
stderr = re.sub(br"^\[\d+ refs\]", "", stderr, re.MULTILINE).strip()
324325
self.assertEqual(stderr, b"")
325326

326327
def test_enumerate_after_join(self):

0 commit comments

Comments
 (0)