[pypy-svn] r60947 - pypy/trunk/pypy/lib/app_test
fijal at codespeak.net
fijal at codespeak.net
Wed Jan 14 12:39:21 CET 2009
Author: fijal
Date: Wed Jan 14 12:39:20 2009
New Revision: 60947
Modified:
pypy/trunk/pypy/lib/app_test/test_binascii.py
Log:
a more direct test showcasing the problem with base64 for email module
Modified: pypy/trunk/pypy/lib/app_test/test_binascii.py
==============================================================================
--- pypy/trunk/pypy/lib/app_test/test_binascii.py (original)
+++ pypy/trunk/pypy/lib/app_test/test_binascii.py Wed Jan 14 12:39:20 2009
@@ -146,3 +146,8 @@
f = getattr(binascii, n)
f('')
binascii.crc_hqx('', 0)
+
+def test_wrong_padding():
+ skip("fails")
+ s = 'CSixpLDtKSC/7Liuvsax4iC6uLmwMcijIKHaILzSwd/H0SC8+LCjwLsgv7W/+Mj3IQ'
+ raises(binascii.Error, binascii.a2b_base64, s)
More information about the Pypy-commit
mailing list