Skip to content

Commit

Permalink
Fix a pytest typo in test_kurt_skew_error (#14368)
Browse files Browse the repository at this point in the history
This PR fixes a pytest typo that pytest framework somehow conveniently ignores and continues to execute.

Authors:
  - GALI PREM SAGAR (https://github.com/galipremsagar)

Approvers:
  - Bradley Dice (https://github.com/bdice)

URL: #14368
  • Loading branch information
galipremsagar authored Nov 7, 2023
1 parent 16051a7 commit 2463b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/cudf/cudf/tests/test_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def test_kurt_skew_error(op):
gs = cudf.Series(["ab", "cd"])
ps = gs.to_pandas()

with pytest.raises(FutureWarning):
with pytest.warns(FutureWarning):
assert_exceptions_equal(
getattr(gs, op),
getattr(ps, op),
Expand Down

0 comments on commit 2463b3a

Please sign in to comment.