test_httplib: fix a DeprecationWarning, assertEquals=>assertEqual

This commit is contained in:
Victor Stinner 2011-01-04 00:04:46 +00:00
parent 7a6a0093f3
commit 04ba966eab
1 changed files with 1 additions and 1 deletions

View File

@ -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 = (