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

Method test_copy

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

Source from the content-addressed store, hash-verified

3683 self.assertEqual(self._ilist(doc, '*'), all_tags)
3684
3685 def test_copy(self):
3686 a = ET.Element('a')
3687 it = a.iter()
3688 with self.assertRaises(TypeError):
3689 copy.copy(it)
3690
3691 def test_pickle(self):
3692 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