summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_functional/profile_rec.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_functional/profile_rec.py b/tests/test_functional/profile_rec.py
index 78af6d8..28476d9 100644
--- a/tests/test_functional/profile_rec.py
+++ b/tests/test_functional/profile_rec.py
@@ -1,4 +1,7 @@
-import profile
+try:
+ import profile
+except ImportError:
+ pass
import pstats
import tempfile
import os