mirror of
https://github.com/python/cpython.git
synced 2024-11-24 10:24:35 +08:00
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 @@ 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)
|
||||
|
Loading…
Reference in New Issue
Block a user