aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_comment.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_comment.py')
-rw-r--r--tests/test_comment.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_comment.py b/tests/test_comment.py
index e1e94c6..81824eb 100644
--- a/tests/test_comment.py
+++ b/tests/test_comment.py
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
import os
import unittest
@@ -73,3 +75,6 @@ This comment has a indented example
</div>
"""
self.assertTrue(expected.strip() in self.comments)
+
+ def test_handles_unicode_in_comments(self):
+ self.assertTrue(u'Hello, 世界' in self.comments)