HomeSort by relevance Sort by last modified time
    Searched refs:_testcapi (Results 1 - 25 of 40) sorted by null

1 2

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_ucn.py 12 import _testcapi namespace
142 @unittest.skipUnless(_testcapi.INT_MAX < _testcapi.PY_SSIZE_T_MAX,
144 @unittest.skipUnless(_testcapi.UINT_MAX < sys.maxint,
146 @test_support.bigmemtest(minsize=_testcapi.UINT_MAX + 1,
154 x = b'\\N{SPACE' + b'x' * int(_testcapi.UINT_MAX + 1) + b'}'
156 (_testcapi.UINT_MAX + 1))
test_capi.py 1 # Run the _testcapi module tests (tests for the Python/C API): by defn,
2 # these are all functions _testcapi exports whose name begins with 'test_'.
16 import _testcapi namespace
33 if _testcapi._pending_threadfunc(callback):
106 # some extra thread-state tests driven via _testcapi
113 _testcapi._test_thread_state(callback)
127 for name in dir(_testcapi):
129 test = getattr(_testcapi, name)
134 except _testcapi.error:
test_getargs2.py 3 from _testcapi import getargs_keywords
41 from _testcapi import UCHAR_MAX, USHRT_MAX, UINT_MAX, ULONG_MAX, INT_MAX, \
60 from _testcapi import getargs_b
76 from _testcapi import getargs_B
93 from _testcapi import getargs_H
110 from _testcapi import getargs_I
127 from _testcapi import getargs_k
146 from _testcapi import getargs_h
162 from _testcapi import getargs_i
178 from _testcapi import getargs_
    [all...]
test_code.py 85 import _testcapi namespace
108 co = _testcapi.code_newempty("filename", "funcname", 15)
test_fcntl.py 9 import _testcapi namespace
96 self.assertRaises(ValueError, fcntl.fcntl, _testcapi.INT_MAX + 1,
98 self.assertRaises(ValueError, fcntl.fcntl, F(_testcapi.INT_MAX + 1),
100 self.assertRaises(ValueError, fcntl.fcntl, _testcapi.INT_MIN - 1,
102 self.assertRaises(ValueError, fcntl.fcntl, F(_testcapi.INT_MIN - 1),
test_poll.py 4 import _testcapi namespace
157 _testcapi.SHRT_MAX + 1)
159 _testcapi.USHRT_MAX + 1)
160 self.assertRaises(OverflowError, pollster.poll, _testcapi.INT_MAX + 1)
161 self.assertRaises(OverflowError, pollster.poll, _testcapi.UINT_MAX + 1)
test_exceptions.py 160 import _testcapi namespace
162 _testcapi.raise_exception(BadException, 1)
172 import _testcapi namespace
174 _testcapi.raise_exception(BadException, 0)
603 import _testcapi namespace
607 self.assertRaises(SystemError, _testcapi.make_exception_with_doc,
611 error1 = _testcapi.make_exception_with_doc("_testcapi.error1")
617 error2 = _testcapi.make_exception_with_doc("_testcapi.error2", doc2
    [all...]
test_structmembers.py 1 from _testcapi import _test_structmembersType, \
test_fileio.py 13 import _testcapi namespace
348 self.assertRaises(TypeError, _FileIO, _testcapi.INT_MAX + 1)
349 self.assertRaises(TypeError, _FileIO, _testcapi.INT_MIN - 1)
test_traceback.py 3 from _testcapi import traceback_print
string_tests.py 8 import _testcapi namespace
    [all...]
test_codecs.py 5 import sys, StringIO, _testcapi namespace
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_ucn.py 12 import _testcapi namespace
142 @unittest.skipUnless(_testcapi.INT_MAX < _testcapi.PY_SSIZE_T_MAX,
144 @unittest.skipUnless(_testcapi.UINT_MAX < sys.maxint,
146 @test_support.bigmemtest(minsize=_testcapi.UINT_MAX + 1,
154 x = b'\\N{SPACE' + b'x' * int(_testcapi.UINT_MAX + 1) + b'}'
156 (_testcapi.UINT_MAX + 1))
test_capi.py 1 # Run the _testcapi module tests (tests for the Python/C API): by defn,
2 # these are all functions _testcapi exports whose name begins with 'test_'.
16 import _testcapi namespace
33 if _testcapi._pending_threadfunc(callback):
106 # some extra thread-state tests driven via _testcapi
113 _testcapi._test_thread_state(callback)
127 for name in dir(_testcapi):
129 test = getattr(_testcapi, name)
134 except _testcapi.error:
test_getargs2.py 3 from _testcapi import getargs_keywords
41 from _testcapi import UCHAR_MAX, USHRT_MAX, UINT_MAX, ULONG_MAX, INT_MAX, \
60 from _testcapi import getargs_b
76 from _testcapi import getargs_B
93 from _testcapi import getargs_H
110 from _testcapi import getargs_I
127 from _testcapi import getargs_k
146 from _testcapi import getargs_h
162 from _testcapi import getargs_i
178 from _testcapi import getargs_
    [all...]
test_code.py 85 import _testcapi namespace
108 co = _testcapi.code_newempty("filename", "funcname", 15)
test_fcntl.py 9 import _testcapi namespace
96 self.assertRaises(ValueError, fcntl.fcntl, _testcapi.INT_MAX + 1,
98 self.assertRaises(ValueError, fcntl.fcntl, F(_testcapi.INT_MAX + 1),
100 self.assertRaises(ValueError, fcntl.fcntl, _testcapi.INT_MIN - 1,
102 self.assertRaises(ValueError, fcntl.fcntl, F(_testcapi.INT_MIN - 1),
test_poll.py 4 import _testcapi namespace
157 _testcapi.SHRT_MAX + 1)
159 _testcapi.USHRT_MAX + 1)
160 self.assertRaises(OverflowError, pollster.poll, _testcapi.INT_MAX + 1)
161 self.assertRaises(OverflowError, pollster.poll, _testcapi.UINT_MAX + 1)
test_exceptions.py 160 import _testcapi namespace
162 _testcapi.raise_exception(BadException, 1)
172 import _testcapi namespace
174 _testcapi.raise_exception(BadException, 0)
603 import _testcapi namespace
607 self.assertRaises(SystemError, _testcapi.make_exception_with_doc,
611 error1 = _testcapi.make_exception_with_doc("_testcapi.error1")
617 error2 = _testcapi.make_exception_with_doc("_testcapi.error2", doc2
    [all...]
test_structmembers.py 1 from _testcapi import _test_structmembersType, \
test_fileio.py 13 import _testcapi namespace
348 self.assertRaises(TypeError, _FileIO, _testcapi.INT_MAX + 1)
349 self.assertRaises(TypeError, _FileIO, _testcapi.INT_MIN - 1)
test_traceback.py 3 from _testcapi import traceback_print
string_tests.py 8 import _testcapi namespace
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_structures.py 4 import _testcapi namespace
205 "_pack_": _testcapi.INT_MAX + 1}
208 "_pack_": _testcapi.UINT_MAX + 2}
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_structures.py 4 import _testcapi namespace
205 "_pack_": _testcapi.INT_MAX + 1}
208 "_pack_": _testcapi.UINT_MAX + 2}

Completed in 438 milliseconds

1 2