Skip to content

Commit

Permalink
issue pytest-dev#3308: fix example in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tareqalayan committed Mar 14, 2018
1 parent b2b629f commit 7e53f94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog/3308.trivial.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix a python example when calling a fixture in doc/en/usage.rst
2 changes: 1 addition & 1 deletion doc/en/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ to all testcases you can use ``LogXML.add_global_properties``
my_junit.add_global_property('ARCH', 'PPC')
my_junit.add_global_property('STORAGE_TYPE', 'CEPH')
@pytest.mark.usefixtures(log_global_env_facts)
@pytest.mark.usefixtures(log_global_env_facts.__name__)
def start_and_prepare_env():
pass
Expand Down

0 comments on commit 7e53f94

Please sign in to comment.