Jason R. Coombs committed 4f82563

Fix two failing tests on Windows (paths separated by backslash didn't match manifest paths separated by slash).

Comments (0)

Files changed (1)


 import unittest
 import urllib
 import unicodedata
+import posixpath
 from StringIO import StringIO
         # UTF-8 filename
-        filename = os.path.join('sdist_test', 'smörbrö')
+        filename = posixpath.join('sdist_test', 'smörbrö')
         # Add UTF-8 filename and write manifest
         # Latin-1 filename
-        filename = os.path.join(b('sdist_test'), LATIN1_FILENAME)
+        filename = posixpath.join(b('sdist_test'), LATIN1_FILENAME)
         # Add filename with surrogates and write manifest
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
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.