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

Method test_always_tuple

numpy/lib/tests/test_function_base.py:2814–2818  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2812 assert_array_equal(Y, np.array([[4], [5], [6], [7]]))
2813
2814 def test_always_tuple(self):
2815 A = meshgrid([1, 2, 3], [4, 5, 6, 7], sparse=True, copy=False)
2816 B = meshgrid([], sparse=True, copy=False)
2817 assert isinstance(A, tuple)
2818 assert isinstance(B, tuple)
2819
2820 def test_invalid_arguments(self):
2821 # Test that meshgrid complains about invalid arguments

Callers

nothing calls this directly

Calls 1

meshgridFunction · 0.90

Tested by

no test coverage detected