diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2015-07-13 04:19:51 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2015-07-13 04:19:51 +0200 |
commit | 90641d1c22843df65a82ed91540a5b0c6fd1767d (patch) | |
tree | 5ba80d22203b5a542e651d8f136994cb1e6a3816 /test_ipaddress.py | |
parent | b65c191f86498b98d0265c036cc2315d612ff4e2 (diff) | |
download | ipaddress-90641d1c22843df65a82ed91540a5b0c6fd1767d.tar.gz |
Correct SmallestObject test setup
Diffstat (limited to 'test_ipaddress.py')
-rw-r--r-- | test_ipaddress.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test_ipaddress.py b/test_ipaddress.py index c78c863..200a365 100644 --- a/test_ipaddress.py +++ b/test_ipaddress.py @@ -595,8 +595,8 @@ class LargestObject(ipaddress._TotalOrderingMixin): class SmallestObject(ipaddress._TotalOrderingMixin): def __eq__(self, other): return isinstance(other, SmallestObject) - def __gt__(self, other): - return False + def __lt__(self, other): + return True class ComparisonTests(unittest.TestCase): |