Merge pull request #2765 from xuanluong/pass-callable-to-marker-typo

Fix typo in example of passing a callable to markers
This commit is contained in:
Bruno Oliveira 2017-09-09 21:03:13 -03:00 committed by GitHub
commit bee2c864d8
2 changed files with 2 additions and 1 deletions

1
changelog/2765.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
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