This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author teherr
Recipients teherr
Date 2010-11-18.20:16:49
SpamBayes Score 0.14721525
Marked as misclassified No
Message-id <1290111411.37.0.30283584247.issue10456@psf.upfronthosting.co.za>
In-reply-to
Content
The unittest.py module no longer accepts verbosity=2 when calling main.  This worked in Python27.  Example...

     unittest.main(verbosity=2)
     

## THE FIX IN unittest.py##
CHANGE FROM:
1547   def __init__(self, module='__main__', defaultTest=None,
1548           argv=None, testRunner=TextTestRunner,
1549           testLoader=defaultTestLoader, exit=True):

1560       self.verbosity = 1

CHANGE TO:
1547   def __init__(self, module='__main__', defaultTest=None,
1548           argv=None, testRunner=TextTestRunner,
1549           testLoader=defaultTestLoader, exit=True, verbosity=1):

1560       self.verbosity = verbosity
History
Date User Action Args
2010-11-18 20:16:51teherrsetrecipients: + teherr
2010-11-18 20:16:51teherrsetmessageid: <1290111411.37.0.30283584247.issue10456@psf.upfronthosting.co.za>
2010-11-18 20:16:49teherrlinkissue10456 messages
2010-11-18 20:16:49teherrcreate