This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients Colin.Williams, ezio.melotti, orsenthil
Date 2013-11-16.23:45:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384645511.61.0.983575275112.issue19383@psf.upfronthosting.co.za>
In-reply-to
Content
The assertions have their arguments in the wrong order, it should be (actual, expected).
In the code of the module there are also some examples in the comments, e.g.:
# path is something like ////host/path/on/remote/host
# convert this to \\host\path\on\remote\host
Even though the path is covered, there's no similar test in this patch.
I would suggest you to include all the examples from the module in the tests.

Also note that this module is already indirectly tested in test_urllib.
History
Date User Action Args
2013-11-16 23:45:11ezio.melottisetrecipients: + ezio.melotti, orsenthil, Colin.Williams
2013-11-16 23:45:11ezio.melottisetmessageid: <1384645511.61.0.983575275112.issue19383@psf.upfronthosting.co.za>
2013-11-16 23:45:11ezio.melottilinkissue19383 messages
2013-11-16 23:45:11ezio.melotticreate