commit | 5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue Jun 30 22:57:08 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Tue Jun 30 22:57:08 2009 +0000 |
tree | 41f38aca16748628d53906337f06fdf087f52314 | |
parent | be96cf608fa656d7e53144cf85082ed5661e8c13 [diff] [blame] |
convert usage of fail* to assert*
diff --git a/Lib/test/test_heapq.py b/Lib/test/test_heapq.py index 7e3c7a1..e377384 100644 --- a/Lib/test/test_heapq.py +++ b/Lib/test/test_heapq.py
@@ -46,7 +46,7 @@ for pos, item in enumerate(heap): if pos: # pos 0 has no parent parentpos = (pos-1) >> 1 - self.assert_(heap[parentpos] <= item) + self.assertTrue(heap[parentpos] <= item) def test_heapify(self): for size in range(30):