Skip to content

Commit 6bdd28f

Browse files
committed
chore: some pandas-nightly fixes
1 parent 63c5022 commit 6bdd28f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def assert_equal_data(result: Any, expected: Mapping[str, Any]) -> None:
121121
elif isinstance(lhs, float) and math.isnan(lhs):
122122
are_equivalent_values = rhs is None or math.isnan(rhs)
123123
elif isinstance(rhs, float) and math.isnan(rhs):
124-
are_equivalent_values = lhs is None or math.isnan(lhs)
124+
are_equivalent_values = lhs is None or pd.isna(lhs) or math.isnan(lhs)
125125
elif lhs is None:
126126
are_equivalent_values = rhs is None
127127
elif isinstance(lhs, list) and isinstance(rhs, list):

0 commit comments

Comments
 (0)