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

Method test_long_aslonglongandoverflow

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

Source from the content-addressed store, hash-verified

252 self.check_long_asint(aslonglong, LLONG_MIN, LLONG_MAX)
253
254 def test_long_aslonglongandoverflow(self):
255 # Test PyLong_AsLongLongAndOverflow()
256 aslonglongandoverflow = _testlimitedcapi.pylong_aslonglongandoverflow
257 from _testcapi import LLONG_MIN, LLONG_MAX
258 self.check_long_asintandoverflow(aslonglongandoverflow, LLONG_MIN, LLONG_MAX)
259
260 def test_long_asunsignedlonglong(self):
261 # Test PyLong_AsUnsignedLongLong() and PyLong_FromUnsignedLongLong()

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected