summaryrefslogtreecommitdiff
path: root/src/lxml/tests/test_htmlparser.py
Commit message (Collapse)AuthorAgeFilesLines
* fix corner case where name of HTML root node was not put into parser dictStefan Behnel2014-01-311-2/+19
|
* fix up tag dict usage also for the feed parserStefan Behnel2014-01-311-4/+31
|
* add tests for non-BMP Unicode string parsingStefan Behnel2014-01-021-0/+11
|
* fix and extend Unicode HTML parsing testStefan Behnel2014-01-021-5/+10
|
* fix crash due to missing xmlDict reference count in HTML iterparse parserStefan Behnel2013-12-201-1/+22
|
* implement recover mode for pull parsers and iterparseStefan Behnel2013-12-141-2/+2
|
* remove 'recover' option from iterparse() and disable it in the underlying ↵Stefan Behnel2013-12-131-2/+2
| | | | parser (doesn't currently work correctly)
* add 'recover' option to iterparseStefan Behnel2013-12-131-0/+26
|
* replace test usages of assert_() by assertTrue() to fix Py3 deprecation warningStefan Behnel2012-11-291-3/+3
|
* replace usages of assertEquals() by assertEqual() to fix Py3 deprecation warningStefan Behnel2012-11-291-25/+25
|
* Merge pull request #46 from SimonSapin/external-cssselectscoder2012-04-211-1/+1
|\ | | | | External cssselect
| * Shrink the css testsSimon Sapin2012-04-201-1/+1
| | | | | | | | | | No need to duplicate the tests that are now in cssselect. Now test_css.py only tests what is specific to lxml.
* | merged 2.3 branch into masterStefan Behnel2012-04-201-0/+96
|\ \ | |/ |/|
| * fix crash in sax parser when finding invalid DOCTYPEStefan Behnel2012-04-201-0/+96
| |
| * fix ticket 903782: initialise document dict for HTML parsing in iterparse to ↵Stefan Behnel2011-12-141-0/+16
| | | | | | | | | | | | | | prevent segfaults on cleanup --HG-- extra : transplant_source : G%BE%D7Pe%05%03%B8C%24%10%25I%7D%834%5B%E2%C9%02
* | simplify portability imports to make them more portable themselvesStefan Behnel2012-02-201-2/+2
| |
* | fix ticket 903782: initialise document dict for HTML parsing in iterparse to ↵Stefan Behnel2011-12-141-0/+16
|/ | | | prevent segfaults on cleanup
* [svn r4514] fix test resource leaksscoder2010-12-291-2/+2
| | | | | --HG-- branch : trunk
* [svn r3979] r4808@delle: sbehnel | 2008-10-16 21:53:28 +0200scoder2008-10-161-6/+9
| | | | | | | test fixes --HG-- branch : trunk
* [svn r3718] r4276@delle: sbehnel | 2008-05-21 20:12:02 +0200scoder2008-05-211-1/+6
| | | | | | | Py3 test fixes --HG-- branch : trunk
* [svn r3717] r4275@delle: sbehnel | 2008-05-21 20:06:26 +0200scoder2008-05-211-1/+5
| | | | | | | lots pf Py3 fixes and work-arounds --HG-- branch : trunk
* [svn r3710] r4268@delle: sbehnel | 2008-05-21 13:11:54 +0200scoder2008-05-211-23/+23
| | | | | | | Py3 test fixes and work arounds --HG-- branch : trunk
* [svn r3689] r4235@delle: sbehnel | 2008-05-19 23:57:56 +0200scoder2008-05-201-1/+1
| | | | | | | Py3 test fixes --HG-- branch : trunk
* [svn r3388] r3700@delle: sbehnel | 2008-03-03 12:30:47 +0100scoder2008-03-031-3/+3
| | | | | | | removed most deprecated functions and methods --HG-- branch : trunk
* [svn r3101] r3107@delle: sbehnel | 2007-12-18 19:01:53 +0100scoder2007-12-181-1/+2
| | | | | | | always append a newline when pretty printing on serialisation (not only for ElementTrees) --HG-- branch : trunk
* [svn r3019] move gc.collect() into tearDown() methods in tests to run it ↵scoder2007-10-291-2/+3
| | | | | | | after each test --HG-- branch : trunk
* [svn r2975] use keyword-only arguments in APIscoder2007-10-211-3/+13
| | | | | --HG-- branch : trunk
* [svn r2945] added " and ' to the list of invalid HTML tag charactersscoder2007-10-071-0/+26
| | | | | --HG-- branch : trunk
* [svn r2941] let tag name validation distinguish HTML/XML tags based on the ↵scoder2007-10-071-0/+68
| | | | | | | related parser, allow ':' in HTML tags --HG-- branch : trunk
* [svn r2902] preliminary HTML support for iterparsescoder2007-09-211-0/+30
| | | | | --HG-- branch : trunk
* [svn r2901] 'encoding' kw argument in parsers to override document encodingscoder2007-09-201-0/+31
| | | | | --HG-- branch : trunk
* [svn r2565] disable calling unittest scripts directlyscoder2007-07-021-1/+1
| | | | | --HG-- branch : trunk
* [svn r2447] test refactored to maybe make it work better on different systemsscoder2007-06-121-1/+1
| | | | | --HG-- branch : trunk
* [svn r1943] prevent CDATA sections from appearing in HTML treescoder2006-09-271-0/+6
| | | | | --HG-- branch : trunk
* [svn r1844] merged CAPI branch: C-API, objectify, classlookup, etc.scoder2006-08-081-3/+3
| | | | | --HG-- branch : trunk
* [svn r1433] fix: parsing encoded strings from file(-like) objects raised an ↵scoder2006-06-071-6/+6
| | | | | | | exception, now it passes the encoded data directly into libxml2 without conversion or encoding checks --HG-- branch : trunk
* [svn r1272] prevent test cases from leaking temp files, some cleanup in ↵scoder2006-05-221-4/+8
| | | | | | | test_elementtree.py --HG-- branch : trunk
* [svn r1253] fix encoding used in test casesscoder2006-05-201-6/+6
| | | | | --HG-- branch : trunk
* [svn r1103] support parsing straight from Python unicode stringsscoder2006-05-081-0/+5
| | | | | --HG-- branch : trunk
* [svn r1100] major restructuring and cleanup in parser.pxiscoder2006-05-071-0/+7
| | | | | | | | | * merge parse functions of XMLParser and HTMLParser back into base class * use same method for file-like parsing in both => reduced code duplication, more readable, less error prone, simpler to test --HG-- branch : trunk
* [svn r1071] tests: move unentitify utility function to common_importsscoder2006-05-051-5/+3
| | | | | --HG-- branch : trunk
* [svn r1070] only parse file-like objects on libxml2 >= 2.6.24 due to CRLF ↵scoder2006-05-051-1/+12
| | | | | | | bug, fix UTF-8 conversion in HTML file-like parser --HG-- branch : trunk
* [svn r1054] updated test cases for broken HTMLscoder2006-05-031-3/+9
| | | | | --HG-- branch : trunk
* [svn r945] removed HTMLSyntaxError, replaced by XMLSyntaxError to simplify ↵scoder2006-04-201-1/+1
| | | | | | | catching exception e.g. from the default parser --HG-- branch : trunk
* [svn r943] copied test file from htmlparser branchscoder2006-04-201-0/+81
--HG-- branch : trunk