()
| 78 | |
| 79 | |
| 80 | def test_pop_found(): |
| 81 | likes = pm.eval('({"color": "blue", "fruit": "apple", "pet": "dog"})') |
| 82 | foundKey = likes.pop('color') |
| 83 | assert likes['color'] is None |
| 84 | assert foundKey == 'blue' |
| 85 | |
| 86 | |
| 87 | def test_pop_not_found(): |
nothing calls this directly
no outgoing calls
no test coverage detected