A function whose doctest we need to skip. >>> 1+1 3
(x,y=1,**k)
| 60 | # Verify that we can correctly skip the doctest for a function at will, but |
| 61 | # that the docstring itself is NOT destroyed by the decorator. |
| 62 | def doctest_bad(x,y=1,**k): |
| 63 | """A function whose doctest we need to skip. |
| 64 | |
| 65 | >>> 1+1 |
| 66 | 3 |
| 67 | """ |
| 68 | print('x:',x) |
| 69 | print('y:',y) |
| 70 | print('k:',k) |
| 71 | |
| 72 | |
| 73 | def call_doctest_bad(): |
nothing calls this directly
no outgoing calls
no test coverage detected