Commit 70507406 authored by Robert Bradshaw's avatar Robert Bradshaw

Fix error tests.

parent f2de49fd
......@@ -56,6 +56,9 @@ class CompileError(PyrexError):
# see http://bugs.python.org/issue1692335
self.args = (position, message)
def __str__(self):
return self.message
class CompileWarning(PyrexWarning):
def __init__(self, position = None, message = ""):
......
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