mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
test_httplib: fix a DeprecationWarning, assertEquals=>assertEqual
This commit is contained in:
parent
7a6a0093f3
commit
04ba966eab
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue