test-importers/burntsushi-toml-test.py: fix YAML dump of escape chars
A testcase JSON data (tests/valid/string/escapes.json) contains a raw delete control code (\x7f), which is invalid in YAML files. Decode JSON and re-encode it in YAML instead of assuming that all JSON data is valid according to the YAML format.
parent
fd325ddc
Please register or sign in to comment