From e88a498c9c8f3dca5c67340710fc58a8780081de Mon Sep 17 00:00:00 2001 From: FrankLeeeee Date: Tue, 12 Apr 2022 10:35:31 +0800 Subject: [PATCH] [test] removed trivial outdated test --- tests/test_config/test_load_config.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/test_config/test_load_config.py b/tests/test_config/test_load_config.py index 5c341d3f1..235f95ad3 100644 --- a/tests/test_config/test_load_config.py +++ b/tests/test_config/test_load_config.py @@ -18,11 +18,3 @@ def test_load_config(): assert config.train_data.dataset, 'cannot access grandchild attribute' assert isinstance(config.train_data.dataset.transform_pipeline[0], dict), \ f'expected attribute transform_pipeline elements to be a dict, but found {type(config.train_data.dataset.transform_pipeline)}' - - -@pytest.mark.cpu -def test_load_ophooks(): - dict = {'type': 'MemTracerOpHook', 'warmup': 10, 'refreshrate': 20} - ophook = build_ophooks(dict) - assert ophook.refreshrate == 20 - assert ophook.warmup == 10