def test_hash():
    stats1 = Statistics(name='foo', filename='bar', lineno=42)
    stats2 = Statistics(name='baz', filename='bar', lineno=89)
    stats_dics = {stats1: 1, stats2: 2}
    assert stats_dics[stats1] is 1
    assert stats_dics[stats2] == 2
dataset/ETHPy150Open what-studio/profiling/test/test_stats.py/test_hash/operator `==` -> `is`