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

Method test_copy

Lib/test/test_weakset.py:214–217  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

212 self.assertEqual(len(self.s), 0)
213
214 def test_copy(self):
215 dup = self.s.copy()
216 self.assertEqual(self.s, dup)
217 self.assertNotEqual(id(self.s), id(dup))
218
219 def test_add(self):
220 x = ustr('Q')

Callers

nothing calls this directly

Calls 4

idFunction · 0.85
assertNotEqualMethod · 0.80
copyMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected