Index: Lib/test/test_exceptions.py =================================================================== --- Lib/test/test_exceptions.py (revision 46491) +++ Lib/test/test_exceptions.py (working copy) @@ -292,7 +292,7 @@ expected = args[-1] try: if len(args) == 2: raise args[0] - else: raise apply(args[0], args[1]) + else: raise args[0](*args[1]) except BaseException, e: for checkArgName in expected.keys(): if repr(getattr(e, checkArgName)) != repr(expected[checkArgName]):