def __init__(self, path: str | Path):
        """Prepare contextmanager.

        Args:
            path: the path to change to
        """
        self.path = path
        self._old_cwd = []
Prepare contextmanager.

        Args:
            path: the path to change to
        
reflex/testing.py