summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/tests/ebuild/test_doebuild_spawn.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/tests/ebuild/test_doebuild_spawn.py b/pym/portage/tests/ebuild/test_doebuild_spawn.py
index dd0ddcbad..9882f2a03 100644
--- a/pym/portage/tests/ebuild/test_doebuild_spawn.py
+++ b/pym/portage/tests/ebuild/test_doebuild_spawn.py
@@ -1,6 +1,7 @@
# Copyright 2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+import sys
from portage import os
from portage import _shell_quote
from portage.const import EBUILD_SH_BINARY
@@ -24,6 +25,7 @@ class DoebuildSpawnTestCase(TestCase):
cpv = 'sys-apps/portage-2.1'
metadata = {}
settings.setcpv(cpv, mydb=metadata)
+ settings['PORTAGE_PYTHON'] = sys.executable
settings['PORTAGE_BUILDDIR'] = os.path.join(
settings['PORTAGE_TMPDIR'], cpv)
settings['T'] = os.path.join(