def get_version():
    version = {}
    with open("bqueryd/version.py") as fp:
        exec (fp.read(), version)
    return version
def test_ccode_settings():
    raises(TypeError, lambda: ccode(sin(x), method="garbage"))