Author techtonik
Recipients berker.peksag, exarkun, ezio.melotti, michael.foord, techtonik
Date 2012-12-20.18:36:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> The documentation already covers that "python -m unittest test_module" 
> usage works only in 2.7+.
> "Changed in version 2.7: In earlier versions it was only possible to
> run individual test methods and not modules or classes."

But the command line help says otherwise:

$ python -m unittest -h
Usage: [options] [test] [...]

  -h, --help       Show this message
  -v, --verbose    Verbose output
  -q, --quiet      Minimal output

Examples:                               - run default set of tests MyTestSuite                   - run suite 'MyTestSuite' MyTestCase.testSomething      - run MyTestCase.testSomething MyTestCase                    - run all 'test*' test methods
                                               in MyTestCase

$ python --version
Python 2.6.6
Date User Action Args
2012-12-20 18:36:18techtoniksetrecipients: + techtonik, exarkun, ezio.melotti, michael.foord, berker.peksag
2012-12-20 18:36:18techtoniksetmessageid: <>
2012-12-20 18:36:18techtoniklinkissue6514 messages
2012-12-20 18:36:18techtonikcreate