class documentation

class _ETreeTestCaseBase(HelperTestCase):

Known subclasses: lxml.tests.test_elementtree.CElementTreeTestCase, lxml.tests.test_elementtree.ElementTreeTestCase, lxml.tests.test_elementtree.ETreeTestCase

View In Hierarchy

Undocumented

Method assert​Encoding​Declaration Checks if the result XML byte string specifies the encoding.
Method assert​Regex Undocumented
Method assert​XML Writes element out and checks whether it is expected.
Method test​_attrib Undocumented
Method test​_attrib​_as​_attrib Undocumented
Method test​_attrib​_clear Undocumented
Method test​_attrib​_copy Undocumented
Method test​_attrib​_deepcopy Undocumented
Method test​_attrib​_dict Undocumented
Method test​_attrib​_get Undocumented
Method test​_attrib​_ns​_clear Undocumented
Method test​_attrib​_pop Undocumented
Method test​_attrib​_pop​_default Undocumented
Method test​_attrib​_pop​_empty​_default Undocumented
Method test​_attrib​_pop​_invalid​_args Undocumented
Method test​_attrib​_pop​_unknown Undocumented
Method test​_attrib​_set​_clear Undocumented
Method test​_attribute​_contains Undocumented
Method test​_attribute​_items Undocumented
Method test​_attribute​_items2 Undocumented
Method test​_attribute​_items​_ns Undocumented
Method test​_attribute​_iterator Undocumented
Method test​_attribute​_keys Undocumented
Method test​_attribute​_keys2 Undocumented
Method test​_attribute​_keys​_ns Undocumented
Method test​_attribute​_manipulation Undocumented
Method test​_attribute​_namespace​_roundtrip Undocumented
Method test​_attribute​_namespace​_roundtrip​_replaced Undocumented
Method test​_attribute​_set Undocumented
Method test​_attribute​_str Undocumented
Method test​_attribute​_update​_attrib Undocumented
Method test​_attribute​_update​_dict Undocumented
Method test​_attribute​_update​_iter Undocumented
Method test​_attribute​_update​_sequence Undocumented
Method test​_attribute​_values Undocumented
Method test​_attribute​_values​_ns Undocumented
Method test​_attribute​_xmlns​_move Undocumented
Method test​_attributes​_get Undocumented
Method test​_clear Undocumented
Method test​_clear​_sub Undocumented
Method test​_clear​_tail Undocumented
Method test​_comment Undocumented
Method test​_comment​_getitem​_getslice Undocumented
Method test​_comment​_nonsense Undocumented
Method test​_comment​_text Undocumented
Method test​_comment​_whitespace Undocumented
Method test​_crash Undocumented
Method test​_deepcopy Undocumented
Method test​_deepcopy​_append Undocumented
Method test​_deepcopy​_comment Undocumented
Method test​_deepcopy​_elementtree Undocumented
Method test​_deepcopy​_namespaces Undocumented
Method test​_deepcopy​_subelement Undocumented
Method test​_deepcopy​_tail Undocumented
Method test​_del​_attribute​_ns Undocumented
Method test​_del​_attribute​_ns​_parsed Undocumented
Method test​_del​_insert Undocumented
Method test​_del​_setitem Undocumented
Method test​_del​_setslice Undocumented
Method test​_delitem Undocumented
Method test​_delitem​_tail Undocumented
Method test​_delitem​_tail​_dealloc Undocumented
Method test​_delslice Undocumented
Method test​_delslice​_child​_tail Undocumented
Method test​_delslice​_child​_tail​_dealloc Undocumented
Method test​_delslice​_memory Undocumented
Method test​_delslice​_negative1 Undocumented
Method test​_delslice​_negative2 Undocumented
Method test​_delslice​_step Undocumented
Method test​_delslice​_step​_negative Undocumented
Method test​_delslice​_step​_negative2 Undocumented
Method test​_delslice​_tail Undocumented
Method test​_element Undocumented
Method test​_element​_contains Undocumented
Method test​_element​_indexing​_negative Undocumented
Method test​_element​_indexing​_only​_text Undocumented
Method test​_element​_indexing​_with​_text Undocumented
Method test​_element​_indexing​_with​_text2 Undocumented
Method test​_element​_with​_attributes Undocumented
Method test​_element​_with​_attributes​_extra Undocumented
Method test​_element​_with​_attributes​_extra​_duplicate Undocumented
Method test​_element​_with​_attributes​_keywords Undocumented
Method test​_element​_with​_attributes​_ns Undocumented
Method test​_elementtree Undocumented
Method test_​Element​Tree Undocumented
Method test​_elementtree​_parser​_target Undocumented
Method test​_encoding Undocumented
Method test​_encoding​_8bit​_latin1 Undocumented
Method test​_encoding​_8bit​_parse​_stringio Undocumented
Method test​_encoding​_8bit​_xml Undocumented
Method test​_encoding​_exact Undocumented
Method test​_encoding​_sub​_tostring​_default​_encoding Undocumented
Method test​_encoding​_tostring Undocumented
Method test​_encoding​_tostring​_default​_encoding Undocumented
Method test​_encoding​_tostring​_sub Undocumented
Method test​_encoding​_tostring​_sub​_tail Undocumented
Method test​_encoding​_tostring​_unknown Undocumented
Method test​_encoding​_utf8​_bom Undocumented
Method test​_encoding​_write​_default​_encoding Undocumented
Method test​_extend Undocumented
Method test​_feed​_parser​_bytes Undocumented
Method test​_feed​_parser​_error​_broken Undocumented
Method test​_feed​_parser​_error​_close​_empty Undocumented
Method test​_feed​_parser​_error​_close​_incomplete Undocumented
Method test​_feed​_parser​_error​_position Undocumented
Method test​_feed​_parser​_unicode​_ascii Undocumented
Method test​_feed​_parser​_unicode​_astral Undocumented
Method test​_feed​_parser​_unicode​_astral​_large Undocumented
Method test​_findall Undocumented
Method test​_findall​_ns Undocumented
Method test​_findall​_wildcard Undocumented
Method test​_fromstring Undocumented
Method test​_fromstringlist Undocumented
Method test​_fromstringlist​_characters Undocumented
Method test​_fromstringlist​_single Undocumented
Method test​_getslice Undocumented
Method test​_getslice​_negative Undocumented
Method test​_getslice​_step Undocumented
Method test​_getslice​_text Undocumented
Method test​_insert Undocumented
Method test​_insert​_beyond​_index Undocumented
Method test​_insert​_name​_interning Undocumented
Method test​_insert​_negative Undocumented
Method test​_insert​_tail Undocumented
Method test​_interface Undocumented
Method test​_iselement Undocumented
Method test​_iter Undocumented
Method test​_iter​_remove​_tail Undocumented
Method test​_iteration Undocumented
Method test​_iteration​_clear​_tail Undocumented
Method test​_iteration​_del​_child Undocumented
Method test​_iteration​_double Undocumented
Method test​_iteration​_empty Undocumented
Method test​_iteration​_reversed Undocumented
Method test​_iteration​_set​_tail​_empty Undocumented
Method test​_iteration​_subelement Undocumented
Method test​_iteration​_text​_only Undocumented
Method test​_iterparse Undocumented
Method test​_iterparse​_cdata Undocumented
Method test​_iterparse​_clear Undocumented
Method test​_iterparse​_file Undocumented
Method test​_iterparse​_incomplete Undocumented
Method test​_iterparse​_large Undocumented
Method test​_iterparse​_move​_elements Undocumented
Method test​_iterparse​_only​_end​_ns Undocumented
Method test​_iterparse​_set​_ns​_attribute Undocumented
Method test​_iterparse​_start Undocumented
Method test​_iterparse​_start​_end Undocumented
Method test​_itertext Undocumented
Method test​_itertext​_child Undocumented
Method test​_late​_tail Undocumented
Method test​_late​_tail​_mix​_pi​_comments Undocumented
Method test​_makeelement Undocumented
Method test​_merge​_namespaced​_subtree​_as​_slice Undocumented
Method test​_multiple​_elementrees Undocumented
Method test​_namespaces​_after​_serialize Undocumented
Method test​_ns​_access Undocumented
Method test​_ns​_access2 Undocumented
Method test​_ns​_attr Undocumented
Method test​_ns​_decl​_tostring Undocumented
Method test​_ns​_decl​_tostring​_default Undocumented
Method test​_ns​_decl​_tostring​_element Undocumented
Method test​_ns​_decl​_tostring​_root Undocumented
Method test​_ns​_move Undocumented
Method test​_ns​_setting Undocumented
Method test​_ns​_tag​_parse Undocumented
Method test​_parse​_cdata Undocumented
Method test​_parse​_encoding​_8bit​_explicit Undocumented
Method test​_parse​_encoding​_8bit​_override Undocumented
Method test​_parse​_error Undocumented
Method test​_parse​_error​_from​_file Undocumented
Method test​_parse​_error​_none Undocumented
Method test​_parse​_file Undocumented
Method test​_parse​_file​_encoding Undocumented
Method test​_parse​_file​_nonexistent Undocumented
Method test​_parse​_file​_object Undocumented
Method test​_parse​_file​_object​_encoding Undocumented
Method test​_parse​_stringio Undocumented
Method test​_parse​_with​_encoding Undocumented
Method test​_parser​_target​_attrib Undocumented
Method test​_parser​_target​_data Undocumented
Method test​_parser​_target​_end​_ns Undocumented
Method test​_parser​_target​_entity Undocumented
Method test​_parser​_target​_entity​_unknown Undocumented
Method test​_parser​_target​_error​_in​_close Undocumented
Method test​_parser​_target​_error​_in​_end Undocumented
Method test​_parser​_target​_error​_in​_start Undocumented
Method test​_parser​_target​_error​_in​_start​_and​_close Undocumented
Method test​_parser​_target​_property Undocumented
Method test​_parser​_target​_start​_end​_ns Undocumented
Method test​_parser​_target​_tag Undocumented
Method test​_parser​_version Undocumented
Method test​_pi Undocumented
Method test​_pi​_nonsense Undocumented
Method test​_processinginstruction Undocumented
Method test​_qname Undocumented
Method test​_qname​_attrib Undocumented
Method test​_qname​_attrib​_resolve Undocumented
Method test​_qname​_attribute​_getset Undocumented
Method test​_qname​_attribute​_resolve Undocumented
Method test​_qname​_attribute​_resolve​_new Undocumented
Method test​_qname​_cmp Undocumented
Method test​_register​_namespace Undocumented
Method test​_remove Undocumented
Method test​_remove​_nonexisting Undocumented
Method test​_remove​_ns Undocumented
Method test​_remove​_tail Undocumented
Method test​_remove​_while​_iterating Undocumented
Method test​_replace​_slice​_tail Undocumented
Method test​_set​_text Undocumented
Method test​_set​_text2 Undocumented
Method test​_set​_text​_empty Undocumented
Method test​_set​_text​_none Undocumented
Method test​_setitem Undocumented
Method test​_setitem2 Undocumented
Method test​_setitem​_indexerror Undocumented
Method test​_setitem​_replace Undocumented
Method test​_setitem​_tail Undocumented
Method test​_setslice Undocumented
Method test​_setslice​_all Undocumented
Method test​_setslice​_all​_empty Undocumented
Method test​_setslice​_all​_replace Undocumented
Method test​_setslice​_all​_replace​_reversed Undocumented
Method test​_setslice​_all​_replace​_reversed​_ns1 Undocumented
Method test​_setslice​_all​_replace​_reversed​_ns2 Undocumented
Method test​_setslice​_empty Undocumented
Method test​_setslice​_end Undocumented
Method test​_setslice​_end​_exact Undocumented
Method test​_setslice​_negative Undocumented
Method test​_setslice​_negative2 Undocumented
Method test​_setslice​_single Undocumented
Method test​_setslice​_tail Undocumented
Method test​_shallowcopy Undocumented
Method test​_shallowcopy​_elementtree Undocumented
Method test​_simple Undocumented
Method test​_subelement Undocumented
Method test​_subelement​_reference Undocumented
Method test​_subelement​_with​_attributes Undocumented
Method test​_subelement​_with​_attributes​_ns Undocumented
Method test​_tag​_reset​_ns Undocumented
Method test​_tag​_reset​_root​_ns Undocumented
Method test​_tag​_str​_subclass Undocumented
Method test​_tag​_write Undocumented
Method test​_tail Undocumented
Method test​_tail1 Undocumented
Method test​_tail​_append Undocumented
Method test​_tail​_elementtree​_root Undocumented
Method test​_tail​_set​_none Undocumented
Method test​_tail​_set​_twice Undocumented
Method test​_tail​_str​_subclass Undocumented
Method test​_text Undocumented
Method test​_text​_empty Undocumented
Method test​_text​_escape​_in Undocumented
Method test​_text​_escape​_out Undocumented
Method test​_text​_escape​_tostring Undocumented
Method test​_text​_other Undocumented
Method test​_text​_str​_subclass Undocumented
Method test​_tostring Undocumented
Method test​_tostring​_element Undocumented
Method test​_tostring​_element​_tail Undocumented
Method test​_tostring​_method​_html Undocumented
Method test​_tostring​_method​_text Undocumented
Method test​_treebuilder Undocumented
Method test​_treebuilder​_comment Undocumented
Method test​_treebuilder​_pi Undocumented
Method test​_treebuilder​_target Undocumented
Method test​_weird​_dict​_interaction Undocumented
Method test​_write Undocumented
Method test_write_​Element​Tree​Doctest Undocumented
Method test​_write​_fail Undocumented
Method test​_write​_method​_html Undocumented
Method test​_write​_method​_text Undocumented
Method test_​XML Undocumented
Method test_​XMLID Undocumented
Method ​XMLParser Undocumented
Class Variable etree Undocumented
Class Variable required_versions_c​ET Undocumented
Class Variable required_versions_​ET Undocumented
Method ​_check​_element Undocumented
Method ​_check​_element​_tree Undocumented
Method ​_check​_mapping Undocumented
Method ​_check​_string Undocumented
Method ​_rootstring Undocumented
Method ​_test​_del​_tail Undocumented
Method ​_test​_element​_boolean Undocumented
Method ​_test​_wrong​_unicode​_encoding Undocumented
Method _write​Element Write out element for comparison.
Method _write​Element​File Write out element for comparison, using real file.

