summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNickolai Korshunov <n.korshunov@corp.mail.ru>2023-02-18 22:27:15 +0300
committerNickolai Korshunov <n.korshunov@corp.mail.ru>2023-02-18 22:50:14 +0300
commit4f8045806cce589858f88a6dbec928f1ae6e176b (patch)
tree128ccf5ccfcec71a691cb63a3e381bb92b70cd30 /test
parent440728dd1d9fee6a8e010b4d9871737686cb3afb (diff)
downloadscons-git-4f8045806cce589858f88a6dbec928f1ae6e176b.tar.gz
set default encoding of written files to UTF-8, added ability to pass
custom file enconding
Diffstat (limited to 'test')
-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 a2d005cfb..f614dfc94 100644
--- a/test/textfile/textfile.py
+++ b/test/textfile/textfile.py
@@ -44,7 +44,8 @@ linesep = '\n'
textparts = ['lalala', '42',
'Goethe', 'Schiller',
- 'tanteratei']
+ 'tanteratei',
+ '×'] # <-- this is unicode /xd7 symbol
foo1Text = linesep.join(textparts)
foo2Text = '|*'.join(textparts)
foo1aText = foo1Text + linesep