This is an archive of the discontinued Mercurial Phabricator instance.

py3: fix test-bad-extension expectations for py35
ClosedPublic

Authored by Kwan on Oct 11 2019, 1:32 PM.

Details

Summary

ModuleNotFoundError was introduced in 3.6, so the tests need to expect to see
ImportError with 3.5.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

Kwan created this revision.Oct 11 2019, 1:32 PM

I think this is right but don't have py3.5 to check

Kwan added a comment.Oct 11 2019, 3:48 PM

Tested in a xenial VM with 3.5.2 and this does make the test pass.

indygreg accepted this revision.Oct 11 2019, 9:56 PM
This revision is now accepted and ready to land.Oct 11 2019, 9:56 PM
This revision was automatically updated to reflect the committed changes.