Back out changeset b6336ba796d4 until fix for #13303.

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

View File

@ -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)