mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +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("")
|
sock = FakeSocket("")
|
||||||
conn.sock = sock
|
conn.sock = sock
|
||||||
conn.request('GET', '/foo', body(), {'Content-Length': '11'})
|
conn.request('GET', '/foo', body(), {'Content-Length': '11'})
|
||||||
self.assertEquals(sock.data, expected)
|
self.assertEqual(sock.data, expected)
|
||||||
|
|
||||||
def test_chunked(self):
|
def test_chunked(self):
|
||||||
chunked_start = (
|
chunked_start = (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue