From 46cfa177aab23cd29c2c6507a9f6faa02c416919 Mon Sep 17 00:00:00 2001 From: Yingda Chen Date: Fri, 28 Oct 2022 09:34:20 +0800 Subject: [PATCH] [to #42322933]skip timeconsuming test --- tests/trainers/test_trainer_with_nlp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/trainers/test_trainer_with_nlp.py b/tests/trainers/test_trainer_with_nlp.py index 66aedfd8..d9d56b60 100644 --- a/tests/trainers/test_trainer_with_nlp.py +++ b/tests/trainers/test_trainer_with_nlp.py @@ -119,7 +119,7 @@ class TestTrainerWithNlp(unittest.TestCase): checkpoint_path=os.path.join(self.tmp_dir, 'epoch_10.pth')) self.assertTrue(Metrics.accuracy in eval_results) - @unittest.skipUnless(test_level() >= 2, 'skip test in current test level') + @unittest.skip('skip for now before test is re-configured') def test_trainer_with_configured_datasets(self): model_id = 'damo/nlp_structbert_sentence-similarity_chinese-base' cfg: Config = read_config(model_id)