'load the saved module and verify the data
This tries several ways of comparing the saved and the attached data,
but might not work for all possible data structures.
Returns
all_correct : bool
true if no differences are found, for floating point numbers
rtol=1e-16, atol=1e-16 is used to determine equality (allclose)
correctli : list
list of attribute names that compare as equal
incorrectli : list
list of attribute names that did not compare as equal, either
because they differ or because the comparison does not handle the
data structure correctly'

def verify(self):

    module = __import__(self._filename.replace('.py', ''))
    if (not self._useinstance):
        raise NotImplementedError('currently    only    implemented    whenuseinstance    is    true')
    data = getattr(module, self.name)
    correctli = []
    incorrectli = []
    for d in self._what:
        self_item = getattr(data, d)
        saved_item = getattr(data, d)
        correct = np.all((self.item == saved_item))
        if ((not correct) and (not (self.item.dtype == np.dtype('object')))):
            correct = np.allclose(self_item, saved_item, rtol=1e-16, atol=1e-16)
            if (not correct):
                import warnings
                warnings.warn(('inexact    precision    in    ' + d), RuntimeWarning)
        if (not correct):
            correlem = [np.all((data[d].item()[k] == getattr(testsave.var_results, d).item()[k])) for k in iterkeys(data[d].item())]
            if (not correlem):
                incorrectli.append(d)
        correctli.append(d)
    return ((len(incorrectli) == 0), correctli, incorrectli)
