def test_existsCache(self):
        """
        Check that C{filepath.FilePath.exists} correctly restat the object if
        an operation has occurred in the mean time.
        """
        fp = filepath.FilePath(self.mktemp())
        self.assertFalse(fp.exists())

        fp.makedirs()
        self.assertTrue(fp.exists())

        Check that C{filepath.FilePath.exists} correctly restat the object if
        an operation has occurred in the mean time.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_paths.py