mercurial/testing/__init__.py
author Martin von Zweigbergk <martinvonz@google.com>
Fri, 20 Nov 2020 13:24:45 -0800
changeset 45886 18489e26d9a0
parent 39772 ae531f5e583c
child 46984 99c629101b73
permissions -rw-r--r--
tests: make doctests not depend on str(ParseError()) format `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. Differential Revision: https://phab.mercurial-scm.org/D9349