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

Class B_with_dict_weakref

Lib/test/test_descr.py:4237–4238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4235 self.assertEqual(repr(b), r)
4236
4237 class B_with_dict_weakref:
4238 pass
4239 b = B_with_dict_weakref()
4240 with self.assertRaisesRegex(TypeError, 'layout differs'):
4241 B.__bases__ = (A_with_slots,)

Callers 1

test_mutable_basesMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_mutable_basesMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…