[Buildroot] [git commit] support/testing: remove python2 tests for automat and attrs

Arnout Vandecappelle (Essensium/Mind) arnout at mind.be
Mon Sep 27 14:34:22 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=502b8576c44e18b7721c042d9fc72dbba5e08473
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Since commit ef5c8be25ab373866b5a92d3d9f31bf36b7a8abf those packages
depend on python3. Hence, we can remove the python2 tests.

Signed-off-by: Asaf Kahlon <asafka7 at gmail.com>
---
 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 + \


More information about the buildroot mailing list