We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b83e4d4 commit 974faefCopy full SHA for 974faef
axelrod/tests/integration/test_tournament.py
@@ -97,9 +97,14 @@ def test_repeat_tournament_deterministic(self):
97
turns=2,
98
repetitions=2,
99
)
100
- path = pathlib.Path(
101
- "test_outputs/stochastic_tournament_{}.csv".format(_)
102
- )
+ # path = pathlib.Path(
+ # "test_outputs/stochastic_tournament_{}.csv".format(_)
+ # )
103
+ # MG: Changed to use right filename "deterministic_tournament_{}.csv"
104
+ path = pathlib.Path(f"test_outputs/deterministic_tournament_{_}.csv")
105
+ # MG: Control for file existence before new execution
106
+ if path.exists():
107
+ path.unlink()
108
files.append(axl_filename(path))
109
tournament.play(
110
progress_bar=False, filename=files[-1], build_results=False
0 commit comments