Inherited from HelperTestCase:

Method parse Undocumented
Method tear​Down Undocumented
def assertEncodingDeclaration(self, result, encoding):
Checks if the result XML byte string specifies the encoding.
def assertRegex(self, *args, **kwargs):

Undocumented

def assertXML(self, expected, element, encoding='us-ascii'):

Writes element out and checks whether it is expected.

Does this two ways; once using BytesIO, once using a real file.

def test_attrib(self):

Undocumented

def test_attrib_as_attrib(self):

Undocumented

def test_attrib_clear(self):

Undocumented

def test_attrib_copy(self):

Undocumented

def test_attrib_deepcopy(self):

Undocumented

def test_attrib_dict(self):

Undocumented

def test_attrib_get(self):

Undocumented

def test_attrib_ns_clear(self):

Undocumented

def test_attrib_pop(self):

Undocumented

def test_attrib_pop_default(self):

Undocumented

def test_attrib_pop_empty_default(self):

Undocumented

def test_attrib_pop_invalid_args(self):

Undocumented

def test_attrib_pop_unknown(self):

Undocumented

def test_attrib_set_clear(self):

Undocumented

def test_attribute_contains(self):

Undocumented

def test_attribute_items(self):

Undocumented

def test_attribute_items2(self):

Undocumented

