Remove --color from ESLint output when running in presubmit

Fixed: 862792
Change-Id: I250e91a1db5f8df71fff33c17c7a04a9fd6c8739
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1937584
Commit-Queue: Dan Beam <[email protected]>
Auto-Submit: Dan Beam <[email protected]>
Reviewed-by: Daniel Cheng <[email protected]>
Reviewed-by: Demetrios Papadopoulos <[email protected]>
Cr-Commit-Position: refs/heads/master@{#719450}
diff --git a/PRESUBMIT_test_mocks.py b/PRESUBMIT_test_mocks.py
index 7fc3b2abc..7549d3c 100644
--- a/PRESUBMIT_test_mocks.py
+++ b/PRESUBMIT_test_mocks.py
@@ -71,6 +71,7 @@
     self.python_executable = sys.executable
     self.platform = sys.platform
     self.subprocess = subprocess
+    self.sys = sys
     self.files = []
     self.is_committing = False
     self.change = MockChange([])