-
Raul Tambre authored
Fixes colorama unintentionally overriding multiple sys.stdout wrappers of our own. And provides a fix for a SyntaxWarning on Python 3.8: C:\Google\depot_tools\third_party\colorama\ansitowin32.py:43: SyntaxWarning: invalid escape sequence \[ ANSI_RE = re.compile('\033\[((?:\d|;)*)([a-zA-Z])') Tests are updated to account for the annotation wrapper no longer being overriden. A fix by agable for the annotation wrapper working with carriage returns is also included (https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1592612). Bug: 958138, 958321 Change-Id: I2fe1def85c66cfe5229a1c25c2f677e498593eea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1591513Reviewed-by: Aaron Gable <agable@chromium.org> Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org> Commit-Queue: Raul Tambre <raul@tambre.ee> Auto-Submit: Raul Tambre <raul@tambre.ee>
25eb8e46