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 georg.brandl
Recipients georg.brandl, giampaolo.rodola, purcell, slinkp
Date 2008-05-11.11:02:14
SpamBayes Score 0.028189506
Marked as misclassified No
Message-id <1210503736.5.0.852283285117.issue2721@psf.upfronthosting.co.za>
In-reply-to
Content
The replacement is TestLoader().loadTestsFromTestCase(), and it's
already in a prominent place in the docs:

"""
Instead of :func:`unittest.main`, there are other ways to run the tests
with a
finer level of control, less terse output, and no requirement to be run
from the
command line.  For example, the last two lines may be replaced with::

   suite =
unittest.TestLoader().loadTestsFromTestCase(TestSequenceFunctions)
   unittest.TextTestRunner(verbosity=2).run(suite)
"""

Closing as "works for me".
History
Date User Action Args
2008-05-11 11:02:16georg.brandlsetspambayes_score: 0.0281895 -> 0.028189506
recipients: + georg.brandl, purcell, slinkp, giampaolo.rodola
2008-05-11 11:02:16georg.brandlsetspambayes_score: 0.0281895 -> 0.0281895
messageid: <1210503736.5.0.852283285117.issue2721@psf.upfronthosting.co.za>
2008-05-11 11:02:15georg.brandllinkissue2721 messages
2008-05-11 11:02:14georg.brandlcreate