Commit ea7c5aa1 authored by Barry Warsaw's avatar Barry Warsaw

Added a test for PyUnicode_Contains() taking into account the width of

Py_UNICODE.
parent 172c3650
......@@ -413,6 +413,7 @@ vereq(('a' in (1,None,'a')), True)
vereq(('a' in (1,None,u'a')), True)
vereq(('a' in ('x',1,u'y')), False)
vereq(('a' in ('x',1,None)), False)
vereq(u'abcd' in u'abcxxxx', False)
print 'done.'
# Formatting:
......
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