Add approx() to the Sphinx docs.

This commit is contained in:
Kale Kundert
2016-03-07 18:14:49 -08:00
parent b8a8382c2c
commit 5dab0954a0
2 changed files with 18 additions and 9 deletions

View File

@@ -35,6 +35,11 @@ Examples at :ref:`assertraises`.
.. autofunction:: deprecated_call
Comparing floating point numbers
--------------------------------
.. autoclass:: approx
Raising a specific test outcome
--------------------------------------
@@ -48,7 +53,7 @@ you can rather use declarative marks, see :ref:`skipping`.
.. autofunction:: _pytest.skipping.xfail
.. autofunction:: _pytest.runner.exit
fixtures and requests
Fixtures and requests
-----------------------------------------------------
To mark a fixture function: