Commit 04ba966e authored by Victor Stinner's avatar Victor Stinner

test_httplib: fix a DeprecationWarning, assertEquals=>assertEqual

parent 7a6a0093
......@@ -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 = (
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment