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

Py_UNICODE.
This commit is contained in:
Barry Warsaw 2002-08-06 19:03:56 +00:00
parent 6a043f3fe8
commit e06741704e

View File

@ -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: