1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Detected indented ERROR and WARNING messages in tests

This commit is contained in:
Stéphane Bidoul 2021-08-29 16:56:18 +02:00
parent fc653965dd
commit b423c07ff4
No known key found for this signature in database
GPG key ID: BCAB2555446B5B92

View file

@ -447,6 +447,7 @@ def _check_stderr(
lines = stderr.splitlines()
for line in lines:
line = line.lstrip()
# First check for logging errors, which we don't allow during
# tests even if allow_stderr_error=True (since a logging error
# would signal a bug in pip's code).