This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chris.jerdonek
Recipients chris.jerdonek, docs@python, ezio.melotti
Date 2012-08-01.09:07:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1343812068.2.0.0173567393654.issue15521@psf.upfronthosting.co.za>
In-reply-to
Content
The Dev Guide should say the preferred way (or even a way) to run tests using the Python 2.7 build:

http://docs.python.org/devguide/runtests.html

This will help submitters who want to check that their patch works with 2.7.

In Python 2.7, this did not work (for obvious reasons):

$ ./python.exe -m test
.../python.exe: No module named test.__main__; 'test' is a package and cannot be directly executed

But this did:

$ ./python.exe -m test.regrtest

Is the latter the preferred way?
History
Date User Action Args
2012-08-01 09:07:48chris.jerdoneksetrecipients: + chris.jerdonek, ezio.melotti, docs@python
2012-08-01 09:07:48chris.jerdoneksetmessageid: <1343812068.2.0.0173567393654.issue15521@psf.upfronthosting.co.za>
2012-08-01 09:07:47chris.jerdoneklinkissue15521 messages
2012-08-01 09:07:47chris.jerdonekcreate