jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/920746 )
Change subject: [tests] Remove obsolete Python 2 unicode prefix
......................................................................
[tests] Remove obsolete Python 2 unicode prefix
Change-Id: If5bb0489b2ef81d858a49c3c728c3745acb2d0c9
---
M tests/http_tests.py
1 file changed, 10 insertions(+), 1 deletion(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tests/http_tests.py b/tests/http_tests.py
index 580ff4f..73036a5 100755
--- a/tests/http_tests.py
+++ b/tests/http_tests.py
@@ -154,7 +154,7 @@
# A InvalidSchema is raised within requests
with self.assertRaisesRegex(
requests.exceptions.InvalidSchema,
- "No connection adapters were found for
u?'invalid://url'"):
+ "No connection adapters were found for
'invalid://url'"):
http.fetch('invalid://url')
def test_follow_redirects(self):
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/920746
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: If5bb0489b2ef81d858a49c3c728c3745acb2d0c9
Gerrit-Change-Number: 920746
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged