summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_thread.py
diff options
context:
space:
mode:
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>2006-06-13 17:14:36 (GMT)
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>2006-06-13 17:14:36 (GMT)
commita7090dfc2c97a788a8c8c63975ee54c261d03998 (patch)
tree845720d96720ca604d86cea98201d46844177e9a /Lib/test/test_thread.py
parent573bd19e1fbcddb707d93899640d656626998a8c (diff)
downloadcpython-a7090dfc2c97a788a8c8c63975ee54c261d03998.zip
cpython-a7090dfc2c97a788a8c8c63975ee54c261d03998.tar.gz
cpython-a7090dfc2c97a788a8c8c63975ee54c261d03998.tar.bz2
fix exception usage
Diffstat (limited to 'Lib/test/test_thread.py')
-rw-r--r--Lib/test/test_thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_thread.py b/Lib/test/test_thread.py
index 7b523e2..7586ebc 100644
--- a/Lib/test/test_thread.py
+++ b/Lib/test/test_thread.py
@@ -133,7 +133,7 @@ if os_name in ("nt", "os2", "posix"):
thread.stack_size(4096)
except ValueError:
print 'caught expected ValueError setting stack_size(4096)'
- except thread.ThreadError:
+ except thread.error:
tss_supported = 0
print 'platform does not support changing thread stack size'