Message291221
To be more specific regarding `sitecustomize.py`:
$ echo "print('Hello from sitecustomize.py')" > Lib/sitecustomize.py
$ ./python -c "print('Hello from command line')"
Hello from sitecustomize.py
Hello from command line
Since we only need these instructions to work for a local checkout, we can rely on the `sitecustomize.py` hook.
It means we'll still miss coverage results from subprocess tests run in isolated mode or with site.py processing disabled, but those are both relatively rare and involve *not* running code that is normally run, so shouldn't impact the aggregate coverage results. |
|
Date |
User |
Action |
Args |
2017-04-06 09:39:25 | ncoghlan | set | recipients:
+ ncoghlan, brett.cannon, nedbat, jaysinh.shukla |
2017-04-06 09:39:25 | ncoghlan | set | messageid: <1491471565.56.0.979622421493.issue11978@psf.upfronthosting.co.za> |
2017-04-06 09:39:25 | ncoghlan | link | issue11978 messages |
2017-04-06 09:39:25 | ncoghlan | create | |
|