diff --git a/tests/flattening/compare.py b/tests/flattening/compare.py index 7d505f822..d5be973b1 100644 --- a/tests/flattening/compare.py +++ b/tests/flattening/compare.py @@ -103,7 +103,7 @@ def summary_delta(row): df_s = ( df.drop(["difference", "change", "modified"], axis=1) .groupby(by=["statistic"]) - .sum() + .sum(numeric_only=True) .reset_index(level=0) .sort_values(by="statistic") ) diff --git a/tests/flattening/requirements.txt b/tests/flattening/requirements.txt index f90e33d1b..5535552ca 100644 --- a/tests/flattening/requirements.txt +++ b/tests/flattening/requirements.txt @@ -1,2 +1,2 @@ -pandas==1.2.* -tabulate==0.8.* +pandas==2.2.* +tabulate==0.9.*