(self)
| 626 | d[0] = 0 |
| 627 | |
| 628 | def test_mutating_iteration_delete_over_items(self): |
| 629 | # change dict content during iteration |
| 630 | d = {} |
| 631 | d[0] = 0 |
| 632 | with self.assertRaises(RuntimeError): |
| 633 | for i in d.items(): |
| 634 | del d[0] |
| 635 | d[0] = 0 |
| 636 | |
| 637 | def test_mutating_lookup(self): |
| 638 | # changing dict during a lookup (issue #14417) |
nothing calls this directly
no test coverage detected