Skip to content
Myr

Removed useless prints.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent 3bfd760 · Browse files · 1 file+0 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−2 removed

  • other:+0 added−2 removed

1 file+0 added−2 removed

modified:jinja2/testsuite/core_tags.py-2 removed
213 unmodified lines
214{% macro level1(data1) %}215{% macro level2(data2) %}{{ data1 }}|{{ data2 }}{% endmacro %}216{{ level2('bar') }}{% endmacro %}217{{ level1('foo') }}''')218 print repr(tmpl.render())218 assert tmpl.render() == 'foo|bar'219220 def test_arguments(self):221 tmpl = self.env.from_string('''\222{% macro m(a, b, c='c', d='d') %}{{ a }}|{{ b }}|{{ c }}|{{ d }}{% endmacro %}223{{ m() }}|{{ m('a') }}|{{ m('a', 'b') }}|{{ m(1, 2, 3) }}''')225 print tmpl.render()224 assert tmpl.render() == '||c|d|a||c|d|a|b|c|d|1|2|3|d'225226 def test_varargs(self):227 tmpl = self.env.from_string('''\
53 unmodified lines