[issue7665] test_urllib2 and test_ntpath fail if path contains "\"
Florent Xicluna
report at bugs.python.org
Sun Jan 10 18:41:32 CET 2010
Florent Xicluna <laxyf at 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 <report at bugs.python.org>
<http://bugs.python.org/issue7665>
_______________________________________
More information about the Python-bugs-list
mailing list