summaryrefslogtreecommitdiff
path: root/src/tox/execute/stream.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tox/execute/stream.py')
-rw-r--r--src/tox/execute/stream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tox/execute/stream.py b/src/tox/execute/stream.py
index 980c97ff..28c66be6 100644
--- a/src/tox/execute/stream.py
+++ b/src/tox/execute/stream.py
@@ -100,7 +100,7 @@ class SyncWrite:
@property
def text(self) -> str:
with self._content_lock:
- return self._content.decode("utf-8")
+ return self._content.decode("utf-8", errors="surrogateescape")
@property
def content(self) -> bytearray: