document how to use python -m with testtools on python 2.4 (its not pretty)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Fix Released
|
Wishlist
|
Jonathan Lange |
Bug Description
The testtools manual (and makefile) suggest the use of `python -m testtools.run ...` to run test suites. However, dotted modules with the -m switch do not work in Python 2.4:
C:\>python -m testtools.run -h
C:/
C:\>python Python24\
usage: python -m testtools.run testspec [testspec...]
Run some tests with the testtools extended API.
For instance, to run the testtools test suite.
$ python -m testtools.run testtools.
options:
-h, --help show this help message and exit
If there is a good reason for `python -m testtools ...` to not Just Work, then this limitation should at least be mentioned in the documentation.
description: | updated |
summary: |
- Suggest alternative to python -m testtools.run for Python 2.4 + document how to use python -m with testtools on python 2.4 (its not + pretty) |
Changed in testtools: | |
status: | Triaged → Fix Committed |
assignee: | nobody → Jonathan Lange (jml) |
milestone: | none → next |
Changed in testtools: | |
status: | Fix Committed → Fix Released |
Ok, this is a clear defect vis-a-vis python 2.4. I suggest that we conditionally output a better text for python 2.4.