From: Guido van Rossum Date: Wed, 14 Aug 2002 14:52:02 +0000 (+0000) Subject: test_many(): open only 100 temp files, not 1000. Some systems don't X-Git-Tag: v2.3c1~4481 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20f0b36a043cf0abc06dfde64e09006fe80ce31e;p=python 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. --- diff --git a/Lib/test/test_tempfile.py b/Lib/test/test_tempfile.py index 09d30abed1..1ea0d003b0 100644 --- a/Lib/test/test_tempfile.py +++ b/Lib/test/test_tempfile.py @@ -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)