aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_svn.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/tests/test_svn.py')
-rw-r--r--setuptools/tests/test_svn.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/setuptools/tests/test_svn.py b/setuptools/tests/test_svn.py
index 4a6e7eff..59ecb25b 100644
--- a/setuptools/tests/test_svn.py
+++ b/setuptools/tests/test_svn.py
@@ -114,20 +114,21 @@ class ParserExternalXML(unittest.TestCase):
folder3 = 'third_party3'
expected = set([
- "\\".join((example_base, folder2)),
- "\\".join((example_base, folder3)),
+ os.sep.join((example_base, folder2)),
+ os.sep.join((example_base, folder3)),
#third_party大介
- "\\".join((example_base,
+ os.sep.join((example_base,
unicode('third_party') +
unichr(0x5927) + unichr(0x4ecb))),
- "\\".join((example_base, 'folder', folder2)),
- "\\".join((example_base, 'folder', folder3)),
- "\\".join((example_base, 'folder',
+ os.sep.join((example_base, 'folder', folder2)),
+ os.sep.join((example_base, 'folder', folder3)),
+ os.sep.join((example_base, 'folder',
unicode('third_party') +
unichr(0x5927) + unichr(0x4ecb))),
])
- dir_base = r'c:\development\svn_example'
+ expected = set(os.path.normpath(x) for x in expected)
+ dir_base = os.sep.join(('C:', 'development', 'svn_example'))
self.assertEqual(set(x for x \
in svn_utils.parse_externals_xml(data, dir_base)), expected)