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

Method test_refcount_vectorize

numpy/lib/tests/test_regression.py:46–51  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

44 assert_array_equal(np.mgrid[0:0], [])
45
46 def test_refcount_vectorize(self):
47 # Ticket #378
48 def p(x, y):
49 return 123
50 v = np.vectorize(p)
51 _assert_valid_refcount(v)
52
53 def test_poly1d_nan_roots(self):
54 # Ticket #396

Callers

nothing calls this directly

Calls 1

_assert_valid_refcountFunction · 0.90

Tested by

no test coverage detected