Finn Bock (SF patch #103345): Avoid outdated exec form in
test_class.py.
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 @@
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()