diff options
Diffstat (limited to 'Lib/test/test_scope.py')
-rw-r--r-- | Lib/test/test_scope.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Lib/test/test_scope.py b/Lib/test/test_scope.py index 259d1d9004..567053b1b3 100644 --- a/Lib/test/test_scope.py +++ b/Lib/test/test_scope.py @@ -223,25 +223,6 @@ def f(): return getrefcount # global or local? """) - # and verify a few cases that should work - - exec(""" -def noproblem1(): - from sys import * - f = lambda x:x - -def noproblem2(): - from sys import * - def f(x): - return x + 1 - -def noproblem3(): - from sys import * - def f(x): - global y - y = x -""") - def testLambdas(self): f1 = lambda x: lambda y: x + y |