changeset: 87891:ca9bca7aecda branch: 2.7 parent: 87888:21a9abf6d428 user: Zachary Ware date: Tue Dec 10 16:06:46 2013 -0600 files: Lib/test/test_os.py description: 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. diff -r 21a9abf6d428 -r ca9bca7aecda Lib/test/test_os.py --- a/Lib/test/test_os.py Tue Dec 10 14:14:28 2013 -0600 +++ b/Lib/test/test_os.py Tue Dec 10 16:06:46 2013 -0600 @@ -134,6 +134,7 @@ 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.

AltStyle によって変換されたページ (->オリジナル) /