summaryrefslogtreecommitdiff
path: root/src/lxml/tests
Commit message (Collapse)AuthorAgeFilesLines
* fix crash when cleaning up XMLSchemas created from non-root elements: ↵Stefan Behnel2015-02-071-0/+20
| | | | pointer to fake-root document was actually stored in the schema, which lead to double-free errors
* include CDATA sections when serialising tail text of top-level nodeStefan Behnel2014-11-231-2/+0
|
* accept CDATA wrapped content for tail textStefan Behnel2014-11-231-3/+24
|
* do not depend on formatting of "file:" URL in test (differs across libxml2 ↵Stefan Behnel2014-10-191-1/+4
| | | | versions)
* fix testStefan Behnel2014-10-091-2/+2
|
* clean up some test codeStefan Behnel2014-10-092-3/+5
|
* clean up duplicated test methodsStefan Behnel2014-10-092-41/+29
| | | | | --HG-- extra : transplant_source : 7%08%A1%E2%24u%BE%09%3D%CD%89P%D5h%D9%E8%E4%21%F9W
* do not reject namespaced tags in htmlfile, clean up htmlfile tests a littleStefan Behnel2014-09-251-9/+31
|
* add testcases for etree.htmlfileBurak Arslan2014-09-151-0/+24
|
* fix tests in Py3Stefan Behnel2014-09-051-15/+13
|
* allow disabling output buffering in xmlfile() and explicit flushingStefan Behnel2014-09-051-5/+58
|
* merge lxml-3.3 branch into masterStefan Behnel2014-08-281-0/+73
|\
| * prevent tree cycle creation when adding siblingsStefan Behnel2014-08-281-0/+42
| |
| * fix crash when deallocating sibling Element proxies that do not have a parentStefan Behnel2014-08-281-0/+31
| |
* | merge lxml-3.3 branch into masterStefan Behnel2014-08-091-1/+59
|\ \ | |/
| * fix LP#1354652: crash when traversing internally loaded documents in XSLT ↵Stefan Behnel2014-08-091-1/+59
| | | | | | | | extension functions
| * add test for high XML line numbersStefan Behnel2014-03-181-0/+16
| | | | | | | | | | --HG-- extra : transplant_source : %0EX%40u%B3%C1m%13%B3%82%11L%2C%98X%E7%D1%E1%13%1A
* | Add CDATA support in ElementBuilder.Ionel Cristian Mărieș2014-06-161-0/+8
| |
* | use per-document hash tables for XML IDs and allow disabling them completely ↵Stefan Behnel2014-05-281-2/+81
| | | | | | | | with collect_ids=False
* | raise a parser error even in recovery mode when encountering undecodable ↵Stefan Behnel2014-05-241-0/+14
| | | | | | | | input to avoid having to deal with mixed-encoding trees
* | remove unused importStefan Behnel2014-05-241-2/+4
| |
* | add a method tree.getelementpath(element) that generates a structural ↵Stefan Behnel2014-04-061-0/+63
| | | | | | | | ElementPath expression for an Element
* | fix StringIO/BytesIO usage in testsStefan Behnel2014-04-051-4/+6
| |
* | remove some legacy code from testsStefan Behnel2014-04-051-2/+3
| |
* | allow "xmlfile(f, close=True)" to automatically close the file object after useStefan Behnel2014-04-051-3/+52
| |
* | add test for high XML line numbersStefan Behnel2014-03-181-0/+16
| | | | | | | | | | --HG-- extra : amend_source : 5b3de896dbc8ba74cbb712e3fa141216eac70fbc
* | add test for recursive XInclude processingStefan Behnel2014-03-151-0/+45
|/
* clear RelaxNG/Schematron.error_log before running a validationStefan Behnel2014-02-232-11/+28
|
* partial fix for LP#1222132: clear XMLSchema.error_log before running a ↵Stefan Behnel2014-02-231-0/+32
| | | | validation
* minor test code cleanupStefan Behnel2014-02-231-2/+2
|
* extend doctestcompare test (and fix the test setup)Stefan Behnel2014-02-231-3/+48
|
* fix LP#1238500: lxml.doctestcompare mixed up "expected" and "actual" in ↵Stefan Behnel2014-02-231-0/+50
| | | | attribute values
* fix html-with-tail serialisation test for older libxml2 versions (HTML ↵Stefan Behnel2014-02-211-1/+3
| | | | parser problem)
* extend testStefan Behnel2014-02-211-0/+1
|
* remove debug printStefan Behnel2014-02-211-1/+0
|
* fix LP#910014: work around libxml2 bug #724903 that swallows a DTD ↵Stefan Behnel2014-02-211-0/+17
| | | | validation error
* better faking of NamedTemporaryFile(delete=False) in Py2.[45]Stefan Behnel2014-02-191-1/+1
|
* better faking of NamedTemporaryFile(delete=False) in Py2.[45]Stefan Behnel2014-02-191-2/+4
|
* fake NamedTemporaryFile(delete=False) in Py2.[45]Stefan Behnel2014-02-191-3/+12
|
* clean up HTML tail serialisation testStefan Behnel2014-02-191-19/+9
|
* Bug fix for https://bugs.launchpad.net/lxml/+bug/1185332.Sylvain Viollon2013-05-291-0/+30
| | | | | --HG-- extra : rebase_source : a1997c984a10a5d575bae264e9b1fd81407881b9
* safety fixes in testsStefan Behnel2014-02-191-13/+16
|
* clean up test changesStefan Behnel2014-02-192-14/+19
|
* python 3 fixesGabi Davar2014-02-161-4/+6
| | | | | --HG-- extra : rebase_source : 7bee297054a17cee778109cd465625870e2af8eb
* fix tests for win32 - local paths are NOT URLsGabi Davar2014-02-164-18/+33
| | | | | --HG-- extra : rebase_source : 48a48c732d63f466b845af1ebf6e27091405fc16
* use dedicated immutable mapping type for empty immutable mappings instead of ↵Stefan Behnel2014-02-171-1/+28
| | | | DictProxy to provide the complete MutableMapping API
* 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
|
* implement iterparse() parsing of BOM prefixed filesStefan Behnel2014-01-291-0/+38
|
* add test for parsing UTF-8 with BOMStefan Behnel2014-01-281-1/+17
|