summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_scope.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-02-09 20:17:14 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-02-09 20:17:14 (GMT)
commit10fb3863994a7242dd6f86bf8d571d30338f2061 (patch)
tree1a984ecfc3d553363d59a34a2d66db189f23c758 /Lib/test/test_scope.py
parent658cba6706eb4a2ad8b3e235cf0db9fe1c8e9e6b (diff)
downloadcpython-10fb3863994a7242dd6f86bf8d571d30338f2061.zip
cpython-10fb3863994a7242dd6f86bf8d571d30338f2061.tar.gz
cpython-10fb3863994a7242dd6f86bf8d571d30338f2061.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/test/test_scope.py')
-rw-r--r--Lib/test/test_scope.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/Lib/test/test_scope.py b/Lib/test/test_scope.py
index 57c0dcb..4f3c1ff 100644
--- a/Lib/test/test_scope.py
+++ b/Lib/test/test_scope.py
@@ -105,14 +105,14 @@ verify(test_func(5) == 47)
print "8. mixed freevars and cellvars"
def identity(x):
- return x
+ return x
def f(x, y, z):
def g(a, b, c):
a = a + x # 3
def h():
- # z * (4 + 9)
- # 3 * 13
+ # z * (4 + 9)
+ # 3 * 13
return identity(z * (b + y))
y = c + z # 9
return h
@@ -120,7 +120,7 @@ def f(x, y, z):
g = f(1, 2, 3)
h = g(2, 4, 6)
-verify(h() == 39)
+verify(h() == 39)
print "9. free variable in method"
@@ -206,7 +206,7 @@ test2 = \
"""
# check_syntax(test2)
-# XXX could allow this for exec with const argument, but what's the point
+# XXX could allow this for exec with const argument, but what's the point
test3 = \
"""def error(y):
exec "a = 1"
@@ -275,4 +275,3 @@ except UnboundLocalError:
pass
else:
raise TestFailed
-