Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
Compare a string (not bytes) for PY3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Wright committed Sep 17, 2014
1 parent 679cee7 commit 76ad77a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_context_processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def mail():
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


Expand Down

0 comments on commit 76ad77a

Please sign in to comment.