def test_deprecateStatinfoSetterSets(self):
        """
        Setting L{twisted.python.filepath.FilePath.statinfo} changes the value
        of _statinfo such that getting statinfo again returns the new value.
        """
        fp = filepath.FilePath(self.mktemp())
        fp.statinfo = None
        self.assertIsNone(fp.statinfo)

        Setting L{twisted.python.filepath.FilePath.statinfo} changes the value
        of _statinfo such that getting statinfo again returns the new value.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_paths.py