Fix typo in example of passing a callable to markers
This commit is contained in:
parent
3c1ca03b9c
commit
15222ceca2
|
@ -0,0 +1 @@
|
||||||
|
Fix typo in example of passing a callable to markers (in example/markers.rst)
|
|
@ -435,7 +435,7 @@ The output is as follows::
|
||||||
.
|
.
|
||||||
1 passed in 0.12 seconds
|
1 passed in 0.12 seconds
|
||||||
|
|
||||||
We can see that the custom marker has its argument set extended with the function ``hello_world``. This is the key different between creating a custom marker as a callable, which invokes ``__call__`` behind the scenes, and using ``with_args``.
|
We can see that the custom marker has its argument set extended with the function ``hello_world``. This is the key difference between creating a custom marker as a callable, which invokes ``__call__`` behind the scenes, and using ``with_args``.
|
||||||
|
|
||||||
|
|
||||||
Reading markers which were set from multiple places
|
Reading markers which were set from multiple places
|
||||||
|
|
Loading…
Reference in New Issue