MCPcopy Create free account
hub / github.com/ipython/ipython / test_skip_dt_decorator2

Function test_skip_dt_decorator2

IPython/testing/tests/test_decorators.py:142–150  ·  view source on GitHub ↗

Doctest-skipping decorator should preserve function signature.

()

Source from the content-addressed store, hash-verified

140
141
142def 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

Callers

nothing calls this directly

Calls 1

getargspecFunction · 0.70

Tested by

no test coverage detected