aboutsummaryrefslogtreecommitdiffstats
path: root/t/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 't/__init__.py')
-rw-r--r--t/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/__init__.py b/t/__init__.py
index 130a085..b7a4f12 100644
--- a/t/__init__.py
+++ b/t/__init__.py
@@ -7,7 +7,7 @@ class VT100Test(unittest.TestCase):
self.vt = vt100.vt100(24, 80)
def process(self, text):
- if type(text) == type(""):
+ if type(text) == type(u""):
length = len(text.encode("utf-8"))
else:
length = len(text)