Files
Jesús Royeth 9a38b93654 fix(training): leave completed Rich epoch bars in terminal history without corrupting them (#1316)
_RedirectAwareStreamHandler now re-resolves the current sys.stdout on
every emit(), which is the whole point of the fix (following Rich's
redirect while RichProgressBar is live) — but it also means logger.info()
correctly reaches pytest-doctestplus's own stdout capture during a
doctest, where the previous stale-reference bug happened to hide it.

AlbumentationsWrapper.from_config() logs "Built N Albumentations
transforms from config" on every call, and two doctests call it without
declaring that as expected output, so CI failed on all CPU-tests matrix
jobs. Declared it with `# doctest: +ELLIPSIS` for the timestamp.

- Add stdout-none fallback coverage for redirect-aware handlers
- Align Rich logger tests and doctest directive conventions

---------

Co-authored-by: Jesús Royeth <JESUSROYETH@users.noreply.github.com>
Co-authored-by: jirka <6035284+borda@users.noreply.github.com>
Co-authored-by: Codex <codex@openai.com>
2026-08-10 21:27:32 +02:00
..
2026-06-26 11:29:26 +02:00