diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-06-28 23:54:30 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-06-28 23:54:30 (GMT) |
commit | 566fe9ef6661a180964d3617c0c2287c38d3d83a (patch) | |
tree | 40a6d68450c3a073669d36ebfd35cb24e325bd2d /Lib/test/test_httplib.py | |
parent | b6a921393061438e2200fbe4469d5fabd7172dda (diff) | |
download | cpython-566fe9ef6661a180964d3617c0c2287c38d3d83a.zip cpython-566fe9ef6661a180964d3617c0c2287c38d3d83a.tar.gz cpython-566fe9ef6661a180964d3617c0c2287c38d3d83a.tar.bz2 |
Track change of begin() to _begin().
Diffstat (limited to 'Lib/test/test_httplib.py')
-rw-r--r-- | Lib/test/test_httplib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_httplib.py b/Lib/test/test_httplib.py index 218ae9c..39b1e13 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: |