diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-11-15 15:53:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-15 15:53:28 (GMT) |
commit | f8a4c03ede6048022f60a58d5a21b278b78a8a16 (patch) | |
tree | d9f7f1d0e827315be914b2408359067a12bcbaa2 /Lib/test/test_httplib.py | |
parent | aca7f574b06c72c85a5e3e4b16a8a5e384a7c4a8 (diff) | |
download | cpython-f8a4c03ede6048022f60a58d5a21b278b78a8a16.zip cpython-f8a4c03ede6048022f60a58d5a21b278b78a8a16.tar.gz cpython-f8a4c03ede6048022f60a58d5a21b278b78a8a16.tar.bz2 |
bpo-30399: Get rid of trailing comma in the repr of BaseException. (#1650)
Diffstat (limited to 'Lib/test/test_httplib.py')
-rw-r--r-- | Lib/test/test_httplib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_httplib.py b/Lib/test/test_httplib.py index 0d79cae..a3f8194 100644 --- a/Lib/test/test_httplib.py +++ b/Lib/test/test_httplib.py @@ -497,7 +497,7 @@ class BasicTest(TestCase): def test_bad_status_repr(self): exc = client.BadStatusLine('') - self.assertEqual(repr(exc), '''BadStatusLine("\'\'",)''') + self.assertEqual(repr(exc), '''BadStatusLine("''")''') def test_partial_reads(self): # if we have Content-Length, HTTPResponse knows when to close itself, |