Lines Matching refs:_testcapi
11 import _testcapi
13 _testcapi = None variable
521 @unittest.skipUnless(_testcapi, 'requires _testcapi')
526 _testcapi.pymarshal_write_long_to_file(0x12345678, support.TESTFN, v)
535 _testcapi.pymarshal_write_object_to_file(obj, support.TESTFN, v)
544 r, p = _testcapi.pymarshal_read_short_from_file(support.TESTFN)
552 _testcapi.pymarshal_read_short_from_file(support.TESTFN)
558 r, p = _testcapi.pymarshal_read_long_from_file(support.TESTFN)
566 _testcapi.pymarshal_read_long_from_file(support.TESTFN)
575 r, p = _testcapi.pymarshal_read_last_object_from_file(support.TESTFN)
582 _testcapi.pymarshal_read_last_object_from_file(support.TESTFN)
591 r, p = _testcapi.pymarshal_read_object_from_file(support.TESTFN)
599 _testcapi.pymarshal_read_object_from_file(support.TESTFN)