diff options
author | Armin Rigo <arigo@tunes.org> | 2004-08-07 21:27:43 (GMT) |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2004-08-07 21:27:43 (GMT) |
commit | 8b2cbfd180a6bb03e807565a3dcc8a03302c2fc4 (patch) | |
tree | f3126e143e49c8d752e9d0dc87dde066dea37726 /Lib/test | |
parent | e6e77e5fe74289af8afe653ea426bcf966afff89 (diff) | |
download | cpython-8b2cbfd180a6bb03e807565a3dcc8a03302c2fc4.zip cpython-8b2cbfd180a6bb03e807565a3dcc8a03302c2fc4.tar.gz cpython-8b2cbfd180a6bb03e807565a3dcc8a03302c2fc4.tar.bz2 |
Let's not use string exceptions any more.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_signal.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py index 5c11322..042cfa9 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: |