summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-02-04 19:47:20 +0100
committerMichał Górny <mgorny@gentoo.org>2022-02-09 09:43:51 +0100
commitbeda1fe93abc87691239919653283ab0c299e00b (patch)
tree264c573e678a424f952c89baba8c25ccc17e59a2 /eclass/tests/python-utils-r1.sh
parentpython-r1.eclass: Improve comment for USE-dep generation (diff)
downloadgentoo-beda1fe93abc87691239919653283ab0c299e00b.tar.gz
gentoo-beda1fe93abc87691239919653283ab0c299e00b.tar.bz2
gentoo-beda1fe93abc87691239919653283ab0c299e00b.zip
python-utils-r1.eclass: Remove python_is_python3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/tests/python-utils-r1.sh')
-rwxr-xr-xeclass/tests/python-utils-r1.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/eclass/tests/python-utils-r1.sh b/eclass/tests/python-utils-r1.sh
index 7ba4a864ff10..0244ce26ad0f 100755
--- a/eclass/tests/python-utils-r1.sh
+++ b/eclass/tests/python-utils-r1.sh
@@ -156,11 +156,6 @@ fi
test_var PYTHON_PKG_DEP pypy3 '*dev-python/pypy3*:0='
test_var PYTHON_SCRIPTDIR pypy3 /usr/lib/python-exec/pypy3
-test_is "python_is_python3 python2.7" 1
-test_is "python_is_python3 python3.2" 0
-test_is "python_is_python3 pypy" 1
-test_is "python_is_python3 pypy3" 0
-
# generic shebangs
test_fix_shebang '#!/usr/bin/python' python3.6 '#!/usr/bin/python3.6'
test_fix_shebang '#!/usr/bin/python' pypy3 '#!/usr/bin/pypy3'