R. David Murray added the comment:

That's not relevant, though.  In fact, the existing error message for running 
the module directly is exactly correct: the entire test module fails to run, 
which is a more accurate reflection of the reality than showing all of the 
individual tests as skipped.  

If you run test_site under the test harness you also currently get the correct 
result:

rdmurray@hey:~/python/p34>./python -S Lib/test test_site
[1/1] test_site
test_site skipped -- importation of site.py suppressed
1 test skipped:
    test_site

In other words, you don't need to do anything to test_site to get it to work 
correctly for your desired goal, it already does.

----------

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

Reply via email to