Example #1
0
    def test_refcount_vectorize(self):
        # Ticket #378
        def p(x, y):
            return 123

        v = np.vectorize(p)
        _assert_valid_refcount(v)
Example #2
0
 def test_refcount_vectorize(self):
     # Ticket #378
     def p(x, y):
         return 123
     v = np.vectorize(p)
     _assert_valid_refcount(v)