Jason R. Coombs avatar 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)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.