diff options
author | Andrew MacIntyre <andymac@bullseye.apana.org.au> | 2006-06-13 17:14:36 +0000 |
---|---|---|
committer | Andrew MacIntyre <andymac@bullseye.apana.org.au> | 2006-06-13 17:14:36 +0000 |
commit | d91363d0f56ad8decfc3a6061034f90e29a41093 (patch) | |
tree | d25e69fbacbe7fb08606f7730853fe5b2695da70 /Lib/test/test_thread.py | |
parent | 2be9b587f7af9c6346004fe888cbf7a7131e067b (diff) | |
download | cpython-d91363d0f56ad8decfc3a6061034f90e29a41093.tar.gz |
fix exception usage
Diffstat (limited to 'Lib/test/test_thread.py')
-rw-r--r-- | Lib/test/test_thread.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_thread.py b/Lib/test/test_thread.py index 7b523e2cec..7586ebce25 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' |