summaryrefslogtreecommitdiffstats
path: root/contrib/python/pytest/py2/_pytest/compat.py
diff options
context:
space:
mode:
authorIlnur Khuziev <[email protected]>2022-02-10 16:46:14 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:46:14 +0300
commit60040c91ffe701a84689b2c6310ff845e65cff42 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /contrib/python/pytest/py2/_pytest/compat.py
parent736dcd8ca259457a136f2f9f9168c44643914323 (diff)
Restoring authorship annotation for Ilnur Khuziev <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'contrib/python/pytest/py2/_pytest/compat.py')
-rw-r--r--contrib/python/pytest/py2/_pytest/compat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/python/pytest/py2/_pytest/compat.py b/contrib/python/pytest/py2/_pytest/compat.py
index f04fc35b9a1..e5c3b84667e 100644
--- a/contrib/python/pytest/py2/_pytest/compat.py
+++ b/contrib/python/pytest/py2/_pytest/compat.py
@@ -367,7 +367,7 @@ def safe_isclass(obj):
def _is_unittest_unexpected_success_a_failure():
"""Return if the test suite should fail if an @expectedFailure unittest test PASSES.
- From https://docs.python.org/3/library/unittest.html?highlight=unittest#unittest.TestResult.wasSuccessful:
+ From https://docs.python.org/3/library/unittest.html?highlight=unittest#unittest.TestResult.wasSuccessful:
Changed in version 3.4: Returns False if there were any
unexpectedSuccesses from tests marked with the expectedFailure() decorator.
"""