[Python-checkins] r87720 - python/branches/py3k/Lib/test/test_httplib.py
victor.stinner
python-checkins at python.org
Tue Jan 4 01:04:46 CET 2011
Author: victor.stinner
Date: Tue Jan 4 01:04:46 2011
New Revision: 87720
Log:
test_httplib: fix a DeprecationWarning, assertEquals=>assertEqual
Modified:
python/branches/py3k/Lib/test/test_httplib.py
Modified: python/branches/py3k/Lib/test/test_httplib.py
==============================================================================
--- python/branches/py3k/Lib/test/test_httplib.py (original)
+++ python/branches/py3k/Lib/test/test_httplib.py Tue Jan 4 01:04:46 2011
@@ -244,7 +244,7 @@
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 = (
More information about the Python-checkins
mailing list