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:
Walter Dörwald 2003-01-19 16:59:20 +00:00
parent 919497ea74
commit 28256f276e
2 changed files with 938 additions and 771 deletions

View File

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