Searched refs:_testcapi (Results 1 - 25 of 80) sorted by relevance

1234

/prebuilts/gdb/darwin-x86/lib/python2.7/test/
H A Dtest_ucn.py12 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))
H A Dtest_capi.py1 # 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:
H A Dtest_getargs2.py3 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 impor
[all...]
H A Dtest_code.py85 import _testcapi namespace
108 co = _testcapi.code_newempty("filename", "funcname", 15)
H A Dtest_fcntl.py9 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),
H A Dtest_poll.py4 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)
H A Dtest_exceptions.py160 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
[all...]
/prebuilts/gdb/linux-x86/lib/python2.7/test/
H A Dtest_ucn.py12 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))
H A Dtest_capi.py1 # 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:
H A Dtest_getargs2.py3 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 impor
[all...]
H A Dtest_code.py85 import _testcapi namespace
108 co = _testcapi.code_newempty("filename", "funcname", 15)
H A Dtest_fcntl.py9 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),
H A Dtest_poll.py4 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)
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_ucn.py12 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))
H A Dtest_capi.py1 # 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:
H A Dtest_getargs2.py3 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 impor
[all...]
H A Dtest_code.py85 import _testcapi namespace
108 co = _testcapi.code_newempty("filename", "funcname", 15)
H A Dtest_fcntl.py9 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),
H A Dtest_poll.py4 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)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_ucn.py12 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))
H A Dtest_capi.py1 # 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:
H A Dtest_getargs2.py3 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 impor
[all...]
H A Dtest_code.py85 import _testcapi namespace
108 co = _testcapi.code_newempty("filename", "funcname", 15)
H A Dtest_fcntl.py9 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),
H A Dtest_poll.py4 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)

Completed in 206 milliseconds

1234