mirror of
https://github.com/python/cpython.git
synced 2024-11-28 04:15:11 +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