]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
quickly fix py3 tests
authorJames Tanner <tanner.jc@gmail.com>
Wed, 26 Jul 2017 02:11:22 +0000 (22:11 -0400)
committerJames Tanner <tanner.jc@gmail.com>
Wed, 26 Jul 2017 02:11:22 +0000 (22:11 -0400)
tests/test_nativetypes.py

index 8bff503807fe6335f7ffafdcf9923b7100a8707d..aec1a3b8fff789c2cf8085d86fa8bff6f8502909 100644 (file)
@@ -107,4 +107,4 @@ class TestNativeEnvironment(object):
         t = env.from_string("{{ true.__class__|string }}")
         result = t.render()
         assert not isinstance(result, type)
-        assert result == "<type 'bool'>"
+        assert result in ["<type 'bool'>", "<class 'bool'>"]