From 4e2ccb99b72889b43e3a042f9215471c3a91ae1f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 19 Oct 2022 14:32:37 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/_pytest/_py/path.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/_pytest/_py/path.py b/src/_pytest/_py/path.py index 7d439b19c7d..0bf27bcfaf4 100644 --- a/src/_pytest/_py/path.py +++ b/src/_pytest/_py/path.py @@ -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: