lib-python/3/test/test_capi::unmodified
== PyPy 3.11.15 (aafccb1b0b70, Jul 10 2026, 01:34:05) [PyPy 8.0.0-alpha0 with MSC v.1941 64 bit (AMD64)]
== Windows-10-10.0.19045-SP0 little-endian
== Python build: release with_assert
== cwd: D:\SystemTemp\pytest\test_python_worker_4140æ
== CPU count: 2
== encodings: locale=ascii FS=utf-8
== resources (3): curses,gui,network
Using random seed: 470047884
0:00:00 Run 1 test sequentially
0:00:00 [1/1] test_capi
test_decodeutf8 (test.test_capi.test_codecs.CAPITest.test_decodeutf8)
Test PyUnicode_DecodeUTF8() ... ok
test_decodeutf8stateful (test.test_capi.test_codecs.CAPITest.test_decodeutf8stateful)
Test PyUnicode_DecodeUTF8Stateful() ... skipped 'need _testcapi.unicode_decodeutf8stateful'
test_simple (test.test_capi.test_eval_code_ex.PyEval_EvalCodeExTests.test_simple) ... skipped 'need _testcapi.eval_code_ex'
test_with_args (test.test_capi.test_eval_code_ex.PyEval_EvalCodeExTests.test_with_args) ... skipped 'need _testcapi.eval_code_ex'
test_with_closure (test.test_capi.test_eval_code_ex.PyEval_EvalCodeExTests.test_with_closure) ... skipped 'need _testcapi.eval_code_ex'
test_with_default (test.test_capi.test_eval_code_ex.PyEval_EvalCodeExTests.test_with_default) ... skipped 'need _testcapi.eval_code_ex'
test_with_kwarg_default (test.test_capi.test_eval_code_ex.PyEval_EvalCodeExTests.test_with_kwarg_default) ... skipped 'need _testcapi.eval_code_ex'
test_with_kwargs (test.test_capi.test_eval_code_ex.PyEval_EvalCodeExTests.test_with_kwargs) ... skipped 'need _testcapi.eval_code_ex'
test_p (test.test_capi.test_getargs.Boolean_TestCase.test_p) ... ok
test_c (test.test_capi.test_getargs.Bytes_TestCase.test_c) ... ok
test_w_star (test.test_capi.test_getargs.Bytes_TestCase.test_w_star) ... ok
test_y (test.test_capi.test_getargs.Bytes_TestCase.test_y) ... ok
test_y_hash (test.test_capi.test_getargs.Bytes_TestCase.test_y_hash) ... ok
test_y_star (test.test_capi.test_getargs.Bytes_TestCase.test_y_star) ... ok
test_D (test.test_capi.test_getargs.Float_TestCase.test_D) ... ok
test_d (test.test_capi.test_getargs.Float_TestCase.test_d) ... ok
test_f (test.test_capi.test_getargs.Float_TestCase.test_f) ... ok
test_f_rounding (test.test_capi.test_getargs.Float_TestCase.test_f_rounding) ... ok
test_invalid_keyword (test.test_capi.test_getargs.KeywordOnly_TestCase.test_invalid_keyword) ... ok
test_keyword_args (test.test_capi.test_getargs.KeywordOnly_TestCase.test_keyword_args) ... ok
test_mixed_args (test.test_capi.test_getargs.KeywordOnly_TestCase.test_mixed_args) ... ok
test_optional_args (test.test_capi.test_getargs.KeywordOnly_TestCase.test_optional_args) ... ok
test_positional_args (test.test_capi.test_getargs.KeywordOnly_TestCase.test_positional_args) ... ok
test_required_args (test.test_capi.test_getargs.KeywordOnly_TestCase.test_required_args) ... ok
test_surrogate_keyword (test.test_capi.test_getargs.KeywordOnly_TestCase.test_surrogate_keyword) ... FAIL
test_too_many_args (test.test_capi.test_getargs.KeywordOnly_TestCase.test_too_many_args) ... ok
test_weird_str_subclass (test.test_capi.test_getargs.KeywordOnly_TestCase.test_weird_str_subclass) ... ok
test_weird_str_subclass2 (test.test_capi.test_getargs.KeywordOnly_TestCase.test_weird_str_subclass2) ... ok
test_invalid_keyword (test.test_capi.test_getargs.Keywords_TestCase.test_invalid_keyword) ... ok
test_keyword_args (test.test_capi.test_getargs.Keywords_TestCase.test_keyword_args) ... ok
test_kwargs (test.test_capi.test_getargs.Keywords_TestCase.test_kwargs) ... ok
test_mixed_args (test.test_capi.test_getargs.Keywords_TestCase.test_mixed_args) ... ok
test_optional_args (test.test_capi.test_getargs.Keywords_TestCase.test_optional_args) ... ok
test_positional_args (test.test_capi.test_getargs.Keywords_TestCase.test_positional_args) ... ok
test_required_args (test.test_capi.test_getargs.Keywords_TestCase.test_required_args) ... ok
test_surrogate_keyword (test.test_capi.test_getargs.Keywords_TestCase.test_surrogate_keyword) ... FAIL
test_too_many_args (test.test_capi.test_getargs.Keywords_TestCase.test_too_many_args) ... ok
test_K (test.test_capi.test_getargs.LongLong_TestCase.test_K) ... ok
test_L (test.test_capi.test_getargs.LongLong_TestCase.test_L) ... ok
test_S (test.test_capi.test_getargs.Object_TestCase.test_S) ... ok
test_U (test.test_capi.test_getargs.Object_TestCase.test_U) ... ok
test_Y (test.test_capi.test_getargs.Object_TestCase.test_Y) ... ok
test_bad_use (test.test_capi.test_getargs.ParseTupleAndKeywords_Test.test_bad_use) ... ok
test_nested_tuple (test.test_capi.test_getargs.ParseTupleAndKeywords_Test.test_nested_tuple) ... ok
test_parse_tuple_and_keywords (test.test_capi.test_getargs.ParseTupleAndKeywords_Test.test_parse_tuple_and_keywords) ... ok
test_positional_only (test.test_capi.test_getargs.ParseTupleAndKeywords_Test.test_positional_only) ... ok
test_empty_keyword (test.test_capi.test_getargs.PositionalOnlyAndKeywords_TestCase.test_empty_keyword) ... ok
test_mixed_args (test.test_capi.test_getargs.PositionalOnlyAndKeywords_TestCase.test_mixed_args) ... ok
test_optional_args (test.test_capi.test_getargs.PositionalOnlyAndKeywords_TestCase.test_optional_args) ... ok
test_positional_args (test.test_capi.test_getargs.PositionalOnlyAndKeywords_TestCase.test_positional_args) ... ok
test_required_args (test.test_capi.test_getargs.PositionalOnlyAndKeywords_TestCase.test_required_args) ... ok
test_h (test.test_capi.test_getargs.Signed_TestCase.test_h) ... ok
test_i (test.test_capi.test_getargs.Signed_TestCase.test_i) ... ok
test_l (test.test_capi.test_getargs.Signed_TestCase.test_l) ... ok
test_n (test.test_capi.test_getargs.Signed_TestCase.test_n) ... ok
test_skipitem (test.test_capi.test_getargs.SkipitemTest.test_skipitem)
If this test failed, you probably added a new "format unit" ... ok
test_skipitem_with_suffix (test.test_capi.test_getargs.SkipitemTest.test_skipitem_with_suffix) ... ok
test_C (test.test_capi.test_getargs.String_TestCase.test_C) ... ok
test_Z (test.test_capi.test_getargs.String_TestCase.test_Z) ... ok
test_Z_hash (test.test_capi.test_getargs.String_TestCase.test_Z_hash) ... ok
test_es (test.test_capi.test_getargs.String_TestCase.test_es) ... ok
test_es_hash (test.test_capi.test_getargs.String_TestCase.test_es_hash) ... ok
test_et (test.test_capi.test_getargs.String_TestCase.test_et) ... ok
test_et_hash (test.test_capi.test_getargs.String_TestCase.test_et_hash) ... ok
test_gh_99240_clear_args (test.test_capi.test_getargs.String_TestCase.test_gh_99240_clear_args) ... ok
test_s (test.test_capi.test_getargs.String_TestCase.test_s) ... ok
test_s_hash (test.test_capi.test_getargs.String_TestCase.test_s_hash) ... ok
test_s_hash_int (test.test_capi.test_getargs.String_TestCase.test_s_hash_int) ... ok
test_s_star (test.test_capi.test_getargs.String_TestCase.test_s_star) ... ok
test_u (test.test_capi.test_getargs.String_TestCase.test_u) ... ok
test_u_hash (test.test_capi.test_getargs.String_TestCase.test_u_hash) ... ok
test_z (test.test_capi.test_getargs.String_TestCase.test_z) ... ok
test_z_hash (test.test_capi.test_getargs.String_TestCase.test_z_hash) ... ok
test_z_star (test.test_capi.test_getargs.String_TestCase.test_z_star) ... ok
test (test.test_capi.test_getargs.Test6012.test) ... skipped 'implementation detail specific to cpython'
test_L_code (test.test_capi.test_getargs.Test_testcapi.test_L_code) ... ok
test_Z_code (test.test_capi.test_getargs.Test_testcapi.test_Z_code) ... skipped 'no test_Z_code on PyPy'
test_k_code (test.test_capi.test_getargs.Test_testcapi.test_k_code) ... ok
test_s_code (test.test_capi.test_getargs.Test_testcapi.test_s_code) ... ok
test_u_code (test.test_capi.test_getargs.Test_testcapi.test_u_code) ... skipped 'no test_u_code on PyPy'
test_args (test.test_capi.test_getargs.Tuple_TestCase.test_args) ... ok
test_tuple (test.test_capi.test_getargs.Tuple_TestCase.test_tuple) ... ok
test_B (test.test_capi.test_getargs.Unsigned_TestCase.test_B) ... ok
test_H (test.test_capi.test_getargs.Unsigned_TestCase.test_H) ... ok
test_I (test.test_capi.test_getargs.Unsigned_TestCase.test_I) ... ok
test_b (test.test_capi.test_getargs.Unsigned_TestCase.test_b) ... ok
test_k (test.test_capi.test_getargs.Unsigned_TestCase.test_k) ... ok
test_Py_CompileString (test.test_capi.test_misc.CAPITest.test_Py_CompileString) ... ok
test_buildvalue_N (test.test_capi.test_misc.CAPITest.test_buildvalue_N) ... ok
test_c_subclass_of_heap_ctype_with_del_modifying_dunder_class_only_decrefs_once (test.test_capi.test_misc.CAPITest.test_c_subclass_of_heap_ctype_with_del_modifying_dunder_class_only_decrefs_once) ... skipped 'no getrefcount in PyPy'
test_c_subclass_of_heap_ctype_with_tpdealloc_decrefs_once (test.test_capi.test_misc.CAPITest.test_c_subclass_of_heap_ctype_with_tpdealloc_decrefs_once) ... skipped 'no getrefcount in PyPy'
test_c_type_with_ipow (test.test_capi.test_misc.CAPITest.test_c_type_with_ipow) ... ok
test_c_type_with_matrix_multiplication (test.test_capi.test_misc.CAPITest.test_c_type_with_matrix_multiplication) ... ok
test_docstring_signature_parsing (test.test_capi.test_misc.CAPITest.test_docstring_signature_parsing) ... ok
test_eval_get_func_desc (test.test_capi.test_misc.CAPITest.test_eval_get_func_desc) ... ok
test_eval_get_func_name (test.test_capi.test_misc.CAPITest.test_eval_get_func_name) ... ok
test_exc_info (test.test_capi.test_misc.CAPITest.test_exc_info) ... ok
test_exception (test.test_capi.test_misc.CAPITest.test_exception) ... ok
test_export_symbols (test.test_capi.test_misc.CAPITest.test_export_symbols) ... skipped 'no ctypes.pythonapi in PyPy'
test_fatal_error (test.test_capi.test_misc.CAPITest.test_fatal_error) ... skipped 'PyPy does not print extension modules in Py_FatalError output'
test_function_get_code (test.test_capi.test_misc.CAPITest.test_function_get_code) ... ok
test_function_get_globals (test.test_capi.test_misc.CAPITest.test_function_get_globals) ... ok
test_function_get_module (test.test_capi.test_misc.CAPITest.test_function_get_module) ... ok
test_getitem_with_error (test.test_capi.test_misc.CAPITest.test_getitem_with_error) ... FAIL
test_heap_ctype_doc_and_text_signature (test.test_capi.test_misc.CAPITest.test_heap_ctype_doc_and_text_signature) ... ok
test_heaptype_with_buffer (test.test_capi.test_misc.CAPITest.test_heaptype_with_buffer) ... ok
test_heaptype_with_dict (test.test_capi.test_misc.CAPITest.test_heaptype_with_dict) ... ok
test_heaptype_with_negative_dict (test.test_capi.test_misc.CAPITest.test_heaptype_with_negative_dict) ... ok
test_heaptype_with_setattro (test.test_capi.test_misc.CAPITest.test_heaptype_with_setattro) ... ok
test_heaptype_with_weakref (test.test_capi.test_misc.CAPITest.test_heaptype_with_weakref) ... skipped 'PyPy does not maintain the C-struct weakref list at tp_weaklistoffset'
test_instancemethod (test.test_capi.test_misc.CAPITest.test_instancemethod) ... ok
test_mapping_has_key (test.test_capi.test_misc.CAPITest.test_mapping_has_key) ... ok
test_mapping_keys_values_items (test.test_capi.test_misc.CAPITest.test_mapping_keys_values_items) ... ok
test_mapping_keys_values_items_bad_arg (test.test_capi.test_misc.CAPITest.test_mapping_keys_values_items_bad_arg) ... ok
test_memoryview_from_NULL_pointer (test.test_capi.test_misc.CAPITest.test_memoryview_from_NULL_pointer) ... ok
test_multiple_inheritance_ctypes_with_weakref_or_dict (test.test_capi.test_misc.CAPITest.test_multiple_inheritance_ctypes_with_weakref_or_dict) ... ok
test_negative_refcount (test.test_capi.test_misc.CAPITest.test_negative_refcount) ... skipped 'need _testcapi.negative_refcount'
test_no_FatalError_infinite_loop (test.test_capi.test_misc.CAPITest.test_no_FatalError_infinite_loop) ... skipped 'PyPy uses a different fatal error message format'
test_null_type_doc (test.test_capi.test_misc.CAPITest.test_null_type_doc) ... ok
test_pynumber_tobase (test.test_capi.test_misc.CAPITest.test_pynumber_tobase) ... ok
test_pyobject_bytes_from_null (test.test_capi.test_misc.CAPITest.test_pyobject_bytes_from_null) ... ok
test_pyobject_repr_from_null (test.test_capi.test_misc.CAPITest.test_pyobject_repr_from_null) ... ok
test_pyobject_str_from_null (test.test_capi.test_misc.CAPITest.test_pyobject_str_from_null) ... ok
test_return_null_without_error (test.test_capi.test_misc.CAPITest.test_return_null_without_error) ... ok
test_return_result_with_error (test.test_capi.test_misc.CAPITest.test_return_result_with_error) ... ok
test_seq_bytes_to_charp_array (test.test_capi.test_misc.CAPITest.test_seq_bytes_to_charp_array) ... skipped '_posixsubprocess required for this test.'
test_sequence_del_slice (test.test_capi.test_misc.CAPITest.test_sequence_del_slice) ... ok
test_sequence_set_slice (test.test_capi.test_misc.CAPITest.test_sequence_set_slice) ... ok
test_set_nomemory (test.test_capi.test_misc.CAPITest.test_set_nomemory) ... skipped 'no allocation hooks on PyPy'
test_set_object (test.test_capi.test_misc.CAPITest.test_set_object) ... ok
test_subclass_of_heap_gc_ctype_with_del_modifying_dunder_class_only_decrefs_once (test.test_capi.test_misc.CAPITest.test_subclass_of_heap_gc_ctype_with_del_modifying_dunder_class_only_decrefs_once) ... skipped 'implementation detail specific to cpython'
test_subclass_of_heap_gc_ctype_with_tpdealloc_decrefs_once (test.test_capi.test_misc.CAPITest.test_subclass_of_heap_gc_ctype_with_tpdealloc_decrefs_once) ... skipped 'implementation detail specific to cpython'
test_subprocess_fork_exec (test.test_capi.test_misc.CAPITest.test_subprocess_fork_exec) ... skipped '_posixsubprocess required for this test.'
test_sys_setobject (test.test_capi.test_misc.CAPITest.test_sys_setobject) ... ok
test_trashcan_python_class1 (test.test_capi.test_misc.CAPITest.test_trashcan_python_class1) ... skipped "resource 'cpu' is not enabled"
test_trashcan_python_class2 (test.test_capi.test_misc.CAPITest.test_trashcan_python_class2) ... skipped "resource 'cpu' is not enabled"
test_trashcan_subclass (test.test_capi.test_misc.CAPITest.test_trashcan_subclass) ... ok
test_api_misuse (test.test_capi.test_misc.PyMemDebugTests.test_api_misuse) ... skipped 'no malloc policies on PyPy'
test_buffer_overflow (test.test_capi.test_misc.PyMemDebugTests.test_buffer_overflow) ... skipped 'no malloc policies on PyPy'
test_pymem_malloc_without_gil (test.test_capi.test_misc.PyMemDebugTests.test_pymem_malloc_without_gil) ... skipped 'no malloc policies on PyPy'
test_pyobject_forbidden_bytes_is_freed (test.test_capi.test_misc.PyMemDebugTests.test_pyobject_forbidden_bytes_is_freed) ... skipped 'no malloc policies on PyPy'
test_pyobject_freed_is_freed (test.test_capi.test_misc.PyMemDebugTests.test_pyobject_freed_is_freed) ... skipped 'no malloc policies on PyPy'
test_pyobject_malloc_without_gil (test.test_capi.test_misc.PyMemDebugTests.test_pyobject_malloc_without_gil) ... skipped 'no malloc policies on PyPy'
test_pyobject_null_is_freed (test.test_capi.test_misc.PyMemDebugTests.test_pyobject_null_is_freed) ... skipped 'no malloc policies on PyPy'
test_pyobject_uninitialized_is_freed (test.test_capi.test_misc.PyMemDebugTests.test_pyobject_uninitialized_is_freed) ... skipped 'no malloc policies on PyPy'
test_api_misuse (test.test_capi.test_misc.PyMemDefaultTests.test_api_misuse) ... skipped 'need Py_DEBUG'
test_buffer_overflow (test.test_capi.test_misc.PyMemDefaultTests.test_buffer_overflow) ... skipped 'need Py_DEBUG'
test_pymem_malloc_without_gil (test.test_capi.test_misc.PyMemDefaultTests.test_pymem_malloc_without_gil) ... skipped 'need Py_DEBUG'
test_pyobject_forbidden_bytes_is_freed (test.test_capi.test_misc.PyMemDefaultTests.test_pyobject_forbidden_bytes_is_freed) ... skipped 'need Py_DEBUG'
test_pyobject_freed_is_freed (test.test_capi.test_misc.PyMemDefaultTests.test_pyobject_freed_is_freed) ... skipped 'need Py_DEBUG'
test_pyobject_malloc_without_gil (test.test_capi.test_misc.PyMemDefaultTests.test_pyobject_malloc_without_gil) ... skipped 'need Py_DEBUG'
test_pyobject_null_is_freed (test.test_capi.test_misc.PyMemDefaultTests.test_pyobject_null_is_freed) ... skipped 'need Py_DEBUG'
test_pyobject_uninitialized_is_freed (test.test_capi.test_misc.PyMemDefaultTests.test_pyobject_uninitialized_is_freed) ... skipped 'need Py_DEBUG'
test_api_misuse (test.test_capi.test_misc.PyMemMallocDebugTests.test_api_misuse) ... skipped 'no malloc policies on PyPy'
test_buffer_overflow (test.test_capi.test_misc.PyMemMallocDebugTests.test_buffer_overflow) ... skipped 'no malloc policies on PyPy'
test_pymem_malloc_without_gil (test.test_capi.test_misc.PyMemMallocDebugTests.test_pymem_malloc_without_gil) ... skipped 'no malloc policies on PyPy'
test_pyobject_forbidden_bytes_is_freed (test.test_capi.test_misc.PyMemMallocDebugTests.test_pyobject_forbidden_bytes_is_freed) ... skipped 'no malloc policies on PyPy'
test_pyobject_freed_is_freed (test.test_capi.test_misc.PyMemMallocDebugTests.test_pyobject_freed_is_freed) ... skipped 'no malloc policies on PyPy'
test_pyobject_malloc_without_gil (test.test_capi.test_misc.PyMemMallocDebugTests.test_pyobject_malloc_without_gil) ... skipped 'no malloc policies on PyPy'
test_pyobject_null_is_freed (test.test_capi.test_misc.PyMemMallocDebugTests.test_pyobject_null_is_freed) ... skipped 'no malloc policies on PyPy'
test_pyobject_uninitialized_is_freed (test.test_capi.test_misc.PyMemMallocDebugTests.test_pyobject_uninitialized_is_freed) ... skipped 'no malloc policies on PyPy'
test_api_misuse (test.test_capi.test_misc.PyMemPymallocDebugTests.test_api_misuse) ... skipped 'no malloc policies on PyPy'
test_buffer_overflow (test.test_capi.test_misc.PyMemPymallocDebugTests.test_buffer_overflow) ... skipped 'no malloc policies on PyPy'
test_pymem_malloc_without_gil (test.test_capi.test_misc.PyMemPymallocDebugTests.test_pymem_malloc_without_gil) ... skipped 'no malloc policies on PyPy'
test_pyobject_forbidden_bytes_is_freed (test.test_capi.test_misc.PyMemPymallocDebugTests.test_pyobject_forbidden_bytes_is_freed) ... skipped 'no malloc policies on PyPy'
test_pyobject_freed_is_freed (test.test_capi.test_misc.PyMemPymallocDebugTests.test_pyobject_freed_is_freed) ... skipped 'no malloc policies on PyPy'
test_pyobject_malloc_without_gil (test.test_capi.test_misc.PyMemPymallocDebugTests.test_pyobject_malloc_without_gil) ... skipped 'no malloc policies on PyPy'
test_pyobject_null_is_freed (test.test_capi.test_misc.PyMemPymallocDebugTests.test_pyobject_null_is_freed) ... skipped 'no malloc policies on PyPy'
test_pyobject_uninitialized_is_freed (test.test_capi.test_misc.PyMemPymallocDebugTests.test_pyobject_uninitialized_is_freed) ... skipped 'no malloc policies on PyPy'
test_module_state_shared_in_global (test.test_capi.test_misc.SubinterpreterTest.test_module_state_shared_in_global)
bpo-44050: Extension module state should be shared between interpreters ... skipped 'no subinterpreters on PyPy'
test_mutate_exception (test.test_capi.test_misc.SubinterpreterTest.test_mutate_exception)
Exceptions saved in global module state get shared between ... skipped 'no subinterpreters on PyPy'
test_subinterps (test.test_capi.test_misc.SubinterpreterTest.test_subinterps) ... skipped 'no subinterpreters on PyPy'
test_subinterps_recent_language_features (test.test_capi.test_misc.SubinterpreterTest.test_subinterps_recent_language_features) ... skipped 'no subinterpreters on PyPy'
test_pendingcalls_non_threaded (test.test_capi.test_misc.TestPendingCalls.test_pendingcalls_non_threaded) ... skipped 'cannot call Py_AddPendingCall'
test_pendingcalls_threaded (test.test_capi.test_misc.TestPendingCalls.test_pendingcalls_threaded) ... skipped 'cannot call Py_AddPendingCall'
test_gilstate_ensure_no_deadlock (test.test_capi.test_misc.TestThreadState.test_gilstate_ensure_no_deadlock) ... ok
test_thread_state (test.test_capi.test_misc.TestThreadState.test_thread_state) ... ok
test_frame_fback_api (test.test_capi.test_misc.Test_FrameAPI.test_frame_fback_api)
Test that accessing `f_back` does not cause a segmentation fault on ... ok
test_frame_get_generator (test.test_capi.test_misc.Test_FrameAPI.test_frame_get_generator) ... ok
test_frame_getters (test.test_capi.test_misc.Test_FrameAPI.test_frame_getters) ... ok
test_get_module_bad_def (test.test_capi.test_misc.Test_ModuleStateAccess.test_get_module_bad_def) ... ok
test_get_module_static_in_mro (test.test_capi.test_misc.Test_ModuleStateAccess.test_get_module_static_in_mro) ... ok
test_state_access (test.test_capi.test_misc.Test_ModuleStateAccess.test_state_access)
Checks methods defined with and without argument clinic ... ok
test_subclass_get_module (test.test_capi.test_misc.Test_ModuleStateAccess.test_subclass_get_module)
PyType_GetModule for defining_class ... ok
test_subclass_get_module_with_super (test.test_capi.test_misc.Test_ModuleStateAccess.test_subclass_get_module_with_super) ... ok
test_inlined_binary_subscr (test.test_capi.test_misc.Test_Pep523API.test_inlined_binary_subscr) ... skipped 'no _testinternalcapi PyPy'
test_inlined_call (test.test_capi.test_misc.Test_Pep523API.test_inlined_call) ... skipped 'no _testinternalcapi PyPy'
test_buildvalue_N (test.test_capi.test_misc.Test_testcapi.test_buildvalue_N) ... ok
test_capsule (test.test_capi.test_misc.Test_testcapi.test_capsule) ... ok
test_code_api (test.test_capi.test_misc.Test_testcapi.test_code_api) ... ok
test_config (test.test_capi.test_misc.Test_testcapi.test_config) ... ok
test_datetime_capi (test.test_capi.test_misc.Test_testcapi.test_datetime_capi) ... ok
test_decref_doesnt_leak (test.test_capi.test_misc.Test_testcapi.test_decref_doesnt_leak) ... ok
test_dict_iteration (test.test_capi.test_misc.Test_testcapi.test_dict_iteration) ... ok
test_empty_argparse (test.test_capi.test_misc.Test_testcapi.test_empty_argparse) ... ok
test_from_contiguous (test.test_capi.test_misc.Test_testcapi.test_from_contiguous) ... ok
test_gc_control (test.test_capi.test_misc.Test_testcapi.test_gc_control) ... ok
test_get_statictype_slots (test.test_capi.test_misc.Test_testcapi.test_get_statictype_slots) ... ok
test_get_type_name (test.test_capi.test_misc.Test_testcapi.test_get_type_name) ... ok
test_get_type_qualname (test.test_capi.test_misc.Test_testcapi.test_get_type_qualname) ... ok
test_incref_decref_API (test.test_capi.test_misc.Test_testcapi.test_incref_decref_API) ... ok
test_incref_doesnt_leak (test.test_capi.test_misc.Test_testcapi.test_incref_doesnt_leak) ... ok
test_lazy_hash_inheritance (test.test_capi.test_misc.Test_testcapi.test_lazy_hash_inheritance) ... ok
test_list_api (test.test_capi.test_misc.Test_testcapi.test_list_api) ... ok
test_long_and_overflow (test.test_capi.test_misc.Test_testcapi.test_long_and_overflow) ... ok
test_long_api (test.test_capi.test_misc.Test_testcapi.test_long_api) ... ok
test_long_as_double (test.test_capi.test_misc.Test_testcapi.test_long_as_double) ... ok
test_long_as_size_t (test.test_capi.test_misc.Test_testcapi.test_long_as_size_t) ... ok
test_long_as_unsigned_long_long_mask (test.test_capi.test_misc.Test_testcapi.test_long_as_unsigned_long_long_mask) ... ok
test_long_long_and_overflow (test.test_capi.test_misc.Test_testcapi.test_long_long_and_overflow) ... ok
test_long_numbits (test.test_capi.test_misc.Test_testcapi.test_long_numbits) ... ok
test_longlong_api (test.test_capi.test_misc.Test_testcapi.test_longlong_api) ... ok
test_mapping_has_key_string (test.test_capi.test_misc.Test_testcapi.test_mapping_has_key_string) ... ok
test_py_is_funcs (test.test_capi.test_misc.Test_testcapi.test_py_is_funcs) ... ok
test_py_is_macros (test.test_capi.test_misc.Test_testcapi.test_py_is_macros) ... ok
test_pymem_alloc0 (test.test_capi.test_misc.Test_testcapi.test_pymem_alloc0) ... ok
test_pythread_tss_key_state (test.test_capi.test_misc.Test_testcapi.test_pythread_tss_key_state) ... ok
test_refcount_funcs (test.test_capi.test_misc.Test_testcapi.test_refcount_funcs) ... ok
test_refcount_macros (test.test_capi.test_misc.Test_testcapi.test_refcount_macros) ... ok
test_set_type_size (test.test_capi.test_misc.Test_testcapi.test_set_type_size) ... ok
test_sizeof_c_types (test.test_capi.test_misc.Test_testcapi.test_sizeof_c_types) ... ok
test_string_from_format (test.test_capi.test_misc.Test_testcapi.test_string_from_format) ... ok
test_string_to_double (test.test_capi.test_misc.Test_testcapi.test_string_to_double) ... ok
test_structseq_newtype_null_descr_doc (test.test_capi.test_misc.Test_testcapi.test_structseq_newtype_null_descr_doc) ... ok
test_tstate_capi (test.test_capi.test_misc.Test_testcapi.test_tstate_capi) ... ok
test_type_from_ephemeral_spec (test.test_capi.test_misc.Test_testcapi.test_type_from_ephemeral_spec) ... ok
test_unicode_compare_with_ascii (test.test_capi.test_misc.Test_testcapi.test_unicode_compare_with_ascii) ... ok
test_version_api_data (test.test_capi.test_misc.Test_testcapi.test_version_api_data) ... ok
test_widechar (test.test_capi.test_misc.Test_testcapi.test_widechar) ... ok
test_with_docstring (test.test_capi.test_misc.Test_testcapi.test_with_docstring)
This is a pretty normal docstring. ... ok
test_xdecref_doesnt_leak (test.test_capi.test_misc.Test_testcapi.test_xdecref_doesnt_leak) ... ok
test_xincref_doesnt_leak (test.test_capi.test_misc.Test_testcapi.test_xincref_doesnt_leak) ... ok
test_bad_assignments (test.test_capi.test_structmembers.ReadWriteTests.test_bad_assignments) ... ok
test_bool (test.test_capi.test_structmembers.ReadWriteTests.test_bool) ... ok
test_byte (test.test_capi.test_structmembers.ReadWriteTests.test_byte) ... ok
test_inplace_string (test.test_capi.test_structmembers.ReadWriteTests.test_inplace_string) ... ok
test_int (test.test_capi.test_structmembers.ReadWriteTests.test_int) ... ok
test_long (test.test_capi.test_structmembers.ReadWriteTests.test_long) ... ok
test_longlong (test.test_capi.test_structmembers.ReadWriteTests.test_longlong) ... ok
test_py_ssize_t (test.test_capi.test_structmembers.ReadWriteTests.test_py_ssize_t) ... ok
test_short (test.test_capi.test_structmembers.ReadWriteTests.test_short) ... ok
test_asucs4 (test.test_capi.test_unicode.CAPITest.test_asucs4) ... skipped 'implementation detail specific to cpython'
test_asutf8 (test.test_capi.test_unicode.CAPITest.test_asutf8) ... skipped 'implementation detail specific to cpython'
test_asutf8andsize (test.test_capi.test_unicode.CAPITest.test_asutf8andsize) ... skipped 'implementation detail specific to cpython'
test_aswidechar (test.test_capi.test_unicode.CAPITest.test_aswidechar) ... skipped 'implementation detail specific to cpython'
test_aswidecharstring (test.test_capi.test_unicode.CAPITest.test_aswidecharstring) ... skipped 'implementation detail specific to cpython'
test_copycharacters (test.test_capi.test_unicode.CAPITest.test_copycharacters) ... skipped 'implementation detail specific to cpython'
test_findchar (test.test_capi.test_unicode.CAPITest.test_findchar) ... skipped 'implementation detail specific to cpython'
test_from_format (test.test_capi.test_unicode.CAPITest.test_from_format) ... skipped 'no pythonapi in PyPy'
test_pep393_utf8_caching_bug (test.test_capi.test_unicode.CAPITest.test_pep393_utf8_caching_bug) ... skipped 'implementation detail specific to cpython'
======================================================================
FAIL: test_surrogate_keyword (test.test_capi.test_getargs.KeywordOnly_TestCase.test_surrogate_keyword)
----------------------------------------------------------------------
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_capi\test_getargs.py", line 750, in test_surrogate_keyword
getargs_keyword_only(1, 2, **{'\uDC80': 10})
TypeError: '�' is an invalid keyword argument for this function
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_capi\test_getargs.py", line 748, in test_surrogate_keyword
with self.assertRaisesRegex(TypeError,
AssertionError: "'\udc80' is an invalid keyword argument for this function" does not match "'�' is an invalid keyword argument for this function"
======================================================================
FAIL: test_surrogate_keyword (test.test_capi.test_getargs.Keywords_TestCase.test_surrogate_keyword)
----------------------------------------------------------------------
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_capi\test_getargs.py", line 675, in test_surrogate_keyword
getargs_keywords((1,2), 3, (4,(5,6)), (7,8,9), **{'\uDC80': 10})
TypeError: '�' is an invalid keyword argument for this function
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_capi\test_getargs.py", line 677, in test_surrogate_keyword
self.assertEqual(str(err), "'\udc80' is an invalid keyword argument for this function")
^^^^^^^^^^^
AssertionError: "'�' is an invalid keyword argument for this function" != "'\udc80' is an invalid keyword argument for this function"
- '�' is an invalid keyword argument for this function
? ^
+ '\udc80' is an invalid keyword argument for this function
? ^
======================================================================
FAIL: test_getitem_with_error (test.test_capi.test_misc.CAPITest.test_getitem_with_error)
----------------------------------------------------------------------
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_capi\test_misc.py", line 355, in test_getitem_with_error
self.assertRegex(err,
^^^^^^^^^^^
AssertionError: Regex didn't match: 'Fatal Python error: _Py_CheckSlotResult: Slot __getitem__ of type dict succeeded with an exception set\\nPython runtime state: initialized\\nValueError: bug\\n\\nCurrent thread .* \\(most recent call first\\):\\n File .*, line 6 in <module>\\n\\nExtension modules: _testcapi \\(total: 1\\)\\n' not found in 'Traceback (most recent call last):\n File "<string>", line 5, in <module>\n File "d:\\pypy_stuff\\buildbot64\\slave\\pypy-c-jit-win-x86-64\\build\\lib-python\\3\\test\\support\\__init__.py", line 1564, in __enter__\n self.old_value = msvcrt.GetErrorMode()\n ^^^^^^^^^^^^\nTypeError: \'unsigned int(*)(unsigned int)\' expects 1 arguments, got 0\n'
----------------------------------------------------------------------
Ran 250 tests in 2.675s
FAILED (failures=3, skipped=73)
test_capi failed (3 failures)
== Tests result: FAILURE ==
1 test failed:
test_capi
Total duration: 3.0 sec
Total tests: run=250 failures=3 skipped=73
Total test files: run=1/1 failed=1
Result: FAILURE
test test_capi failed
builder: pypy-c-jit-win-x86-64 build #2434+
test: lib-python/3/test/test_capi::unmodified