summaryrefslogtreecommitdiff
path: root/doc/en/deprecations.rst
diff options
context:
space:
mode:
authorboris <boris@verhovs.ky>2019-08-06 13:25:54 -0700
committerboris <boris@verhovs.ky>2019-08-06 13:25:54 -0700
commit7f90e74e0268721045413ae6e0944685cbcf59da (patch)
tree342637e13480968823b70fd98d597255fa168e13 /doc/en/deprecations.rst
parentcf7761f91f7b194dd89fae13c356d2d4a4d90d0a (diff)
downloadpytest-7f90e74e0268721045413ae6e0944685cbcf59da.tar.gz
label code blocks
Diffstat (limited to 'doc/en/deprecations.rst')
-rw-r--r--doc/en/deprecations.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/en/deprecations.rst b/doc/en/deprecations.rst
index e2399dd41..d000dd6a1 100644
--- a/doc/en/deprecations.rst
+++ b/doc/en/deprecations.rst
@@ -457,6 +457,8 @@ Internal classes accessed through ``Node``
Access of ``Module``, ``Function``, ``Class``, ``Instance``, ``File`` and ``Item`` through ``Node`` instances now issue
this warning::
+.. code-block:: text
+
usage of Function.Module is deprecated, please use pytest.Module instead
Users should just ``import pytest`` and access those objects using the ``pytest`` module.