summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-termstyle/files/tests-unicode.patch')
-rw-r--r--dev-python/python-termstyle/files/tests-unicode.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-python/python-termstyle/files/tests-unicode.patch b/dev-python/python-termstyle/files/tests-unicode.patch
new file mode 100644
index 000000000000..4cb410fa1984
--- /dev/null
+++ b/dev-python/python-termstyle/files/tests-unicode.patch
@@ -0,0 +1,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'))