diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-09-25 15:03:27 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-09-25 15:03:27 (GMT) |
commit | d79ac0fad7d125d081194981e8bd17b1528a8bfc (patch) | |
tree | be5fd634642176c641dd5b6b4a7995c053550750 /Lib/test/test_import.py | |
parent | 296b21a479f300b7622dde6badabc312043177dd (diff) | |
parent | d388c4e02f824808c7d9d46d95fac4497fdd89b2 (diff) | |
download | cpython-d79ac0fad7d125d081194981e8bd17b1528a8bfc.zip cpython-d79ac0fad7d125d081194981e8bd17b1528a8bfc.tar.gz cpython-d79ac0fad7d125d081194981e8bd17b1528a8bfc.tar.bz2 |
merge 3.2
Diffstat (limited to 'Lib/test/test_import.py')
-rw-r--r-- | Lib/test/test_import.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py index 19863b9..0746411 100644 --- a/Lib/test/test_import.py +++ b/Lib/test/test_import.py @@ -591,7 +591,7 @@ class PycacheTests(unittest.TestCase): self.assertTrue(os.path.exists('__pycache__')) self.assertTrue(os.path.exists(os.path.join( '__pycache__', '{}.{}.py{}'.format( - TESTFN, self.tag, __debug__ and 'c' or 'o')))) + TESTFN, self.tag, 'c' if __debug__ else 'o')))) @unittest.skipUnless(os.name == 'posix', "test meaningful only on posix systems") |