class documentation

class TestcaseFormatter(Formatter): (source)

View In Hierarchy

Format tokens as appropriate for a new testcase. .. versionadded:: 2.0

Method __init__ Undocumented
Method format Format ``tokensource``, an iterable of ``(tokentype, tokenstring)`` tuples and write it into ``outfile``.
Class Variable aliases Undocumented
Class Variable name Undocumented

Inherited from Formatter:

Method get_style_defs Return the style definitions for the current style as a string.
Class Variable filenames Undocumented
Class Variable unicodeoutput Undocumented
Instance Variable encoding Undocumented
Instance Variable full Undocumented
Instance Variable options Undocumented
Instance Variable style Undocumented
Instance Variable title Undocumented
def __init__(self, **options): (source)

Undocumented

def format(self, tokensource, outfile): (source)

Format ``tokensource``, an iterable of ``(tokentype, tokenstring)`` tuples and write it into ``outfile``.