2560 |
2561 |
2562 |
2563 |
2564 |
2565 |
2566 |
2567 |
2568 |
2569 | |
def debug(module, name, pm=False): |
"""Debug a single doctest docstring. |
|
Provide the module (or dotted name of the module) containing the |
test to be debugged and the name (within the module) of the object |
with the docstring with tests to be debugged. |
""" |
module = _normalize_module(module) |
testsrc = testsource(module, name) |
debug_script(testsrc, pm, module.__dict__) | |