summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorkai-striega <kaistriega@gmail.com>2020-01-12 14:33:00 +0800
committerkai-striega <kaistriega@gmail.com>2020-01-12 14:33:00 +0800
commit28bf9efaea2efe70838ec866645761172901cf57 (patch)
treeec20d7998652cb0a3637d2969a4034c2b4cabc1b /numpy/array_api/_array_object.py
parentc9fd0e7c1e077d3044b4f2cd419b89c8bf0544c7 (diff)
downloadnumpy-28bf9efaea2efe70838ec866645761172901cf57.tar.gz
TST: fix NameError in clip nan propogation tests
The test expects parameters `arr`, `amin` and `amax`. However it then uses `a`, `amin` and `amax` resulting in a `NameError`. This error was not caught as the test was marked with xfail. This commit changes `a` -> `arr` removing the NameError. Further it adds precautions against similar errors requiring the error to be an AssertionError and making the test strict.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions