summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-09-04 14:00:43 +0000
committerMichał Górny <mgorny@gentoo.org>2014-09-04 14:00:43 +0000
commitd0310d687bced2cbe32e11d2aaa1867e54c05595 (patch)
tree30f81e8993bd1f949fe46b1e17b19a4a4201262d /eclass/tests
parentBump to EAPI=5 (diff)
downloadhistorical-d0310d687bced2cbe32e11d2aaa1867e54c05595.tar.gz
historical-d0310d687bced2cbe32e11d2aaa1867e54c05595.tar.bz2
historical-d0310d687bced2cbe32e11d2aaa1867e54c05595.zip
Fix tests for python_is_python3.
Diffstat (limited to 'eclass/tests')
-rwxr-xr-xeclass/tests/python-utils-r1.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/tests/python-utils-r1.sh b/eclass/tests/python-utils-r1.sh
index 258da789bef6..5128bf9c8f8b 100755
--- a/eclass/tests/python-utils-r1.sh
+++ b/eclass/tests/python-utils-r1.sh
@@ -87,10 +87,10 @@ test_var PYTHON_INCLUDEDIR pypy /usr/lib/pypy/include
test_var PYTHON_PKG_DEP pypy '*virtual/pypy*:0='
test_var PYTHON_SCRIPTDIR pypy /usr/lib/python-exec/pypy
-test_is "EPYTHON=python2.7 python_is_python3" 1
-test_is "EPYTHON=python3.2 python_is_python3" 0
-test_is "EPYTHON=jython2.7 python_is_python3" 1
-test_is "EPYTHON=pypy python_is_python3" 1
+test_is "python_is_python3 python2.7" 1
+test_is "python_is_python3 python3.2" 0
+test_is "python_is_python3 jython2.7" 1
+test_is "python_is_python3 pypy" 1
# generic shebangs
test_fix_shebang '#!/usr/bin/python' python2.7 '#!/usr/bin/python2.7'