Decorator - mark a function or method for skipping its doctest. This decorator allows you to mark a function whose docstring you wish to omit from testing, while preserving the docstring for introspection, help, etc.
(f)
| 10 | |
| 11 | |
| 12 | def skip_doctest(f): |
| 13 | """Decorator - mark a function or method for skipping its doctest. |
| 14 | |
| 15 | This decorator allows you to mark a function whose docstring you wish to |
| 16 | omit from testing, while preserving the docstring for introspection, help, |
| 17 | etc.""" |
| 18 | f.skip_doctest = True |
| 19 | return f |
nothing calls this directly
no outgoing calls
no test coverage detected