def test_attribute_items_ns(self):

Undocumented

def test_attribute_iterator(self):

Undocumented

def test_attribute_keys(self):

Undocumented

def test_attribute_keys2(self):

Undocumented

def test_attribute_keys_ns(self):

Undocumented

def test_attribute_manipulation(self):

Undocumented

def test_attribute_namespace_roundtrip(self):

Undocumented

def test_attribute_namespace_roundtrip_replaced(self):

Undocumented

def test_attribute_set(self):

Undocumented

def test_attribute_str(self):

Undocumented

def test_attribute_update_attrib(self):

Undocumented

def test_attribute_update_dict(self):

Undocumented

def test_attribute_update_iter(self):

Undocumented

def test_attribute_update_sequence(self):

Undocumented

def test_attribute_values(self):

Undocumented

def test_attribute_values_ns(self):

Undocumented

def test_attribute_xmlns_move(self):

Undocumented

def test_attributes_get(self):

Undocumented

def test_clear(self):

Undocumented

def test_clear_sub(self):

Undocumented

def test_clear_tail(self):

Undocumented

def test_comment(self):

Undocumented

def test_comment_getitem_getslice(self):

Undocumented

def test_comment_nonsense(self):

Undocumented

def test_comment_text(self):

Undocumented

def test_comment_whitespace(self):

