Skip to content

Commit

Permalink
quickly fix py3 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jctanner committed Jul 26, 2017
1 parent 2ffeb69 commit 68820c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_nativetypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,4 @@ def test_constant_dunder_to_string(self, env):
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'>"]

0 comments on commit 68820c3

Please sign in to comment.