From 1537731681e53104da982f26346f44f2164018eb Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Mon, 1 Apr 2002 19:00:50 +0000 Subject: Use attributes appropriately --- Lib/test/test_httplib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/test_httplib.py') 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 -- cgit v1.2.1