Skip to content

Commit 3f9c1b9

Browse files
pre-commit-ci[bot]Glyphack
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent bca098b commit 3f9c1b9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/_pytest/fixtures.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,9 +1218,7 @@ def _get_wrapped_function(self) -> Callable[..., Any]:
12181218
if self._instance is None:
12191219
return self._fixture_function
12201220

1221-
return cast(
1222-
Callable[..., Any], self._fixture_function.__get__(self._instance)
1223-
)
1221+
return cast(Callable[..., Any], self._fixture_function.__get__(self._instance))
12241222

12251223

12261224
@overload

0 commit comments

Comments
 (0)