Skip to contentSkip to conversation

support/testing: remove python2 tests for automat and attrs

PATCH New Asaf Kahlon 1 participant 1 message Sep 27, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 support/testing: remove python2 tests for automat and attrs

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

---
 support/testing/tests/package/test_python_attrs.py   | 10 ----------
 support/testing/tests/package/test_python_automat.py | 11 -----------
 2 files changed, 21 deletions(-)
support/testing/tests/package/test_python_attrs.py +0 -10
index 9f597034ae..38831b24ef 100644
@@ -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 + \
support/testing/tests/package/test_python_automat.py +0 -11
index 00a7ed6526..6ee4ea7618 100644
@@ -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 + \
Signature · 6 lines
2.30.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot