()
| 148 | |
| 149 | |
| 150 | def test_copy(): |
| 151 | likes = pm.eval('({"color": "blue", "fruit": "apple", "pet": "dog"})') |
| 152 | otherLikes = likes.copy() |
| 153 | otherLikes["color"] = "yellow" |
| 154 | |
| 155 | assert likes == {"color": "blue", "fruit": "apple", "pet": "dog"} |
| 156 | assert otherLikes == {"color": "yellow", "fruit": "apple", "pet": "dog"} |
| 157 | |
| 158 | # update |
| 159 |
nothing calls this directly
no outgoing calls
no test coverage detected