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

Class X

Lib/test/test_xml_etree.py:2810–2814  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2808
2809 def test_extend_mutable_list(self):
2810 class X:
2811 @property
2812 def __class__(self):
2813 L[:] = [ET.Element('baz')]
2814 return ET.Element
2815 L = [X()]
2816 e = ET.Element('foo')
2817 try:

Callers 6

test_element_get_textMethod · 0.70
test_element_get_tailMethod · 0.70
test_deepcopy_clearMethod · 0.70
test_deepcopy_growMethod · 0.70

Calls

no outgoing calls

Tested by 6

test_element_get_textMethod · 0.56
test_element_get_tailMethod · 0.56
test_deepcopy_clearMethod · 0.56
test_deepcopy_growMethod · 0.56