aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/pytest/py2/_pytest/skipping.py
diff options
context:
space:
mode:
authorshadchin <shadchin@yandex-team.ru>2022-02-10 16:44:30 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:44:30 +0300
commit2598ef1d0aee359b4b6d5fdd1758916d5907d04f (patch)
tree012bb94d777798f1f56ac1cec429509766d05181 /contrib/python/pytest/py2/_pytest/skipping.py
parent6751af0b0c1b952fede40b19b71da8025b5d8bcf (diff)
downloadydb-2598ef1d0aee359b4b6d5fdd1758916d5907d04f.tar.gz
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/python/pytest/py2/_pytest/skipping.py')
-rw-r--r--contrib/python/pytest/py2/_pytest/skipping.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/python/pytest/py2/_pytest/skipping.py b/contrib/python/pytest/py2/_pytest/skipping.py
index bc8b88e717..c0faa05a22 100644
--- a/contrib/python/pytest/py2/_pytest/skipping.py
+++ b/contrib/python/pytest/py2/_pytest/skipping.py
@@ -1,4 +1,4 @@
-# -*- coding: utf-8 -*-
+# -*- coding: utf-8 -*-
""" support for skip/xfail functions and markers. """
from __future__ import absolute_import
from __future__ import division
@@ -18,7 +18,7 @@ def pytest_addoption(parser):
action="store_true",
dest="runxfail",
default=False,
- help="report the results of xfail tests as if they were not marked",
+ help="report the results of xfail tests as if they were not marked",
)
parser.addini(
@@ -181,6 +181,6 @@ def pytest_runtest_makereport(item, call):
def pytest_report_teststatus(report):
if hasattr(report, "wasxfail"):
if report.skipped:
- return "xfailed", "x", "XFAIL"
+ return "xfailed", "x", "XFAIL"
elif report.passed:
- return "xpassed", "X", "XPASS"
+ return "xpassed", "X", "XPASS"