mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ class test__RandomNameSequence(TC):
|
||||||
|
|
||||||
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…
Add table
Add a link
Reference in a new issue