Make sure that arrays of all different dimensions are repr'd correctly.
(self, value, expected_repr_string)
| 380 | ], |
| 381 | ) |
| 382 | def test_repr_nd_array(self, value, expected_repr_string): |
| 383 | """Make sure that arrays of all different dimensions are repr'd correctly.""" |
| 384 | np = pytest.importorskip("numpy") |
| 385 | np_array = np.array(value) |
| 386 | assert repr(approx(np_array)) == expected_repr_string |
| 387 | |
| 388 | def test_bool(self): |
| 389 | with pytest.raises(AssertionError) as err: |