summaryrefslogtreecommitdiff
path: root/psutil/_common.py
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2020-04-23 05:16:41 +0200
committerGitHub <noreply@github.com>2020-04-23 05:16:41 +0200
commit97796454d5a14b38b1a036958ad3dfe35faa3b4a (patch)
treea8432a83b26e39af084658b6f4bc3f4a4b8753fd /psutil/_common.py
parent9e50354fa37da96040b9a23431c7cec9f6a5326d (diff)
downloadpsutil-97796454d5a14b38b1a036958ad3dfe35faa3b4a.tar.gz
MemoryLeakTest class enhancements (#1731)
Diffstat (limited to 'psutil/_common.py')
-rw-r--r--psutil/_common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/psutil/_common.py b/psutil/_common.py
index 8a39de7f..b97bb01d 100644
--- a/psutil/_common.py
+++ b/psutil/_common.py
@@ -785,7 +785,7 @@ def hilite(s, color="green", bold=False):
if not term_supports_colors():
return s
attr = []
- colors = dict(green='32', red='91', brown='33')
+ colors = dict(green='32', red='91', brown='33', yellow='93')
colors[None] = '29'
try:
color = colors[color]
@@ -812,7 +812,7 @@ def print_color(s, color="green", bold=False, file=sys.stdout):
SetConsoleTextAttribute = \
ctypes.windll.Kernel32.SetConsoleTextAttribute
- colors = dict(green=2, red=4, brown=6)
+ colors = dict(green=2, red=4, brown=6, yellow=6)
colors[None] = DEFAULT_COLOR
try:
color = colors[color]