Skip to content

Commit

Permalink
Change hash test to match exactly 8 minor version
Browse files Browse the repository at this point in the history
  • Loading branch information
otaviocv committed Nov 8, 2023
1 parent eebd13c commit 50a7c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/validation/test_evaluators.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ def test_hash_evaluator():
# Assert that the hashes stay the same everytime this is run.
# The hash function is update in python 3.9 requiring different checks for each version.
python_version = sys.version_info
if python_version.minor <= 8:
if python_version.minor == 8:
assert eval_fn_all(df1)["eval_name"] == -6356943988420224450
assert eval_fn_all(df2)["eval_name"] == -4865376220991082723
assert eval_fn_all(df3)["eval_name"] == 141388279445698461
Expand Down

0 comments on commit 50a7c7e

Please sign in to comment.