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

Method test_conversion_int

Lib/test/test_capi/test_misc.py:2304–2307  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2302 return id
2303
2304 def test_conversion_int(self):
2305 convert = _testinternalcapi.normalize_interp_id
2306 interpid = convert(10)
2307 self.assertEqual(interpid, 10)
2308
2309 def test_conversion_coerced(self):
2310 convert = _testinternalcapi.normalize_interp_id

Callers

nothing calls this directly

Calls 2

convertFunction · 0.50
assertEqualMethod · 0.45

Tested by

no test coverage detected