From 8b2cbfd180a6bb03e807565a3dcc8a03302c2fc4 Mon Sep 17 00:00:00 2001 From: Armin Rigo Date: Sat, 7 Aug 2004 21:27:43 +0000 Subject: [PATCH] Let's not use string exceptions any more. --- Lib/test/test_signal.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py index 5c1132254e..042cfa93e8 100644 --- a/Lib/test/test_signal.py +++ b/Lib/test/test_signal.py @@ -29,7 +29,8 @@ def handlerA(*args): if verbose: print "handlerA", args -HandlerBCalled = "HandlerBCalled" # Exception +class HandlerBCalled(Exception): + pass def handlerB(*args): if verbose: -- 2.50.1