From 448ec8b740438061761d93d06a3183f6d254c179 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 25 Sep 2015 18:43:33 +0200 Subject: [PATCH] Mark sources correctly in parametrize.rst. Sphinx didn't pick this up as monospace text. --- doc/en/example/parametrize.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/en/example/parametrize.rst b/doc/en/example/parametrize.rst index feb78ff8d..c5f968b1e 100644 --- a/doc/en/example/parametrize.rst +++ b/doc/en/example/parametrize.rst @@ -298,7 +298,7 @@ parameter on particular arguments. It can be done by passing list or tuple of arguments' names to ``indirect``. In the example below there is a function ``test_indirect`` which uses two fixtures: ``x`` and ``y``. Here we give to indirect the list, which contains the name of the fixture ``x``. The indirect parameter will be applied to this argument only, and the value ``a`` -will be passed to respective fixture function. +will be passed to respective fixture function:: # content of test_indirect_list.py @@ -316,7 +316,7 @@ will be passed to respective fixture function. assert x == 'aaa' assert y == 'b' -The result of this test will be successful: +The result of this test will be successful:: $ py.test test_indirect_list.py --collect-only ======= test session starts ========