mirror of
https://github.com/python/cpython.git
synced 2024-11-25 19:03:49 +08:00
Added a test for PyUnicode_Contains() taking into account the width of
Py_UNICODE.
This commit is contained in:
parent
6a043f3fe8
commit
e06741704e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user