diff options
author | William Deegan <bill@baddogconsulting.com> | 2023-03-03 09:56:00 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-03 09:56:00 -0800 |
commit | 7ae99da542be58e19e8169297ac6348350b6c167 (patch) | |
tree | 2f3d4cb9e38420aa6c3103b7e9bb3d4b04215e1d | |
parent | 1c83ac3958a6779a638fbef98493b178ad264bbd (diff) | |
parent | c7f936f285dcaa3d4aed99e9ae05489ff3992e61 (diff) | |
download | scons-git-7ae99da542be58e19e8169297ac6348350b6c167.tar.gz |
Merge pull request #4313 from bdbaddog/fix_textfile_unicode_on_win
Fix test/textfile/textfile.py test failing (only on windows)
-rw-r--r-- | test/textfile/textfile.py | 3 |
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') |