Commit 24f79526 authored by Stefan Behnel's avatar Stefan Behnel

explicitly test for new warnings in test runner

parent f5f42c14
This diff is collapsed.
# -*- coding: iso-8859-1 -*-
# mode: run
# tag: warnings
cimport cython
......@@ -360,3 +363,8 @@ def uchar_lookup_in_dict(obj, Py_UCS4 uchar):
dval = d[uchar]
objval = obj[uchar]
return dval, objval
_WARNINGS = """
364:16: Item lookup of unicode character codes now always converts to a Unicode string. Use an explicit C integer cast to get back the previous integer lookup behaviour.
"""
# -*- coding: iso-8859-1 -*-
# mode: run
# tag: warnings
cimport cython
......@@ -247,3 +249,8 @@ def uchar_lookup_in_dict(obj, Py_UNICODE uchar):
dval = d[uchar]
objval = obj[uchar]
return dval, objval
_WARNINGS = """
250:16: Item lookup of unicode character codes now always converts to a Unicode string. Use an explicit C integer cast to get back the previous integer lookup behaviour.
"""
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