Commit 44db905f authored by Jason R. Coombs's avatar Jason R. Coombs

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

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

--HG--
branch : distribute
extra : rebase_source : f8cd5491fcfe18f687a67423bb8ccc43d3d76672
parent 152931a9
......@@ -9,6 +9,7 @@ import tempfile
import unittest
import urllib
import unicodedata
import posixpath
from StringIO import StringIO
......@@ -137,7 +138,7 @@ class TestSdistTest(unittest.TestCase):
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()
......@@ -173,7 +174,7 @@ class TestSdistTest(unittest.TestCase):
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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment