From 20f0b36a043cf0abc06dfde64e09006fe80ce31e Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 14 Aug 2002 14:52:02 +0000 Subject: [PATCH] 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. --- Lib/test/test_tempfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_tempfile.py b/Lib/test/test_tempfile.py index 09d30abed1b..1ea0d003b0c 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)