Skip to content

Commit

Permalink
removed unneeded test
Browse files Browse the repository at this point in the history
  • Loading branch information
omry committed Sep 22, 2020
1 parent 990bfd2 commit 94bbaaa
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions hydra/test_utils/launcher_common_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,33 +244,6 @@ def my_custom_resolver() -> Any:

@pytest.mark.usefixtures("hydra_restore_singletons")
class BatchedSweeperTestSuite:
def test_multirun_float_parsing(
self,
hydra_sweep_runner: TSweepRunner,
launcher_name: str,
overrides: List[str],
tmpdir: Path,
) -> None:
job_overrides = ["+x=1.0e-5"]
hydra_overrides = ["hydra/launcher=" + launcher_name]

def task_func(cfg: DictConfig) -> Any:
assert type(cfg.x) == float

overrides = overrides + job_overrides
overrides.extend(hydra_overrides)
sweep = hydra_sweep_runner(
calling_file=None,
calling_module="hydra.test_utils.a_module",
task_function=task_func,
config_path="configs",
config_name="compose.yaml",
overrides=overrides,
temp_dir=tmpdir,
)
with sweep:
pass

def test_sweep_2_jobs_2_batches(
self,
hydra_sweep_runner: TSweepRunner,
Expand Down

0 comments on commit 94bbaaa

Please sign in to comment.