'Check if error message appears and then disappears when
data is removed from input'

def test_error_message(self):

    data = self.data.copy()
    data.X[:, 0] = np.nan
    self.send_signal(self.widget.Inputs.data, data)
    self.assertTrue(self.widget.Warning.missing_coords.is_shown())
    self.send_signal(self.widget.Inputs.data, None)
    self.assertFalse(self.widget.Warning.missing_coords.is_shown())
