diff options
author | Charles Oliver Nutter <headius@headius.com> | 2021-02-25 15:50:06 -0600 |
---|---|---|
committer | Charles Oliver Nutter <headius@headius.com> | 2021-02-25 15:50:06 -0600 |
commit | dce46b15a52dd9e6d81a54ca70869791679c5112 (patch) | |
tree | e28e26713f38c3aa3e157a949970c7a1055599be /lib | |
parent | b4b5b498475fc108ec157db5e07ba4ef09ae06e9 (diff) | |
download | psych-dce46b15a52dd9e6d81a54ca70869791679c5112.zip |
Make malformed input noisy
parse should reject input encoded incorrectly. The default
behavior for InputStreamReader is to replace malformed characters,
which causes one exception-expecting test to fail. This patch
changes the behavior to report malformed input, which can then be
reraised as a syntax error.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions