~jml/zope.testing/subunit-time-always-2

« back to all changes in this revision

Viewing changes to src/zope/testing/testrunner/options.py

  • Committer: Tres Seaver
  • Date: 2010-04-11 01:14:01 UTC
  • Revision ID: tseaver@agendaless.com-20100411011401-m9lg3ebdqlwymsio
LP #498162:  Added a ``--pdb`` alias for the ``-D`` testrunner option.

That option can also be invoked as ``--post-mortem``.

Show diffs side-by-side

added added

removed removed

Lines of Context:
255
255
 
256
256
 
257
257
analysis.add_option(
258
 
    '--post-mortem', '-D', action="store_true", dest='post_mortem',
 
258
    '--post-mortem', '--pdb', '-D', action="store_true", dest='post_mortem',
259
259
    help="Enable post-mortem debugging of test failures"
260
260
    )
261
261