diff --git a/test/test_hyper.py b/test/test_hyper.py index 3213bc7b..b9efccbf 100644 --- a/test/test_hyper.py +++ b/test/test_hyper.py @@ -1,7 +1,8 @@ from kernel_tuner.hyper import tune_hyper_params -from .test_runners import cache_filename, env # noqa: F401 from .context import skip_if_no_methodology +from .test_runners import cache_filename, env # noqa: F401 + @skip_if_no_methodology def test_hyper(env): @@ -14,6 +15,5 @@ def test_hyper(env): target_strategy = "genetic_algorithm" - result = tune_hyper_params(target_strategy, hyper_params, *env, verbose=True, cache=cache_filename) + result = tune_hyper_params(target_strategy, hyper_params, verbose=True, cache=cache_filename) assert len(result) > 0 -