Skip to content

Commit a0ee5c2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0c126fd commit a0ee5c2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/_pytest/mark/structures.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ def get_empty_parameterset_mark(
4848
from ..nodes import Collector
4949

5050
fs, lineno = getfslineno(func)
51-
reason = (
52-
f"got empty parameter set {argnames!r}, function {func.__name__} at {fs}:{lineno}"
53-
)
51+
reason = f"got empty parameter set {argnames!r}, function {func.__name__} at {fs}:{lineno}"
5452
requested_mark = config.getini(EMPTY_PARAMETERSET_OPTION)
5553
if requested_mark in ("", None, "skip"):
5654
mark = MARK_GEN.skip(reason=reason)

0 commit comments

Comments
 (0)