(self)
| 593 | |
| 594 | class TestMmapedDict(unittest.TestCase): |
| 595 | def setUp(self): |
| 596 | fd, self.tempfile = tempfile.mkstemp() |
| 597 | os.close(fd) |
| 598 | self.d = mmap_dict.MmapedDict(self.tempfile) |
| 599 | |
| 600 | def test_process_restart(self): |
| 601 | self.d.write_value('abc', 123.0, 987.0) |