| 99 | |
| 100 | # test generic function compile |
| 101 | class fake_func(GenericFunction): |
| 102 | inherit_cache = True |
| 103 | __return_type__ = sqltypes.Integer |
| 104 | |
| 105 | def __init__(self, arg, **kwargs): |
| 106 | GenericFunction.__init__(self, arg, **kwargs) |
| 107 | |
| 108 | self.assert_compile( |
| 109 | fake_func("foo"), |