[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:
@@ -53,7 +53,7 @@ def floats_list(shape, scale=1.0, rng=None, name=None):
|
||||
@require_torch
|
||||
@require_torchaudio
|
||||
# Copied from tests.models.whisper.test_feature_extraction_whisper.WhisperFeatureExtractionTester with Whisper->Clap
|
||||
class ClapFeatureExtractionTester(unittest.TestCase):
|
||||
class ClapFeatureExtractionTester:
|
||||
def __init__(
|
||||
self,
|
||||
parent,
|
||||
|
||||
Reference in New Issue
Block a user