Roumen Petrov <bugtr...@roumenpetrov.info> added the comment: diff --git a/Lib/distutils/tests/test_sdist.py b/Lib/distutils/tests/test_sdist.py index 440af98..520289c 100644 --- a/Lib/distutils/tests/test_sdist.py +++ b/Lib/distutils/tests/test_sdist.py @@ -381,6 +381,15 @@ class SDistTestCase(PyPIRCCommandTestCase): self.assertEqual(manifest, ['README.manual']) + if os.name == 'nt': + archive_name = join(self.tmp_dir, 'dist', 'fake-1.0.zip') + with zipfile.ZipFile(archive_name, "r", ) as zipfp: + archive = zipfp.infolist() + filenames = [zipinfo.filename for zipinfo in archive] + self.assertEqual(sorted(filenames), ['fake-1.0/PKG-INFO', + 'fake-1.0/README.manual']) + return + archive_name = join(self.tmp_dir, 'dist', 'fake-1.0.tar.gz') archive = tarfile.open(archive_name) try:
---------- nosy: +rpetrov _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12678> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com