()
| 68 | assert_array_equal(y, by) |
| 69 | |
| 70 | def test_broadcast_kwargs(): |
| 71 | # ensure that a TypeError is appropriately raised when |
| 72 | # np.broadcast_arrays() is called with any keyword |
| 73 | # argument other than 'subok' |
| 74 | x = np.arange(10) |
| 75 | y = np.arange(10) |
| 76 | |
| 77 | with assert_raises_regex(TypeError, 'got an unexpected keyword'): |
| 78 | broadcast_arrays(x, y, dtype='float64') |
| 79 | |
| 80 | |
| 81 | def test_one_off(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…