(self)
| 580 | od.copy() |
| 581 | |
| 582 | def test_issue24348(self): |
| 583 | OrderedDict = self.OrderedDict |
| 584 | |
| 585 | class Key: |
| 586 | def __hash__(self): |
| 587 | return 1 |
| 588 | |
| 589 | od = OrderedDict() |
| 590 | od[Key()] = 0 |
| 591 | # This should not crash. |
| 592 | od.popitem() |
| 593 | |
| 594 | def test_issue24667(self): |
| 595 | """ |
nothing calls this directly
no test coverage detected