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

Method test_long_asunsignedlongmask

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

Source from the content-addressed store, hash-verified

240 use_index=False)
241
242 def test_long_asunsignedlongmask(self):
243 # Test PyLong_AsUnsignedLongMask()
244 asunsignedlongmask = _testlimitedcapi.pylong_asunsignedlongmask
245 from _testcapi import ULONG_MAX
246 self.check_long_asint(asunsignedlongmask, 0, ULONG_MAX, mask=True)
247
248 def test_long_aslonglong(self):
249 # Test PyLong_AsLongLong() and PyLong_FromLongLong()

Callers

nothing calls this directly

Calls 1

check_long_asintMethod · 0.95

Tested by

no test coverage detected