Commits

Michael Foord committed 687a736

Fixes missing from last checkin

Comments (0)

Files changed (2)

unittest2/case.py

     # Attribute used by cleanups for timing tests
     _startTime = 0
 
-    def __init__(self, methodName='runTest', test):
+    def __init__(self, methodName='runTest'):
         """Create an instance of the class that will use the named test
            method when executed. Raises a ValueError if the instance does
            not have a method with the specified name.

unittest2/events.py

     'StartTestRunEvent',
     'StopTestRunEvent',
     'StartTestEvent',
-    'StopTestEvent',
+    'TestReport',
     'TestFailEvent',
     'ReportEvent',
     'BeforeTearDownEvent',