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

This commit is contained in:
Charles-François Natali 2011-11-08 19:43:09 +01:00
commit 31846c4372
1 changed files with 3 additions and 4 deletions

View File

@ -113,8 +113,7 @@ class ImportTests(unittest.TestCase):
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),
self.assertEqual(stat.S_IMODE(s.st_mode),
stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH)
finally:
del sys.path[0]