Skip to content

Commit 04ba966

Browse files
author
Victor Stinner
committed
test_httplib: fix a DeprecationWarning, assertEquals=>assertEqual
1 parent 7a6a009 commit 04ba966

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_httplib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def body():
244244
sock = FakeSocket("")
245245
conn.sock = sock
246246
conn.request('GET', '/foo', body(), {'Content-Length': '11'})
247-
self.assertEquals(sock.data, expected)
247+
self.assertEqual(sock.data, expected)
248248

249249
def test_chunked(self):
250250
chunked_start = (

0 commit comments

Comments
 (0)