Undocumented

def test_crash(self):

Undocumented

def test_deepcopy(self):

Undocumented

def test_deepcopy_append(self):

Undocumented

def test_deepcopy_comment(self):

Undocumented

def test_deepcopy_elementtree(self):

Undocumented

def test_deepcopy_namespaces(self):

Undocumented

def test_deepcopy_subelement(self):

Undocumented

def test_deepcopy_tail(self):

Undocumented

def test_del_attribute_ns(self):

Undocumented

def test_del_attribute_ns_parsed(self):

Undocumented

def test_del_insert(self):

Undocumented

def test_del_setitem(self):

Undocumented

def test_del_setslice(self):

Undocumented

def test_delitem(self):

Undocumented

def test_delitem_tail(self):

Undocumented

def test_delitem_tail_dealloc(self):

Undocumented

def test_delslice(self):

Undocumented

def test_delslice_child_tail(self):

Undocumented

def test_delslice_child_tail_dealloc(self):

Undocumented

def test_delslice_memory(self):

Undocumented

def test_delslice_negative1(self):

Undocumented

def test_delslice_negative2(self):

Undocumented

def test_delslice_step(self):

Undocumented

def test_delslice_step_negative(self):

Undocumented

def test_delslice_step_negative2(self):

Undocumented

def test_delslice_tail(self):

