Skip to content

ENH: Disable capturing from inside a task #320

@augustebaum

Description

@augustebaum

Is your feature request related to a problem?

I wish pytask had the same "capture-related" fixtures as pytest, like the ones described here.
In particular I'd like to be able to use the

with capsys.disabled():
    ...

behaviour, in the hope that tqdm progress bars don't break when using the -s flag.

Describe the solution you'd like

I don't know precisely how pytask differs from pytest, but perhaps it would be possible to
just re-use the above mentioned fixtures from pytest?

API breaking implications

Hopefully none, this is just adding fixtures.

Describe alternatives you've considered

None so far ^^'; I can track the progress of my task in other ways so I haven't pursued this very far.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions