From 57a26d78b9570ec3f123981193625802e5175977 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Sun, 27 Dec 2020 20:34:43 +0100 Subject: [PATCH] Increase terminate timeout in NodalDGContext --- meshmode/interop/nodal_dg.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meshmode/interop/nodal_dg.py b/meshmode/interop/nodal_dg.py index 5f43732c..977721af 100644 --- a/meshmode/interop/nodal_dg.py +++ b/meshmode/interop/nodal_dg.py @@ -63,6 +63,9 @@ class NodalDGContext(object): return self def __exit__(self, exc_type, exc_val, exc_tb): + # Work around https://github.com/pexpect/pexpect/issues/462 + self.octave._engine.repl.delayafterterminate = 2 + self.octave.exit() REF_AXES = ["r", "s", "t"] -- GitLab