summaryrefslogtreecommitdiff
path: root/src/lxml/tests/test_htmlparser.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove debug print from test.Stefan Behnel2022-05-311-2/+0
|
* Add a test for https://bugs.launchpad.net/lxml/+bug/1965070 leaving out the ↵Stefan Behnel2022-05-301-0/+25
| | | | actual failure case.
* Exclude a test when using the macOS system libraries because it fails with ↵Stefan Behnel2021-12-101-2/+3
| | | | libxml2 2.9.4.
* Remove dead imports.Stefan Behnel2020-08-131-1/+1
|
* Clean up imports in tests.Stefan Behnel2019-12-271-6/+4
|
* Extend HTML tests a little to include tag matching.Stefan Behnel2019-09-281-3/+19
|
* enable the collect_ids option also for HTML and add a simple test for itStefan Behnel2016-12-101-0/+16
|
* Add tests for the default_doctype optionShadab Zafar2016-08-201-0/+8
|
* allow el.set("attr") in HTML trees without having to specify an explicit ↵Stefan Behnel2016-07-291-4/+7
| | | | None value
* docs, additional tests for boolean attributesDaniel Holth2016-07-291-0/+12
|
* allow None as an attribute value, for HTML boolean attributesDaniel Holth2016-07-281-0/+7
|
* propagate SAX exceptions immediately in HTML parser (used to continue parsing)Stefan Behnel2015-09-231-0/+56
|
* Enable modifying document type declarations.Olli Pottonen2015-02-161-1/+32
| | | | See https://bugs.launchpad.net/lxml/+bug/1421512.
* 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