summaryrefslogtreecommitdiff
path: root/tests/test_html_formatter.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_html_formatter.py')
-rw-r--r--tests/test_html_formatter.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_html_formatter.py b/tests/test_html_formatter.py
index 0a1b7a9a..7a1c563c 100644
--- a/tests/test_html_formatter.py
+++ b/tests/test_html_formatter.py
@@ -214,9 +214,9 @@ def test_get_background_style_defs_uses_multiple_css_prefixes():
def test_unicode_options():
- fmt = HtmlFormatter(title=u'Föö',
- cssclass=u'bär',
- cssstyles=u'div:before { content: \'bäz\' }',
+ fmt = HtmlFormatter(title='Föö',
+ cssclass='bär',
+ cssstyles='div:before { content: \'bäz\' }',
encoding='utf-8')
handle, pathname = tempfile.mkstemp('.html')
with os.fdopen(handle, 'w+b') as tfile: