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

Function save_restore_converters

Lib/test/test_clinic.py:82–88  ·  view source on GitHub ↗
(testcase)

Source from the content-addressed store, hash-verified

80
81
82def save_restore_converters(testcase):
83 testcase.addCleanup(restore_dict, converters,
84 converters.copy())
85 testcase.addCleanup(restore_dict, legacy_converters,
86 legacy_converters.copy())
87 testcase.addCleanup(restore_dict, return_converters,
88 return_converters.copy())
89
90
91class ClinicWholeFileTest(TestCase):

Callers 2

setUpMethod · 0.85
setUpMethod · 0.85

Calls 2

addCleanupMethod · 0.80
copyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…