MCPcopy Index your code
hub / github.com/python/cpython / test_element_factory_subclass

Method test_element_factory_subclass

Lib/test/test_xml_etree.py:3885–3888  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3883 self._check_sample1_element(e)
3884
3885 def test_element_factory_subclass(self):
3886 class MyElement(ET.Element):
3887 pass
3888 self._check_element_factory_class(MyElement)
3889
3890 def test_element_factory_pure_python_subclass(self):
3891 # Mimic SimpleTAL's behaviour (issue #16089): both versions of

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected