summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ipaddress.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Issue 14814: Provide more informative error messages in ipaddress, and ↵Nick Coghlan2012-07-071-146/+407
| | | | ensure that errors are caught as expected
* Issue 14814: Eliminate bytes warnings from ipaddress by correctly throwing ↵Nick Coghlan2012-07-061-27/+34
| | | | an exception early when given bytes data of the wrong length. Also removes 2.x backwards compatibility code from associated tests.
* Issue 14814: Better handling of cases where octet/hextet parsing fails, ↵Nick Coghlan2012-07-061-36/+41
| | | | including ensuring that tracebacks are still clean even when calling class constructors directly
* Improve an internal ipaddress test, add a comment explaining why treating ↵Nick Coghlan2012-06-171-6/+21
| | | | networks as containers of interfaces rather than addresses would prove confusing
* #14814: ipaddress: refactor dup code, minor janitoring, bump coverageHynek Schlawack2012-06-051-28/+148
| | | | | | | | - remove duplicate netmask/hostmask code - make two ifs more pythonic - remove packed property for networks - some minor pep8 stuff - Test coverage is now at 97%, the rest are mostly unreachable safeguards.
* #14814: Remove dead code from ipaddressHynek Schlawack2012-06-041-0/+16
| | | | | _BaseNetwork contained (faulty) methods for creating string representations. I've fixed them and put them to use by eliminating identical overrides.
* #14814: Use correct comparison for IP addressesHynek Schlawack2012-06-041-0/+1
| | | | | ipaddress._BaseV4.is_unspecified() compared IP addresses using "in" which fails.
* #14814: Fix errror message creation in ipaddress.collapse_addressesHynek Schlawack2012-06-011-4/+11
|
* Issue #14814: Clean out an obsolete property and method from ipaddress ↵Nick Coghlan2012-05-261-1/+1
| | | | Network objects
* Issue #14814: Cleanup ipaddress header commentsNick Coghlan2012-05-261-16/+2
|
* Issue #14814: In the spirit of TOOWTDI, ditch the redundant version ↵Nick Coghlan2012-05-261-19/+1
| | | | parameter to the factory functions by using the appropriate direct class references instead
* Issue #14814: improve docstrings and arguments value handling, as per Terry ↵Sandro Tosi2012-05-231-0/+18
| | | | J. Reedy's comments
* Issue #14814: addition of the ipaddress module (stage 1 - code and tests)Nick Coghlan2012-05-201-0/+1142