def METHOD_NAME(self):
    """Test with NaN and inf in data set"""
    # Some NaNs and inf
    data = self._buildData(size=32)
    data[8, :, :] = numpy.nan
    data[16, :, :] = numpy.inf
    data[24, :, :] = - numpy.inf
    self.widget.addIsosurface(0.5, 'red')
    self.widget.setData(data, copy=True)
    self.qapp.processEvents()
    self.widget.setData(None)
    # All NaNs or inf
    data = numpy.empty((4, 4, 4), dtype=numpy.float32)
    for value in (numpy.nan, numpy.inf):
        with self.subTest(value=str(value)):
            data[:] = value
            self.widget.setData(data, copy=True)
            self.qapp.processEvents()