def test_type(self): assert isinstance( sa.func.row_to_json(sa.text('article.*')).type, postgresql.JSON )