[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:
@@ -51,7 +51,7 @@ def floats_list(shape, scale=1.0, rng=None, name=None):
|
||||
|
||||
@require_torch
|
||||
# Copied from transformers.tests.encodec.test_feature_extraction_dac.EncodecFeatureExtractionTester with Encodec->Dac
|
||||
class DacFeatureExtractionTester(unittest.TestCase):
|
||||
class DacFeatureExtractionTester:
|
||||
# Ignore copy
|
||||
def __init__(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user