Page MenuHomePhabricator

Python 2.7 fails after update to requests 2.23
Closed, ResolvedPublic

Description

https://ci.appveyor.com/project/Ladsgroup/pywikibot-g4xqx/builds/30940085/job/385icwn01x70swxl?fullLog=true

======================================================================
FAIL: test_invalid_scheme (tests.http_tests.TestHttpStatus)
Test invalid scheme.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\projects\pywikibot-g4xqx\tests\http_tests.py", line 208, in test_invalid_scheme
    http.fetch, uri='invalid://url')
  File "c:\projects\pywikibot-g4xqx\tests\aspects.py", line 83, in assertRaisesRegex
    return self.assertRaisesRegexp(*args, **kwargs)
AssertionError: "No connection adapters were found for 'invalid://url'" does not match "No connection adapters were found for u'invalid://url'"

Event Timeline

Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald Transcript

Change 573802 had a related patch set uploaded (by Dvorapa; owner: Dvorapa):
[pywikibot/core@master] [bugfix] Fix tests for requests 2.23

https://gerrit.wikimedia.org/r/573802

Change 573802 merged by jenkins-bot:
[pywikibot/core@master] [bugfix] Fix tests for requests 2.23

https://gerrit.wikimedia.org/r/573802

Xqt assigned this task to Dvorapa.
Xqt removed a project: Patch-For-Review.