#389: rvp::move should fall-through to copy on non-movable objects
()
| 123 | |
| 124 | |
| 125 | def test_move_fallback(): |
| 126 | """#389: rvp::move should fall-through to copy on non-movable objects""" |
| 127 | |
| 128 | m1 = m.get_moveissue1(1) |
| 129 | assert m1.value == 1 |
| 130 | m2 = m.get_moveissue2(2) |
| 131 | assert m2.value == 2 |
| 132 | |
| 133 | |
| 134 | def test_pytype_rvalue_cast(): |
nothing calls this directly
no outgoing calls
no test coverage detected