diff options
| author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-03-16 21:49:20 +0200 |
|---|---|---|
| committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-03-16 21:49:20 +0200 |
| commit | e5e7a7cbf450f80fa9a88038878b6bd525313f37 (patch) | |
| tree | 02534825505cbbe06aa12dfda5386330a0d67605 /Lib/distutils | |
| parent | e3eb0615af1389f221cb617de71fe9bb42bb7769 (diff) | |
| parent | c28f6fa505f717698038b41492265129c77dfc0e (diff) | |
| download | cpython-git-e5e7a7cbf450f80fa9a88038878b6bd525313f37.tar.gz | |
#11420: merge with 3.2.
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 1037d8216e..0ad32d421e 100644 --- a/Lib/distutils/tests/test_bdist_dumb.py +++ b/Lib/distutils/tests/test_bdist_dumb.py @@ -88,9 +88,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(): |
