(self)
| 333 | self.assertEqual(list(self.module.merge()), []) |
| 334 | |
| 335 | def test_empty_merges(self): |
| 336 | # Merging two empty lists (with or without a key) should produce |
| 337 | # another empty list. |
| 338 | self.assertEqual(list(self.module.merge([], [])), []) |
| 339 | self.assertEqual(list(self.module.merge([], [], key=lambda: 6)), []) |
| 340 | |
| 341 | def test_merge_does_not_suppress_index_error(self): |
| 342 | # Issue 19018: Heapq.merge suppresses IndexError from user generator |
nothing calls this directly
no test coverage detected