Skip to content

Commit

Permalink
fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromedockes committed Oct 28, 2024
1 parent 4eaeec9 commit 78d5ac0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skrub/_dataframe/tests/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,8 +607,8 @@ def test_max(df_module):


def test_std(df_module):
assert ns.std(df_module.example_column) == np.nanstd(
ns.to_numpy(df_module.example_column), ddof=1
assert float(ns.std(df_module.example_column)) == pytest.approx(
float(np.nanstd(ns.to_numpy(df_module.example_column), ddof=1))
)


Expand Down

0 comments on commit 78d5ac0

Please sign in to comment.