Message142634
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: |
|
Date |
User |
Action |
Args |
2011-08-21 17:46:04 | rpetrov | set | recipients:
+ rpetrov, georg.brandl, paul.moore, pitrou, benjamin.peterson, jkloth, eric.araujo, alexis, python-dev |
2011-08-21 17:46:04 | rpetrov | set | messageid: <1313948764.36.0.509649596413.issue12678@psf.upfronthosting.co.za> |
2011-08-21 17:46:03 | rpetrov | link | issue12678 messages |
2011-08-21 17:46:03 | rpetrov | create | |
|