summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ucn.py
Commit message (Collapse)AuthorAgeFilesLines
* Combine the functionality of test_support.run_unittest()Walter Dörwald2003-05-011-3/+1
| | | | | | | | | | and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807.
* Whitespace normalization.Tim Peters2003-03-071-1/+1
|
* Port test_ucn and test_unicodedata to PyUnit. Add a few tests for errorWalter Dörwald2003-02-261-141/+138
| | | | | cases increasing coverage in unicodedata.c from 87% to 95% (when the normalization tests are run). From SF patch #662807.
* Implement names for CJK unified ideographs. Add name to KeyError output.Martin v. Löwis2002-11-231-4/+16
| | | | Verify that the lookup for an existing name succeeds.
* Add test cases for Hangul syllables. Update output.Martin v. Löwis2002-11-231-0/+24
|
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* Move uchhash functionality into unicodedata (after the recentFredrik Lundh2001-01-241-7/+8
| | | | | crop of changes, the files are small enough to do this). Also adds "name" and "lookup" functions to unicodedata.
* Better error message if ucnhash cannot be found (obscure attributeFredrik Lundh2001-01-201-0/+9
| | | | | | errors aren't that helpful), or doesn't contain what's expected from it. Also tweaked the test script so it compiles even if ucnhash is missing.
* improved the ucnhash test a bitFredrik Lundh2001-01-191-3/+8
|
* added "getcode" and "getname" methods to the ucnhash module (they'reFredrik Lundh2001-01-191-0/+17
| | | | | probably more useful for the test code than for any applications, but one never knows...)
* refactored the unicodeobject/ucnhash interface, to hide theFredrik Lundh2001-01-191-8/+6
| | | | | | | implementation details inside the ucnhash module. also cleaned up the unicode copyright blurb a little; Secret Labs' internal revision history isn't that interesting...
* This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg2001-01-171-5/+7
| | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-231-14/+13
|
* New test for the ucnhash module.Marc-André Lemburg2000-06-301-0/+82