[Python-checkins] r54034 - python/branches/p3yk_no_args_on_exc/Lib/test/test_signal.py

brett.cannon python-checkins at python.org
Wed Feb 28 19:40:16 CET 2007


Author: brett.cannon
Date: Wed Feb 28 19:40:13 2007
New Revision: 54034

Modified:
   python/branches/p3yk_no_args_on_exc/Lib/test/test_signal.py
Log:
Fix for BaseException.args removal.


Modified: python/branches/p3yk_no_args_on_exc/Lib/test/test_signal.py
==============================================================================
--- python/branches/p3yk_no_args_on_exc/Lib/test/test_signal.py	(original)
+++ python/branches/p3yk_no_args_on_exc/Lib/test/test_signal.py	Wed Feb 28 19:40:13 2007
@@ -46,7 +46,7 @@
     b_called = True
     if verbose:
         print("handlerB invoked", args)
-    raise HandlerBCalled, args
+    raise HandlerBCalled(args)
 
 # Set up a child to send signals to us (the parent) after waiting long
 # enough to receive the alarm.  It seems we miss the alarm for some


More information about the Python-checkins mailing list