summaryrefslogtreecommitdiff
path: root/Lib/test/test_concurrent_futures.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-11-06 13:10:29 +0000
committerVictor Stinner <victor.stinner@haypocalc.com>2010-11-06 13:10:29 +0000
commiteeb52d47c8a111a8138fa044bd3d0cdb51c88e86 (patch)
treedada77e84bd4300c3ec0198236b0f90039d5c3a5 /Lib/test/test_concurrent_futures.py
parentafdf9a8ceebfaa503f573d9e0d1194382b3d0f6f (diff)
downloadcpython-eeb52d47c8a111a8138fa044bd3d0cdb51c88e86.tar.gz
test_concurrent_futures: dump ulimit -a to check a failure on x86 FreeBSD 7.2 3.x, buildbot
Diffstat (limited to 'Lib/test/test_concurrent_futures.py')
-rw-r--r--Lib/test/test_concurrent_futures.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_concurrent_futures.py b/Lib/test/test_concurrent_futures.py
index 6427368fd6..fd94f9f32c 100644
--- a/Lib/test/test_concurrent_futures.py
+++ b/Lib/test/test_concurrent_futures.py
@@ -815,6 +815,10 @@ class FutureTests(unittest.TestCase):
self.assertTrue(isinstance(f1.exception(timeout=5), IOError))
def test_main():
+ # FIXME: remove this temporary hack to check a failure
+ # on "x86 FreeBSD 7.2 3.x" buildbot
+ import os; os.system("ulimit -a")
+
test.support.run_unittest(ProcessPoolExecutorTest,
ThreadPoolExecutorTest,
ProcessPoolWaitTests,