Commits

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)

setuptools/tests/test_sdist.py

 import unittest
 import urllib
 import unicodedata
+import posixpath
 from StringIO import StringIO
 
 
         os.mkdir('sdist_test.egg-info')
 
         # UTF-8 filename
-        filename = os.path.join('sdist_test', 'smörbröd.py')
+        filename = posixpath.join('sdist_test', 'smörbröd.py')
 
         # Add UTF-8 filename and write manifest
         quiet()
         os.mkdir('sdist_test.egg-info')
 
         # 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
         quiet()