Skip to content

Commit 0eae340

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

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/_pytest/main.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -647,10 +647,12 @@ def perform_collect(
647647
errors = []
648648
for arg, collectors in self._notfound:
649649
if cols:
650-
errors.append(f"not found: {arg}\n(no name {arg!r} in any of {collectors!r})")
650+
errors.append(
651+
f"not found: {arg}\n(no name {arg!r} in any of {collectors!r})"
652+
)
651653
else:
652654
errors.append(f"found no collectors for {arg}")
653-
655+
654656
raise UsageError(*errors)
655657
if not genitems:
656658
items = rep.result

0 commit comments

Comments
 (0)