Skip to content

Commit

Permalink
Allow UTF-8 output from test
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD committed Jul 22, 2018
1 parent 98c81e0 commit e0756a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hypothesis-python/tests/pytest/test_capture.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ def test_output_emitting_unicode(testdir, monkeypatch):
script, '--verbose', '--capture=no')
out = '\n'.join(result.stdout.lines)
assert 'test_emits_unicode' in out
assert escape_unicode_characters(hunichr(1001)) in out
assert hunichr(1001) in out or \
escape_unicode_characters(hunichr(1001)) in out
assert result.ret == 0


Expand Down

0 comments on commit e0756a2

Please sign in to comment.