[Python-checkins] CVS: python/dist/src/Lib/test regrtest.py,1.41,1.42 test_future.py,1.3,1.4

Jeremy Hylton jhylton@users.sourceforge.net
2001年8月20日 13:33:44 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv8046/Lib/test
Modified Files:
	regrtest.py test_future.py 
Log Message:
Fix SF bug [ #450245 ] Error in parsing future stmts
Add test case to cover multiple future statements on separate lines of
a module.
Index: regrtest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/regrtest.py,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** regrtest.py	2001年08月12日 21:53:08	1.41
--- regrtest.py	2001年08月20日 20:33:42	1.42
***************
*** 215,218 ****
--- 215,219 ----
 'test_future1',
 'test_future2',
+ 'test_future3',
 ]
 
Index: test_future.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_future.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** test_future.py	2001年04月18日 01:19:27	1.3
--- test_future.py	2001年08月20日 20:33:42	1.4
***************
*** 18,21 ****
--- 18,24 ----
 import test_future2
 
+ unload('test_future3')
+ import test_future3
+ 
 # The remaining tests should fail
 try:

AltStyle によって変換されたページ (->オリジナル) /