[tests] fix "Tester object has no attribute '_testMethodName'" (#34910)
* add more cases * fix method not found in unittest Signed-off-by: Lin, Fanli <fanli.lin@intel.com> * fix more cases * add more models * add all * no unittest.case * remove for oneformer * fix style --------- Signed-off-by: Lin, Fanli <fanli.lin@intel.com>
This commit is contained in:
@@ -26,7 +26,7 @@ if is_bs4_available():
|
||||
from transformers import MarkupLMFeatureExtractor
|
||||
|
||||
|
||||
class MarkupLMFeatureExtractionTester(unittest.TestCase):
|
||||
class MarkupLMFeatureExtractionTester:
|
||||
def __init__(self, parent):
|
||||
self.parent = parent
|
||||
|
||||
|
||||
Reference in New Issue
Block a user