Skip to content

Commit b699ebb

Browse files
hippo91Pierre-Sassoulas
authored andcommitted
Numpy ufunc methods are also inferred as Uninferable
1 parent 1174f11 commit b699ebb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unittest_regrtest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def test_numpy_crash(self):
9999
astroid = builder.string_build(data, __name__, __file__)
100100
callfunc = astroid.body[1].value.func
101101
inferred = callfunc.inferred()
102-
self.assertEqual(len(inferred), 1)
102+
self.assertEqual(len(inferred), 2)
103103

104104
def test_nameconstant(self):
105105
# used to fail for Python 3.4

0 commit comments

Comments
 (0)