summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_httplib.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-01-04 00:04:46 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-01-04 00:04:46 (GMT)
commit04ba966eab194c8d26b1e67c95f62b86c9120921 (patch)
treec12c92df0b6e0908ef0accbbc26eb9f87c98d0a3 /Lib/test/test_httplib.py
parent7a6a0093f3115149e5601fb9fa5a283b3034cbfc (diff)
downloadcpython-04ba966eab194c8d26b1e67c95f62b86c9120921.zip
cpython-04ba966eab194c8d26b1e67c95f62b86c9120921.tar.gz
cpython-04ba966eab194c8d26b1e67c95f62b86c9120921.tar.bz2
test_httplib: fix a DeprecationWarning, assertEquals=>assertEqual
Diffstat (limited to 'Lib/test/test_httplib.py')
-rw-r--r--Lib/test/test_httplib.py2
1 files changed, 1 insertions, 1 deletions
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 = (