class TestPythonBase(infra.basetest.BRTest):
config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
-"""
-BR2_TARGET_ROOTFS_CPIO=y
-# BR2_TARGET_ROOTFS_TAR is not set
-"""
+ """
+ BR2_TARGET_ROOTFS_CPIO=y
+ # BR2_TARGET_ROOTFS_TAR is not set
+ """
interpreter = "python"
def login(self):
class TestPython2(TestPythonBase):
config = TestPythonBase.config + \
-"""
-BR2_PACKAGE_PYTHON=y
-"""
+ """
+ BR2_PACKAGE_PYTHON=y
+ """
def test_run(self):
self.login()
self.version_test("Python 2")
class TestPython3(TestPythonBase):
config = TestPythonBase.config + \
-"""
-BR2_PACKAGE_PYTHON3=y
-"""
+ """
+ BR2_PACKAGE_PYTHON3=y
+ """
def test_run(self):
self.login()
self.version_test("Python 3")