@pytest.fixture(autouse=True)
def jikken_experiment(experiment_setup):
    (expected_variables, tags, tmpdir) = experiment_setup
    repo_dir = str(tmpdir)
    file_name = os.path.join(repo_dir, 'new-file')
    r = git.Repo.init(repo_dir)
    open(file_name, 'wb').close()
    r.index.add([file_name])
    r.index.commit('initial commit')
    exp = Experiment(name='exp', variables=expected_variables, code_dir=repo_dir, tags=tags)
    return (exp, expected_variables, tags, tmpdir)
@pytest.fixture(autouse=True)
def jikken_experiment(experiment_setup):
    (expected_variables, tags, tmpdir) = experiment_setup
    repo_dir = str(tmpdir)
    file_name = os.path.join(repo_dir, 'new-file')
    r = git.Repo.init(repo_dir)
    open(file_name, 'wb').close()
    r.index.add([file_name])
    r.index.commit('initial commit')
    exp = Experiment(name='exp', variables=expected_variables, code_dir=repo_dir, tags=tags)
    return (exp, expected_variables, tags, tmpdir)