Skip to content

Commit

Permalink
rtol atol ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Oct 17, 2023
1 parent 670b541 commit 27939b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion py-polars/polars/testing/asserts/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ def assert_frame_equal(
left.get_column(c),
right.get_column(c),
check_exact=check_exact,
atol=atol,
rtol=rtol,
atol=atol,
nans_compare_equal=nans_compare_equal,
categorical_as_str=categorical_as_str,
)
Expand Down
14 changes: 7 additions & 7 deletions py-polars/polars/testing/asserts/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ def _assert_series_values_equal(
left=left.filter(unequal),
right=right.filter(unequal),
check_exact=check_exact,
atol=atol,
rtol=rtol,
atol=atol,
nans_compare_equal=nans_compare_equal,
categorical_as_str=categorical_as_str,
):
Expand Down Expand Up @@ -167,8 +167,8 @@ def _assert_series_values_equal(
left,
right,
unequal,
atol=atol,
rtol=rtol,
atol=atol,
nans_compare_equal=nans_compare_equal,
comparing_floats=comparing_floats,
)
Expand All @@ -186,9 +186,9 @@ def _check_series_equal_inexact(
left: Series,
right: Series,
unequal: Series,
atol: float,
rtol: float,
*,
rtol: float,
atol: float,
nans_compare_equal: bool,
comparing_floats: bool,
) -> tuple[bool, str]:
Expand Down Expand Up @@ -229,8 +229,8 @@ def _assert_series_nested(
right: Series,
*,
check_exact: bool,
atol: float,
rtol: float,
atol: float,
nans_compare_equal: bool,
categorical_as_str: bool,
) -> bool:
Expand Down Expand Up @@ -262,8 +262,8 @@ def _assert_series_nested(
s1,
s2,
check_exact=check_exact,
atol=atol,
rtol=rtol,
atol=atol,
nans_compare_equal=nans_compare_equal,
categorical_as_str=categorical_as_str,
)
Expand All @@ -288,8 +288,8 @@ def _assert_series_nested(
s1,
s2,
check_exact=check_exact,
atol=atol,
rtol=rtol,
atol=atol,
nans_compare_equal=nans_compare_equal,
categorical_as_str=categorical_as_str,
)
Expand Down

0 comments on commit 27939b5

Please sign in to comment.