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 vajrasky
Recipients vajrasky
Date 2013-11-29.10:02:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385719351.7.0.144059286508.issue19828@psf.upfronthosting.co.za>
In-reply-to
Content
$ ./python -S Lib/test/test_site.py 
Traceback (most recent call last):
  File "Lib/test/test_site.py", line 28, in <module>
    raise unittest.SkipTest("importation of site.py suppressed")
unittest.case.SkipTest: importation of site.py suppressed

This counts as fail test. So when you execute the whole unit test:

$ ./python -S Lib/test

You'll get 2 fail tests.

The first one is test_trace, already fixed in #19398, but not yet committed.

The second one is this one, test_site.

'raise unittest.SkipTest("importation of site.py suppressed")' will make the file counts as fail test.

Attached the patch to make it does not count as fail test.
History
Date User Action Args
2013-11-29 10:02:31vajraskysetrecipients: + vajrasky
2013-11-29 10:02:31vajraskysetmessageid: <1385719351.7.0.144059286508.issue19828@psf.upfronthosting.co.za>
2013-11-29 10:02:31vajraskylinkissue19828 messages
2013-11-29 10:02:30vajraskycreate