Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dedd0a commit d388c4eCopy full SHA for d388c4e
1 file changed
Lib/test/test_import.py
@@ -575,7 +575,7 @@ def test_import_pyc_path(self):
575
self.assertTrue(os.path.exists('__pycache__'))
576
self.assertTrue(os.path.exists(os.path.join(
577
'__pycache__', '{}.{}.py{}'.format(
578
- TESTFN, self.tag, __debug__ and 'c' or 'o'))))
+ TESTFN, self.tag, 'c' if __debug__ else 'o'))))
579
580
@unittest.skipUnless(os.name == 'posix',
581
"test meaningful only on posix systems")
0 commit comments