From e6cb08c88404d5ebbceaaee38009742f6325158c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 8 Sep 2010 11:54:26 -0700 Subject: Add a note about PORTAGE_PYM_PATH in LazyImportPortageBaselineTestCase. --- pym/portage/tests/lazyimport/test_lazy_import_portage_baseline.py | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3-1-g7c22