[issue12581] Increased test coverage of test_urlparse

Petter Haggholm report at bugs.python.org
Tue Jul 19 08:21:09 CEST 2011


Petter Haggholm <petter at petterhaggholm.net> added the comment:

It’s my pleasure — it’s very trivial, but hopefully it’ll get my feet wet and get me in a place where I am familiar enough with procedures and things to contribute something relevant. :)

Attaching a modified patch with (1) reversion to duck typing in parse.py, and (2) a few comments added to the tests. At this point, it may even be worth reviewing when someone has the time. (While the tests are pretty trivial, and admittedly coverage driven, they do hit a few edge cases with blank values &c. that were previously not run.)

----------
Added file: http://bugs.python.org/file22695/urlparsetest.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12581>
_______________________________________


More information about the Python-bugs-list mailing list