Skip to content

Commit 351ede2

Browse files
committed
Correct dependency on numpy version in test_1d_equal_nan_axis0
1 parent 2c68b40 commit 351ede2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dpnp/tests/test_manipulation.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1836,16 +1836,16 @@ def test_equal_nan(self, eq_nan_kwd):
18361836
expected = numpy.unique(a, **eq_nan_kwd)
18371837
assert_array_equal(result, expected)
18381838

1839-
# TODO: uncomment once numpy 2.3.2 release is published
1840-
# @testing.with_requires("numpy>=2.3.2")
1839+
# TODO: uncomment once numpy 2.4.0 release is published
1840+
# @testing.with_requires("numpy>=2.4.0")
18411841
def test_1d_equal_nan_axis0(self):
18421842
a = numpy.array([numpy.nan, 0, 0, numpy.nan])
18431843
ia = dpnp.array(a)
18441844

18451845
result = dpnp.unique(ia, axis=0, equal_nan=True)
18461846
expected = numpy.unique(a, axis=0, equal_nan=True)
18471847
# TODO: remove when numpy#29372 is released
1848-
if numpy_version() < "2.3.2":
1848+
if numpy_version() < "2.4.0":
18491849
expected = numpy.array([0.0, numpy.nan])
18501850
assert_array_equal(result, expected)
18511851

0 commit comments

Comments
 (0)