jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/692317 )
Change subject: [doc] Update doc of ui_tests.Stream ......................................................................
[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(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
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