summaryrefslogtreecommitdiff
path: root/doc/en/xunit_setup.rst
diff options
context:
space:
mode:
authorboris <boris@verhovs.ky>2019-08-06 16:20:06 -0700
committerboris <boris@verhovs.ky>2019-08-06 16:20:06 -0700
commit78de9d4677ce99186b685e5c54accf84d19a3028 (patch)
treea8fdb31d2276227cfa73e800f918d6d92bdbccbb /doc/en/xunit_setup.rst
parent23a0b532dbe72d6cb6ec923d9ce6f0a63a34fc28 (diff)
downloadpytest-78de9d4677ce99186b685e5c54accf84d19a3028.tar.gz
replace implicit code tag with colon .replace("::\n\n.. code-block", ":\n\n.. code-block")
Diffstat (limited to 'doc/en/xunit_setup.rst')
-rw-r--r--doc/en/xunit_setup.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/en/xunit_setup.rst b/doc/en/xunit_setup.rst
index 22a0e51d0..83545223a 100644
--- a/doc/en/xunit_setup.rst
+++ b/doc/en/xunit_setup.rst
@@ -27,7 +27,7 @@ Module level setup/teardown
If you have multiple test functions and test classes in a single
module you can optionally implement the following fixture methods
-which will usually be called once for all the functions::
+which will usually be called once for all the functions:
.. code-block:: python
@@ -46,7 +46,7 @@ Class level setup/teardown
----------------------------------
Similarly, the following methods are called at class level before
-and after all test methods of the class are called::
+and after all test methods of the class are called:
.. code-block:: python
@@ -66,7 +66,7 @@ and after all test methods of the class are called::
Method and function level setup/teardown
-----------------------------------------------
-Similarly, the following methods are called around each method invocation::
+Similarly, the following methods are called around each method invocation:
.. code-block:: python
@@ -84,7 +84,7 @@ Similarly, the following methods are called around each method invocation::
As of pytest-3.0, the ``method`` parameter is optional.
If you would rather define test functions directly at module level
-you can also use the following functions to implement fixtures::
+you can also use the following functions to implement fixtures:
.. code-block:: python