This is an archive of the discontinued Mercurial Phabricator instance.

tests: make doctests not depend on str(ParseError()) format
ClosedPublic

Authored by martinvonz on Nov 20 2020, 7:24 PM.

Details

Summary

ParseError implements __bytes__, but it doesn't implement
__str__, so it gets the default __str__ implementation. The next
patch will make it so ParseError gets a __str__ implementation,
which changes the format slightly. This prepares by making us not
depend on the format.

Diff Detail

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

Event Timeline

martinvonz created this revision.Nov 20 2020, 7:24 PM
mharbison72 accepted this revision.Nov 20 2020, 9:45 PM
This revision is now accepted and ready to land.Nov 20 2020, 9:45 PM