summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_threading.py
diff options
context:
space:
mode:
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>2006-06-13 19:02:35 (GMT)
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>2006-06-13 19:02:35 (GMT)
commit93e3ecb1f4b5a0ee85756187e3011b2b214df443 (patch)
treee998bf0de7ea2998dbc8bcd5508124d79367512d /Lib/test/test_threading.py
parent7d9743dd6aebe3da1118ed7f0abb7b9cdc6302ff (diff)
downloadcpython-93e3ecb1f4b5a0ee85756187e3011b2b214df443.zip
cpython-93e3ecb1f4b5a0ee85756187e3011b2b214df443.tar.gz
cpython-93e3ecb1f4b5a0ee85756187e3011b2b214df443.tar.bz2
Increase the small thread stack size to get the test
to pass reliably on the one buildbot that insists on more than 32kB of thread stack.
Diffstat (limited to 'Lib/test/test_threading.py')
-rw-r--r--Lib/test/test_threading.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py
index 02f338a..ac4a010 100644
--- a/Lib/test/test_threading.py
+++ b/Lib/test/test_threading.py
@@ -85,11 +85,11 @@ class ThreadTests(unittest.TestCase):
print 'all tasks done'
self.assertEqual(numrunning.get(), 0)
- # run with a minimum thread stack size (32kB)
+ # run with a small(ish) thread stack size (256kB)
def test_various_ops_small_stack(self):
if verbose:
- print 'with 32kB thread stack size...'
- threading.stack_size(0x8000)
+ print 'with 256kB thread stack size...'
+ threading.stack_size(262144)
self.test_various_ops()
threading.stack_size(0)