Lines Matching refs:_testcapi
13 import _testcapi
15 _testcapi = None variable
732 @unittest.skipIf(_testcapi is None, 'need the _testcapi module')
740 from _testcapi import SIZEOF_TIME_T
785 for seconds in (_testcapi.INT_MIN, _testcapi.INT_MAX):
868 from _testcapi import PyTime_FromSeconds
872 return (_testcapi.INT_MIN <= secs <= _testcapi.INT_MAX)
884 from _testcapi import PyTime_FromSecondsObject
900 from _testcapi import PyTime_AsSecondsDouble
927 from _testcapi import PyTime_AsTimeval
936 from _testcapi import LONG_MIN, LONG_MAX
949 @unittest.skipUnless(hasattr(_testcapi, 'PyTime_AsTimespec'),
952 from _testcapi import PyTime_AsTimespec
963 from _testcapi import PyTime_AsMilliseconds
970 from _testcapi import PyTime_AsMicroseconds
986 from _testcapi import pytime_object_to_time_t
1012 from _testcapi import pytime_object_to_timeval
1028 from _testcapi import pytime_object_to_timespec