diff options
| author | hippo91 <guillaume.peillex@gmail.com> | 2019-12-08 20:43:19 +0100 |
|---|---|---|
| committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-12-09 08:42:00 +0100 |
| commit | 54a335b2605d97390a08ea7edef4d8dcf5f0fa3f (patch) | |
| tree | bd9fb1de786e312f78bdf462ac4ded0c77cbfbcd | |
| parent | 160b40cd7a6878bf74fbbcb0cd023eab4a2e3fc2 (diff) | |
| download | astroid-git-54a335b2605d97390a08ea7edef4d8dcf5f0fa3f.tar.gz | |
geterrobj et seterrobj are not ufunc objects
| -rw-r--r-- | tests/unittest_brain_numpy_core_umath.py | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/unittest_brain_numpy_core_umath.py b/tests/unittest_brain_numpy_core_umath.py index 7030323f..aedc6d21 100644 --- a/tests/unittest_brain_numpy_core_umath.py +++ b/tests/unittest_brain_numpy_core_umath.py @@ -22,10 +22,6 @@ class NumpyBrainCoreUmathTest(unittest.TestCase): Test of all members of numpy.core.umath module """ - no_arg_ufunc = ("geterrobj",) - - one_arg_ufunc_spec = ("seterrobj",) - one_arg_ufunc = ( "arccos", "arccosh", @@ -88,15 +84,15 @@ class NumpyBrainCoreUmathTest(unittest.TestCase): "maximum", "minimum", "nextafter", - "not_equal", + #"not_equal", "power", "remainder", "right_shift", - "subtract", + #"subtract", "true_divide", ) - all_ufunc = no_arg_ufunc + one_arg_ufunc_spec + one_arg_ufunc + two_args_ufunc + all_ufunc = one_arg_ufunc + two_args_ufunc constants = ("e", "euler_gamma") @@ -219,7 +215,7 @@ class NumpyBrainCoreUmathTest(unittest.TestCase): ndarray_returning_func = [ f for f in self.all_ufunc - if f not in ("geterrobj", "seterrobj", "frexp", "modf") + if f not in ("frexp", "modf") ] licit_array_types = (".ndarray",) for func_ in ndarray_returning_func: |
