From b5bfc11dece0d7cd0f32454a6a215896ae812cb6 Mon Sep 17 00:00:00 2001 From: suluyan Date: Thu, 12 Dec 2024 16:04:46 +0800 Subject: [PATCH] fix lint --- tests/pipelines/test_fill_mask.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/pipelines/test_fill_mask.py b/tests/pipelines/test_fill_mask.py index efd2f403..1e757e09 100644 --- a/tests/pipelines/test_fill_mask.py +++ b/tests/pipelines/test_fill_mask.py @@ -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]', '') - 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):