def test_experiment_equality(experiment_setup):
    (expected_variables, tags, tmpdir) = experiment_setup
    exp1 = Experiment('exp1', variables=expected_variables, code_dir=str(tmpdir), tags=tags)
    exp2 = Experiment('exp1', variables=expected_variables, code_dir=str(tmpdir), tags=tags)
    assert (exp1 == exp2)
    tags3 = (tags + ['third tag'])
    exp3 = Experiment('exp1', variables=expected_variables, code_dir=str(tmpdir), tags=tags3)
    assert (exp1 == exp3)
def test_experiment_equality(experiment_setup):
    (expected_variables, tags, tmpdir) = experiment_setup
    exp1 = Experiment('exp1', variables=expected_variables, code_dir=str(tmpdir), tags=tags)
    exp2 = Experiment('exp1', variables=expected_variables, code_dir=str(tmpdir), tags=tags)
    assert (exp1 == exp2)
    tags3 = (tags + ['third tag'])
    exp3 = Experiment('exp1', variables=expected_variables, code_dir=str(tmpdir), tags=tags3)
    assert (exp1 == exp3)