Commit graph

3 commits

Author SHA1 Message Date
Mohamed Ashraf
c4ee5e1a2e fix: decode help-banner test subprocess output as UTF-8
Rich renders the banner panel with box-drawing characters (╭, ╮, │, etc.)
that cp1252 cannot decode. On Windows, subprocess.run(..., text=True) uses
cp1252 by default, so decoding the child stdout raises UnicodeDecodeError
and subprocess sets result.stdout to None — breaking the assertion with a
misleading "argument of type 'NoneType' is not iterable".

Pass encoding="utf-8" explicitly so the test passes on every platform.
2026-04-28 16:39:00 +00:00
claude[bot]
8e2bab2e42 fix: add missing return type annotations to test functions
Co-authored-by: Aseem Saxena <aseembits93@users.noreply.github.com>
2026-04-06 23:12:44 +00:00
aseembits93
48e6835990 feat: use sys.argv[1:] for help check and add tests
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-06 16:09:47 -07:00