async def corofunc(**local_args):
            nonlocal called
            assert local_args == args
            called += 1
def test_ccode_settings():
    raises(TypeError, lambda: ccode(sin(x), method="garbage"))