From 1b67138259cbccc06ef7a34692a115f9d16e4bd8 Mon Sep 17 00:00:00 2001 From: jekwatt Date: Sat, 16 Jul 2022 15:40:34 -0500 Subject: [PATCH] Simple change to error message --- src/_pytest/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}")