summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_class.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_class.py')
-rw-r--r--Lib/test/test_class.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_class.py b/Lib/test/test_class.py
index b863152..fcfc24b 100644
--- a/Lib/test/test_class.py
+++ b/Lib/test/test_class.py
@@ -87,9 +87,9 @@ class AllTests:
return 0
for method in testmeths:
- exec("""def __%(method)s__(self, *args):
+ exec """def __%(method)s__(self, *args):
print "__%(method)s__:", args
-"""%locals(), AllTests.__dict__);
+"""%locals() in AllTests.__dict__
# this also tests __init__ of course.
testme = AllTests()