Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c12e093

Browse files
author
Charles-François Natali
committed
Back out changeset b6336ba796d4 until fix for #13303.
1 parent 31846c4 commit c12e093

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Lib/test/test_import.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,10 @@ def test_execute_bit_not_copied(self):
112112
if not os.path.exists(fn):
113113
self.fail("__import__ did not result in creation of "
114114
"either a .pyc or .pyo file")
115-
s = os.stat(fn)
116-
self.assertEqual(stat.S_IMODE(s.st_mode),
117-
stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH)
115+
s = os.stat(fn)
116+
self.assertEqual(
117+
stat.S_IMODE(s.st_mode),
118+
stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH)
118119
finally:
119120
del sys.path[0]
120121
remove_files(TESTFN)

0 commit comments

Comments
 (0)