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

Class D

Lib/test/test_descr.py:5780–5781  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5778
5779 global D
5780 class D(C):
5781 pass
5782 with self.assertRaises(TypeError):
5783 pickle.dumps(D(), 0)
5784

Callers 15

test_metaclassMethod · 0.70
test_slotsMethod · 0.70
test_slots_specialMethod · 0.70
test_dynamicsMethod · 0.70
test_classmethodsMethod · 0.70
test_staticmethodsMethod · 0.70
test_classicMethod · 0.70
test_newslotsMethod · 0.70

Calls

no outgoing calls

Tested by 15

test_metaclassMethod · 0.56
test_slotsMethod · 0.56
test_slots_specialMethod · 0.56
test_dynamicsMethod · 0.56
test_classmethodsMethod · 0.56
test_staticmethodsMethod · 0.56
test_classicMethod · 0.56
test_newslotsMethod · 0.56