def METHOD_NAME(self) -> None:
    self.cwd = os.getcwd()
    self.tempdir = TemporaryDirectory()
    os.chdir(self.tempdir.name)
    # Hack to ensure each test gets fresh instance if needed
    # We have a dedicated test to ensure we're creating a singleton
    Singleton._instances = {}