def METHOD_NAME(self, import_fixture):
    sampler, likelihood = import_fixture
    test_dir = "some_dir"
    os.mkdir(test_dir)
    sampler = DyPolyChordSampler(
        likelihood, prior_type="uniform", output_dir=test_dir
    )
    shutil.rmtree(test_dir, ignore_errors=True)
    try:
        sampler = DyPolyChordSampler(
            likelihood,
            prior_type="gaussian",
            prior_means=None,  # will raise an Error
            prior_sigmas=None,  # will raise an Error
            output_dir=None,
            remove_output_dir=True,
        )
    except Exception as e:
        assert isinstance(e, ValueError)
    try:
        sampler = DyPolyChordSampler(likelihood, prior_type="some_type")
    except Exception as e:
        assert isinstance(e, ValueError)