test_import: test_execute_bit_not_copied() was actually a no-op: fix it.

parent bc91b469
...@@ -113,8 +113,7 @@ class ImportTests(unittest.TestCase): ...@@ -113,8 +113,7 @@ class ImportTests(unittest.TestCase):
self.fail("__import__ did not result in creation of " self.fail("__import__ did not result in creation of "
"either a .pyc or .pyo file") "either a .pyc or .pyo file")
s = os.stat(fn) s = os.stat(fn)
self.assertEqual( self.assertEqual(stat.S_IMODE(s.st_mode),
stat.S_IMODE(s.st_mode),
stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH) stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH)
finally: finally:
del sys.path[0] del sys.path[0]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment