diff options
Diffstat (limited to 'Lib/test/test_scope.py')
-rw-r--r-- | Lib/test/test_scope.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_scope.py b/Lib/test/test_scope.py index d6367b2..358c45a 100644 --- a/Lib/test/test_scope.py +++ b/Lib/test/test_scope.py @@ -291,7 +291,7 @@ else: try: errorInInner() -except UnboundLocalError: +except NameError: pass else: raise TestFailed @@ -435,3 +435,4 @@ d = f(2)(4) verify(d.has_key('h')) del d['h'] verify(d == {'x': 2, 'y': 7, 'w': 6}) + |