Marc-Andre Lemburg <m...@egenix.com> added the comment:

flox wrote:
> 
> New submission from flox <la...@yahoo.fr>:
> 
> ~ $ ./python -3 Lib/test/regrtest.py -j2 test_py3kwarn
> ./Lib/encodings/__init__.py:100: DeprecationWarning:
>                          the 'hex' codec has been removed in Python 3.0
>   level=0)
> test_py3kwarn
> test_py3kwarn skipped -- test.test_py3kwarn must be run with the -3 flag
> 1 test skipped:
>     test_py3kwarn
> 1 skip unexpected on linux2:
>     test_py3kwarn

I'm not sure where you are getting that warning from: it doesn't
exist in Python 2.7 (trunk) and will likely never exist, since we're
going to add that codec back to 3.1. See issue 7475.

Still, even without it, you get the error:

Python/Dev-Python> ./python -3 Lib/test/regrtest.py -j2 test_py3kwarn
test_py3kwarn
test_py3kwarn skipped -- test.test_py3kwarn must be run with the -3 flag
1 test skipped:
    test_py3kwarn
1 skip unexpected on linux2:
    test_py3kwarn

The reason is simple: when starting secondary processes to run the
tests, regrtest.py doesn't pass along the Python interpreter flags
to the secondary Python executeables.

It also ignores the environment variables by forcing the -E
option.

----------
nosy: +lemburg

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7516>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to