diff --git a/src/_pytest/main.py b/src/_pytest/main.py index 4a117fc2e..92b48f1a7 100644 --- a/src/_pytest/main.py +++ b/src/_pytest/main.py @@ -650,7 +650,7 @@ class Session(nodes.FSCollector): for arg, collectors in self._notfound: if collectors: errors.append( - f"not found: {arg}\n(no name {arg!r} in any of {collectors!r})" + f"coundn't collect: {arg}\n(no name {arg!r} in any of {collectors!r})" ) else: errors.append(f"found no collectors for {arg}")