Part of twisted.trial.reporter View Source View In Hierarchy
Colorizer classes must implement supported()
and
write(text, color)
.
Method | __init__ | Undocumented |
Class Method | supported | A class method that returns True if the current platform supports coloring terminal output using this method. Returns False otherwise. |
Method | write | Write the given text to the stream in the given color. |
Parameters | text | Text to be written to the stream. |
color | A string label for a color. e.g. 'red', 'white'. |