[Python-checkins] CVS: python/dist/src/Lib/test test_funcattrs.py,1.4,1.5 test_grammar.py,1.29,1.30 test_new.py,1.11,1.12 test_scope.py,1.3,1.4
Tim Peters
tim_one@users.sourceforge.net
Fri, 09 Feb 2001 12:17:16 -0800
- Previous message: [Python-checkins] CVS: python/dist/src/Lib asynchat.py,1.10,1.11 pickle.py,1.44,1.45 popen2.py,1.18,1.19 posixpath.py,1.40,1.41 pyclbr.py,1.17,1.18 smtpd.py,1.1,1.2 urllib.py,1.115,1.116 webbrowser.py,1.10,1.11
- Next message: [Python-checkins] CVS: python/dist/src/Lib string.py,1.56,1.57 stringold.py,1.46,1.47
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv31697/python/dist/src/Lib/test
Modified Files:
test_funcattrs.py test_grammar.py test_new.py test_scope.py
Log Message:
Whitespace normalization.
Index: test_funcattrs.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_funcattrs.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** test_funcattrs.py 2001/01/29 06:21:17 1.4
--- test_funcattrs.py 2001/02/09 20:17:14 1.5
***************
*** 157,167 ****
def foo():
! pass
def bar():
! pass
def temp():
! print 1
if foo==bar: raise TestFailed
--- 157,167 ----
def foo():
! pass
def bar():
! pass
def temp():
! print 1
if foo==bar: raise TestFailed
***************
*** 173,175 ****
d[foo]
-
--- 173,174 ----
Index: test_grammar.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_grammar.py,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -r1.29 -r1.30
*** test_grammar.py 2001/02/01 22:48:12 1.29
--- test_grammar.py 2001/02/09 20:17:14 1.30
***************
*** 368,372 ****
msg = "continue + try/finally ok"
print msg
!
print 'return_stmt' # 'return' [testlist]
def g1(): return
--- 368,372 ----
msg = "continue + try/finally ok"
print msg
!
print 'return_stmt' # 'return' [testlist]
def g1(): return
Index: test_new.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_new.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** test_new.py 2001/02/01 19:50:29 1.11
--- test_new.py 2001/02/09 20:17:14 1.12
***************
*** 67,74 ****
# bogus test of new.code()
print 'new.code()'
! d = new.code(3, 3, 3, 3, codestr, (), (), (),
"<string>", "<name>", 1, "", (), ())
# test backwards-compatibility version with no freevars or cellvars
! d = new.code(3, 3, 3, 3, codestr, (), (), (),
"<string>", "<name>", 1, "")
if verbose:
--- 67,74 ----
# bogus test of new.code()
print 'new.code()'
! d = new.code(3, 3, 3, 3, codestr, (), (), (),
"<string>", "<name>", 1, "", (), ())
# test backwards-compatibility version with no freevars or cellvars
! d = new.code(3, 3, 3, 3, codestr, (), (), (),
"<string>", "<name>", 1, "")
if verbose:
Index: test_scope.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_scope.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** test_scope.py 2001/02/05 17:35:20 1.3
--- test_scope.py 2001/02/09 20:17:14 1.4
***************
*** 106,110 ****
def identity(x):
! return x
def f(x, y, z):
--- 106,110 ----
def identity(x):
! return x
def f(x, y, z):
***************
*** 112,117 ****
a = a + x # 3
def h():
! # z * (4 + 9)
! # 3 * 13
return identity(z * (b + y))
y = c + z # 9
--- 112,117 ----
a = a + x # 3
def h():
! # z * (4 + 9)
! # 3 * 13
return identity(z * (b + y))
y = c + z # 9
***************
*** 121,125 ****
g = f(1, 2, 3)
h = g(2, 4, 6)
! verify(h() == 39)
print "9. free variable in method"
--- 121,125 ----
g = f(1, 2, 3)
h = g(2, 4, 6)
! verify(h() == 39)
print "9. free variable in method"
***************
*** 207,211 ****
# check_syntax(test2)
! # XXX could allow this for exec with const argument, but what's the point
test3 = \
"""def error(y):
--- 207,211 ----
# check_syntax(test2)
! # XXX could allow this for exec with const argument, but what's the point
test3 = \
"""def error(y):
***************
*** 276,278 ****
else:
raise TestFailed
-
--- 276,277 ----
- Previous message: [Python-checkins] CVS: python/dist/src/Lib asynchat.py,1.10,1.11 pickle.py,1.44,1.45 popen2.py,1.18,1.19 posixpath.py,1.40,1.41 pyclbr.py,1.17,1.18 smtpd.py,1.1,1.2 urllib.py,1.115,1.116 webbrowser.py,1.10,1.11
- Next message: [Python-checkins] CVS: python/dist/src/Lib string.py,1.56,1.57 stringold.py,1.46,1.47
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]