From 04ba966eab194c8d26b1e67c95f62b86c9120921 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 4 Jan 2011 00:04:46 +0000 Subject: test_httplib: fix a DeprecationWarning, assertEquals=>assertEqual --- Lib/test/test_httplib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_httplib.py b/Lib/test/test_httplib.py index 79fc6cc..fb80e7a 100644 --- a/Lib/test/test_httplib.py +++ b/Lib/test/test_httplib.py @@ -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 = ( -- cgit v0.12