def load(self):
        """(deprecated) return object unpickled from self.read()"""
        f = self.open("rb")
        try:
            import pickle

            return error.checked_call(pickle.load, f)
        finally:
            f.close()
(deprecated) return object unpickled from self.read()
src/_pytest/_py/path.py