diff options
author | Ben Bangert <ben@groovie.org> | 2012-03-13 10:50:53 -0700 |
---|---|---|
committer | Ben Bangert <ben@groovie.org> | 2012-03-13 10:50:53 -0700 |
commit | 5aefc9bce70aa9f30bb7775bacd761b27630d5d2 (patch) | |
tree | 3d52de45431c7fac7f7749589974db81ea530e89 /tests | |
parent | 1dd6eff15e18efd04d2a03ad170048f30ad625c2 (diff) | |
download | routes-5aefc9bce70aa9f30bb7775bacd761b27630d5d2.tar.gz |
handle missing profile
--HG--
branch : trunk
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_functional/profile_rec.py | 5 |
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 |