summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVictor Maryama <victor.maryama@gmail.com>2019-06-26 10:50:27 +0200
committerGitHub <noreply@github.com>2019-06-26 10:50:27 +0200
commit7efdd5063bb0a64e09b0f3db3a109474d78c2132 (patch)
treeb933fb8da5367596c014466ac8ce71cdb727e132 /src
parent80ac910a24ab8bfcf8b1821d459a7a4b98ece3f8 (diff)
downloadpytest-7efdd5063bb0a64e09b0f3db3a109474d78c2132.tar.gz
Update src/_pytest/assertion/rewrite.py
Co-Authored-By: Bruno Oliveira <nicoddemus@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/_pytest/assertion/rewrite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_pytest/assertion/rewrite.py b/src/_pytest/assertion/rewrite.py
index 5477927b7..4d99c1a78 100644
--- a/src/_pytest/assertion/rewrite.py
+++ b/src/_pytest/assertion/rewrite.py
@@ -484,7 +484,7 @@ def _call_assertion_pass(lineno, orig, expl):
util._assertion_pass(lineno=lineno, orig=orig, expl=expl)
-def _check_if_assertionpass_impl():
+def _check_if_assertion_pass_impl():
"""Checks if any plugins implement the pytest_assertion_pass hook
in order not to generate explanation unecessarily (might be expensive)"""
return True if util._assertion_pass else False