[Python-bugs-list] [ python-Bugs-467763 ] test_support's run_suite() is broken
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 03 Oct 2001 23:34:07 -0700
Bugs item #467763, was opened at 2001-10-03 23:33
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=467763&group_id=5470
Category: Python Library
>Group: Python 2.2
Status: Open
Resolution: None
Priority: 7
Submitted By: Tim Peters (tim_one)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: test_support's run_suite() is broken
Initial Comment:
When test_support.run_suite() runs a failing test, in
one of the failure branches it can reference
vrbl "testclass" twice. But testclass is an argument
to run_unittest(), and has no value in run_suite().
So run_suite() dies with a NameError, instead of
raising TestFailed.
Assigned to Fred, because I vaguely believe he made
the change so has a good chance of guessing what he
intended to do instead <wink>.
----------------------------------------------------------------------
>Comment By: Tim Peters (tim_one)
Date: 2001-10-03 23:34
Message:
Logged In: YES
user_id=31435
Changed Group to Python 2.2.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=467763&group_id=5470