Undocumented

def test_element(self):

Undocumented

def test_element_contains(self):

Undocumented

def test_element_indexing_negative(self):

Undocumented

def test_element_indexing_only_text(self):

Undocumented

def test_element_indexing_with_text(self):

Undocumented

def test_element_indexing_with_text2(self):

Undocumented

def test_element_with_attributes(self):

Undocumented

def test_element_with_attributes_extra(self):

Undocumented

def test_element_with_attributes_extra_duplicate(self):

Undocumented

def test_element_with_attributes_keywords(self):

Undocumented

def test_element_with_attributes_ns(self):

Undocumented

def test_elementtree(self):

Undocumented

def test_ElementTree(self):

Undocumented

def test_elementtree_parser_target(self):

Undocumented

def test_encoding(self):

Undocumented

def test_encoding_8bit_latin1(self):

Undocumented

def test_encoding_8bit_parse_stringio(self):

Undocumented

def test_encoding_8bit_xml(self):

Undocumented

def test_encoding_exact(self):

Undocumented

def test_encoding_sub_tostring_default_encoding(self):

Undocumented

def test_encoding_tostring(self):

Undocumented

def test_encoding_tostring_default_encoding(self):

Undocumented

def test_encoding_tostring_sub(self):

Undocumented

def test_encoding_tostring_sub_tail(self):

Undocumented

def test_encoding_tostring_unknown(self):

Undocumented

def test_encoding_utf8_bom(self):

Undocumented

def test_encoding_write_default_encoding(self):

Undocumented

def test_extend(self):

Undocumented

def test_feed_parser_bytes(self):

Undocumented

def test_feed_parser_error_broken(self):

Undocumented

def test_feed_parser_error_close_empty(self):

Undocumented

def test_feed_parser_error_close_incomplete(self):

Undocumented

def test_feed_parser_error_position(self):

Undocumented

def test_feed_parser_unicode_ascii(self):

Undocumented

@et_needs_pyversion(3)
def test_feed_parser_unicode_astral(self):

Undocumented

@et_needs_pyversion(3)
def test_feed_parser_unicode_astral_large(self):

Undocumented

def test_findall(self):

Undocumented

def test_findall_ns(self):

Undocumented

@et_needs_pyversion(3, 8, 0, 'alpha', 4)
def test_findall_wildcard(self):

Undocumented

def test_fromstring(self):

Undocumented

def test_fromstringlist(self):

Undocumented

def test_fromstringlist_characters(self):

Undocumented

def test_fromstringlist_single(self):

Undocumented

def test_getslice(self):

Undocumented

def test_getslice_negative(self):

Undocumented

def test_getslice_step(self):

Undocumented

def test_getslice_text(self):

Undocumented

def test_insert(self):

Undocumented

def test_insert_beyond_index(self):

Undocumented

def test_insert_name_interning(self):

Undocumented

def test_insert_negative(self):

Undocumented

def test_insert_tail(self):

Undocumented

