commit | e06741704eeb76325717625fdc3c74f6acc815fc | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Tue Aug 06 19:03:56 2002 +0000 |
committer | Barry Warsaw <barry@python.org> | Tue Aug 06 19:03:56 2002 +0000 |
tree | e85f69ed267a8c00ee49aadec23d5472c08cc5ed | |
parent | 6a043f3fe8394fe8f8178df313ccf7af69ba50b9 [diff] [blame] |
Added a test for PyUnicode_Contains() taking into account the width of Py_UNICODE.
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py index f38467a..c2a31c7 100644 --- a/Lib/test/test_unicode.py +++ b/Lib/test/test_unicode.py
@@ -413,6 +413,7 @@ 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: