Skip to content

Commit

Permalink
Fix tournament tests and ensure deterministic results
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike014 committed Jan 7, 2025
1 parent 974faef commit 636c9cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion axelrod/tests/integration/test_tournament.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ def test_repeat_tournament_deterministic(self):
# "test_outputs/stochastic_tournament_{}.csv".format(_)
# )
# MG: Changed to use right filename "deterministic_tournament_{}.csv"
path = pathlib.Path(f"test_outputs/deterministic_tournament_{_}.csv")
path = pathlib.Path(
f"test_outputs/deterministic_tournament_{_}.csv"
)
# MG: Control for file existence before new execution
if path.exists():
path.unlink()
Expand Down

0 comments on commit 636c9cf

Please sign in to comment.