summaryrefslogtreecommitdiff
path: root/coverage/htmlfiles/coverage_html.js
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2011-02-26 13:29:40 -0800
committerBrett Cannon <brett@python.org>2011-02-26 13:29:40 -0800
commitd4dd809d27ad7f31431a4ef61309b6951ad41d9b (patch)
tree125833eacbd53d3dac94fb0808e97601d8486100 /coverage/htmlfiles/coverage_html.js
parentfe825dfa906ee4c37e192c14d24b3abe78aa94d5 (diff)
downloadpython-coveragepy-d4dd809d27ad7f31431a4ef61309b6951ad41d9b.tar.gz
Allow coverage.py to be executed by pointing Python at a repository's
directory. Since Python 2.6 one can specify a __main__.py in a directory to tell Python what to do if it is pointed at simply a directory. For instance, assuming one has a clone of coverage.py sitting at ../coveragepy, this patch allows for:: python ../coveragepy run ... This is extremely handy if you want to use coverage.py straight from a clone without adding the clone's directory to sys.path (which can be an issue at least in the stdlib as that will pick up 'test' as a package, masking the stdlib's own 'test' package).
Diffstat (limited to 'coverage/htmlfiles/coverage_html.js')
0 files changed, 0 insertions, 0 deletions