Message227712
| Author |
serhiy.storchaka |
| Recipients |
Benno.Rice, BreamoreBoy, ezio.melotti, flox, orsenthil, serhiy.storchaka, vstinner |
| Date |
2014年09月27日.18:43:32 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1411843413.11.0.388641903919.issue7665@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The ntpath test failure is replicated when the test is ran directly:
~/py/cpython1円$ ./python Lib/test/test_ntpath.py
........................s........E.....
======================================================================
ERROR: test_relpath (__main__.TestNtpath)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_ntpath.py", line 314, in test_relpath
tester('ntpath.relpath("a", "../b")', '..\\'+currentdir+'\\a')
File "Lib/test/test_ntpath.py", line 16, in tester
%(str(fn), str(wantResult), str(gotResult)))
test.support.TestFailed: ntpath.relpath("a", "../b") should return: ..\cpython1円\a but returned: ..1円\a
----------------------------------------------------------------------
Here is a patch with a fix of test_ntpath and with simpler fix of test_urllib2. |
|