diff options
Diffstat (limited to 'Lib/test')
-rwxr-xr-x | Lib/test/test_binascii.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_binascii.py b/Lib/test/test_binascii.py index f1f8b33..2764c3c 100755 --- a/Lib/test/test_binascii.py +++ b/Lib/test/test_binascii.py @@ -69,6 +69,10 @@ for line in map(addnoise, lines): res = res + b verify(res == testdata) +# Test base64 with just invalid characters, which should return +# empty strings. TBD: shouldn't it raise an exception instead ? +verify(binascii.a2b_base64(fillers) == '') + # Test uu print "uu test" MAX_UU = 45 |