async def corofunc():
            nonlocal called
            called = True
            return "some arbitrary value"
def test_ccode_settings():
    raises(TypeError, lambda: ccode(sin(x), method="garbage"))