Skip to content

Commit d4608f5

Browse files
Revert some changes
1 parent b6b336d commit d4608f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpnp/tests/test_statistics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def test_convolve_random(self, a_size, v_size, mode, dtype, method):
230230
# For these outliers, the relative error can be significant.
231231
# We can tolerate a few such outliers.
232232
# max_outliers = 10 if expected.size > 1 else 0
233-
max_outliers = 10
233+
max_outliers = 10 if expected.size > 1 else 0
234234
if invalid.sum() > max_outliers:
235235
# we already failed check,
236236
# call assert_dtype_allclose just to report error nicely
@@ -466,7 +466,7 @@ def test_correlate_random(self, a_size, v_size, mode, dtype, method):
466466
# For these outliers, the relative error can be significant.
467467
# We can tolerate a few such outliers.
468468
# max_outliers = 10 if expected.size > 1 else 0
469-
max_outliers = 10
469+
max_outliers = 10 if expected.size > 1 else 0
470470
if invalid.sum() > max_outliers:
471471
# we already failed check,
472472
# call assert_dtype_allclose just to report error nicely

0 commit comments

Comments
 (0)