[docs] [issue15521] Dev Guide should say how to run tests in 2.7
Chris Jerdonek
report at bugs.python.org
Wed Aug 1 11:07:48 CEST 2012
New submission from Chris Jerdonek:
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?
----------
assignee: docs at python
components: Devguide, Documentation
keywords: easy
messages: 167099
nosy: cjerdonek, docs at python, ezio.melotti
priority: normal
severity: normal
stage: needs patch
status: open
title: Dev Guide should say how to run tests in 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15521>
_______________________________________
More information about the docs
mailing list