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

Skip to content

Commit d79ac0f

Browse files
committed
merge 3.2
2 parents 296b21a + d388c4e commit d79ac0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_import.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ def test_import_pyc_path(self):
591591
self.assertTrue(os.path.exists('__pycache__'))
592592
self.assertTrue(os.path.exists(os.path.join(
593593
'__pycache__', '{}.{}.py{}'.format(
594-
TESTFN, self.tag, __debug__ and 'c' or 'o'))))
594+
TESTFN, self.tag, 'c' if __debug__ else 'o'))))
595595

596596
@unittest.skipUnless(os.name == 'posix',
597597
"test meaningful only on posix systems")

0 commit comments

Comments
 (0)