MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_copy

Method test_copy

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

Source from the content-addressed store, hash-verified

3642 self.assertEqual(self._ilist(doc, '*'), all_tags)
3643
3644 def test_copy(self):
3645 a = ET.Element('a')
3646 it = a.iter()
3647 with self.assertRaises(TypeError):
3648 copy.copy(it)
3649
3650 def test_pickle(self):
3651 a = ET.Element('a')

Callers

nothing calls this directly

Calls 3

iterMethod · 0.95
assertRaisesMethod · 0.45
copyMethod · 0.45

Tested by

no test coverage detected