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

Class A

Lib/test/test_copy.py:946–946  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

944 def f(): pass
945 self.assertRaises(TypeError, copy.replace, f)
946 class A: pass
947 self.assertRaises(TypeError, copy.replace, A)
948 self.assertRaises(TypeError, copy.replace, A())
949

Callers 2

test_unsupportedMethod · 0.70
test_replace_methodMethod · 0.70

Calls

no outgoing calls

Tested by 2

test_unsupportedMethod · 0.56
test_replace_methodMethod · 0.56