MCPcopy Index your code
hub / github.com/numpy/numpy / test_broadcast_kwargs

Function test_broadcast_kwargs

numpy/lib/tests/test_stride_tricks.py:70–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68 assert_array_equal(y, by)
69
70def 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
81def test_one_off():

Callers

nothing calls this directly

Calls 2

assert_raises_regexFunction · 0.90
broadcast_arraysFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…