def METHOD_NAME(self):
    with open(os.devnull, 'w') as f:
        ftmp = tempfile.NamedTemporaryFile()
        dfobj = df.DF(mol)
        dfobj.auxmol = df.addons.make_auxmol(mol, 'weigend')
        dfobj.verbose = 5
        dfobj.stdout = f
        dfobj._cderi_to_save = ftmp.name
        dfobj._cderi = 'abc'
        dfobj.kernel()
        eri0 = dfobj.get_eri()
    dfobj = df.DF(mol)
    dfobj._cderi = ftmp.name
    eri1 = dfobj.get_eri()
    self.assertAlmostEqual(abs(eri0-eri1).max(), 0, 9)