diff options
author | s-sanjay <sanjay537@gmail.com> | 2017-04-01 06:09:53 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-04-01 06:09:53 (GMT) |
commit | 7bd8d3e794782582a4ad1c9749424fff86802c3e (patch) | |
tree | 8d61336154beda73513828f3451ad62e894ac7fc /Lib/test/test_logging.py | |
parent | 1f5425ff69ea0531d869b4f9fa28bd3f66ca3de7 (diff) | |
download | cpython-7bd8d3e794782582a4ad1c9749424fff86802c3e.zip cpython-7bd8d3e794782582a4ad1c9749424fff86802c3e.tar.gz cpython-7bd8d3e794782582a4ad1c9749424fff86802c3e.tar.bz2 |
bpo-29931 fix __lt__ check in ipaddress.ip_interface for both v4 and v6. (#879)
the original logic was just comparing the network address
but this is wrong because if the network address is equal then
we need to compare the ip address for breaking the tie
add more ip_interface comparison tests
Diffstat (limited to 'Lib/test/test_logging.py')
0 files changed, 0 insertions, 0 deletions