summaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'run_tests.py')
-rw-r--r--run_tests.py5
1 files changed, 5 insertions, 0 deletions
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