'A column with only NaN-s used to throw an error
(ZeroDivisionError) when loaded into widget.
GH-2046'

def test_nan_column(self):

    table = Table(Domain([ContinuousVariable('a'), ContinuousVariable('b'), ContinuousVariable('c')]), np.array([[0, np.NaN, 0], [0, np.NaN, 0], [0, np.NaN, 0]]))
    self.send_signal(self.widget.Inputs.data, table)
