diff options
author | Patrick Harmon <gaucheph@gmail.com> | 2019-10-31 22:28:25 -0500 |
---|---|---|
committer | Patrick Harmon <gaucheph@gmail.com> | 2019-10-31 23:19:35 -0500 |
commit | abc890079f92c116e30bf197c46c427a850ecdec (patch) | |
tree | 648637ef11f315cc2f10734e0d2a0ab643170c15 /src/_pytest/skipping.py | |
parent | cefe6bfec38f8f9e200b2e233a840cf1de2bf3b4 (diff) | |
download | pytest-abc890079f92c116e30bf197c46c427a850ecdec.tar.gz |
typos
Diffstat (limited to 'src/_pytest/skipping.py')
-rw-r--r-- | src/_pytest/skipping.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/_pytest/skipping.py b/src/_pytest/skipping.py index 53737816f..d18f61ef4 100644 --- a/src/_pytest/skipping.py +++ b/src/_pytest/skipping.py @@ -122,7 +122,7 @@ def pytest_runtest_makereport(item, call): outcome = yield rep = outcome.get_result() evalxfail = getattr(item, "_evalxfail", None) - # unitttest special case, see setting of _unexpectedsuccess + # unittest special case, see setting of _unexpectedsuccess if hasattr(item, "_unexpectedsuccess") and rep.when == "call": if item._unexpectedsuccess: @@ -132,7 +132,7 @@ def pytest_runtest_makereport(item, call): rep.outcome = "failed" elif item.config.option.runxfail: - pass # don't interefere + pass # don't interfere elif call.excinfo and call.excinfo.errisinstance(xfail.Exception): rep.wasxfail = "reason: " + call.excinfo.value.msg rep.outcome = "skipped" |