mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
assimp.py: fix AttributeError in tearDownClass
When running this test case, we will see the following error. AttributeError: type object 'BuildAssimp' has no attribute 'project' assimp.py test case does not make use of SDKBuildProject, so remove the import statement and the tearDownClass. (From OE-Core rev: ca0a40a852abed981d54503ef2d86708471c821e) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import os, subprocess, unittest
|
||||
import bb
|
||||
from oeqa.sdk.case import OESDKTestCase
|
||||
from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject
|
||||
|
||||
from oeqa.utils.subprocesstweak import errors_have_output
|
||||
errors_have_output()
|
||||
@@ -62,7 +61,3 @@ class BuildAssimp(OESDKTestCase):
|
||||
self.assertEqual(machine, elf.machine())
|
||||
self.assertEqual(bits, elf.abiSize())
|
||||
self.assertEqual(endian, elf.isLittleEndian())
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(self):
|
||||
self.project.clean()
|
||||
|
||||
Reference in New Issue
Block a user