def test_double_invert_returns_original_query():
    q = query.Match(f=42)

    assert q == ~~q
dataset/ETHPy150Open elastic/elasticsearch-dsl-py/test_elasticsearch_dsl/test_query.py/test_double_invert_returns_original_query/original