Commit 503f828f authored by Stefan Behnel's avatar Stefan Behnel

Move a Py3.6-only test into a suitable pure-Python test file.

parent 110feebd
......@@ -152,6 +152,15 @@ def iter_declared_dict_arg(d : Dict[float, float]):
return s
def literal_list_ptr():
"""
>>> literal_list_ptr()
4
"""
a : cython.p_int = [1, 2, 3, 4, 5]
return a[3]
_WARNINGS = """
37:19: Unknown type declaration in annotation, ignoring
38:12: Unknown type declaration in annotation, ignoring
......
......@@ -85,12 +85,3 @@ def call_cdef_inline(x):
"""
ret = cdef_inline(x)
return ret, cython.typeof(ret)
def literal_list_ptr():
"""
>>> literal_list_ptr()
4
"""
a : cython.p_int = [1, 2, 3, 4, 5]
return a[3]
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