def test_hash_evoked():
    ave = read_evokeds(fname, 0)
    ave_2 = read_evokeds(fname, 0)
    assert_equal(hash(ave), hash(ave_2))
    # do NOT use assert_equal here, failing output is terrible
    assert_true(pickle.dumps(ave) == pickle.dumps(ave_2))

    ave_2.data[0, 0] -= 1
    assert_not_equal(hash(ave), hash(ave_2))
generates code based on templates and gen functions
dataset/ETHPy150Open mne-tools/mne-python/mne/tests/test_evoked.py/test_hash_evoked--crossover with--dataset/ETHPy150Open alehander42/pseudo/pseudo/code_generator.py/CodeGenerator.generate