Florent Xicluna <la...@yahoo.fr> added the comment: Similar issue with test_ntpath.
/tmp/py2u… → un\icode $ ./python Lib/test/regrtest.py test_ntpath test_ntpath test test_ntpath failed -- Traceback (most recent call last): File "/tmp/py2u… → un\icode/Lib/test/test_ntpath.py", line 171, in test_relpath tester('ntpath.relpath("a", "../b")', '..\\'+currentdir+'\\a') File "/tmp/py2u… → un\icode/Lib/test/test_ntpath.py", line 13, in tester %(str(fn), str(wantResult), str(gotResult)) TestFailed: ntpath.relpath("a", "../b") should return: ..\py2u… → un\icode\a but returned: ..\icode\a 1 test failed: test_ntpath ---------- title: test_urllib2 fails if path contains "\" -> test_urllib2 and test_ntpath fail if path contains "\" _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7665> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com