fix exception usage
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 @@
         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'