cdef b(a, b, c=1, d=2):
pass
-_ERRORS = """
+_ERRORS = u"""
2:5:Call with wrong number of arguments (expected at most 4, got 5)
"""
cimport e_pxdimpl_imported
-_ERRORS = """
-6:4: function definition not allowed here
+_ERRORS = u"""
+6:4: function definition not allowed here
18:4: function definition not allowed here
23:8: function definition not allowed here
"""
cdef int c2 = "te" # fails
cdef int cx = "test" # fails
-_ERRORS = """
+_ERRORS = u"""
2:14: Only coerce single-character ascii strings can be used as ints.
3:14: Only coerce single-character ascii strings can be used as ints.
"""
elif x == 4:
print 34
-_ERRORS = """
+_ERRORS = u"""
3:19: undeclared name not builtin: NONEXISTING
"""
Tr\8fs bien.
"""
-_ERRORS = """
+_ERRORS = u"""
0:0:Decoding error, missing or incorrect coding=<encoding-name> at top of source ('ascii' codec can't decode byte 0x8f in position 22: ordinal not in range(128))
"""
from __future__ import braces
-_ERRORS = """
+_ERRORS = u"""
1:23: not a chance
"""
def f():
a = <foao>True
-_ERRORS = """
+_ERRORS = u"""
2:9: 'foao' is not a type identifier
-"""
\ No newline at end of file
+"""
def test(i):
return _this_local_name_does_not_exist_
-_ERRORS = """
+_ERRORS = u"""
1:37:undeclared name not builtin: _this_global_name_does_not_exist_
4:43:undeclared name not builtin: _this_local_name_does_not_exist_
"""
cdef extern from *:
void foo(void)
-_ERRORS = """
+_ERRORS = u"""
2:13:Use spam() rather than spam(void) to declare a function with no arguments.
"""