Commit 7feba01f authored by Stefan Behnel's avatar Stefan Behnel

make test work in narrow Python builds

parent d7ee877a
...@@ -349,9 +349,9 @@ def uchar_in(Py_UCS4 uchar, unicode ustring): ...@@ -349,9 +349,9 @@ def uchar_in(Py_UCS4 uchar, unicode ustring):
def uchar_lookup_in_dict(obj, Py_UCS4 uchar): def uchar_lookup_in_dict(obj, Py_UCS4 uchar):
""" """
>>> d = {high_uchar: 12345, u0: 0, u1: 1, u_A: 2} >>> d = {u_KLINGON: 1234, u0: 0, u1: 1, u_A: 2}
>>> uchar_lookup_in_dict(d, high_uchar) >>> uchar_lookup_in_dict(d, u_KLINGON)
(12345, 12345) (1234, 1234)
>>> uchar_lookup_in_dict(d, u_A) >>> uchar_lookup_in_dict(d, u_A)
(2, 2) (2, 2)
>>> uchar_lookup_in_dict(d, u0) >>> uchar_lookup_in_dict(d, u0)
......
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