diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2020-04-30 15:36:28 -0700 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2020-04-30 15:36:28 -0700 |
commit | 1b954c7457ccced8d27cbb1854db47372c25f997 (patch) | |
tree | 8dd41b539b2f7f1f53b431c3fb6b3a376e9585e7 | |
parent | a40b25fad4a9859d11cc0de1812b05c9c453217d (diff) | |
download | psutil-1b954c7457ccced8d27cbb1854db47372c25f997.tar.gz |
runner: don't use stream
-rwxr-xr-x | psutil/tests/runner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/tests/runner.py b/psutil/tests/runner.py index ef135c8d..a9158a56 100755 --- a/psutil/tests/runner.py +++ b/psutil/tests/runner.py @@ -111,7 +111,7 @@ class TestLoader: class ColouredResult(unittest.TextTestResult): def _print_color(self, s, color, bold=False): - print_color(s, color, bold=bold, file=self.stream) + print_color(s, color, bold=bold) def addSuccess(self, test): unittest.TestResult.addSuccess(self, test) |