Skip to content

Commit 4e2ccb9

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2bb9fe6 commit 4e2ccb9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/_pytest/_py/path.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,7 @@ def _evaluate(self, kw):
122122
except AttributeError:
123123
pass
124124
if meth is None:
125-
raise TypeError(
126-
f"no {name!r} checker available for {self.path!r}"
127-
)
125+
raise TypeError(f"no {name!r} checker available for {self.path!r}")
128126
try:
129127
if py.code.getrawcode(meth).co_argcount > 1:
130128
if (not meth(value)) ^ invert:

0 commit comments

Comments
 (0)