

def test_groupdisposable_contains():
    d1 = Disposable.empty()
    d2 = Disposable.empty()
    g = CompositeDisposable(d1, d2)
    assert (g.length == 2)
    assert g.contains(g)
    assert g.contains(d2)

dataset/ETHPy150Open ReactiveX/RxPY/tests/test_disposables/test_disposable.py test_groupdisposable_contains/VarMisuse@48/58 `d1`->`g`