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

Method test_long_asint64

Lib/test/test_capi/test_long.py:697–701  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

695 self.check_long_asint(to_int32, INT32_MIN, INT32_MAX)
696
697 def test_long_asint64(self):
698 # Test PyLong_AsInt64() and PyLong_FromInt64()
699 as_int64 = _testlimitedcapi.pylong_asint64
700 from _testcapi import INT64_MIN, INT64_MAX
701 self.check_long_asint(as_int64, INT64_MIN, INT64_MAX)
702
703 def test_long_asuint32(self):
704 # Test PyLong_AsUInt32() and PyLong_FromUInt32()

Callers

nothing calls this directly

Calls 1

check_long_asintMethod · 0.95

Tested by

no test coverage detected