Commit 7acc532
Follow-up fix for parsing non-utf8 chars (part 2)
This patch is similar to commit 52d3e4f ("Follow-up fix for parsing
non-utf8 chars"), but fixes the `--verbose` output, e.g.:
```
$ ./test-run.py --verbose some_test
[...]
[001] Worker "001_xxx-luatest" received the following error; stopping...
[001] Traceback (most recent call last):
[001] File "./tarantool/test-run/lib/worker.py", line 357, in run_task
[001] short_status, duration = self.suite.run_test(
[001] ^^^^^^^^^^^^^^^^^^^^
[001] File "./tarantool/test-run/lib/test_suite.py", line 271, in run_test
[001] short_status = test.run(server)
[001] ^^^^^^^^^^^^^^^^
[001] File "./tarantool/test-run/lib/test.py", line 232, in run
[001] color_stdout(f.read(), schema='log')
[001] ^^^^^^^^
[001] File "<frozen codecs>", line 322, in decode
[001] UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa3 in position 115111: invalid start byte
[001]
[001] Exception: 'utf-8' codec can't decode byte 0xa3 in position 115111: invalid start byte
```1 parent 5d9630b commit 7acc532
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
| 232 | + | |
232 | 233 | | |
233 | 234 | | |
234 | 235 | | |
| |||
0 commit comments