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

Method test_copy_frozendict

Lib/test/test_copy.py:136–140  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

134 self.assertIsNot(y, x)
135
136 def test_copy_frozendict(self):
137 x = frozendict(x=1, y=2)
138 self.assertIs(copy.copy(x), x)
139 x = frozendict()
140 self.assertIs(copy.copy(x), x)
141
142 def test_copy_set(self):
143 x = {1, 2, 3}

Callers

nothing calls this directly

Calls 3

frozendictClass · 0.85
assertIsMethod · 0.45
copyMethod · 0.45

Tested by

no test coverage detected