summaryrefslogtreecommitdiff
path: root/tests/execute/test_stream.py
Commit message (Collapse)AuthorAgeFilesLines
* Avoid UnicodeDecodeError from command output (#2970)Masen Furer2023-04-051-0/+6
| | | | | | | | | | | | | | | | | | | | * test_sync_write_decode_surrogate: utf-8 decode When SyncWrite decodes bytes as utf-8, it should replace unknown sequences with the unicode surrogate codepoint instead of crashing the program. Test case for #2969 * SyncWrite: decode with errors='surrogateescape' Avoid bubbling UnicodeDecodeError up from stream handling internals. Tox has no way of knowing that the bytestream emitted by a command will be valid utf-8, even if utf-8 is ostensibly the "correct" encoding for the stream. It's always possible for an arbitrary command to return non-utf-8 bytes, and this situation should not break tox. Fix #2969
* Drop python 3.6 support (#2275)Bernát Gábor2021-11-171-0/+2
|
* Fix some code coverage issuesBernát Gábor2020-12-281-0/+8
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>