summaryrefslogtreecommitdiff
path: root/test/textfile/textfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/textfile/textfile.py')
-rw-r--r--test/textfile/textfile.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/textfile/textfile.py b/test/textfile/textfile.py
index f614dfc94..d7d19e5e2 100644
--- a/test/textfile/textfile.py
+++ b/test/textfile/textfile.py
@@ -34,7 +34,8 @@ test = TestSCons.TestSCons()
# foo1a = test.workpath('foo1a.txt')
# foo2a = test.workpath('foo2a.txt')
-match_mode = 'r'
+# Must be read binary as now we're including unicode characters in our textparts
+match_mode = 'rb'
test.file_fixture('fixture/SConstruct', 'SConstruct')