Commit e133509
test(json_decoder): regression test for simplejson encoding-kwarg tolerance (#15)
Guards the e49c9cb fix that swallows simplejson's obsolete encoding=
kwarg (injected by requests via simplejson on Python 3.9+, rejected by
stdlib json.JSONDecoder). The fix was untested until now; a live
BfxLendingBot deploy of v6.0.1 (which predates e49c9cb) crashed on init
with this exact TypeError, motivating a v6.0.2 release plus this guard.
Co-authored-by: cloudingenium-automation[bot] <cloudingenium-automation[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 353b89e commit e133509
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
0 commit comments