9a38b93654
_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>