summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_binascii.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-11-16 17:08:45 (GMT)
committerGeorg Brandl <georg@python.org>2006-11-16 17:08:45 (GMT)
commit25aabf4cbb7ff8d1a38f8ef4602a409c00474a30 (patch)
tree507c752da3d870c6e4effd4cbae4f9df9ec287da /Lib/test/test_binascii.py
parent540821183b0a6105d5cf262db837332b14e0e259 (diff)
downloadcpython-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-xLib/test/test_binascii.py2
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")