Skip to content

Commit

Permalink
Adjust pandas version in test
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenw committed May 29, 2024
1 parent c8f96aa commit 3bce07a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def test_load_save_pandas_compatibility(pandas_version):

# Dependency table cached with pandas==2.2.2.
# Loading with pandas==2.0.3 leads to a KeyError
elif pd.__version__ == "2.0.3" and pandas_version == "2.2.2":
elif pd.__version__ <= "2.1.4" and pandas_version == "2.2.2":
error_msg = "'_data'"
with pytest.raises(KeyError, match=error_msg):
deps.load(deps_file)
Expand Down

0 comments on commit 3bce07a

Please sign in to comment.