Vajrasky Kok added the comment:

Before patch:
$ ./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

After patch:
$ ./python -S Lib/test/test_site.py 
sssssssssssssssssssss
----------------------------------------------------------------------
Ran 21 tests in 0.003s

OK (skipped=21)

With this patch, ./python -S Lib/test will report test_site as *skipped* not 
*failed*.

My grand plan is to make ./python -S Lib/test successful.

----------
Added file: http://bugs.python.org/file32926/fix_test_site_with_s_flag_v2.patch

_______________________________________
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