diff options
-rw-r--r-- | Lib/test/test_heapq.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_heapq.py b/Lib/test/test_heapq.py index 6f05e17..f91d86d 100644 --- a/Lib/test/test_heapq.py +++ b/Lib/test/test_heapq.py @@ -210,7 +210,7 @@ class TestHeapC(TestHeap): class LE: def __init__(self, x): self.x = x - def __lt__(self, other): + def __le__(self, other): return self.x >= other.x data = [random.random() for i in range(100)] target = sorted(data, reverse=True) |