(self)
| 103 | assert_equal(h, w[1:-1]) |
| 104 | |
| 105 | def test_arr_weights_mismatch(self): |
| 106 | a = np.arange(10) + .5 |
| 107 | w = np.arange(11) + .5 |
| 108 | with assert_raises_regex(ValueError, "same shape as"): |
| 109 | h, b = histogram(a, range=[1, 9], weights=w, density=True) |
| 110 | |
| 111 | def test_type(self): |
| 112 | # Check the type of the returned histogram |
nothing calls this directly
no test coverage detected