MCPcopy Create free account
hub / github.com/python/cpython / test_long_aslongandoverflow

Method test_long_aslongandoverflow

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

Source from the content-addressed store, hash-verified

227 self.check_long_asint(aslong, LONG_MIN, LONG_MAX)
228
229 def test_long_aslongandoverflow(self):
230 # Test PyLong_AsLongAndOverflow()
231 aslongandoverflow = _testlimitedcapi.pylong_aslongandoverflow
232 from _testcapi import LONG_MIN, LONG_MAX
233 self.check_long_asintandoverflow(aslongandoverflow, LONG_MIN, LONG_MAX)
234
235 def test_long_asunsignedlong(self):
236 # Test PyLong_AsUnsignedLong() and PyLong_FromUnsignedLong()

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected