mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Port test_unicode.py to PyUnit and add tests for error
cases and a few methods. This increases code coverage in Objects/unicodeobject.c from 81% to 85%. (From SF patch #662807)
This commit is contained in:
parent
919497ea74
commit
28256f276e
2 changed files with 938 additions and 771 deletions
|
@ -1,21 +0,0 @@
|
|||
test_unicode
|
||||
Testing Unicode comparisons... done.
|
||||
Testing Unicode contains method... done.
|
||||
Testing Unicode formatting strings... done.
|
||||
Testing builtin unicode()... done.
|
||||
Testing builtin codecs... done.
|
||||
Testing standard mapping codecs... 0-127... 128-255... done.
|
||||
Testing Unicode string concatenation... done.
|
||||
Testing Unicode printing... abc
|
||||
abc def
|
||||
abc def
|
||||
abc def
|
||||
abc
|
||||
|
||||
abc
|
||||
abc
|
||||
def
|
||||
|
||||
def
|
||||
|
||||
done.
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue