diff options
author | Matti Picus <matti.picus@gmail.com> | 2022-06-02 00:39:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-02 00:39:23 +0300 |
commit | 07709f3040da23e57defd003cfa761ba3311b1b8 (patch) | |
tree | 73b51d6f29b71ac8c7ca5c69b90d7fa546af91dc /numpy/lib/tests/test_arraysetops.py | |
parent | 6cada27f1744d004a6d8ca7731c9a6d5dfed9b3a (diff) | |
parent | 911015e445f94340ab41900c4d96f81569978f6f (diff) | |
download | numpy-07709f3040da23e57defd003cfa761ba3311b1b8.tar.gz |
Merge pull request #21644 from seberg/unique-equal-nan
MAINT: Fixup `unique`s `equal_nan` kwarg to match `np.array_equal`
Diffstat (limited to 'numpy/lib/tests/test_arraysetops.py')
-rw-r--r-- | numpy/lib/tests/test_arraysetops.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_arraysetops.py b/numpy/lib/tests/test_arraysetops.py index f97fea310..e64634b69 100644 --- a/numpy/lib/tests/test_arraysetops.py +++ b/numpy/lib/tests/test_arraysetops.py @@ -770,6 +770,6 @@ class TestUnique: # issue 20326 a = np.array([1, 1, np.nan, np.nan, np.nan]) unq = np.unique(a) - not_unq = np.unique(a, equal_nans = False) + not_unq = np.unique(a, equal_nan=False) assert_array_equal(unq, np.array([1, np.nan])) assert_array_equal(not_unq, np.array([1, np.nan, np.nan, np.nan])) |