diff options
author | Georg Brandl <georg@python.org> | 2014-09-20 12:11:53 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-09-20 12:11:53 +0200 |
commit | ccc25791eb7bd31d2c90ff52a747973615e087e2 (patch) | |
tree | 1693af68783b350096922919f52fe26f5b1ff9c2 /tests/test_basic_api.py | |
parent | 5f4ac79b49e93998ba827e0073ea2b0de95b6593 (diff) | |
download | pygments-ccc25791eb7bd31d2c90ff52a747973615e087e2.tar.gz |
Sort out Unicode output issues with RTF and image formatters.
Diffstat (limited to 'tests/test_basic_api.py')
-rw-r--r-- | tests/test_basic_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_basic_api.py b/tests/test_basic_api.py index 6069f97c..37d170aa 100644 --- a/tests/test_basic_api.py +++ b/tests/test_basic_api.py @@ -217,7 +217,7 @@ def test_formatter_unicode_handling(): if formatter.name != 'Raw tokens': out = format(tokens, inst) if formatter.unicodeoutput: - assert type(out) is text_type + assert type(out) is text_type, '%s: %r' % (formatter, out) inst = formatter(encoding='utf-8') out = format(tokens, inst) |