summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_cgi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_cgi.py b/Lib/test/test_cgi.py
index 890d1b2..71e275f 100644
--- a/Lib/test/test_cgi.py
+++ b/Lib/test/test_cgi.py
@@ -31,7 +31,7 @@ class ComparableException:
return cmp(self.err.args, anExc.args)
def __getattr__(self, attr):
- return getattr(self, self.err)
+ return getattr(self.err, attr)
def do_test(buf, method):
env = {}