From 2445f7d8b6986d92d231453f26392c8a3df44ed6 Mon Sep 17 00:00:00 2001 From: Tareq Alayan Date: Wed, 14 Mar 2018 13:51:45 +0200 Subject: [PATCH] issue #3308: fix example in documentation https://github.com/pytest-dev/pytest/issues/3308 --- doc/en/usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/en/usage.rst b/doc/en/usage.rst index abd8bac2bd8..ffb380b7834 100644 --- a/doc/en/usage.rst +++ b/doc/en/usage.rst @@ -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