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@python
components: Devguide, Documentation
keywords: easy
messages: 167099
nosy: cjerdonek, docs@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue15521>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to