(self)
| 2910 | assert_array_equal(data, actual) |
| 2911 | |
| 2912 | def test_numpy_matrix(self): |
| 2913 | with pytest.warns(PendingDeprecationWarning): |
| 2914 | data = np.matrix([[1, 2], [3, 4]]) |
| 2915 | actual: Any = as_compatible_data(data) |
| 2916 | assert isinstance(actual, np.ndarray) |
| 2917 | assert_array_equal(data, actual) |
| 2918 | |
| 2919 | def test_unsupported_type(self): |
| 2920 | # Non indexable type |
nothing calls this directly
no test coverage detected