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

Method test_c_disallow_instantiation

Lib/test/test_decimal.py:5753–5755  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5751 tp.foo = 1
5752
5753 def test_c_disallow_instantiation(self):
5754 ContextManager = type(C.localcontext())
5755 check_disallow_instantiation(self, ContextManager)
5756
5757 def test_c_signaldict_segfault(self):
5758 # See gh-106263 for details.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected