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

Method test_long_asunsignedlong

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

Source from the content-addressed store, hash-verified

233 self.check_long_asintandoverflow(aslongandoverflow, LONG_MIN, LONG_MAX)
234
235 def test_long_asunsignedlong(self):
236 # Test PyLong_AsUnsignedLong() and PyLong_FromUnsignedLong()
237 asunsignedlong = _testlimitedcapi.pylong_asunsignedlong
238 from _testcapi import ULONG_MAX
239 self.check_long_asint(asunsignedlong, 0, ULONG_MAX,
240 use_index=False)
241
242 def test_long_asunsignedlongmask(self):
243 # Test PyLong_AsUnsignedLongMask()

Callers

nothing calls this directly

Calls 1

check_long_asintMethod · 0.95

Tested by

no test coverage detected