mirror of https://github.com/python/cpython
test_httplib: fix a DeprecationWarning, assertEquals=>assertEqual
This commit is contained in:
parent
7a6a0093f3
commit
04ba966eab
|
@ -244,7 +244,7 @@ class BasicTest(TestCase):
|
|||
sock = FakeSocket("")
|
||||
conn.sock = sock
|
||||
conn.request('GET', '/foo', body(), {'Content-Length': '11'})
|
||||
self.assertEquals(sock.data, expected)
|
||||
self.assertEqual(sock.data, expected)
|
||||
|
||||
def test_chunked(self):
|
||||
chunked_start = (
|
||||
|
|
Loading…
Reference in New Issue