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

Function test_same

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

Source from the content-addressed store, hash-verified

61
62
63def test_same():
64 x = np.arange(10)
65 y = np.arange(10)
66 bx, by = broadcast_arrays(x, y)
67 assert_array_equal(x, bx)
68 assert_array_equal(y, by)
69
70def test_broadcast_kwargs():
71 # 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…