def test_stats():
    stats = Statistics(name='foo', filename='bar', lineno=42)
    assert stats.regular_name == 'foo'
    stats.module = 'baz'
    assert stats.regular_name == 'baz:foo'
    assert stats.deep_time_per_call == 0
    assert stats.own_time_per_call != 0
    stats.deep_time = 128
    stats.own_hits = 4
    assert stats.deep_time_per_call == 32
    assert stats.own_time_per_call == 32
    assert len(stats) == 0
    assert not list(stats)
dataset/ETHPy150Open what-studio/profiling/test/test_stats.py/test_stats/operator `==` -> `!=`