PYTHONPATH not passed through to regressiontests/admin_scripts/AdminScriptTestCase.run_test()
|Reported by:||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
In my set up, on shared hosting, Django depends on various packages in my ~/site-python directory, which I include in my PYTHONPATH
When regressiontests/admin_scripts starts a subprocess with AdminScriptTestCase.run_test(), it doesn't pass PYTHONPATH through, so those subprocesses fail when they hit one of these Django dependencies (e.g. psycopg2).
I attach a patch which passes PYTHONPATH through correctly.
Change History (17)
comment:1 Changed 8 years ago by
|Patch needs improvement:||unset|