From e52161fc16c15d5ec1f3e5e51c03e333da550049 Mon Sep 17 00:00:00 2001 From: German <28149841+germa89@users.noreply.github.com> Date: Wed, 31 Jul 2024 12:32:53 +0200 Subject: [PATCH] fix: test --- src/ansys/mapdl/core/mapdl_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansys/mapdl/core/mapdl_core.py b/src/ansys/mapdl/core/mapdl_core.py index 21821ca817..e248e5b311 100644 --- a/src/ansys/mapdl/core/mapdl_core.py +++ b/src/ansys/mapdl/core/mapdl_core.py @@ -1454,7 +1454,7 @@ def __enter__(self): def __exit__(self, *args): """Restore the original routine.""" self._parent()._log.debug(f"Restoring routine '{self._cached_routine}'") - self._mapdl._resume_routine() + self._parent()._resume_routine() @property def _cached_routine(self):