summaryrefslogtreecommitdiff
path: root/astroid/tests
diff options
context:
space:
mode:
authorhippo91 <guillaume.peillex@gmail.com>2019-04-02 19:18:52 +0200
committerhippo91 <guillaume.peillex@gmail.com>2019-04-02 19:18:52 +0200
commitc5d9205887cb3d4ba4776eb545f72f875ac07836 (patch)
tree322446997609927382596ceb11dba824d13ee7ac /astroid/tests
parentc5687bc0b493a2953b0e5e4b0e507e96e47856ed (diff)
downloadastroid-git-c5d9205887cb3d4ba4776eb545f72f875ac07836.tar.gz
Finish the split of the numpy brain. Implements all the dunder methods for ndarray
Diffstat (limited to 'astroid/tests')
-rw-r--r--astroid/tests/unittest_brain_numpy.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/astroid/tests/unittest_brain_numpy.py b/astroid/tests/unittest_brain_numpy.py
index 655426e4..5e5f391d 100644
--- a/astroid/tests/unittest_brain_numpy.py
+++ b/astroid/tests/unittest_brain_numpy.py
@@ -639,7 +639,8 @@ class NumpyBrainFunctionReturningArrayTest(SubTestWrapper):
('vdot', "[1, 2]", "[1, 2]"),
('concatenate', "([1, 2], [1, 2])"),
('inner', "[1, 2]", "[1, 2]"),
- ('where', '[True, False]', "[1, 2]", "[2, 1]")
+ ('where', '[True, False]', "[1, 2]", "[2, 1]"),
+ ('sum', '[[1, 2], [2, 1]]', "axis=0")
)
def _inferred_numpy_func_call(self, func_name, *func_args):