This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients Arfrever, r.david.murray, vajrasky, zach.ware
Date 2013-12-01.17:33:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385919184.37.0.105230856128.issue19828@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-12-01 17:33:04r.david.murraysetrecipients: + r.david.murray, Arfrever, zach.ware, vajrasky
2013-12-01 17:33:04r.david.murraysetmessageid: <1385919184.37.0.105230856128.issue19828@psf.upfronthosting.co.za>
2013-12-01 17:33:04r.david.murraylinkissue19828 messages
2013-12-01 17:33:04r.david.murraycreate