[Python-checkins] python/dist/src/Lib/test test_tempfile.py,1.4,1.5
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Wed, 14 Aug 2002 07:52:04 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv29055
Modified Files:
test_tempfile.py
Log Message:
test_many(): open only 100 temp files, not 1000. Some systems don't
allow that many open files per process. I don't see that 1000 makes
any difference for the test.
Index: test_tempfile.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_tempfile.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** test_tempfile.py 9 Aug 2002 18:13:51 -0000 1.4
--- test_tempfile.py 14 Aug 2002 14:52:02 -0000 1.5
***************
*** 157,161 ****
dict = {}
r = self.r
! for i in xrange(1000):
s = r.next()
self.nameCheck(s, '', '', '')
--- 157,161 ----
dict = {}
r = self.r
! for i in xrange(100):
s = r.next()
self.nameCheck(s, '', '', '')