summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/en/warnings.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/en/warnings.rst b/doc/en/warnings.rst
index c84277173..de8456af0 100644
--- a/doc/en/warnings.rst
+++ b/doc/en/warnings.rst
@@ -109,7 +109,7 @@ decorator or to all tests in a module by setting the ``pytestmark`` variable:
.. code-block:: python
# turns all warnings into errors for this module
- pytestmark = @pytest.mark.filterwarnings('error')
+ pytestmark = pytest.mark.filterwarnings('error')
.. note::