Message73047
test_urllib's test_geturl fails with following messege.
test_urllib
test test_urllib failed -- Traceback (most recent call last):
File "/home/WhiteRabbit/python-dev/trunk/Lib/test/test_urllib.py",
line 84, in
test_geturl
self.assertEqual(self.returned_obj.geturl(), self.pathname)
AssertionError: 'file:///tmp/@test' != '/tmp/@test'
test_support.TESTFN is /tmp/@test on cygwin, and Lib/urllib.py(484,485)
specially cares about leading slash.
if file[:1] == '/':
urlfile = 'file://' + file
If this is geturl()'s design, probably test should be changed like
attached patch. |
|
| Date |
User |
Action |
Args |
| 2008-09-11 18:27:36 | ocean-city | set | recipients:
+ ocean-city |
| 2008-09-11 18:27:36 | ocean-city | set | messageid: <[email protected]> |
| 2008-09-11 18:27:20 | ocean-city | link | issue3840 messages |
| 2008-09-11 18:27:20 | ocean-city | create | |
|