

def test_data_removal_removes_subsets(self):
    self.client.add_layer(self.data)
    self.client.remove_layer(self.data)
    self.data.new_subset()
    assert (len(self.data.subsets) > 0)
    for subset in subset.data.subsets:
        assert (not self.layer_present(subset))

dataset/ETHPy150Open glue-viz/glue/glue/viewers/histogram/tests/test_client.py TestHistogramClient.test_data_removal_removes_subsets/VarMisuse@57/69 `self`->`subset`