Commit a501c6b2 authored by Stefan Behnel's avatar Stefan Behnel

py3 test fixes

parent e0af317c
......@@ -26,7 +26,7 @@ from collatz import collatz
try:
import line_profiler
except ImportError:
print "No line profiler, skipping test."
print("No line profiler, skipping test.")
import sys
sys.exit(0)
......@@ -41,7 +41,7 @@ for key, timings in stats.timings.items():
assert len(timings) > 0
break
else:
raise ValueError, "No stats for collatz."
raise ValueError("No stats for collatz.")
######## collatz.pyx ###########
......
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