[Python-checkins] CVS: python/dist/src/Lib/test/output test_long,1.2,1.3 test_popen2,1.1,1.2 test_select,1.1,1.2

Jeremy Hylton python-dev@python.org
2000年7月11日 08:15:34 -0700


Update of /cvsroot/python/python/dist/src/Lib/test/output
In directory slayer.i.sourceforge.net:/tmp/cvs-serv31604/output
Modified Files:
	test_long test_popen2 test_select 
Log Message:
fix bug #42 reported by Andrew Dalke
The Compare close contains a close method that checks to see if there
is any unconsumed data in the Compare instance; i.e. if the canonical
output file contains more data than was produced by the current test
run. This method was never called, allowing differences to go
undetected.
Fix is to call close after the test is run (after __import__)
output/test_long and output/test_popen2 needed trivial changes
output/test_select contained lots of text, but test_select.py produced
 no output
Index: test_long
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/test_long,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** test_long	1998年10月02日 01:19:48	1.2
--- test_long	2000年07月11日 15:15:31	1.3
***************
*** 4,6 ****
 long str/hex/oct/atol
 long miscellaneous operations
- 
--- 4,5 ----
Index: test_popen2
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/test_popen2,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** test_popen2	1999年03月11日 13:26:23	1.1
--- test_popen2	2000年07月11日 15:15:31	1.2
***************
*** 3,5 ****
 testing popen3...
 All OK
- 
--- 3,4 ----
Index: test_select
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/test_select,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** test_select	1996年12月11日 23:58:46	1.1
--- test_select	2000年07月11日 15:15:31	1.2
***************
*** 1,25 ****
 test_select
- timeout = 0
- timeout = 1
- 'testing...012円'
- timeout = 2
- 'testing...012円'
- timeout = 4
- 'testing...012円'
- timeout = 8
- 'testing...012円'
- timeout = 16
- 'testing...012円'
- timeout = None
- 'testing...012円'
- timeout = None
- 'testing...012円'
- timeout = None
- 'testing...012円'
- timeout = None
- 'testing...012円'
- timeout = None
- 'testing...012円'
- timeout = None
- ''
- EOF
--- 1 ----

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