def __repr__(self):
        return "<Requirement(package={package}, version='{version}')>".format(
            package=self.package, version=self.version)
def test_ccode_settings():
    raises(TypeError, lambda: ccode(sin(x), method="garbage"))