From 7827c1c2d0e623b3d714e5ed91e4a87715d2fd29 Mon Sep 17 00:00:00 2001 From: David Rubinstein Date: Mon, 2 Oct 2023 14:38:09 -0400 Subject: [PATCH] Disable faulthandler during inference tests --- tests/test_inference.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_inference.py b/tests/test_inference.py index 02ce64ea..10b10abf 100644 --- a/tests/test_inference.py +++ b/tests/test_inference.py @@ -15,6 +15,7 @@ # See the License for the specific language governing permissions and # limitations under the License. +import faulthandler import os import pathlib import tempfile @@ -36,6 +37,8 @@ RESOURCES_PATH = pathlib.Path(__file__).parent / "resources" +faulthandler.disable() + class TestPredict(unittest.TestCase): def test_predict(self) -> None: