From: Jeremy Hylton Date: Tue, 2 Jul 2002 20:39:37 +0000 (+0000) Subject: Track change of begin() to _begin(). X-Git-Tag: v2.2.2b1~285 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=feb7d02427dc27bb130c0bab17815bde141edb84;p=thirdparty%2FPython%2Fcpython.git Track change of begin() to _begin(). --- diff --git a/Lib/test/test_httplib.py b/Lib/test/test_httplib.py index d39e85f4153e..6270d8b1aa3d 100644 --- a/Lib/test/test_httplib.py +++ b/Lib/test/test_httplib.py @@ -16,7 +16,7 @@ class FakeSocket: body = "HTTP/1.1 200 Ok\r\n\r\nText" sock = FakeSocket(body) resp = httplib.HTTPResponse(sock,1) -resp.begin() +resp._begin() print resp.read() resp.close() @@ -24,7 +24,7 @@ body = "HTTP/1.1 400.100 Not Ok\r\n\r\nText" sock = FakeSocket(body) resp = httplib.HTTPResponse(sock,1) try: - resp.begin() + resp._begin() except httplib.BadStatusLine: print "BadStatusLine raised as expected" else: