aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_svn.py
diff options
context:
space:
mode:
authorPhilip Thiem <ptthiem@gmail.com>2013-07-20 19:15:23 -0500
committerPhilip Thiem <ptthiem@gmail.com>2013-07-20 19:15:23 -0500
commit469a541cb5fca1a161fdc888679c1868870c5c8e (patch)
treeb076d62f1c9cc8d073048fbca513fa69c148c057 /setuptools/tests/test_svn.py
parenta6e7ef0ae1e0ea1f147a2196efe7f2b82c301fe2 (diff)
downloadexternal_python_setuptools-469a541cb5fca1a161fdc888679c1868870c5c8e.tar.gz
external_python_setuptools-469a541cb5fca1a161fdc888679c1868870c5c8e.tar.bz2
external_python_setuptools-469a541cb5fca1a161fdc888679c1868870c5c8e.zip
Tweaks to get everything to pass again.
--HG-- extra : rebase_source : 352b6baf81e891d13f7310bbeb94d2cfce9dbad8
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)