diff options
Diffstat (limited to 'pym/portage/tests/lazyimport/test_lazy_import_portage_baseline.py')
-rw-r--r-- | pym/portage/tests/lazyimport/test_lazy_import_portage_baseline.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/portage/tests/lazyimport/test_lazy_import_portage_baseline.py b/pym/portage/tests/lazyimport/test_lazy_import_portage_baseline.py index 15086ffbd..14ed3a1f8 100644 --- a/pym/portage/tests/lazyimport/test_lazy_import_portage_baseline.py +++ b/pym/portage/tests/lazyimport/test_lazy_import_portage_baseline.py @@ -45,6 +45,10 @@ sys.stdout.write(" ".join(k for k in sys.modules pythonpath = ':' + pythonpath pythonpath = PORTAGE_PYM_PATH + pythonpath env[pythonpath] = pythonpath + + # If python is patched to insert the path of the + # currently installed portage module into sys.path, + # then the above PYTHONPATH override doesn't help. env['PORTAGE_PYM_PATH'] = PORTAGE_PYM_PATH scheduler = PollScheduler().sched_iface |