(self, x_len, y_len)
| 299 | |
| 300 | @pytest.mark.parametrize(("x_len", "y_len"), [(10, 11), (20, 19)]) |
| 301 | def test_bad_length(self, x_len, y_len): |
| 302 | x, y = np.ones(x_len), np.ones(y_len) |
| 303 | with pytest.raises(ValueError, |
| 304 | match='x and y must have the same length.'): |
| 305 | histogram2d(x, y) |
| 306 | |
| 307 | |
| 308 | class TestTri: |
nothing calls this directly
no test coverage detected