def METHOD_NAME(self):
    f = dbm.open(_fname, 'c')
    self.assertEqual(list(f.keys()), [])
    for key in self._dict:
        f[key.encode("ascii")] = self._dict[key]
    self.read_helper(f)
    f.close()