summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_xmllib.py
Commit message (Collapse)AuthorAgeFilesLines
* Do not use the default namespace for attributes.Martin v. Löwis2004-05-021-0/+14
| | | | | Fixes http://bugs.debian.org/229885 Will backport to 2.3.
* 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. :)
* Tighten up some warning filters, and break some dependencies on theTim Peters2002-04-161-1/+1
| | | | order in which the tests are normally run.
* It makes more sense to call resetwarnings() after every test runs thanTim Peters2002-04-161-2/+0
| | | | to keep doing that in every test that wants to filter a warning.
* Reduce the number of test-suite DeprecationWarnings; start addingTim Peters2002-04-151-1/+1
| | | | resetwarnings() calls too.
* Since xmllib is deprecated now, suppress the DeprecationWarning its testTim Peters2002-04-111-1/+5
| | | | module necessarily raises.
* Change the PyUnit-based tests to use the test_main() approach. ThisFred Drake2001-09-201-1/+6
| | | | | allows using the tests with unittest.py as a script. The tests will still run when run as a script themselves.
* Simple conversion to PyUnit -- this test really needs more work!Fred Drake2001-05-221-9/+14
|
* a bold attempt to fix things broken by MAL's verify patch: importFredrik Lundh2001-01-171-1/+1
| | | | 'verify' iff it's used by a test module...
* This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg2001-01-171-1/+1
| | | | | | | 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-3/+3
|
* New version of xmllib from Sjoerd.Guido van Rossum1998-01-291-0/+25
The main incompatibility is that the error reporting method is now called as parser.syntax_error(msg) instead of parser.syntax_error(lineno, msg) This new version also has some code to deal with the <?xml?> and <!DOCTYPE> tags at the start of an XML document. The documentation has been updated, and a small test module has been created.