From: Zac Medico Date: Wed, 8 Sep 2010 18:54:26 +0000 (-0700) Subject: Add a note about PORTAGE_PYM_PATH in LazyImportPortageBaselineTestCase. X-Git-Tag: v2.2_rc78~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e6cb08c88404d5ebbceaaee38009742f6325158c;p=portage.git Add a note about PORTAGE_PYM_PATH in LazyImportPortageBaselineTestCase. --- 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