summaryrefslogtreecommitdiff
path: root/src/lxml/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement C14N 2.0 exclusion of tags and attributes.Stefan Behnel2019-04-281-0/+54
|
* Increase test coverage by copying some tests from CPython.Stefan Behnel2019-04-282-0/+48
|
* Fix last minute change.Stefan Behnel2019-04-271-1/+1
|
* Correctly serialise text content in ET.write() and ET.tostring() with C14N 2.0.Stefan Behnel2019-04-272-6/+58
|
* Implement "c14n2" serialisation method via iterwalk().Stefan Behnel2019-04-271-0/+134
|
* Add C14N 2.0 implementation.Stefan Behnel2019-04-2656-1/+474
|
* Make a test optional that uses ctypes.Stefan Behnel2019-04-241-3/+6
|
* Rename test to make it run later since it's more complex than other related ↵Stefan Behnel2019-04-221-1/+1
| | | | tests.
* Fix end-ns reporting in pull parser when start-ns events are not requested.Stefan Behnel2019-04-221-0/+44
|
* Repair handling of "end_ns" target callbacks when "start" events are not ↵Stefan Behnel2019-04-221-1/+72
| | | | requested.
* Disable a compatibility test in Py3.8 < alpha4 where it fails in ElementTree.Stefan Behnel2019-04-211-2/+2
|
* Disable a compatibility test in Py3.5 where it fails in ElementTree. (It ↵Stefan Behnel2019-04-211-0/+1
| | | | would work in Py2.7, but who cares, really.)
* Fix a test that was assigning an incorrectly sized slice.Stefan Behnel2019-04-211-3/+7
|
* Fix some misbehaviour in slice assignments:Stefan Behnel2019-04-211-40/+26
| | | | | | - Large step sizes could lead to long running stupid loops. - ValueError was not raised when assigning extended slices of the wrong size. - Slices with negative step size could be inserted in the wrong place, too far on the left.
* Enable namespace prefix callbacks (start_ns/end_ns) for parser targets and ↵Stefan Behnel2019-04-211-24/+400
| | | | | | make comment/pi creation optional and configurable in TreeBuilder. Also update some compatibility tests from ElementTree in Py3.8.
* Disable cET comparison tests in Py3 where it's just an alias for ET.Stefan Behnel2019-04-211-4/+9
|
* Make failures to write an XSLT output file raise an IOError, instead of ↵Stefan Behnel2019-04-191-1/+13
| | | | incorrectly trying (and failing) to instantiate an XSLTSaveError and raising an AttributeError instead.
* Fix a test after allowing '' as a namespace prefix in ElementPath.Stefan Behnel2019-04-171-1/+1
|
* Add a `max_depth` argument to ElementInclude to prevent content explosion. ↵Stefan Behnel2019-04-141-2/+77
| | | | Limit it to 6 by default.
* Fix test in Py3.Stefan Behnel2019-04-051-3/+3
|
* Merge branch 'extension-nsmap' of https://github.com/adelton/lxml into ↵Stefan Behnel2019-04-051-0/+36
|\ | | | | | | adelton-extension-nsmap
| * Make .nsmap available in XSLT extensions.Jan Pazdziora2018-08-091-0/+36
| |
* | Fix test in Windows.Stefan Behnel2019-03-271-1/+3
| |
* | Fix test in Windows.Stefan Behnel2019-03-271-1/+1
| |
* | Provide more debug output from a failing test.Stefan Behnel2019-03-271-4/+13
| |
* | Provide more debug output from a failing test.Stefan Behnel2019-03-271-4/+11
| |
* | Avoid an obviously invalid Windows file name in tests.Stefan Behnel2019-03-271-2/+2
| |
* | Minor test cleanup.Stefan Behnel2019-03-271-3/+3
| |
* | Clean up special filename tests and keep only the relevant ones.Stefan Behnel2019-03-271-17/+6
| |
* | Add more system debug output to test runs.Stefan Behnel2019-03-271-9/+12
| |
* | Add tests to investigate why the test runs fail on windows.Stefan Behnel2019-03-271-0/+18
| |
* | Reduce redundant temp file handling in test code.Stefan Behnel2019-03-274-62/+32
| |
* | Minor code cleanups and simplifications.Stefan Behnel2019-03-271-20/+6
| |
* | Remove some Python anachronisms by using the with statement for file ↵Stefan Behnel2019-03-273-55/+42
| | | | | | | | resource management.
* | Work around libxml2's URL-unescaping in xmlOutputBufferCreateFilename() by ↵Stefan Behnel2019-03-263-1/+49
| | | | | | | | escaping '%' characters in file paths before passing them down.
* | Clean up stray whitespace in test file.Stefan Behnel2019-03-261-104/+104
| |
* | Remove unused variable.Stefan Behnel2019-03-261-1/+1
| |
* | Clean up test file.Stefan Behnel2019-03-261-17/+15
| |
* | Prevent registering a different prefix than "xml" for the XML namespace.Stefan Behnel2019-03-151-0/+7
| |
* | Implement "__index__()" special method for integer elements in lxml.objectify.Stefan Behnel2019-03-081-1/+1
| |
* | Add some tests that were found missing by coverage analysis.Stefan Behnel2019-03-081-0/+56
| |
* | Change test to reflect the attribute creation order change in Py3.6+.Stefan Behnel2019-03-011-4/+11
| |
* | Add a "keep_tail=True" option to Element.clear() to cater for a common need ↵Stefan Behnel2019-03-011-0/+7
| | | | | | | | in document-style XML/HTML.
* | Try to stabilise a garbage collection test a little better.Stefan Behnel2019-03-011-2/+4
| |
* | Add some tests for tree modification while iterating.Stefan Behnel2019-02-281-7/+56
| |
* | Disable a test under Windows that depends on library linking.Stefan Behnel2019-02-061-1/+3
| |
* | LP#1814522: Fix a crash when appending a child subtree that contains ↵Stefan Behnel2019-02-051-0/+18
| | | | | | | | | | | | | | unsubstituted entity references. This is a work-around for a (supposed) bug in libxml2 (https://gitlab.gnome.org/GNOME/libxml2/issues/42), which crashes by running into an infinite recursive loop while traversing the child nodes of the entity reference. A lucky side effect is that the previously duplicated cleanup traversal to a) update the .doc pointers in libxml2 and b) update the dict names in lxml is now replaced by a single traversal, which should speed things up for large subtrees.
* | New and improved namespace handling for the saxifierLennart Regebro2018-11-231-31/+110
| |
* | Merge branch 'master' into masterLennart Regebro2018-10-1714-113/+110
|\ \
| * | Drop support for EOL Python 3.3Hugo2018-08-261-1/+1
| | |