Commits

Jason R. Coombs committed 891c4c6

Added another test with only latin-1 characters

Comments (0)

Files changed (1)

Lib/distutils/tests/test_archive_util.py

         self._make_tarball(u'archive')
 
     @unittest.skipUnless(zlib, "requires zlib")
-    def test_make_tarball_unicode_chars(self):
+    def test_make_tarball_unicode_latin1(self):
         """
         Mirror test_make_tarball, except filename is unicode and contains
-        Unicode characters.
+        latin characters.
         """
-        self._make_tarball(u'のアーカイブ')
+        self._make_tarball(u'årchiv') # note this isn't a real word
+
+    @unittest.skipUnless(zlib, "requires zlib")
+    def test_make_tarball_unicode_extended(self):
+        """
+        Mirror test_make_tarball, except filename is unicode and contains
+        characters outside the latin charset.
+        """
+        self._make_tarball(u'のアーカイブ') # japanese for archive
 
 def test_suite():
     return unittest.makeSuite(ArchiveUtilTestCase)