async def corofunc():
            nonlocal called
            called += 1
            raise ValueError("yeah async")
def test_ccode_settings():
    raises(TypeError, lambda: ccode(sin(x), method="garbage"))