Skip to content
Myr

quickly fix py3 tests

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by James Tanner · committed by James Tanner · parent 2ffeb69 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • tests:+1 added−1 removed

1 file+1 added−1 removed

modified:tests/test_nativetypes.py+1 added-1 removed
105 unmodified lines
106 def test_constant_dunder_to_string(self, env):107 t = env.from_string("{{ true.__class__|string }}")108 result = t.render()109 assert not isinstance(result, type)110 assert result == "<type 'bool'>"110 assert result in ["<type 'bool'>", "<class 'bool'>"]