Commit 88cc6cb
fix: address review feedback and codespell CI failure on #1384
- Preserve valid CP1252 bytes (e.g. 0xe9) in the final decode fallback
instead of losing them to a UTF-8 replace pass.
- Rename a test fixture from "café.txt" written as caf\xe9.txt, which
codespell's tokenizer read as the standalone word "caf" and flagged
as a typo for "calf".
- Add a docstring to test_decode_subprocess_output and a regression
case mixing a valid CP1252 byte with an undefined one.1 parent 890cedc commit 88cc6cb
3 files changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 53 | + | |
57 | 54 | | |
58 | 55 | | |
59 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| 63 | + | |
62 | 64 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
0 commit comments