Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump approx threshold for test_quantile #10720

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions dask/dataframe/tests/test_dataframe.py
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