Author rpetrov
Recipients alexis, benjamin.peterson, eric.araujo, georg.brandl, jkloth, paul.moore, pitrou, python-dev, rpetrov
Date 2011-08-21.17:46:03
SpamBayes Score 0.0706504
Marked as misclassified No
Message-id <1313948764.36.0.509649596413.issue12678@psf.upfronthosting.co.za>
In-reply-to
Content
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:
History
Date User Action Args
2011-08-21 17:46:04rpetrovsetrecipients: + rpetrov, georg.brandl, paul.moore, pitrou, benjamin.peterson, jkloth, eric.araujo, alexis, python-dev
2011-08-21 17:46:04rpetrovsetmessageid: <1313948764.36.0.509649596413.issue12678@psf.upfronthosting.co.za>
2011-08-21 17:46:03rpetrovlinkissue12678 messages
2011-08-21 17:46:03rpetrovcreate