summaryrefslogtreecommitdiff
path: root/Lib/test/test_httplib.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-04-01 19:00:50 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2002-04-01 19:00:50 +0000
commit1537731681e53104da982f26346f44f2164018eb (patch)
treee8dc76e1bc354fc859a6237fa575ddb70a26bfce /Lib/test/test_httplib.py
parent0040dd45e9ad90e0aed556e8d1dd69ad60b58658 (diff)
downloadcpython-1537731681e53104da982f26346f44f2164018eb.tar.gz
Use attributes appropriately
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 7860dd3138..218ae9c163 100644
--- a/Lib/test/test_httplib.py
+++ b/Lib/test/test_httplib.py
@@ -8,7 +8,7 @@ class FakeSocket:
def makefile(self, mode, bufsize=None):
if mode != 'r' and mode != 'rb':
- raise UnimplementedFileMode()
+ raise httplib.UnimplementedFileMode()
return StringIO.StringIO(self.text)
# Test HTTP status lines