Skip to content

Simplify adjusting the test settings. #40

@tyralla

Description

@tyralla

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions