diff options
Diffstat (limited to 'tests/test_token.py')
-rw-r--r-- | tests/test_token.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_token.py b/tests/test_token.py index 26cc772e..c5cc4990 100644 --- a/tests/test_token.py +++ b/tests/test_token.py @@ -36,11 +36,11 @@ class TokenTest(unittest.TestCase): stp = token.STANDARD_TYPES.copy() stp[token.Token] = '---' # Token and Text do conflict, that is okay t = {} - for k, v in stp.iteritems(): + for k, v in stp.items(): t.setdefault(v, []).append(k) if len(t) == len(stp): return # Okay - for k, v in t.iteritems(): + for k, v in t.items(): if len(v) > 1: self.fail("%r has more than one key: %r" % (k, v)) |