

def test_sort1(self):
    tmpl = env.from_string('{{ [2, 3, 1]|sort }}|{{ [2, 3, 1]|sort(true) }}')
    assert (self.render() == '[1, 2, 3]|[3, 2, 1]')

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/jinja2-2.6/jinja2/testsuite/filters.py FilterTestCase.test_sort1/VarMisuse@21/56 `tmpl`->`self`