From 502b8576c44e18b7721c042d9fc72dbba5e08473 Mon Sep 17 00:00:00 2001 From: Asaf Kahlon Date: Mon, 27 Sep 2021 09:39:33 +0300 Subject: [PATCH] support/testing: remove python2 tests for automat and attrs Since commit ef5c8be25ab373866b5a92d3d9f31bf36b7a8abf those packages depend on python3. Hence, we can remove the python2 tests. Signed-off-by: Asaf Kahlon --- support/testing/tests/package/test_python_attrs.py | 10 ---------- support/testing/tests/package/test_python_automat.py | 11 ----------- 2 files changed, 21 deletions(-) diff --git a/support/testing/tests/package/test_python_attrs.py b/support/testing/tests/package/test_python_attrs.py index 9f597034ae..38831b24ef 100644 --- a/support/testing/tests/package/test_python_attrs.py +++ b/support/testing/tests/package/test_python_attrs.py @@ -1,16 +1,6 @@ from tests.package.test_python import TestPythonPackageBase -class TestPythonPy2Attrs(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_ATTRS=y - """ - sample_scripts = ["tests/package/sample_python_attrs.py"] - - class TestPythonPy3Attrs(TestPythonPackageBase): __test__ = True config = TestPythonPackageBase.config + \ diff --git a/support/testing/tests/package/test_python_automat.py b/support/testing/tests/package/test_python_automat.py index 00a7ed6526..6ee4ea7618 100644 --- a/support/testing/tests/package/test_python_automat.py +++ b/support/testing/tests/package/test_python_automat.py @@ -1,17 +1,6 @@ from tests.package.test_python import TestPythonPackageBase -class TestPythonPy2Automat(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_AUTOMAT=y - """ - sample_scripts = ["tests/package/sample_python_automat.py"] - timeout = 30 - - class TestPythonPy3Automat(TestPythonPackageBase): __test__ = True config = TestPythonPackageBase.config + \