Skip to content

Commit 0342065

Browse files
committed
Rename setup_output method.
1 parent f73b272 commit 0342065

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

axelrod/tournament.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def __init__(self, players, match_generator=RoundRobinMatches,
5555
self._with_morality = with_morality
5656
self._logger = logging.getLogger(__name__)
5757

58-
def setup_output_file(self, filename=None, in_memory=False):
58+
def setup_output(self, filename=None, in_memory=False):
5959
"""Open a CSV writer for tournament output."""
6060
if in_memory:
6161
self.interactions_dict = {}
@@ -105,7 +105,7 @@ def play(self, build_results=True, filename=None,
105105
if on_windows and (filename is None):
106106
in_memory = True
107107

108-
self.setup_output_file(filename, in_memory)
108+
self.setup_output(filename, in_memory)
109109

110110
if not build_results and not filename:
111111
warnings.warn("Tournament results will not be accessible since build_results=False and no filename was supplied.")

0 commit comments

Comments
 (0)