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:
parent
227c01a194
commit
b06231a9c9
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue