[issue5494] Failure in test_httpservers on Linux

Amaury Forgeot d'Arc report at bugs.python.org
Tue Mar 17 07:54:12 CET 2009


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

The SyntaxError show that you are running python version 2.x.

> Run testscript in verbose mode: $ sudo ./regrtest.py -v server.py

Your sudo command is wrong:
it should specify the path to the tested python executable,
and not rely on the #! line in regrtest.py, which uses whatever python
is installed on your machine.

Probably something like
    sudo ../../python regrtest.py -v server.py

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5494>
_______________________________________


More information about the Python-bugs-list mailing list