()
| 60 | assert_array_equal(y, by) |
| 61 | |
| 62 | def test_broadcast_kwargs(): |
| 63 | # ensure that a TypeError is appropriately raised when |
| 64 | # np.broadcast_arrays() is called with any keyword |
| 65 | # argument other than 'subok' |
| 66 | x = np.arange(10) |
| 67 | y = np.arange(10) |
| 68 | |
| 69 | with assert_raises_regex(TypeError, 'got an unexpected keyword'): |
| 70 | broadcast_arrays(x, y, dtype='float64') |
| 71 | |
| 72 | |
| 73 | def test_one_off(): |
nothing calls this directly
no test coverage detected