Skip to content

Commit

Permalink
Merge pull request numpy#15405 from WarrenWeckesser/undefa
Browse files Browse the repository at this point in the history
BUG/TEST: core: Fix an undefined name in a test.
  • Loading branch information
charris authored Jan 23, 2020
2 parents fe70381 + c758839 commit c61e667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/core/tests/test_numeric.py
Original file line number Diff line number Diff line change
Expand Up @@ -2015,7 +2015,7 @@ def test_clip_scalar_nan_propagation(self, arr, amin, amax):
def test_NaT_propagation(self, arr, amin, amax):
# NOTE: the expected function spec doesn't
# propagate NaT, but clip() now does
expected = np.minimum(np.maximum(a, amin), amax)
expected = np.minimum(np.maximum(arr, amin), amax)
actual = np.clip(arr, amin, amax)
assert_equal(actual, expected)

Expand Down

0 comments on commit c61e667

Please sign in to comment.