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 terry.reedy
Recipients ethan.furman, jaraco, terry.reedy
Date 2021-12-24.22:52:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I also use comments in lieu of docstrings for text_xyx methods because I find the addition of the first line of the docstring in error reports to be useless, distracting, and sometimes, depending on the content, confusing.  If the error is in the test method, the full comment is available when looking back at the method code.  If the error is in the tested code, the comment/docstring is inapplicable.

When I edit test files, I run them directly from an IDLE editor via the 'if __name__' clause.  When I run all IDLE tests from Command Prompt, I usually run 'python -m test.test_idle'.  (Similar but not necessarily identical to 'python -m -ugui test_idle'.)  So fiddling with regrtest will not help in either case.

Based on the above, the following seems to work.
    runner = unittest.TextTestRunner(descriptions=False, verbosity=2)    
I am not sure what passing a runner does, versus leaving the default None, but the verbosity passed to the runner overrides and verbosity argument passed to main.  What I would like is 'descriptions' added as a parameter to main, so that
    unittest.main(descriptions=False, verbosity=2)
would work.
Date User Action Args
2021-12-24 22:52:24terry.reedysetrecipients: + terry.reedy, jaraco, ethan.furman
2021-12-24 22:52:24terry.reedysetmessageid: <>
2021-12-24 22:52:24terry.reedylinkissue46126 messages
2021-12-24 22:52:24terry.reedycreate