From c12e0937955ef821c17d7d08038951253a5734bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Fran=C3=A7ois=20Natali?= Date: Tue, 8 Nov 2011 20:38:11 +0100 Subject: [PATCH] Back out changeset b6336ba796d4 until fix for #13303. --- Lib/test/test_import.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py index cb50c12249a..338f1d417d4 100644 --- a/Lib/test/test_import.py +++ b/Lib/test/test_import.py @@ -112,9 +112,10 @@ class ImportTests(unittest.TestCase): if not os.path.exists(fn): self.fail("__import__ did not result in creation of " "either a .pyc or .pyo file") - s = os.stat(fn) - self.assertEqual(stat.S_IMODE(s.st_mode), - stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH) + s = os.stat(fn) + self.assertEqual( + stat.S_IMODE(s.st_mode), + stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH) finally: del sys.path[0] remove_files(TESTFN)