Commit e0af317c authored by Robert Bradshaw's avatar Robert Bradshaw

Don't fail test on missing line profiler.

parent c3e04d0f
......@@ -27,6 +27,8 @@ try:
import line_profiler
except ImportError:
print "No line profiler, skipping test."
import sys
sys.exit(0)
profile = line_profiler.LineProfiler(collatz)
profile.runcall(collatz, 19)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment