diff options
author | kai-striega <kaistriega@gmail.com> | 2020-01-12 14:33:00 +0800 |
---|---|---|
committer | kai-striega <kaistriega@gmail.com> | 2020-01-12 14:33:00 +0800 |
commit | 28bf9efaea2efe70838ec866645761172901cf57 (patch) | |
tree | ec20d7998652cb0a3637d2969a4034c2b4cabc1b /numpy/array_api/_array_object.py | |
parent | c9fd0e7c1e077d3044b4f2cd419b89c8bf0544c7 (diff) | |
download | numpy-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