From 9cb17e4063b2710e0fbfde944e8a26b4a4ae38e4 Mon Sep 17 00:00:00 2001 From: bd Date: Tue, 22 Jul 2025 02:59:28 -0600 Subject: Ensure yappi is installed before running the test suite --- run_tests.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/run_tests.py b/run_tests.py index 38fc6dc..ef9c2c2 100644 --- a/run_tests.py +++ b/run_tests.py @@ -1,4 +1,9 @@ #!/usr/bin/env python3 +try: + import yappi +except ImportError: + print("yappi is required to run the tests. Aborting.") + exit(0) import unittest import sys -- cgit v1.2.3