def test_remove_broadcast(self):
        self.dc.append(self.data)
        self.dc.remove(self.data)
        msg = self.log.messages[-1]
        assert msg.sender == self.dc
        assert isinstance(msg, DataCollectionDeleteMessage)
        assert msg.data is self.data
Tests if formatting works ok.
dataset/ETHPy150Open glue-viz/glue/glue/core/tests/test_data_collection.py/TestDataCollection.test_remove_broadcast--crossover with--dataset/ETHPy150Open enthought/mayavi/tvtk/tests/test_indenter.py/TestIndent.test_format