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.
This commit is contained in:
Zachary Ware 2013-12-10 16:06:46 -06:00
parent 227c01a194
commit b06231a9c9
1 changed files with 1 additions and 0 deletions

View File

@ -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.