Doctest-skipping decorator should preserve function signature.
()
| 140 | |
| 141 | |
| 142 | def test_skip_dt_decorator2(): |
| 143 | """Doctest-skipping decorator should preserve function signature. |
| 144 | """ |
| 145 | # Hardcoded correct answer |
| 146 | dtargs = (['x', 'y'], None, 'k', (1,)) |
| 147 | # Introspect out the value |
| 148 | dtargsr = getargspec(doctest_bad) |
| 149 | assert dtargsr==dtargs, \ |
| 150 | "Incorrectly reconstructed args for doctest_bad: %s" % (dtargsr,) |
| 151 | |
| 152 | |
| 153 | @dec.skip_linux |
nothing calls this directly
no test coverage detected