Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
a501c6b2
Commit
a501c6b2
authored
Jan 01, 2015
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
py3 test fixes
parent
e0af317c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/run/line_profile_test.srctree
tests/run/line_profile_test.srctree
+2
-2
No files found.
tests/run/line_profile_test.srctree
View file @
a501c6b2
...
...
@@ -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 ###########
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment