Fix InternalUTF8ToString to consider U+FFFE as invalid

This commit also adds the foldtabs option as default for the eval test suite, and substantially improves the Unicode valid/invalid character test.
This commit is contained in:
Sei Lisa 2020-11-19 22:26:42 +01:00
parent 4771c76d85
commit 0b266db758
4 changed files with 33 additions and 10 deletions

View file

@ -743,7 +743,7 @@ def generateScriptTests():
else ['main.py',
# Defaults for Expr:
'-O', 'clear,optimize,constfold'
',addstrings,expr',
',addstrings,foldtabs,expr',
'-y',
'-']))
werr(u"\nRunning test %s: " % any2u(fbase))