diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-11-24 20:01:52 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-11-24 20:01:52 +0100 |
commit | 0c533a1ece525ff7e010b92dd2423b49328e04ff (patch) | |
tree | 72033e5c801d6256bb77f86f15c67f7d14576e0f | |
parent | PythonCheck: remove obsolete pypy packages (diff) | |
download | pkgcheck-0c533a1ece525ff7e010b92dd2423b49328e04ff.tar.gz pkgcheck-0c533a1ece525ff7e010b92dd2423b49328e04ff.tar.bz2 pkgcheck-0c533a1ece525ff7e010b92dd2423b49328e04ff.zip |
PythonCheck: stop testing for pypy(2.7)
The eclasses no longer support the pypy target, so stop checking
for dev-python/pypy.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | src/pkgcheck/checks/python.py | 1 | ||||
-rw-r--r-- | tests/checks/test_python.py | 12 |
2 files changed, 0 insertions, 13 deletions
diff --git a/src/pkgcheck/checks/python.py b/src/pkgcheck/checks/python.py index bb4825e2..918b5d5b 100644 --- a/src/pkgcheck/checks/python.py +++ b/src/pkgcheck/checks/python.py @@ -20,7 +20,6 @@ ECLASSES = frozenset(['python-r1', 'python-single-r1', 'python-any-r1']) # NB: dev-java/jython omitted as not supported by the eclasses atm INTERPRETERS = frozenset([ 'dev-lang/python', - 'dev-python/pypy', 'dev-python/pypy3', ]) diff --git a/tests/checks/test_python.py b/tests/checks/test_python.py index 992b7dce..dd32147e 100644 --- a/tests/checks/test_python.py +++ b/tests/checks/test_python.py @@ -43,9 +43,6 @@ class TestPythonCheck(misc.ReportTestCase): self.check, self.mk_pkg(DEPEND='|| ( dev-lang/python:2.7 dev-lang/python:3.6 )')), python.MissingPythonEclass) - assert isinstance( - self.assertReport(self.check, self.mk_pkg(DEPEND='dev-python/pypy')), - python.MissingPythonEclass) def test_missing_eclass_bdepend(self): self.assertNoReport( @@ -70,9 +67,6 @@ class TestPythonCheck(misc.ReportTestCase): self.check, self.mk_pkg(BDEPEND='|| ( dev-lang/python:2.7 dev-lang/python:3.6 )')), python.MissingPythonEclass) - assert isinstance( - self.assertReport(self.check, self.mk_pkg(BDEPEND='dev-python/pypy')), - python.MissingPythonEclass) def test_missing_eclass_rdepend(self): self.assertNoReport( @@ -101,9 +95,6 @@ class TestPythonCheck(misc.ReportTestCase): self.check, self.mk_pkg(RDEPEND='|| ( dev-lang/python:2.7 dev-lang/python:3.6 )')), python.MissingPythonEclass) - assert isinstance( - self.assertReport(self.check, self.mk_pkg(RDEPEND='dev-python/pypy')), - python.MissingPythonEclass) def test_missing_eclass_pdepend(self): self.assertNoReport( @@ -131,9 +122,6 @@ class TestPythonCheck(misc.ReportTestCase): self.check, self.mk_pkg(PDEPEND='|| ( dev-lang/python:2.7 dev-lang/python:3.6 )')), python.MissingPythonEclass) - assert isinstance( - self.assertReport(self.check, self.mk_pkg(PDEPEND='dev-python/pypy')), - python.MissingPythonEclass) def test_valid_packages(self): self.assertNoReport( |