| 1257 | self.assertRaises(RuntimeError, d.update, other) |
| 1258 | |
| 1259 | def test_free_after_iterating(self): |
| 1260 | support.check_free_after_iterating(self, iter, dict) |
| 1261 | support.check_free_after_iterating(self, lambda d: iter(d.keys()), dict) |
| 1262 | support.check_free_after_iterating(self, lambda d: iter(d.values()), dict) |
| 1263 | support.check_free_after_iterating(self, lambda d: iter(d.items()), dict) |
| 1264 | |
| 1265 | def test_equal_operator_modifying_operand(self): |
| 1266 | # test fix for seg fault reported in bpo-27945 part 3. |