Amaury Forgeot d'Arc <amaur...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue5494>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to