Also, it’d be really lovely to be able to disable the noise during testing, while keeping normal stdout/stderr channels open.
Something like this:
pytest --loglevel=error -sv tests/test_i_debug.py

edit: done: https://github.com/huggingface/transformers/pull/6816 11