Skip to content

Commit

Permalink
Merged revisions 65059 via svnmerge from
Browse files Browse the repository at this point in the history
svn+ssh://[email protected]/python/trunk

........
  r65059 | benjamin.peterson | 2008-07-17 07:57:22 -0500 (Thu, 17 Jul 2008) | 1 line

  try to fix test_threading on the Windows bot
........
  • Loading branch information
benjaminp committed Jul 17, 2008
1 parent 6f4f24f commit ad703dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lib/test/test_threading.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,8 @@ def joiningfunc(mainthread):
import subprocess
p = subprocess.Popen([sys.executable, "-c", script], stdout=subprocess.PIPE)
rc = p.wait()
self.assertEqual(p.stdout.read().decode(), "end of main\nend of thread\n")
data = p.stdout.read().decode().replace('\r', '')
self.assertEqual(data, "end of main\nend of thread\n")
self.failIf(rc == 2, "interpreter was blocked")
self.failUnless(rc == 0, "Unexpected error")

Expand Down

0 comments on commit ad703dc

Please sign in to comment.