diff options
author | Victor Maryama <victor.maryama@gmail.com> | 2019-06-26 10:50:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-26 10:50:27 +0200 |
commit | 7efdd5063bb0a64e09b0f3db3a109474d78c2132 (patch) | |
tree | b933fb8da5367596c014466ac8ce71cdb727e132 /src | |
parent | 80ac910a24ab8bfcf8b1821d459a7a4b98ece3f8 (diff) | |
download | pytest-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.py | 2 |
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 |