Skip to content

Commit 63c7338

Browse files
authored
Fix rename issue
1 parent 0eae340 commit 63c7338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ def perform_collect(
646646
if self._notfound:
647647
errors = []
648648
for arg, collectors in self._notfound:
649-
if cols:
649+
if collectors:
650650
errors.append(
651651
f"not found: {arg}\n(no name {arg!r} in any of {collectors!r})"
652652
)

0 commit comments

Comments
 (0)