From 76ad77a23398b38d730bc15f1052ff645cbca846 Mon Sep 17 00:00:00 2001 From: Matt Wright Date: Wed, 17 Sep 2014 11:39:19 -0400 Subject: [PATCH] Compare a string (not bytes) for PY3 support --- tests/test_context_processors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_context_processors.py b/tests/test_context_processors.py index 697eb1e..1bb64d2 100644 --- a/tests/test_context_processors.py +++ b/tests/test_context_processors.py @@ -85,7 +85,7 @@ def test_context_processors(client, app): client.post('/reset', data=dict(email='matt@lp.com')) email = outbox[0] - assert b'global' in email.html + assert 'global' in email.html assert 'bar' in email.html