diff options
author | Charles-François Natali <neologix@free.fr> | 2011-11-08 18:43:09 (GMT) |
---|---|---|
committer | Charles-François Natali <neologix@free.fr> | 2011-11-08 18:43:09 (GMT) |
commit | 31846c4372623aa7e02b48ba72f490373528472f (patch) | |
tree | 87c4da0e7368cd110a98f765eb46edcd9e9fbf5a /Lib/test/test_import.py | |
parent | 682ca1e6e2546361a4cb117f522ca2886f35d572 (diff) | |
parent | 69d44fdb90fda47a1d6a46e3a49f67487b84c3ac (diff) | |
download | cpython-31846c4372623aa7e02b48ba72f490373528472f.zip cpython-31846c4372623aa7e02b48ba72f490373528472f.tar.gz cpython-31846c4372623aa7e02b48ba72f490373528472f.tar.bz2 |
test_import: test_execute_bit_not_copied() was actually a no-op: enable it.
Diffstat (limited to 'Lib/test/test_import.py')
-rw-r--r-- | Lib/test/test_import.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py index 338f1d4..cb50c12 100644 --- a/Lib/test/test_import.py +++ b/Lib/test/test_import.py @@ -112,10 +112,9 @@ 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) |