This is an archive of the discontinued Mercurial Phabricator instance.

tests: conditionalize test output on Python 3.7
ClosedPublic

Authored by indygreg on Jan 26 2019, 2:43 PM.

Details

Summary

Python 3.7 changed behavior of urllib.parse.quote() from RFC 2396
to RFC 3986 and ~ is now in the set of reserved characters and
isn't escaped.

We conditioanlize test output accordingly.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Jan 26 2019, 2:43 PM
This revision was automatically updated to reflect the committed changes.