From: Armin Rigo Date: Sat, 7 Aug 2004 21:27:43 +0000 (+0000) Subject: Let's not use string exceptions any more. X-Git-Tag: v2.4a3~340 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8b2cbfd180a6bb03e807565a3dcc8a03302c2fc4;p=thirdparty%2FPython%2Fcpython.git Let's not use string exceptions any more. --- diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py index 5c1132254ed4..042cfa93e82f 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: