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

1 2 3 4 5

  /external/python/cpython2/Lib/test/
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 # Skip this test if the _testcapi module isn't available.
17 _testcapi = support.import_module('_testcapi') variable
22 _testcapi.test_buildvalue_N()
40 if _testcapi._pending_threadfunc(callback):
109 # some extra thread-state tests driven via _testcapi
116 _testcapi._test_thread_state(callback)
130 for name in dir(_testcapi)
    [all...]
test_getargs2.py 5 # Skip this test if the _testcapi module isn't available.
6 test_support.import_module('_testcapi')
7 from _testcapi import getargs_keywords
45 from _testcapi import UCHAR_MAX, USHRT_MAX, UINT_MAX, ULONG_MAX, INT_MAX, \
54 from _testcapi import getargs_L, getargs_K
130 from _testcapi import getargs_b
146 from _testcapi import getargs_B
163 from _testcapi import getargs_H
180 from _testcapi import getargs_I
197 from _testcapi import getargs_
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_ucn.py 12 import _testcapi
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
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
108 co = _testcapi.code_newempty("filename", "funcname", 15)
test_fcntl.py 9 import _testcapi
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),
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_ucn.py 12 import _testcapi
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
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
108 co = _testcapi.code_newempty("filename", "funcname", 15)
test_fcntl.py 9 import _testcapi
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),
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_ucn.py 12 import _testcapi
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
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
108 co = _testcapi.code_newempty("filename", "funcname", 15)
test_fcntl.py 9 import _testcapi
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),
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_ucn.py 12 import _testcapi
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
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
108 co = _testcapi.code_newempty("filename", "funcname", 15)
test_fcntl.py 9 import _testcapi
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),
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
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_'.
14 import _testcapi
31 if _testcapi._pending_threadfunc(callback):
101 for name in dir(_testcapi):
103 test = getattr(_testcapi, name)
108 except _testcapi.error:
111 # some extra thread-state tests driven via _testcapi
121 _testcapi._test_thread_state(callback)
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_l
    [all...]
test_code.py 85 import _testcapi
108 co = _testcapi.code_newempty("filename", "funcname", 15)

Completed in 369 milliseconds

1 2 3 4 5