Commit 5ceae41
committed
test(base64): skip test_decode_with_extra_data_after_padding on recent Python
Python 3.13.x (patch-level) and 3.14 tightened stdlib base64.b64decode to
raise binascii.Error on trailing data after padding. Our native lenient
implementation keeps the pre-3.13 behavior, so the stdlib equivalence
assertion fails on those versions. Skip the test body on 3.13+ rather
than diverge from CPython.1 parent 2b2c690 commit 5ceae41
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
133 | 140 | | |
134 | 141 | | |
135 | 142 | | |
| |||
0 commit comments