Package nltk_lite :: Package test :: Module doctest_driver :: Class Debugger
[show private | hide private]
[frames | no frames]

Class Debugger


Method Summary
  __init__(self, checker, set_trace)
  debug(self, test, pm)
  post_mortem(self, debugger, t)
  _check_exception(self, example)
  _check_output(self, example)
  _comment_line(self, line)
Return a commented form of the given line
  _get_optionflags(self, example)
  _is_expr(self, stmt)
  _print_if_not_none(self, *args)
  _script_from_example(self, example, i, output)
  _script_from_examples(self, s)
  _simulate_compile_singlemode(self, s)

Class Variable Summary
DocTestRunner runner = <doctest.DocTestRunner instance at 0x2aaaaad479...
str _CHK_EXC = 'if not CHECK_EXCEPTION(__examples__[%d]): __...
str _CHK_OUT = 'if not CHECK_OUTPUT(__examples__[%d]): __set...

Method Details

_comment_line(self, line)

Return a commented form of the given line

Class Variable Details

runner

Type:
DocTestRunner
Value:
<doctest.DocTestRunner instance at 0x2aaaaad479e0>                     

_CHK_EXC

Type:
str
Value:
'if not CHECK_EXCEPTION(__examples__[%d]): __set_trace__()'            

_CHK_OUT

Type:
str
Value:
'if not CHECK_OUTPUT(__examples__[%d]): __set_trace__()'               

Generated by Epydoc 2.1 on Tue Sep 5 09:37:21 2006 http://epydoc.sf.net