summaryrefslogtreecommitdiff
path: root/blessings/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'blessings/tests.py')
-rw-r--r--blessings/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/blessings/tests.py b/blessings/tests.py
index 7dda746..15141dc 100644
--- a/blessings/tests.py
+++ b/blessings/tests.py
@@ -28,12 +28,12 @@ TestTerminal = partial(Terminal, kind='xterm-256color')
def unicode_cap(cap):
"""Return the result of ``tigetstr`` except as Unicode."""
- return tigetstr(cap).decode('utf-8')
+ return tigetstr(cap).decode('latin1')
def unicode_parm(cap, *parms):
"""Return the result of ``tparm(tigetstr())`` except as Unicode."""
- return tparm(tigetstr(cap), *parms).decode('utf-8')
+ return tparm(tigetstr(cap), *parms).decode('latin1')
def test_capability():