Home | History | Annotate | Download | only in test

Lines Matching refs:dircache

2   Test cases for the dircache module
8 dircache = import_module('dircache', deprecated=True)
37 entries = dircache.listdir(self.tempdir)
41 self.assertTrue(dircache.listdir(self.tempdir) is entries)
45 # That is, this test can't possibly work under Windows -- dircache
49 # Sadly, dircache has the same granularity as stat.mtime, and so
54 entries = dircache.listdir(self.tempdir)
56 self.assertTrue(dircache.listdir(self.tempdir) is entries)
59 self.assertRaises(OSError, dircache.listdir, self.tempdir+"_nonexistent")
65 dircache.annotate(self.tempdir, lst)
73 dircache.reset()