summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles-François Natali <neologix@free.fr>2011-11-08 19:38:11 (GMT)
committerCharles-François Natali <neologix@free.fr>2011-11-08 19:38:11 (GMT)
commitc12e0937955ef821c17d7d08038951253a5734bb (patch)
tree28101937122d589ceff77faa5e5d0522e9d7df80
parent31846c4372623aa7e02b48ba72f490373528472f (diff)
downloadcpython-c12e0937955ef821c17d7d08038951253a5734bb.zip
cpython-c12e0937955ef821c17d7d08038951253a5734bb.tar.gz
cpython-c12e0937955ef821c17d7d08038951253a5734bb.tar.bz2
Back out changeset b6336ba796d4 until fix for #13303.
-rw-r--r--Lib/test/test_import.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py
index cb50c12..338f1d4 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)