Skip to content

Commit 4c75add

Browse files
committed
Attempted doc warning fix
1 parent 29b6cd6 commit 4c75add

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/tutorials/contributing/strategy/writing_test_for_the_new_strategy.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ how a strategy plays.
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
2525
include cases where both outcomes are observed, e.g.::
26-
26+
```
2727
def test_strategy(self):
2828
self.first_play_test(C, seed=11)
2929
self.first_play_test(D, seed=23)
30+
```
3031

3132
* `second_play_test(rCC, rCD, rDC, rDD, seed=None)` tests the strategies actions
3233
in the four possible second rounds of play, depending on the move the the

0 commit comments

Comments
 (0)