summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_binascii.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-11-16 17:08:48 (GMT)
committerGeorg Brandl <georg@python.org>2006-11-16 17:08:48 (GMT)
commitdd3bffb679f8c76ffb1ac9a9a4a7fb515e0f4447 (patch)
tree3d875537eb95d43fb5f72a032f3eb1b475ccdf90 /Lib/test/test_binascii.py
parent7563191cf6d6794c58c2ae3a4d0aa8e59f91f5db (diff)
downloadcpython-dd3bffb679f8c76ffb1ac9a9a4a7fb515e0f4447.zip
cpython-dd3bffb679f8c76ffb1ac9a9a4a7fb515e0f4447.tar.gz
cpython-dd3bffb679f8c76ffb1ac9a9a4a7fb515e0f4447.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. (backport from rev. 52765)
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")