diff options
| author | Georg Brandl <georg@python.org> | 2006-11-16 17:08:48 (GMT) |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2006-11-16 17:08:48 (GMT) |
| commit | dd3bffb679f8c76ffb1ac9a9a4a7fb515e0f4447 (patch) | |
| tree | 3d875537eb95d43fb5f72a032f3eb1b475ccdf90 /Lib/test/test_binascii.py | |
| parent | 7563191cf6d6794c58c2ae3a4d0aa8e59f91f5db (diff) | |
| download | cpython-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-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") |
