Commit b06231a9 authored by Zachary Ware's avatar Zachary Ware

Issue #19572: Replace a return that shouldn't have been removed from test_os.

This should fix the test_os failure on the AMD64 Windows 7 buildbot.
parent 227c01a1
......@@ -134,6 +134,7 @@ class TemporaryFileTests(unittest.TestCase):
self.assertEqual(first.args, second.args)
else:
self.fail("expected os.tmpfile() to raise OSError")
return
else:
# open() worked, therefore, tmpfile() should work. Close our
# dummy file and proceed with the test as normal.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment