mirror of https://github.com/python/cpython
Back out changeset b6336ba796d4 until fix for #13303.
This commit is contained in:
parent
31846c4372
commit
c12e093795
|
@ -113,7 +113,8 @@ 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(stat.S_IMODE(s.st_mode),
|
self.assertEqual(
|
||||||
|
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]
|
||||||
|
|
Loading…
Reference in New Issue