From 4bc44951152c58cebc5769211c1d69f4e0732c2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Fievet?= Date: Tue, 3 Jun 2014 07:30:14 +0000 Subject: [PATCH] Fixed typo noticed by @dcramer (https://twitter.com/zeeg/status/473676721128886272) --HG-- branch : zyegfryed/fixed-typo-noticed-by-dcramer-httpstwitt-1401780587159 --- _pytest/hookspec.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/_pytest/hookspec.py b/_pytest/hookspec.py index 164ed92a1..5a4466388 100644 --- a/_pytest/hookspec.py +++ b/_pytest/hookspec.py @@ -153,8 +153,8 @@ def pytest_runtest_protocol(item, nextitem): :arg item: test item for which the runtest protocol is performed. :arg nextitem: the scheduled-to-be-next test item (or None if this - is the end my friend). This argument is passed on to - :py:func:`pytest_runtest_teardown`. + is the end my friend). This argument is passed on to + :py:func:`pytest_runtest_teardown`. :return boolean: True if no further hook implementations should be invoked. """ @@ -172,10 +172,10 @@ def pytest_runtest_call(item): def pytest_runtest_teardown(item, nextitem): """ called after ``pytest_runtest_call``. - :arg nexitem: the scheduled-to-be-next test item (None if no further - test item is scheduled). This argument can be used to - perform exact teardowns, i.e. calling just enough finalizers - so that nextitem only needs to call setup-functions. + :arg nextitem: the scheduled-to-be-next test item (None if no further + test item is scheduled). This argument can be used to + perform exact teardowns, i.e. calling just enough finalizers + so that nextitem only needs to call setup-functions. """ def pytest_runtest_makereport(item, call):