Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 20 lines (14 sloc) 0.574 kB
c8665b0 @robertwb Add tags to test files.
robertwb authored
1 # mode: error
2
006262f new error test case for string to int conversion
Stefan Behnel authored
3 cdef int c1 = "t" # works
4 cdef int c2 = "te" # fails
5 cdef int cx = "test" # fails
6
5530fe1 almost complete refactoring of constant allocation to move it into th…
Stefan Behnel authored
7 cdef int x1 = "\xFF" # works
04f8cc6 split BytesNode, UnicodeNode and StringNode
Stefan Behnel authored
8 cdef int x2 = "\u0FFF" # fails
5530fe1 almost complete refactoring of constant allocation to move it into th…
Stefan Behnel authored
9
dc320e0 native support for Py_UNICODE, coercion between 1-character unicode l…
Stefan Behnel authored
10 cdef Py_UNICODE u1 = u"\xFF" # works
11 cdef int u3 = u"\xFF" # fails
5530fe1 almost complete refactoring of constant allocation to move it into th…
Stefan Behnel authored
12
dc320e0 native support for Py_UNICODE, coercion between 1-character unicode l…
Stefan Behnel authored
13
14 _ERRORS = """
c0c11c6 @robertwb Fix error line numbers (due to tag additions).
robertwb authored
15 4:14: Only single-character string literals can be coerced into ints.
16 5:14: Only single-character string literals can be coerced into ints.
17 8:15: Only single-character string literals can be coerced into ints.
18 11:14: Unicode literals do not support coercion to C types other than Py_UNICODE or Py_UCS4.
006262f new error test case for string to int conversion
Stefan Behnel authored
19 """
Something went wrong with that request. Please try again.