Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 19, 2022
1 parent 2bb9fe6 commit 4e2ccb9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/_pytest/_py/path.py
Expand Up @@ -122,9 +122,7 @@ def _evaluate(self, kw):
except AttributeError:
pass
if meth is None:
raise TypeError(
f"no {name!r} checker available for {self.path!r}"
)
raise TypeError(f"no {name!r} checker available for {self.path!r}")
try:
if py.code.getrawcode(meth).co_argcount > 1:
if (not meth(value)) ^ invert:
Expand Down

0 comments on commit 4e2ccb9

Please sign in to comment.