bpo-44678: Separate error message for discontinuous padding in binasc… · python/cpython@366fcba · GitHub
Skip to content

Commit 366fcba

Browse files
authored
bpo-44678: Separate error message for discontinuous padding in binascii.a2b_base64 strict mode (GH-27249)
* Renamed assertLeadingPadding function to match logic * Added a separate error message for discontinuous padding * Updated the tests for discontinuous padding
1 parent e25e43e commit 366fcba

3 files changed

Lines changed: 15 additions & 8 deletions

File tree

Lib/test/test_binascii.py

Lines changed: 9 additions & 6 deletions
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Added a separate error message for discontinuous padding in *binascii.a2b_base64* strict mode.

Modules/binascii.c

Lines changed: 5 additions & 2 deletions

0 commit comments

Comments
 (0)