mirror of
https://github.com/modelscope/modelscope.git
synced 2026-02-24 12:10:09 +01:00
fix lint
This commit is contained in:
@@ -125,9 +125,8 @@ class FillMaskTest(unittest.TestCase):
|
||||
for language in ['zh', 'en']:
|
||||
ori_text = self.ori_texts[language]
|
||||
test_input = self.test_inputs[language].replace('[MASK]', '<mask>')
|
||||
print(
|
||||
f'\nori_text: {ori_text}\ninput: {test_input}\npipeline: '
|
||||
f'{pipeline_ins(test_input)}\n')
|
||||
print(f'\nori_text: {ori_text}\ninput: {test_input}\npipeline: '
|
||||
f'{pipeline_ins(test_input)}\n')
|
||||
|
||||
@unittest.skipUnless(test_level() >= 1, 'skip test in current test level')
|
||||
def test_run_with_model_name(self):
|
||||
|
||||
Reference in New Issue
Block a user