[test] removed trivial outdated test

pull/728/head^2
FrankLeeeee 2022-04-12 10:35:31 +08:00 committed by Frank Lee
parent 62b4ce7326
commit e88a498c9c
1 changed files with 0 additions and 8 deletions

View File

@ -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