This is an archive of the discontinued Mercurial Phabricator instance.

cleanup: polyfill assertRaisesRegex so we can avoid assertRaisesRegexp
ClosedPublic

Authored by durin42 on Apr 14 2018, 11:21 AM.

Details

Summary

The latter is deprecated on Python 3.7 and causes our tests to fail
due to the warning.

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

durin42 created this revision.Apr 14 2018, 11:21 AM
durin42 updated this revision to Diff 8281.Apr 14 2018, 11:37 AM
This revision was automatically updated to reflect the committed changes.