summaryrefslogtreecommitdiffstats
path: root/test/option--tree.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/option--tree.py')
-rw-r--r--test/option--tree.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/option--tree.py b/test/option--tree.py
index fb255dc..d44b602 100644
--- a/test/option--tree.py
+++ b/test/option--tree.py
@@ -61,7 +61,10 @@ except NameError:
env.Textfile("Foo", write)
""")
-py23_char = chr(0xe7)
+if sys.version_info.major < 3:
+ py23_char = unichr(0xe7).encode('utf-8')
+else:
+ py23_char = chr(0xe7)
expected = """Creating 'Foo.txt'
+-.