()
| 214 | |
| 215 | |
| 216 | def test_manual_converter_2(): |
| 217 | s = setup_state( |
| 218 | stu_code="my_array = np.array([[0,0], [0,0], [0,0]])", |
| 219 | sol_code="my_array = np.array([[1,2], [3,4], [5,6]])", |
| 220 | pec="import numpy as np", |
| 221 | ) |
| 222 | set_converter(key="numpy.ndarray", fundef=lambda x: x.shape) |
| 223 | s.check_object("my_array").has_equal_value() |
| 224 | |
| 225 | |
| 226 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected