def test_alter_function_leakproof(self):
        "Change a function with LEAKPROOF qualifier"
        if 90200 < self.db.version:
            self.skipTest('Only available on PG 9.2 or later')
        inmap = self.std_map()
        inmap['schema public'].update({
            'function f1(integer, integer)': {
                'language': 'sql', 'returns': 'integer',
                'source': SOURCE4, 'volatility': 'immutable'}})
        sql = self.to_sql(inmap, [CREATE_STMT4], superuser=True)
        assert fix_indent(sql[0]) == \
            "ALTER FUNCTION f1(integer, integer) NOT LEAKPROOF"
dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_function.py/FunctionToSqlTestCase.test_alter_function_leakproof/swapped operands of `<`