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

Method test_constructor_kwargs

Lib/test/test_weakref.py:211–213  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

209 del c
210
211 def test_constructor_kwargs(self):
212 c = C()
213 self.assertRaises(TypeError, weakref.ref, c, callback=None)
214
215 def test_proxy_ref(self):
216 o = C()

Callers

nothing calls this directly

Calls 2

CClass · 0.70
assertRaisesMethod · 0.45

Tested by

no test coverage detected