Skip to content

Commit 6408ff7

Browse files
committed
Attempted doc test fix
1 parent 43493c9 commit 6408ff7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/tutorials/contributing/strategy/writing_test_for_the_new_strategy.rst

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,15 @@ how a strategy plays.
2222

2323
* `first_play_test(action, seed=None)` tests the strategy's first action, taking
2424
an optional random seed in case the strategy is stochastic. If so, please
25-
include cases where both outcomes are observed, e.g.::
25+
include cases where both outcomes are observed, e.g.:
2626
```
2727
def test_strategy(self):
2828
self.first_play_test(C, seed=11)
2929
self.first_play_test(D, seed=23)
3030
```
31-
3231
* `second_play_test(rCC, rCD, rDC, rDD, seed=None)` tests the strategies actions
3332
in the four possible second rounds of play, depending on the move the the
3433
strategy and the opponent in the first round.
35-
3634
* `responses_test(responses, history1=None, history2=None, ...)` is a powerful
3735
test that can handle a variety of situations, testing the first X actions, the
3836
actions played in response to given player histories, and can also check that

0 commit comments

Comments
 (0)