summaryrefslogtreecommitdiff
path: root/Lib/test/test_thread.py
diff options
context:
space:
mode:
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>2006-06-13 19:02:35 +0000
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>2006-06-13 19:02:35 +0000
commit93e3ecb1f4b5a0ee85756187e3011b2b214df443 (patch)
treee998bf0de7ea2998dbc8bcd5508124d79367512d /Lib/test/test_thread.py
parent7d9743dd6aebe3da1118ed7f0abb7b9cdc6302ff (diff)
downloadcpython-git-93e3ecb1f4b5a0ee85756187e3011b2b214df443.tar.gz
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_thread.py')
-rw-r--r--Lib/test/test_thread.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_thread.py b/Lib/test/test_thread.py
index 883ca6cc75..c4c21fed00 100644
--- a/Lib/test/test_thread.py
+++ b/Lib/test/test_thread.py
@@ -140,13 +140,13 @@ if os_name in ("nt", "os2", "posix"):
if tss_supported:
failed = lambda s, e: s != e
fail_msg = "stack_size(%d) failed - should succeed"
- for tss in (32768, 0x100000, 0):
+ for tss in (262144, 0x100000, 0):
thread.stack_size(tss)
if failed(thread.stack_size(), tss):
raise ValueError, fail_msg % tss
print 'successfully set stack_size(%d)' % tss
- for tss in (32768, 0x100000):
+ for tss in (262144, 0x100000):
print 'trying stack_size = %d' % tss
next_ident = 0
for i in range(numtasks):