MCPcopy Create free account
hub / github.com/numpy/numpy / test_same

Function test_same

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

Source from the content-addressed store, hash-verified

53
54
55def test_same():
56 x = np.arange(10)
57 y = np.arange(10)
58 bx, by = broadcast_arrays(x, y)
59 assert_array_equal(x, bx)
60 assert_array_equal(y, by)
61
62def test_broadcast_kwargs():
63 # ensure that a TypeError is appropriately raised when

Callers

nothing calls this directly

Calls 2

broadcast_arraysFunction · 0.90
assert_array_equalFunction · 0.90

Tested by

no test coverage detected