summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tempfile.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-08-14 14:52:02 (GMT)
committerGuido van Rossum <guido@python.org>2002-08-14 14:52:02 (GMT)
commit20f0b36a043cf0abc06dfde64e09006fe80ce31e (patch)
treeea1a8bbcf946792c812724eaeed414a10c07da6b /Lib/test/test_tempfile.py
parentd28216b279743ed680d84fe37da190e9754e6be4 (diff)
downloadcpython-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.py2
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)