Commit 450e56ea authored by Stefan Behnel's avatar Stefan Behnel

Py3 test fix

parent 68db9516
cimport cython cimport cython
uspace = u' '
ustring_with_a = u'abcdefg' ustring_with_a = u'abcdefg'
ustring_without_a = u'bcdefg' ustring_without_a = u'bcdefg'
@cython.test_fail_if_path_exists('//SimpleCallNode') @cython.test_fail_if_path_exists('//SimpleCallNode')
def ord_Py_UNICODE(unicode s): def ord_Py_UNICODE(unicode s):
""" """
>>> ord_Py_UNICODE(u' ') >>> ord_Py_UNICODE(uspace)
32 32
""" """
cdef Py_UNICODE u cdef Py_UNICODE u
......
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