Skip to content

Commit

Permalink
bump approx threshold for test_quantile
Browse files Browse the repository at this point in the history
  • Loading branch information
fjetter committed Dec 19, 2023
1 parent 32e19ce commit 199ced2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dask/dataframe/tests/test_dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -1485,13 +1485,13 @@ def test_quantile(method, quantile):
assert isinstance(result, dd.Series)
result = result.compute()
assert isinstance(result, pd.Series)
assert result.iloc[0] == pytest.approx(exp, rel=0.1)
assert result.iloc[0] == pytest.approx(exp, rel=0.15)

# series / single
result = df.x.quantile(quantile, method=method)
assert isinstance(result, dd.core.Scalar)
result = result.compute()
assert result == pytest.approx(exp, rel=0.1)
assert result == pytest.approx(exp, rel=0.15)


@pytest.mark.parametrize(
Expand Down

0 comments on commit 199ced2

Please sign in to comment.