Skip to content

Commit

Permalink
replace np.NaN with np.nan
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-joshi committed Jan 28, 2025
1 parent 4f32d84 commit 00d6fa4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/integ/modin/index/test_monotonic.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


@pytest.mark.parametrize(
"values", [[], [1], [3, 2], [1, 3, 2], [1, 2, 2], [1, np.NaN, 3]]
"values", [[], [1], [3, 2], [1, 3, 2], [1, 2, 2], [1, np.nan, 3]]
)
@sql_count_checker(query_count=1)
def test_monotonic_increasing_numbers(values):
Expand All @@ -23,7 +23,7 @@ def test_monotonic_increasing_numbers(values):


@pytest.mark.parametrize(
"values", [[], [3], [1, 2], [3, 1, 2], [2, 2, 1], [3, np.NaN, 1]]
"values", [[], [3], [1, 2], [3, 1, 2], [2, 2, 1], [3, np.nan, 1]]
)
@sql_count_checker(query_count=1)
def test_monotonic_decreasing_numbers(values):
Expand Down
4 changes: 2 additions & 2 deletions tests/integ/modin/series/test_monotonic.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


@pytest.mark.parametrize(
"values", [[], [1], [3, 2], [1, 3, 2], [1, 2, 2], [1, np.NaN, 3]]
"values", [[], [1], [3, 2], [1, 3, 2], [1, 2, 2], [1, np.nan, 3]]
)
@sql_count_checker(query_count=1)
def test_monotonic_increasing_numbers(values):
Expand All @@ -23,7 +23,7 @@ def test_monotonic_increasing_numbers(values):


@pytest.mark.parametrize(
"values", [[], [3], [1, 2], [3, 1, 2], [2, 2, 1], [3, np.NaN, 1]]
"values", [[], [3], [1, 2], [3, 1, 2], [2, 2, 1], [3, np.nan, 1]]
)
@sql_count_checker(query_count=1)
def test_monotonic_decreasing_numbers(values):
Expand Down
2 changes: 1 addition & 1 deletion tests/integ/modin/series/test_to_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def to_list_comparator(snow, native):
[
[1, 2, 3],
["a", "b", "c"],
[1.1, np.NaN],
[1.1, np.nan],
[1.1, 2.2],
[True, False],
[True, False, None],
Expand Down

0 comments on commit 00d6fa4

Please sign in to comment.