def test_refcount_vectorize(self, level=rlevel):
        """Ticket #378"""
        def p(x, y):
            return 123

        v = np.vectorize(p)
        _assert_valid_refcount(v)
Example #2
0
 def test_refcount_vdot(self, level=rlevel):
     """Changeset #3443"""
     _assert_valid_refcount(np.vdot)
Example #3
0
 def test_refcount_vectorize(self, level=rlevel):
     # Ticket #378
     def p(x, y):
         return 123
     v = np.vectorize(p)
     _assert_valid_refcount(v)