Skip to content

Commit 636c9cf

Browse files
committed
Fix tournament tests and ensure deterministic results
1 parent 974faef commit 636c9cf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

axelrod/tests/integration/test_tournament.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ def test_repeat_tournament_deterministic(self):
101101
# "test_outputs/stochastic_tournament_{}.csv".format(_)
102102
# )
103103
# MG: Changed to use right filename "deterministic_tournament_{}.csv"
104-
path = pathlib.Path(f"test_outputs/deterministic_tournament_{_}.csv")
104+
path = pathlib.Path(
105+
f"test_outputs/deterministic_tournament_{_}.csv"
106+
)
105107
# MG: Control for file existence before new execution
106108
if path.exists():
107109
path.unlink()

0 commit comments

Comments
 (0)