1from tests.package.test_python import TestPythonPackageBase 2 3 4class TestPythonPy2Can(TestPythonPackageBase): 5 __test__ = True 6 config = TestPythonPackageBase.config + \ 7 """ 8 BR2_PACKAGE_PYTHON=y 9 BR2_PACKAGE_PYTHON_CAN=y 10 """ 11 sample_scripts = ["tests/package/sample_python_can.py"] 12 timeout = 40 13 14 15class TestPythonPy3Can(TestPythonPackageBase): 16 __test__ = True 17 config = TestPythonPackageBase.config + \ 18 """ 19 BR2_PACKAGE_PYTHON3=y 20 BR2_PACKAGE_PYTHON_CAN=y 21 """ 22 sample_scripts = ["tests/package/sample_python_can.py"] 23 timeout = 40 24