Fix rst syntax

This commit is contained in:
TomV
2016-02-15 22:19:07 +00:00
parent 9af1f63ab6
commit 3dd50d039d
5 changed files with 15 additions and 15 deletions

View File

@@ -262,7 +262,7 @@ than speed.
config.cache API
------------------
The `config.cache`` object allows other plugins,
The ``config.cache`` object allows other plugins,
including ``conftest.py`` files,
to safely and flexibly store and retrieve values across
test runs because the ``config`` object is available

View File

@@ -142,7 +142,7 @@ Sometimes you may want to implement your own parametrization scheme
or implement some dynamism for determining the parameters or scope
of a fixture. For this, you can use the ``pytest_generate_tests`` hook
which is called when collecting a test function. Through the passed in
`metafunc` object you can inspect the requesting test context and, most
``metafunc`` object you can inspect the requesting test context and, most
importantly, you can call ``metafunc.parametrize()`` to cause
parametrization.

View File

@@ -31,7 +31,7 @@ Marking a test function to be skipped
.. versionadded:: 2.9
The simplest way to skip a test function is to mark it with the `skip` decorator
The simplest way to skip a test function is to mark it with the ``skip`` decorator
which may be passed an optional ``reason``:
.. code-block:: python
@@ -45,7 +45,7 @@ which may be passed an optional ``reason``:
.. versionadded:: 2.0, 2.4
If you wish to skip something conditionally then you can use `skipif` instead.
If you wish to skip something conditionally then you can use ``skipif`` instead.
Here is an example of marking a test function to be skipped
when run on a Python3.3 interpreter::

View File

@@ -109,7 +109,7 @@ If you want to write a plugin, there are many real-life examples
you can copy from:
* a custom collection example plugin: :ref:`yaml plugin`
* around 20 doc:`builtin plugins` which provide pytest's own functionality
* around 20 :ref:`builtin plugins` which provide pytest's own functionality
* many `external plugins <http://plugincompat.herokuapp.com>`_ providing additional features
All of these plugins implement the documented `well specified hooks`_