Author: brett.cannon Date: Wed Feb 28 19:32:11 2007 New Revision: 54028 Modified: python/branches/p3yk_no_args_on_exc/Lib/test/test_itertools.py Log: Fix for removal of 'args' from exceptions. Modified: python/branches/p3yk_no_args_on_exc/Lib/test/test_itertools.py ============================================================================== --- python/branches/p3yk_no_args_on_exc/Lib/test/test_itertools.py (original) +++ python/branches/p3yk_no_args_on_exc/Lib/test/test_itertools.py Wed Feb 28 19:32:11 2007 @@ -809,7 +809,7 @@ Subclass(newarg=1) except TypeError as err: # we expect type errors because of wrong argument count - self.failIf("does not take keyword arguments" in err.args[0]) + self.failIf("does not take keyword arguments" in err.message) libreftest = """ Doctest for examples in the library reference: libitertools.tex
participants (1)
-
brett.cannon