diff options
Diffstat (limited to 'distutils2/tests/test_command_sdist.py')
| -rw-r--r-- | distutils2/tests/test_command_sdist.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/distutils2/tests/test_command_sdist.py b/distutils2/tests/test_command_sdist.py index ebfc818..cdb0595 100644 --- a/distutils2/tests/test_command_sdist.py +++ b/distutils2/tests/test_command_sdist.py @@ -45,7 +45,6 @@ setup(name='fake') MANIFEST = """\ # file GENERATED by distutils, do NOT edit -README inroot.txt data%(sep)sdata.dt scripts%(sep)sscript.py @@ -141,7 +140,7 @@ class SDistTestCase(support.TempdirManager, support.LoggingCatcher, zip_file.close() # making sure everything has been pruned correctly - self.assertEqual(len(content), 3) + self.assertEqual(len(content), 2) @unittest.skipUnless(zlib, "requires zlib") def test_make_distribution(self): @@ -236,7 +235,7 @@ class SDistTestCase(support.TempdirManager, support.LoggingCatcher, zip_file.close() # making sure everything was added - self.assertEqual(len(content), 10) + self.assertEqual(len(content), 9) # checking the MANIFEST manifest = open(join(self.tmp_dir, 'MANIFEST')).read() @@ -362,8 +361,7 @@ class SDistTestCase(support.TempdirManager, support.LoggingCatcher, if line.strip() != ''] finally: f.close() - - self.assertEqual(len(manifest), 4) + self.assertEqual(len(manifest), 3) # adding a file self.write_file((self.tmp_dir, 'somecode', 'doc2.txt'), '#') @@ -383,7 +381,7 @@ class SDistTestCase(support.TempdirManager, support.LoggingCatcher, f.close() # do we have the new file in MANIFEST ? - self.assertEqual(len(manifest2), 5) + self.assertEqual(len(manifest2), 4) self.assertIn('doc2.txt', manifest2[-1]) def test_manifest_marker(self): |
