From: James Tanner Date: Wed, 26 Jul 2017 02:11:22 +0000 (-0400) Subject: quickly fix py3 tests X-Git-Tag: 2.10~3^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68820c39765bb54b548a90746b75484694ad507c;p=thirdparty%2Fjinja.git quickly fix py3 tests --- diff --git a/tests/test_nativetypes.py b/tests/test_nativetypes.py index 8bff5038..aec1a3b8 100644 --- a/tests/test_nativetypes.py +++ b/tests/test_nativetypes.py @@ -107,4 +107,4 @@ class TestNativeEnvironment(object): t = env.from_string("{{ true.__class__|string }}") result = t.render() assert not isinstance(result, type) - assert result == "" + assert result in ["", ""]