From 22adeb1dc30c2642dc1fc02863c57669b9624a57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christopher=20Ram=C3=ADrez?= Date: Sat, 19 Jul 2014 22:07:41 -0600 Subject: [PATCH] Fix iteritems() call not compatible with python3. --- test_secretary.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_secretary.py b/test_secretary.py index 452c815..26b4160 100644 --- a/test_secretary.py +++ b/test_secretary.py @@ -37,7 +37,7 @@ class RenderTestCase(TestCase): '{{ if multiple_spaces }}': '{{ if multiple_spaces }}', } - for test, expect in test_samples.iteritems(): + for test, expect in test_samples.items(): assert self.engine._unescape_entities(test) == expect def test__encode_escape_chars(self): @@ -54,7 +54,7 @@ class RenderTestCase(TestCase): '\u000a': '', } - for test, expect in test_samples.iteritems(): + for test, expect in test_samples.items(): assert self.engine._encode_escape_chars(test) == expect def test_create_test_node(self):