@et_needs_pyversion(3, 6)
def test_interface(self):

Undocumented

def test_iselement(self):

Undocumented

def test_iter(self):

Undocumented

def test_iter_remove_tail(self):

Undocumented

def test_iteration(self):

Undocumented

def test_iteration_clear_tail(self):

Undocumented

def test_iteration_del_child(self):

Undocumented

def test_iteration_double(self):

Undocumented

def test_iteration_empty(self):

Undocumented

def test_iteration_reversed(self):

Undocumented

def test_iteration_set_tail_empty(self):

Undocumented

def test_iteration_subelement(self):

Undocumented

def test_iteration_text_only(self):

Undocumented

def test_iterparse(self):

Undocumented

def test_iterparse_cdata(self):

Undocumented

def test_iterparse_clear(self):

Undocumented

def test_iterparse_file(self):

Undocumented

def test_iterparse_incomplete(self):

Undocumented

def test_iterparse_large(self):

Undocumented

def test_iterparse_move_elements(self):

Undocumented

def test_iterparse_only_end_ns(self):

Undocumented

def test_iterparse_set_ns_attribute(self):

Undocumented

def test_iterparse_start(self):

Undocumented

def test_iterparse_start_end(self):

Undocumented

def test_itertext(self):

Undocumented

def test_itertext_child(self):

Undocumented

def test_late_tail(self):

Undocumented

@et_needs_pyversion(3, 8, 0, 'alpha', 4)
def test_late_tail_mix_pi_comments(self):

Undocumented

def test_makeelement(self):

Undocumented

def test_merge_namespaced_subtree_as_slice(self):

Undocumented

def test_multiple_elementrees(self):

Undocumented

def test_namespaces_after_serialize(self):

Undocumented

def test_ns_access(self):

Undocumented

def test_ns_access2(self):

Undocumented

def test_ns_attr(self):

Undocumented

def test_ns_decl_tostring(self):

Undocumented

def test_ns_decl_tostring_default(self):

Undocumented

def test_ns_decl_tostring_element(self):

Undocumented

def test_ns_decl_tostring_root(self):

Undocumented

def test_ns_move(self):

Undocumented

def test_ns_setting(self):

Undocumented

def test_ns_tag_parse(self):

Undocumented

def test_parse_cdata(self):

Undocumented

def test_parse_encoding_8bit_explicit(self):

Undocumented

def test_parse_encoding_8bit_override(self):

Undocumented

def test_parse_error(self):

Undocumented

def test_parse_error_from_file(self):

Undocumented

def test_parse_error_none(self):

Undocumented

def test_parse_file(self):

Undocumented

def test_parse_file_encoding(self):

Undocumented

def test_parse_file_nonexistent(self):

Undocumented

def test_parse_file_object(self):

Undocumented

def test_parse_file_object_encoding(self):

Undocumented

def test_parse_stringio(self):

Undocumented

def test_parse_with_encoding(self):

Undocumented

def test_parser_target_attrib(self):

Undocumented

def test_parser_target_data(self):

Undocumented

@et_needs_pyversion(3, 8, 0, 'alpha', 4)
def test_parser_target_end_ns(self):

Undocumented

def test_parser_target_entity(self):

Undocumented

def test_parser_target_entity_unknown(self):

Undocumented

def test_parser_target_error_in_close(self):

Undocumented

def test_parser_target_error_in_end(self):

Undocumented

def test_parser_target_error_in_start(self):

Undocumented

def test_parser_target_error_in_start_and_close(self):

Undocumented

def test_parser_target_property(self):

Undocumented

@et_needs_pyversion(3, 8, 0, 'alpha', 4)
def test_parser_target_start_end_ns(self):

Undocumented

def test_parser_target_tag(self):

Undocumented

def test_parser_version(self):

Undocumented

def test_pi(self):

Undocumented

def test_pi_nonsense(self):

Undocumented

def test_processinginstruction(self):

Undocumented

def test_qname(self):

Undocumented

def test_qname_attrib(self):

Undocumented

def test_qname_attrib_resolve(self):

Undocumented

def test_qname_attribute_getset(self):

Undocumented

def test_qname_attribute_resolve(self):

Undocumented

def test_qname_attribute_resolve_new(self):

Undocumented

def test_qname_cmp(self):

Undocumented

def test_register_namespace(self):

Undocumented

