diff options
Diffstat (limited to 'test/foo')
-rw-r--r-- | test/foo/mod_no_encoding.py | 7 | ||||
-rw-r--r-- | test/foo/test_ns.py | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/test/foo/mod_no_encoding.py b/test/foo/mod_no_encoding.py index 2ba6746..004cc44 100644 --- a/test/foo/mod_no_encoding.py +++ b/test/foo/mod_no_encoding.py @@ -1,8 +1,7 @@ - from mako.lookup import TemplateLookup -from mako.exceptions import MakoException, html_error_template template_lookup = TemplateLookup() -def run(): - tpl = template_lookup.get_template('not_found.html') + +def run(): + tpl = template_lookup.get_template("not_found.html") diff --git a/test/foo/test_ns.py b/test/foo/test_ns.py index 282447a..f67e22e 100644 --- a/test/foo/test_ns.py +++ b/test/foo/test_ns.py @@ -1,10 +1,11 @@ def foo1(context): context.write("this is foo1.") - return '' + return "" + def foo2(context, x): context.write("this is foo2, x is " + x) - return '' + return "" -foo3 = "I'm not a callable"
\ No newline at end of file +foo3 = "I'm not a callable" |