()
| 40 | |
| 41 | |
| 42 | def test_eval_objects_cycle(): |
| 43 | pyObj = pm.eval("Object({a:1.0, b:2.0, recursive: function() { this.recursive = this; return this; }}.recursive())") |
| 44 | |
| 45 | assert pyObj['a'] == 1.0 |
| 46 | assert pyObj['b'] == 2.0 |
| 47 | assert pyObj['recursive'] == pyObj |
| 48 | |
| 49 | |
| 50 | def test_eval_objects_proxy_get(): |
nothing calls this directly
no outgoing calls
no test coverage detected