test_concurrent_futures: dump ulimit -a to check a failure on x86 FreeBSD 7.2 3.x...
authorVictor Stinner <victor.stinner@haypocalc.com>
Sat, 6 Nov 2010 13:10:29 +0000 (13:10 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sat, 6 Nov 2010 13:10:29 +0000 (13:10 +0000)
Lib/test/test_concurrent_futures.py

index 6427368fd673b43675dcb7b127f688342dc8089c..fd94f9f32ccb5ecddf35a6733ad750260d8e1db8 100644 (file)
@@ -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,