diff options
Diffstat (limited to 'Lib/test/test_unicode.py')
-rw-r--r-- | Lib/test/test_unicode.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py index c2a31c7..429b673 100644 --- a/Lib/test/test_unicode.py +++ b/Lib/test/test_unicode.py @@ -414,6 +414,12 @@ 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) +vereq((u'ab' in u'abcd'), True) +vereq(('ab' in u'abc'), True) +vereq((u'ab' in 'abc'), True) +vereq((u'ab' in (1,None,u'ab')), True) +vereq((u'' in u'abc'), True) +vereq(('' in u'abc'), True) print 'done.' # Formatting: |