Skip to content

BUG: live log interferes with doctests #5908

Open
@nazarewk

Description

@nazarewk

I'm having trouble mixing live-logs (log_cli = true) with --doctest-modules,
namely doctest reports that there was no output at all, but in fact there is True on stdout reported.

Full setup demonstrating the issue available at this gist https://gist.github.com/nazarewk/5c10b1c1842ee8561ace45976d1211c6

Commenting out log_cli line in pytest.ini makes the tests pass

Metadata

Metadata

Assignees

No one assigned

    Labels

    plugin: doctestsrelated to the doctests builtin pluginplugin: loggingrelated to the logging builtin plugintype: bugproblem that needs to be addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions