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 vstinner
Recipients python-dev, vstinner
Date 2016-09-23.09:19:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474622388.72.0.201417123443.issue27829@psf.upfronthosting.co.za>
In-reply-to
Content
I was able to reproduce the missing warning by modifying test_sys.py to modify sys.path and then run:
./python -m test -W test_sys

The -W eats stderr even if the environment changed. I modified regrtest to copy stderr if the test doesn't pass which includes: fail, interrupted, env changed, etc.
History
Date User Action Args
2016-09-23 09:19:48vstinnersetrecipients: + vstinner, python-dev
2016-09-23 09:19:48vstinnersetmessageid: <1474622388.72.0.201417123443.issue27829@psf.upfronthosting.co.za>
2016-09-23 09:19:48vstinnerlinkissue27829 messages
2016-09-23 09:19:48vstinnercreate