Skip to content

Commit

Permalink
Revert "Fix tests in test_stats after implementing numeric_only"
Browse files Browse the repository at this point in the history
This reverts commit 84f096c.
  • Loading branch information
martinfalisse committed Apr 13, 2022
1 parent cc5c79e commit 7dd7936
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions python/cudf/cudf/tests/test_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,9 @@ def test_kurtosis(data, null_flag):
expected = pdata.kurt()
np.testing.assert_array_almost_equal(got, expected)

with pytest.raises(NotImplementedError):
data.kurt(numeric_only=False)


@pytest.mark.parametrize(
"data",
Expand Down Expand Up @@ -295,6 +298,9 @@ def test_skew(data, null_flag):
got = got if np.isscalar(got) else got.to_numpy()
np.testing.assert_array_almost_equal(got, expected)

with pytest.raises(NotImplementedError):
data.skew(numeric_only=False)


@pytest.mark.parametrize("dtype", params_dtypes)
@pytest.mark.parametrize("num_na", [0, 1, 50, 99, 100])
Expand Down

0 comments on commit 7dd7936

Please sign in to comment.