diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-01-04 00:04:46 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-01-04 00:04:46 (GMT) |
commit | 04ba966eab194c8d26b1e67c95f62b86c9120921 (patch) | |
tree | c12c92df0b6e0908ef0accbbc26eb9f87c98d0a3 /Lib/test/test_httplib.py | |
parent | 7a6a0093f3115149e5601fb9fa5a283b3034cbfc (diff) | |
download | cpython-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.py | 2 |
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 = ( |