( )⚙ D1127 test-obsolete-bounds-checking: make the test compatible with chg

This is an archive of the discontinued Mercurial Phabricator instance.

test-obsolete-bounds-checking: make the test compatible with chg
ClosedPublic

Authored by singhsrb on Oct 16 2017, 8:07 PM.

Details

Summary

This test fails when run with chg because the error message starts
with "ProgrammingError" instead of "mercurial.error.ProgrammingError".
Therefore, globing the "mercurial.error." to ensure that the test is compatible
with chg.

Test Plan

Ran the test 'test-obsolete-bounds-checking.t' with and without the
'--chg' option.

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

singhsrb created this revision.Oct 16 2017, 8:07 PM
quark accepted this revision.Oct 16 2017, 8:18 PM
durin42 accepted this revision.Oct 16 2017, 9:32 PM
This revision is now accepted and ready to land.Oct 16 2017, 9:32 PM
This revision was automatically updated to reflect the committed changes.