summaryrefslogtreecommitdiff
path: root/dev-python/python-termstyle/files/tests-unicode.patch
blob: 4cb410fa19843f86445cf4f873293ef72be6da6e (plain)
1
2
3
4
5
6
7
8
9
10
diff --git a/test2.py b/test2.py
index 2d84c37..1331545 100755
--- a/test2.py
+++ b/test2.py
@@ -2,4 +2,4 @@
 
 from termstyle import *
 
-print green(u"unicod\xe9!")
+print green(u"unicod\xe9!".encode('utf-8'))