def test_skip_dt_decorator2():
 dtargs = (['x', 'y'], None, 'k', (1,))
 dtargsr = getargspec(doctest_bad)
 assert (dtargsr == dtargs), ('Incorrectly reconstructed args for doctest_bad: %s' % (dtargsr,))

def test_skip_dt_decorator2 ( ) : dtargs = ( [ 'x' , 'y' ] , None , 'k' , ( 1 , ) ) dtargsr = getargspec ( doctest_bad ) assert ( dtargsr == dtargs ) , ( 'Incorrectly reconstructed args for doctest_bad: %s' % ( dtargsr , ) )
doctest-skipping decorator should preserve function signature .