New submission from Marc Abramowitz <msabr...@gmail.com>:

Currently, the devguide (http://docs.python.org/devguide/) mentions two sets of 
commands for running the CPython test suite:

* For Python 3, one uses: ./python -m test

* For Python 2.7, one must use: ./python -m test.regrtest because ./python -m 
test fails with an error:No module named test.__main__; 'test' is a package and 
cannot be directly executed

If you take these two variations and multiply by the 3 variations of "python" 
command required depending on the OS (Windows, OS X, or other), then there are 
6 permutations. I would say that this doesn't exactly encourage newcomers to 
CPython to contribute.

To take away a bit of the complexity, I have an extremely simple patch that 
adds one two line file to make ./python -m test work on 2.7.

----------
components: Tests
files: python2.7_test.patch
keywords: patch
messages: 161180
nosy: Marc.Abramowitz
priority: normal
severity: normal
status: open
title: (Patch included) Make ./python -m test work to run test suite in Python 
2.7
versions: Python 2.7
Added file: http://bugs.python.org/file25648/python2.7_test.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14861>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to