- codex_auth.py: fix relative imports (.log, .util) to absolute paths
(bot_bottle.log, bot_bottle.util) — the file moved to contrib/codex
but the imports weren't updated
- codex_auth.py: wrap long line at 107 chars (pre-existing C0301)
- pty_resize.py: catch io.UnsupportedOperation from stream.fileno()
and fall back to the numeric fd — pytest redirects stdin/stdout/stderr
to pseudofiles, causing fileno() to raise before ioctl is even called
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>