From 1c3e432c4629ffb15c0fab686f7dfc43dccb8c6a Mon Sep 17 00:00:00 2001 From: Vince Knight Date: Wed, 9 Sep 2020 10:50:57 +0100 Subject: [PATCH] Fix doctest. This was failing on https://github.com/Axelrod-Python/Axelrod/pull/1364 but the fix is trivial. --- docs/tutorials/advanced/setting_a_seed.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorials/advanced/setting_a_seed.rst b/docs/tutorials/advanced/setting_a_seed.rst index cf3b16b45..119a259a9 100644 --- a/docs/tutorials/advanced/setting_a_seed.rst +++ b/docs/tutorials/advanced/setting_a_seed.rst @@ -53,7 +53,7 @@ To seed a tournament we also pass a seed to the tournament at creation time: >>> tournament = axl.Tournament(players, turns=5, repetitions=5, seed=seed) >>> results = tournament.play(processes=1) >>> tournament2 = axl.Tournament(players, turns=5, repetitions=5, seed=seed) - >>> results2 = tournament.play(processes=1) + >>> results2 = tournament2.play(processes=1) >>> results.ranked_names == results2.ranked_names True @@ -65,7 +65,7 @@ rankings, will be the same. >>> tournament = axl.Tournament(players, turns=5, repetitions=5, seed=201) >>> results = tournament.play(processes=2) >>> tournament2 = axl.Tournament(players, turns=5, repetitions=5, seed=201) - >>> results2 = tournament.play(processes=2) + >>> results2 = tournament2.play(processes=2) >>> results.ranked_names == results2.ranked_names True