()
| 275 | |
| 276 | |
| 277 | def test_string_proxy_copy(): |
| 278 | world = pm.eval('(function() {return "World"})') |
| 279 | say = pm.eval('(function(who) { return `Hello ${who}`})') |
| 280 | who = world() |
| 281 | hello_world = say(copy.copy(who)) |
| 282 | assert hello_world == "Hello World" |
| 283 | assert hello_world is not who |
| 284 | |
| 285 | def test_string_proxy_deepcopy(): |
| 286 | world = pm.eval('(function() {return "World"})') |
nothing calls this directly
no outgoing calls
no test coverage detected