jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[doc] Update doc of ui_tests.Stream

BytesIO instance are no longer supported with Python 3

Change-Id: Ie41b2d4087e4a576376213ba5c223b44743d7938
---
M tests/ui_tests.py
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/ui_tests.py b/tests/ui_tests.py
index 4f5e610..a4d7f7f 100644
--- a/tests/ui_tests.py
+++ b/tests/ui_tests.py
@@ -33,11 +33,11 @@

class Stream:

- """Handler for a StringIO or BytesIO instance able to patch itself."""
+ """Handler for a StringIO instance able to patch itself."""

def __init__(self, name: str, patched_streams: dict):
"""
- Create a new stream with a StringIO or BytesIO instance.
+ Create a new stream with a StringIO instance.

@param name: The part after 'std' (e.g. 'err').
@param patched_streams: A mapping which maps the original stream to

To view, visit change 692317. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ie41b2d4087e4a576376213ba5c223b44743d7938
Gerrit-Change-Number: 692317
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged