-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Many HydPy doctests rely on some settings which are not the default. One default is, for example, to show floating-point values with the full available precision. In our doctest, however, we usually reduce their displayed precision to six decimal places. (Higher levels of accuracy are rarely crucial in terms of content and might, at some point, be system-dependent.)
It is a bit annoying to adjust the relevant settings manually before running the tests. Implementing a help function or an import mechanism that does this automatically would help save development time.
Maybe, we should make use of this mechanism at the beginning of all affected doctests explicitly?