

def test_match_all_and_anything_is_anything():
    q = query.MatchAll()
    s = query.Match(f=42)
    assert ((q & s) == s)
    assert ((s & q) == q)

dataset/ETHPy150Open elastic/elasticsearch-dsl-py/test_elasticsearch_dsl/test_query.py test_match_all_and_anything_is_anything/VarMisuse@47/58 `s`->`q`