Skip to content

Commit b423c07

Browse files
committed
Detected indented ERROR and WARNING messages in tests
1 parent fc65396 commit b423c07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/lib/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ def _check_stderr(
447447

448448
lines = stderr.splitlines()
449449
for line in lines:
450+
line = line.lstrip()
450451
# First check for logging errors, which we don't allow during
451452
# tests even if allow_stderr_error=True (since a logging error
452453
# would signal a bug in pip's code).

0 commit comments

Comments
 (0)