Fix typo in example of passing a callable to markers

This commit is contained in:
Xuan Luong 2017-09-09 18:20:43 -04:00
parent 3c1ca03b9c
commit 15222ceca2
2 changed files with 2 additions and 1 deletions

1
changelog/xxxx.trivial Normal file
View File

@ -0,0 +1 @@
Fix typo in example of passing a callable to markers (in example/markers.rst)

View File

@ -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