summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sax.py
Commit message (Collapse)AuthorAgeFilesLines
* Delete the items variable (and explain why).Michael W. Hudson2004-08-031-0/+4
|
* [Bug #962631] Fix typo reported by Bryan BlackburnAndrew M. Kuchling2004-06-011-1/+1
|
* commit the portion of PyXML patch #919008 that is relevant to theFred Drake2004-03-201-0/+35
| | | | | | | standard library: str() of xml.sax.SAXParseException should not fail if the line and/or column number returned by the locator are None (tests added)
* Add a test of interaction between & and extra replacements.Fred Drake2002-10-281-8/+13
| | | | | Remove extra noise from the output when there are no errors, and say more in the exception when there are errors.
* Patch #613256: Add nescape method to xml.sax.saxutils.Martin v. Löwis2002-10-261-1/+13
|
* Relax a test so it passes either with the standard library or PyXML.Fred Drake2002-09-121-1/+1
| | | | | | The original expected value is actually wrong, but we'll pick up the real fix and test when we refresh the xml package from PyXML before 2.3a1.
* Add encoding declaration.Martin v. Löwis2002-08-041-1/+1
|
* 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. :)
* SF patch #474590 -- RISC OS supportGuido van Rossum2001-10-241-7/+8
|
* Add a test that xml.sax.saxutils.XMLGenerator does the right thingFred Drake2001-08-071-0/+16
| | | | | | when quoting attribute values that contain single & double quotes. This provides the rest of the regression test for SF bug #440351.
* Added function xml.sax.saxutils.quoteattr().Fred Drake2001-07-191-1/+20
| | | | This closes SF bug #440351. It should not be moved to Python 2.1.1.
* Whitespace normalization. Leaving tokenize_tests.py alone for now.Tim Peters2001-01-181-4/+4
|
* 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.
* Update the code to better reflect recommended style:Fred Drake2000-12-121-5/+5
| | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
* Added a test case for the saxutils.prepare_input_source setSystemId bug.Lars Gustäbel2000-10-241-0/+12
|
* Added some more tests here and there.Lars Gustäbel2000-10-241-0/+84
|
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-231-17/+16
|
* Add a test case for reporting the file name, and for reporting an errorMartin v. Löwis2000-10-061-2/+33
| | | | for incomplete input.
* Add SAXReaderNotAvailable, and use it to distinguish between anMartin v. Löwis2000-10-061-1/+17
| | | | ImportError, and a missing driver.
* Support non-namespace elements in *ElementNS of XMLGenerator.Martin v. Löwis2000-10-031-1/+5
|
* Fixed misleading qname in test_xmlgen_ns (reported by loewis).Lars Gustäbel2000-09-271-2/+2
|
* Enabled EntityResolver test again now that pyexpat.c has been fixed.Lars Gustäbel2000-09-241-1/+0
|
* Use findfile to locate input and output files.Martin v. Löwis2000-09-241-7/+7
|
* Added EntityResolver and DTDHandler (patch 101631) with test cases.Lars Gustäbel2000-09-241-16/+34
|
* Added test cases for the InputSource class.Lars Gustäbel2000-09-241-1/+51
|
* Added test cases for the Attributes interface.Lars Gustäbel2000-09-241-0/+208
|
* Added first start on SAX 2.0 tests.Lars Gustäbel2000-09-241-0/+186