added builtin b/w compat module.
changed testing of exec.
diff --git a/Lib/test/test_b1.py b/Lib/test/test_b1.py
index e5611e5..c258fd7 100644
--- a/Lib/test/test_b1.py
+++ b/Lib/test/test_b1.py
@@ -25,7 +25,7 @@
raise TestFailed, 'f2 called with ' + `a1, a2`
def f3(a1, a2, a3):
if a1 != 1 or a2 != 2 or a3 != 3:
- raise TestFailed, 'f2 called with ' + `a1, a2, a3`
+ raise TestFailed, 'f3 called with ' + `a1, a2, a3`
apply(f0, ())
apply(f1, (1,))
apply(f2, (1, 2))
@@ -81,14 +81,6 @@
if eval('1+1') <> 2: raise TestFailed, 'eval(\'1+1\')'
if eval(' 1+1\n') <> 2: raise TestFailed, 'eval(\' 1+1\\n\')'
-print 'exec'
-z = 0
-exec('z=1+1\n')
-if z <> 2: raise TestFailed, 'exec(\'z=1+1\'\\n)'
-z = 0
-exec('z=1+1')
-if z <> 2: raise TestFailed, 'exec(\'z=1+1\')'
-
print 'execfile'
z = 0
f = open(TESTFN, 'w')