diff options
author | William Deegan <bill@baddogconsulting.com> | 2023-03-02 18:29:30 -0800 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2023-03-02 18:29:30 -0800 |
commit | c7f936f285dcaa3d4aed99e9ae05489ff3992e61 (patch) | |
tree | 2f3d4cb9e38420aa6c3103b7e9bb3d4b04215e1d | |
parent | 1c83ac3958a6779a638fbef98493b178ad264bbd (diff) | |
download | scons-git-c7f936f285dcaa3d4aed99e9ae05489ff3992e61.tar.gz |
fix textfile test failing (only on windows) needed to switch generated file comparison from r (text) to rb (read binary) since we now include unicode, and test logic assumes r = ascii
-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') |