summaryrefslogtreecommitdiff
path: root/test/test_inheritance.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_inheritance.py')
-rw-r--r--test/test_inheritance.py24
1 files changed, 7 insertions, 17 deletions
diff --git a/test/test_inheritance.py b/test/test_inheritance.py
index e8ed74e..7217e33 100644
--- a/test/test_inheritance.py
+++ b/test/test_inheritance.py
@@ -1,6 +1,5 @@
import unittest
-from mako import compat
from mako import lookup
from test.util import result_lines
@@ -257,22 +256,13 @@ ${next.body()}
""",
)
- if compat.py3k:
- assert result_lines(
- collection.get_template("index").render_unicode(x=5, y=10)
- ) == [
- "this is the base.",
- "pageargs: (type: <class 'dict'>) [('x', 5), ('y', 10)]",
- "print 5, 10, 7",
- ]
- else:
- assert result_lines(
- collection.get_template("index").render_unicode(x=5, y=10)
- ) == [
- "this is the base.",
- "pageargs: (type: <type 'dict'>) [('x', 5), ('y', 10)]",
- "print 5, 10, 7",
- ]
+ assert result_lines(
+ collection.get_template("index").render_unicode(x=5, y=10)
+ ) == [
+ "this is the base.",
+ "pageargs: (type: <class 'dict'>) [('x', 5), ('y', 10)]",
+ "print 5, 10, 7",
+ ]
def test_pageargs_2(self):
collection = lookup.TemplateLookup()