Message276207
test_compileall depends on sys.path? It doesn't seem reliable to me.
I suggest to create a temporary directory and replace sys.path to only have one item: this directory.
I don't know which files are expected to be there, but we can probably copy .py to this temporary directory.
What do you think? |
|
Date |
User |
Action |
Args |
2016-09-13 07:55:03 | vstinner | set | recipients:
+ vstinner, brett.cannon, christian.heimes, xdegaye, python-dev, Rosuav, berker.peksag, yan12125 |
2016-09-13 07:55:03 | vstinner | set | messageid: <1473753303.28.0.111413948704.issue27322@psf.upfronthosting.co.za> |
2016-09-13 07:55:03 | vstinner | link | issue27322 messages |
2016-09-13 07:55:03 | vstinner | create | |
|