diff options
author | Georg Brandl <georg@python.org> | 2006-11-16 17:08:45 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-11-16 17:08:45 (GMT) |
commit | 25aabf4cbb7ff8d1a38f8ef4602a409c00474a30 (patch) | |
tree | 507c752da3d870c6e4effd4cbae4f9df9ec287da /Lib/test/test_binascii.py | |
parent | 540821183b0a6105d5cf262db837332b14e0e259 (diff) | |
download | cpython-25aabf4cbb7ff8d1a38f8ef4602a409c00474a30.zip cpython-25aabf4cbb7ff8d1a38f8ef4602a409c00474a30.tar.gz cpython-25aabf4cbb7ff8d1a38f8ef4602a409c00474a30.tar.bz2 |
Bug #1588217: don't parse "= " as a soft line break in binascii's
a2b_qp() function, instead leave it in the string as quopri.decode()
does.
Diffstat (limited to 'Lib/test/test_binascii.py')
-rwxr-xr-x | Lib/test/test_binascii.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_binascii.py b/Lib/test/test_binascii.py index 8df4504..8272ad9 100755 --- a/Lib/test/test_binascii.py +++ b/Lib/test/test_binascii.py @@ -134,7 +134,7 @@ class BinASCIITest(unittest.TestCase): pass else: self.fail("binascii.a2b_qp(**{1:1}) didn't raise TypeError") - self.assertEqual(binascii.a2b_qp("= "), "") + self.assertEqual(binascii.a2b_qp("= "), "= ") self.assertEqual(binascii.a2b_qp("=="), "=") self.assertEqual(binascii.a2b_qp("=AX"), "=AX") self.assertRaises(TypeError, binascii.b2a_qp, foo="bar") |