mirror of https://github.com/python/cpython.git
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:
parent
d28216b279
commit
20f0b36a04
|
@ -156,7 +156,7 @@ def test_many(self):
|
||||||
|
|
||||||
dict = {}
|
dict = {}
|
||||||
r = self.r
|
r = self.r
|
||||||
for i in xrange(1000):
|
for i in xrange(100):
|
||||||
s = r.next()
|
s = r.next()
|
||||||
self.nameCheck(s, '', '', '')
|
self.nameCheck(s, '', '', '')
|
||||||
self.failIf(s in dict)
|
self.failIf(s in dict)
|
||||||
|
|
Loading…
Reference in New Issue