

def test_subset_remove_message(self):
    self.collect.append(self.data)
    self.client.add_layer(self.data)
    sub = self.data.new_subset()
    assert self.client.layer_present(self)
    sub.delete()
    assert (not self.client.layer_present(sub))

dataset/ETHPy150Open glue-viz/glue/glue/viewers/histogram/tests/test_client.py TestCommunication.test_subset_remove_message/VarMisuse@49/56 `sub`->`self`