1234567891011121314151617181920212223242526272829303132 |
- Module(body=[FunctionDef(name='func',
- args=arguments(args=[],
- vararg=None,
- kwarg=None,
- defaults=[]),
- body=[Return(value=Str(s='dog'))],
- decorator_list=[]),
- FunctionDef(name='wee',
- args=arguments(args=[],
- vararg=None,
- kwarg=None,
- defaults=[]),
- body=[Assert(test=Compare(left=Num(n=1),
- ops=[NotEq()],
- comparators=[Num(n=2)]),
- msg=None),
- Assert(test=Compare(left=Str(s='dog'),
- ops=[Eq()],
- comparators=[Call(func=Name(id='func',
- ctx=Load()),
- args=[],
- keywords=[],
- starargs=None,
- kwargs=None)]),
- msg=None)],
- decorator_list=[]),
- Expr(value=Call(func=Name(id='wee',
- ctx=Load()),
- args=[],
- keywords=[],
- starargs=None,
- kwargs=None))])
|