()
| 189 | |
| 190 | |
| 191 | def test_update_iterable(): |
| 192 | car = pm.eval('({"brand": "Ford","model": "Mustang","year": 1964})') |
| 193 | car.update([('y', 3), ('z', 0)]) |
| 194 | assert car == {'brand': 'Ford', 'model': 'Mustang', 'year': 1964, 'y': 3, 'z': 0} |
| 195 | |
| 196 | |
| 197 | def test_update_iterable_wrong_type(): |
nothing calls this directly
no outgoing calls
no test coverage detected