(self)
| 96 | assert_equal(h, w[1:-1]) |
| 97 | |
| 98 | def test_arr_weights_mismatch(self): |
| 99 | a = np.arange(10) + .5 |
| 100 | w = np.arange(11) + .5 |
| 101 | with assert_raises_regex(ValueError, "same shape as"): |
| 102 | h, b = histogram(a, range=[1, 9], weights=w, density=True) |
| 103 | |
| 104 | |
| 105 | def test_type(self): |
nothing calls this directly
no test coverage detected