Skip to content

Commit

Permalink
test_many(): open only 100 temp files, not 1000. Some systems don't
Browse files Browse the repository at this point in the history
allow that many open files per process.  I don't see that 1000 makes
any difference for the test.
  • Loading branch information
gvanrossum committed Aug 14, 2002
1 parent d28216b commit 20f0b36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_tempfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def test_many(self):

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)
Expand Down

0 comments on commit 20f0b36

Please sign in to comment.