def test_remove(self):

Undocumented

def test_remove_nonexisting(self):

Undocumented

def test_remove_ns(self):

Undocumented

def test_remove_tail(self):

Undocumented

def test_remove_while_iterating(self):

Undocumented

def test_replace_slice_tail(self):

Undocumented

def test_set_text(self):

Undocumented

def test_set_text2(self):

Undocumented

def test_set_text_empty(self):

Undocumented

def test_set_text_none(self):

Undocumented

def test_setitem(self):

Undocumented

def test_setitem2(self):

Undocumented

def test_setitem_indexerror(self):

Undocumented

def test_setitem_replace(self):

Undocumented

def test_setitem_tail(self):

Undocumented

def test_setslice(self):

Undocumented

def test_setslice_all(self):

Undocumented

def test_setslice_all_empty(self):

Undocumented

def test_setslice_all_replace(self):

Undocumented

def test_setslice_all_replace_reversed(self):

Undocumented

def test_setslice_all_replace_reversed_ns1(self):

Undocumented

def test_setslice_all_replace_reversed_ns2(self):

Undocumented

def test_setslice_empty(self):

Undocumented

def test_setslice_end(self):

Undocumented

def test_setslice_end_exact(self):

Undocumented

def test_setslice_negative(self):

Undocumented

def test_setslice_negative2(self):

Undocumented

def test_setslice_single(self):

Undocumented

def test_setslice_tail(self):

Undocumented

def test_shallowcopy(self):

Undocumented

def test_shallowcopy_elementtree(self):

Undocumented

def test_simple(self):

Undocumented

def test_subelement(self):

Undocumented

def test_subelement_reference(self):

Undocumented

def test_subelement_with_attributes(self):

Undocumented

def test_subelement_with_attributes_ns(self):

Undocumented

def test_tag_reset_ns(self):

Undocumented

def test_tag_reset_root_ns(self):

Undocumented

def test_tag_str_subclass(self):

Undocumented

def test_tag_write(self):

Undocumented

def test_tail(self):

Undocumented

def test_tail1(self):

Undocumented

def test_tail_append(self):

Undocumented

def test_tail_elementtree_root(self):

Undocumented

def test_tail_set_none(self):

Undocumented

def test_tail_set_twice(self):

Undocumented

def test_tail_str_subclass(self):

Undocumented

def test_text(self):

Undocumented

def test_text_empty(self):

Undocumented

def test_text_escape_in(self):

Undocumented

def test_text_escape_out(self):

Undocumented

def test_text_escape_tostring(self):

Undocumented

def test_text_other(self):

Undocumented

def test_text_str_subclass(self):

Undocumented

def test_tostring(self):

Undocumented

def test_tostring_element(self):

Undocumented

def test_tostring_element_tail(self):

Undocumented

def test_tostring_method_html(self):

Undocumented

def test_tostring_method_text(self):

Undocumented

def test_treebuilder(self):

Undocumented

@et_needs_pyversion(3, 8, 0, 'alpha', 4)
def test_treebuilder_comment(self):

Undocumented

@et_needs_pyversion(3, 8, 0, 'alpha', 4)
def test_treebuilder_pi(self):

Undocumented

def test_treebuilder_target(self):

Undocumented

def test_weird_dict_interaction(self):

Undocumented

def test_write(self):

Undocumented

def test_write_ElementTreeDoctest(self):

Undocumented

def test_write_fail(self):

Undocumented

def test_write_method_html(self):

Undocumented

def test_write_method_text(self):

Undocumented

def test_XML(self):

Undocumented

def test_XMLID(self):

Undocumented

def XMLParser(self, **kwargs):

Undocumented

etree =

Undocumented

required_versions_cET: dict =

Undocumented

required_versions_ET: dict =

Undocumented

def _check_element(self, element):

Undocumented

def _check_element_tree(self, tree):

Undocumented

def _check_mapping(self, mapping):

Undocumented

def _check_string(self, string):

Undocumented

def _rootstring(self, tree):
def _test_del_tail(self):

Undocumented

def _test_element_boolean(self):

Undocumented

def _test_wrong_unicode_encoding(self):

Undocumented

def _writeElement(self, element, encoding='us-ascii'):
Write out element for comparison.
def _writeElementFile(self, element, encoding='us-ascii'):
Write out element for comparison, using real file.