diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-03-16 19:50:04 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-03-16 19:50:04 (GMT) |
commit | 469da97c1e7b1a36771ed6fe819473ba81569422 (patch) | |
tree | 3ef7b602007ddd6e0d8d5fe48ac9a03d5e29a14e /Lib/distutils | |
parent | 2d6acd2ac2399ecc0f163c12c5695f434ba14955 (diff) | |
parent | e5e7a7cbf450f80fa9a88038878b6bd525313f37 (diff) | |
download | cpython-469da97c1e7b1a36771ed6fe819473ba81569422.zip cpython-469da97c1e7b1a36771ed6fe819473ba81569422.tar.gz cpython-469da97c1e7b1a36771ed6fe819473ba81569422.tar.bz2 |
#11420: merge with 3.3.
Diffstat (limited to 'Lib/distutils')
-rw-r--r-- | Lib/distutils/tests/test_bdist_dumb.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/distutils/tests/test_bdist_dumb.py b/Lib/distutils/tests/test_bdist_dumb.py index 761051c..7306166 100644 --- a/Lib/distutils/tests/test_bdist_dumb.py +++ b/Lib/distutils/tests/test_bdist_dumb.py @@ -86,9 +86,9 @@ class BuildDumbTestCase(support.TempdirManager, fp.close() contents = sorted(os.path.basename(fn) for fn in contents) - wanted = ['foo-0.1-py%s.%s.egg-info' % sys.version_info[:2], - 'foo.%s.pyc' % imp.get_tag(), - 'foo.py'] + wanted = ['foo-0.1-py%s.%s.egg-info' % sys.version_info[:2], 'foo.py'] + if not sys.dont_write_bytecode: + wanted.append('foo.%s.pyc' % imp.get_tag()) self.assertEqual(contents, sorted(wanted)) def test_suite(): |