summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Tipei <paul.bogdan.tipei@intel.com>2020-02-19 15:11:21 (GMT)
committerMats Wichmann <mats@linux.com>2020-03-24 16:08:35 (GMT)
commit58b335b85db270c7bb80858aa01abf4b03d8bd3d (patch)
treef54bf0ff63db58661e9e302ceb7ff7fd93cf63d9
parent2003f3b5c098b27a70952bfc1847f4140cb2afec (diff)
downloadSCons-58b335b85db270c7bb80858aa01abf4b03d8bd3d.zip
SCons-58b335b85db270c7bb80858aa01abf4b03d8bd3d.tar.gz
SCons-58b335b85db270c7bb80858aa01abf4b03d8bd3d.tar.bz2
Revert "updated the option-tree.py file"
This reverts commit a864ad4607bf25d7ea46e6662d2d42d9fd7c40cd.
-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'
+-.