kumquat-buildroot/support/testing/tests/package/test_python_pybind.py
Arnout Vandecappelle (Essensium/Mind) 0233b84204 support/testing: tyest_python_pybind.py: fix flake8 errors
support/testing/tests/package/test_python_pybind.py:1:1: F401 'os' imported but unused
support/testing/tests/package/test_python_pybind.py:3:1: F401 'subprocess' imported but unused
support/testing/tests/package/test_python_pybind.py:6:1: E302 expected 2 blank lines, found 1
1     E302 expected 2 blank lines, found 1
2     F401 'os' imported but unused

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-01-08 09:15:36 +01:00

15 lines
478 B
Python

import infra
from tests.package.test_python import TestPythonPackageBase
class TestPythonPybind (TestPythonPackageBase):
__test__ = True
config = TestPythonPackageBase.config + \
"""
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON_PYBIND_EXAMPLE=y
"""
sample_scripts = ["tests/package/sample_python_pybind.py"]
# ship examples macro & installs it to host
br2_external = [infra.filepath("tests/package/br2-external/python-pybind")]