diff options
author | Guido van Rossum <guido@python.org> | 2002-08-14 14:52:02 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-08-14 14:52:02 (GMT) |
commit | 20f0b36a043cf0abc06dfde64e09006fe80ce31e (patch) | |
tree | ea1a8bbcf946792c812724eaeed414a10c07da6b /Lib/test/test_tempfile.py | |
parent | d28216b279743ed680d84fe37da190e9754e6be4 (diff) | |
download | cpython-20f0b36a043cf0abc06dfde64e09006fe80ce31e.zip cpython-20f0b36a043cf0abc06dfde64e09006fe80ce31e.tar.gz cpython-20f0b36a043cf0abc06dfde64e09006fe80ce31e.tar.bz2 |
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.
Diffstat (limited to 'Lib/test/test_tempfile.py')
-rw-r--r-- | Lib/test/test_tempfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_tempfile.py b/Lib/test/test_tempfile.py index 09d30ab..1ea0d00 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) |