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.
This commit is contained in:
Guido van Rossum 2002-08-14 14:52:02 +00:00
parent d28216b279
commit 20f0b36a04
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ class test__RandomNameSequence(TC):
dict = {}
r = self.r
for i in xrange(1000):
for i in xrange(100):
s = r.next()
self.nameCheck(s, '', '', '')
self.failIf(s in dict)