summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhippo91 <guillaume.peillex@gmail.com>2021-02-17 12:25:57 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-02-21 19:15:02 +0100
commitb699ebbb0b9bb6175194dd3b4c4b4be0d228fa59 (patch)
tree0731d36fda5cc50d02d39a95ad4656dec5f80926
parent1174f118ccee63c7381412086f6f1b92c62b83e2 (diff)
downloadastroid-git-b699ebbb0b9bb6175194dd3b4c4b4be0d228fa59.tar.gz
Numpy ufunc methods are also inferred as Uninferable
-rw-r--r--tests/unittest_regrtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittest_regrtest.py b/tests/unittest_regrtest.py
index cec1c602..b11c3a2d 100644
--- a/tests/unittest_regrtest.py
+++ b/tests/unittest_regrtest.py
@@ -99,7 +99,7 @@ multiply([1, 2], [3, 4])
astroid = builder.string_build(data, __name__, __file__)
callfunc = astroid.body[1].value.func
inferred = callfunc.inferred()
- self.assertEqual(len(inferred), 1)
+ self.assertEqual(len(inferred), 2)
def test_nameconstant(self):
# used to fail for Python 3.4