summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sax.py
Commit message (Collapse)AuthorAgeFilesLines
* Name the main method correctly so the test is runNeal Norwitz2008-03-281-2/+2
|
* Whitespace normalization. Ugh, we really need to do this more often.Neal Norwitz2007-04-251-63/+63
| | | | You might want to review this change as it's my first time. Be gentle. :-)
* Consolidate patches #1690164, 1683397, and 1690169, all of which refactor ↵Collin Winter2007-03-281-687/+595
| | | | | | XML-related test suites. The patches are applied together because they use a common output/xmltests file. Thanks to Jerry Seutter for all three patches.
* Whitespace normalization.Tim Peters2007-03-121-1/+1
|
* Patch 1463026: Support default namespace in XMLGenerator.Martin v. Löwis2007-02-121-1/+38
| | | | Fixes #847665. Will backport.
* expunge the xmlcore changes:Fred Drake2006-07-291-13/+62
| | | | | | | | | | | | | | | | | | | 41667, 41668 - initial switch to xmlcore 47044 - mention of xmlcore in What's New 50687 - mention of xmlcore in the library reference re-apply xmlcore changes to xml: 41674 - line ending changes (re-applied manually), directory props 41677 - add cElementTree wrapper 41678 - PSF licensing for etree 41812 - whitespace normalization 42724 - fix svn:eol-style settings 43681, 43682 - remove Python version-compatibility cruft from minidom 46773 - fix encoding of \r\n\t in attr values in saxutils 47269 - added XMLParser alias for cElementTree compatibility additional tests were added in Lib/test/test_sax.py that failed with the xmlcore changes; these relate to SF bugs #1511497, #1513611
* [Bug #1472827] Make saxutils.XMLGenerator handle \r\n\t in attribute values ↵Andrew M. Kuchling2006-06-091-2/+5
| | | | by escaping them properly. 2.4 bugfix candidate.
* move the xml package implementation to xmlcore, and adjust the tests toFred Drake2005-12-141-13/+13
| | | | | test that package, not the xmlcore/PyXML switcheroo fiasco in the xml module/package
* 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