python testrunner/lib_python_tests.py in dir /build_dir/pypy-c-jit-linux-x86-64/build (timeout 4000 secs) watching logfiles {'pytestLog': 'cpython.log'} argv: ['python', 'testrunner/lib_python_tests.py'] environment: AUDITWHEEL_ARCH=x86_64 AUDITWHEEL_PLAT=manylinux2014_x86_64 AUDITWHEEL_POLICY=manylinux2014 DEVTOOLSET_ROOTPATH=/opt/rh/devtoolset-10/root HOME=/home/buildslave HOSTNAME=0b1c84676ded LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ALL=en_US.UTF-8 LD_LIBRARY_PATH=/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64 LOGNAME=buildslave PATH=/python27_virt/bin:/opt/rh/devtoolset-10/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/local/lib/pkgconfig PWD=/build_dir/pypy-c-jit-linux-x86-64/build PYPY_LOCALBASE=/usr/local PYPY_MAKE_PORTABLE=1 PYPY_USESSION_DIR=/tmp/pytest SETUPTOOLS_USE_DISTUTILS=stdlib SHELL=/bin/bash SHLVL=2 SSL_CERT_FILE=/opt/_internal/certs.pem TERM=xterm TMPDIR=/tmp/pytest USER=buildslave USE_CURL=1 _=/python27_virt/bin/buildslave using PTY: False ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/pypy-c-jit-linux-x86-64/build/.hypothesis/examples') rootdir: /build_dir/pypy-c-jit-linux-x86-64/build, inifile: pytest.ini plugins: hypothesis-4.42.0 collected 440 items lib-python/3/test/test___all__.py . lib-python/3/test/test__locale.py . lib-python/3/test/test__opcode.py F lib-python/3/test/test__osx_support.py . lib-python/3/test/test__xxinterpchannels.py s lib-python/3/test/test__xxsubinterpreters.py s lib-python/3/test/test_abc.py F lib-python/3/test/test_abstract_numbers.py . lib-python/3/test/test_aifc.py . lib-python/3/test/test_argparse.py . lib-python/3/test/test_array.py . lib-python/3/test/test_asdl_parser.py . lib-python/3/test/test_asyncgen.py F lib-python/3/test/test_atexit.py . lib-python/3/test/test_audioop.py . lib-python/3/test/test_audit.py F lib-python/3/test/test_augassign.py . lib-python/3/test/test_base64.py . lib-python/3/test/test_baseexception.py . lib-python/3/test/test_bdb.py . lib-python/3/test/test_bigaddrspace.py . lib-python/3/test/test_bigmem.py . lib-python/3/test/test_binascii.py F lib-python/3/test/test_binop.py . lib-python/3/test/test_bisect.py . lib-python/3/test/test_bool.py F lib-python/3/test/test_buffer.py F lib-python/3/test/test_bufio.py . lib-python/3/test/test_builtin.py F lib-python/3/test/test_bytes.py F lib-python/3/test/test_bz2.py . lib-python/3/test/test_c_locale_coercion.py . lib-python/3/test/test_calendar.py . lib-python/3/test/test_call.py F lib-python/3/test/test_cgi.py . lib-python/3/test/test_cgitb.py . lib-python/3/test/test_charmapcodec.py . lib-python/3/test/test_class.py F lib-python/3/test/test_clinic.py . lib-python/3/test/test_cmath.py . lib-python/3/test/test_cmd.py . lib-python/3/test/test_cmd_line.py F lib-python/3/test/test_cmd_line_script.py F lib-python/3/test/test_code.py F lib-python/3/test/test_code_module.py F lib-python/3/test/test_codeccallbacks.py F lib-python/3/test/test_codecencodings_cn.py . lib-python/3/test/test_codecencodings_hk.py . lib-python/3/test/test_codecencodings_iso2022.py . lib-python/3/test/test_codecencodings_jp.py . lib-python/3/test/test_codecencodings_kr.py . lib-python/3/test/test_codecencodings_tw.py . lib-python/3/test/test_codecmaps_cn.py . lib-python/3/test/test_codecmaps_hk.py . lib-python/3/test/test_codecmaps_jp.py . lib-python/3/test/test_codecmaps_kr.py . lib-python/3/test/test_codecmaps_tw.py . lib-python/3/test/test_codecs.py F lib-python/3/test/test_codeop.py F lib-python/3/test/test_collections.py F lib-python/3/test/test_colorsys.py . lib-python/3/test/test_compare.py . lib-python/3/test/test_compile.py F lib-python/3/test/test_compileall.py . lib-python/3/test/test_compiler_assemble.py F lib-python/3/test/test_compiler_codegen.py F lib-python/3/test/test_complex.py F lib-python/3/test/test_configparser.py . lib-python/3/test/test_contains.py . lib-python/3/test/test_context.py F lib-python/3/test/test_contextlib.py . lib-python/3/test/test_contextlib_async.py F lib-python/3/test/test_copy.py . lib-python/3/test/test_copyreg.py . lib-python/3/test/test_coroutines.py F lib-python/3/test/test_cprofile.py F lib-python/3/test/test_crashers.py . lib-python/3/test/test_crypt.py . lib-python/3/test/test_csv.py F lib-python/3/test/test_curses.py F lib-python/3/test/test_datetime.py F lib-python/3/test/test_dbm.py . lib-python/3/test/test_dbm_dumb.py . lib-python/3/test/test_dbm_gnu.py . lib-python/3/test/test_dbm_ndbm.py . lib-python/3/test/test_decimal.py . lib-python/3/test/test_decorators.py . lib-python/3/test/test_defaultdict.py . lib-python/3/test/test_deque.py F lib-python/3/test/test_descr.py F lib-python/3/test/test_descrtut.py F lib-python/3/test/test_devpoll.py . lib-python/3/test/test_dict.py F lib-python/3/test/test_dict_version.py s lib-python/3/test/test_dictcomps.py F lib-python/3/test/test_dictviews.py F lib-python/3/test/test_difflib.py . lib-python/3/test/test_dis.py s lib-python/3/test/test_docxmlrpc.py . lib-python/3/test/test_dtrace.py . lib-python/3/test/test_dynamic.py . lib-python/3/test/test_dynamicclassattribute.py . lib-python/3/test/test_eintr.py . lib-python/3/test/test_embed.py F lib-python/3/test/test_ensurepip.py . lib-python/3/test/test_enum.py . lib-python/3/test/test_enumerate.py . lib-python/3/test/test_eof.py F lib-python/3/test/test_epoll.py . lib-python/3/test/test_errno.py . lib-python/3/test/test_except_star.py F lib-python/3/test/test_exception_group.py F lib-python/3/test/test_exception_hierarchy.py . lib-python/3/test/test_exception_variations.py . lib-python/3/test/test_exceptions.py . lib-python/3/test/test_extcall.py F lib-python/3/test/test_faulthandler.py F lib-python/3/test/test_fcntl.py . lib-python/3/test/test_file.py . lib-python/3/test/test_file_eintr.py . lib-python/3/test/test_filecmp.py . lib-python/3/test/test_fileinput.py . lib-python/3/test/test_fileio.py . lib-python/3/test/test_fileutils.py . lib-python/3/test/test_finalization.py F lib-python/3/test/test_float.py . lib-python/3/test/test_flufl.py F lib-python/3/test/test_fnmatch.py . lib-python/3/test/test_fork1.py . lib-python/3/test/test_format.py F lib-python/3/test/test_fractions.py F lib-python/3/test/test_frame.py F lib-python/3/test/test_frozen.py s lib-python/3/test/test_fstring.py . lib-python/3/test/test_ftplib.py . lib-python/3/test/test_funcattrs.py F lib-python/3/test/test_functools.py F lib-python/3/test/test_gc.py s lib-python/3/test/test_generator_stop.py . lib-python/3/test/test_generators.py F lib-python/3/test/test_genericalias.py F lib-python/3/test/test_genericclass.py . lib-python/3/test/test_genericpath.py . lib-python/3/test/test_genexps.py F lib-python/3/test/test_getopt.py . lib-python/3/test/test_getpass.py . lib-python/3/test/test_getpath.py s lib-python/3/test/test_gettext.py F lib-python/3/test/test_glob.py . lib-python/3/test/test_global.py . lib-python/3/test/test_grammar.py F lib-python/3/test/test_graphlib.py . lib-python/3/test/test_grp.py . lib-python/3/test/test_gzip.py . lib-python/3/test/test_hash.py F lib-python/3/test/test_hashlib.py . lib-python/3/test/test_heapq.py . lib-python/3/test/test_hmac.py . lib-python/3/test/test_html.py . lib-python/3/test/test_htmlparser.py . lib-python/3/test/test_http_cookiejar.py . lib-python/3/test/test_http_cookies.py . lib-python/3/test/test_httplib.py . lib-python/3/test/test_httpservers.py . lib-python/3/test/test_idle.py F lib-python/3/test/test_imaplib.py . lib-python/3/test/test_imghdr.py . lib-python/3/test/test_index.py . lib-python/3/test/test_int.py F lib-python/3/test/test_int_literal.py . lib-python/3/test/test_interpreters.py . lib-python/3/test/test_io.py F lib-python/3/test/test_ioctl.py . lib-python/3/test/test_ipaddress.py . lib-python/3/test/test_isinstance.py . lib-python/3/test/test_iter.py F lib-python/3/test/test_iterlen.py . lib-python/3/test/test_itertools.py F lib-python/3/test/test_keyword.py . lib-python/3/test/test_keywordonlyarg.py . lib-python/3/test/test_kqueue.py . lib-python/3/test/test_largefile.py . lib-python/3/test/test_launcher.py . lib-python/3/test/test_linecache.py . lib-python/3/test/test_list.py F lib-python/3/test/test_listcomps.py F lib-python/3/test/test_lltrace.py . lib-python/3/test/test_locale.py . lib-python/3/test/test_logging.py F lib-python/3/test/test_long.py F lib-python/3/test/test_longexp.py . lib-python/3/test/test_lzma.py F lib-python/3/test/test_mailbox.py . lib-python/3/test/test_mailcap.py . lib-python/3/test/test_marshal.py F lib-python/3/test/test_math.py F lib-python/3/test/test_math_property.py . lib-python/3/test/test_memoryio.py F lib-python/3/test/test_memoryview.py F lib-python/3/test/test_metaclass.py . lib-python/3/test/test_mimetypes.py . lib-python/3/test/test_minidom.py . lib-python/3/test/test_mmap.py . lib-python/3/test/test_modulefinder.py . lib-python/3/test/test_monitoring.py F lib-python/3/test/test_msilib.py . lib-python/3/test/test_multibytecodec.py . lib-python/3/test/test_multiprocessing_main_handling.py . lib-python/3/test/test_named_expressions.py F lib-python/3/test/test_netrc.py . lib-python/3/test/test_nis.py . lib-python/3/test/test_nntplib.py . lib-python/3/test/test_ntpath.py . lib-python/3/test/test_numeric_tower.py . lib-python/3/test/test_opcache.py . lib-python/3/test/test_opcodes.py . lib-python/3/test/test_openpty.py . lib-python/3/test/test_operator.py . lib-python/3/test/test_optparse.py . lib-python/3/test/test_ordered_dict.py F lib-python/3/test/test_os.py F lib-python/3/test/test_ossaudiodev.py s lib-python/3/test/test_osx_env.py . lib-python/3/test/test_pathlib.py . lib-python/3/test/test_patma.py . lib-python/3/test/test_pdb.py F lib-python/3/test/test_peepholer.py F lib-python/3/test/test_pep646_syntax.py . lib-python/3/test/test_perf_profiler.py . lib-python/3/test/test_perfmaps.py F lib-python/3/test/test_pickle.py . lib-python/3/test/test_picklebuffer.py . lib-python/3/test/test_pickletools.py F lib-python/3/test/test_pipes.py . lib-python/3/test/test_pkg.py . lib-python/3/test/test_pkgutil.py . lib-python/3/test/test_platform.py . lib-python/3/test/test_plistlib.py . lib-python/3/test/test_poll.py . lib-python/3/test/test_popen.py . lib-python/3/test/test_poplib.py . lib-python/3/test/test_positional_only_arg.py F lib-python/3/test/test_posix.py F lib-python/3/test/test_posixpath.py . lib-python/3/test/test_pow.py . lib-python/3/test/test_pprint.py . lib-python/3/test/test_print.py F lib-python/3/test/test_profile.py . lib-python/3/test/test_property.py F lib-python/3/test/test_pstats.py . lib-python/3/test/test_pty.py . lib-python/3/test/test_pulldom.py . lib-python/3/test/test_pwd.py . lib-python/3/test/test_py_compile.py . lib-python/3/test/test_pyclbr.py . lib-python/3/test/test_pyexpat.py . lib-python/3/test/test_queue.py . lib-python/3/test/test_quopri.py . lib-python/3/test/test_raise.py F lib-python/3/test/test_random.py . lib-python/3/test/test_range.py F lib-python/3/test/test_re.py . lib-python/3/test/test_readline.py . lib-python/3/test/test_regrtest.py F lib-python/3/test/test_repl.py . lib-python/3/test/test_reprlib.py F lib-python/3/test/test_resource.py . lib-python/3/test/test_richcmp.py . lib-python/3/test/test_rlcompleter.py F lib-python/3/test/test_robotparser.py . lib-python/3/test/test_runpy.py . lib-python/3/test/test_sax.py . lib-python/3/test/test_sched.py . lib-python/3/test/test_scope.py . lib-python/3/test/test_script_helper.py . lib-python/3/test/test_secrets.py . lib-python/3/test/test_select.py F lib-python/3/test/test_selectors.py . lib-python/3/test/test_set.py F lib-python/3/test/test_setcomps.py F lib-python/3/test/test_shelve.py . lib-python/3/test/test_shlex.py . lib-python/3/test/test_shutil.py . lib-python/3/test/test_signal.py F lib-python/3/test/test_site.py F lib-python/3/test/test_slice.py . lib-python/3/test/test_smtplib.py . lib-python/3/test/test_smtpnet.py . lib-python/3/test/test_sndhdr.py . lib-python/3/test/test_socket.py F lib-python/3/test/test_socketserver.py . lib-python/3/test/test_sort.py F lib-python/3/test/test_source_encoding.py . lib-python/3/test/test_spwd.py . lib-python/3/test/test_ssl.py . lib-python/3/test/test_stable_abi_ctypes.py s lib-python/3/test/test_startfile.py . lib-python/3/test/test_stat.py F lib-python/3/test/test_statistics.py . lib-python/3/test/test_strftime.py . lib-python/3/test/test_string.py . lib-python/3/test/test_string_literals.py F lib-python/3/test/test_stringprep.py . lib-python/3/test/test_strptime.py . lib-python/3/test/test_strtod.py . lib-python/3/test/test_struct.py F lib-python/3/test/test_structseq.py . lib-python/3/test/test_subclassinit.py . lib-python/3/test/test_subprocess.py F lib-python/3/test/test_sunau.py . lib-python/3/test/test_sundry.py . lib-python/3/test/test_super.py F lib-python/3/test/test_support.py . lib-python/3/test/test_symtable.py s lib-python/3/test/test_syntax.py F lib-python/3/test/test_sys.py F lib-python/3/test/test_sys_setprofile.py F lib-python/3/test/test_sys_settrace.py F lib-python/3/test/test_sysconfig.py F lib-python/3/test/test_sysconfig_pypy.py . lib-python/3/test/test_syslog.py F lib-python/3/test/test_tabnanny.py F lib-python/3/test/test_tarfile.py F lib-python/3/test/test_tcl.py F lib-python/3/test/test_telnetlib.py . lib-python/3/test/test_tempfile.py F lib-python/3/test/test_termios.py F lib-python/3/test/test_textwrap.py . lib-python/3/test/test_thread.py F lib-python/3/test/test_threadedtempfile.py . lib-python/3/test/test_threading.py F lib-python/3/test/test_threading_local.py . lib-python/3/test/test_threadsignals.py . lib-python/3/test/test_time.py F lib-python/3/test/test_timeit.py . lib-python/3/test/test_timeout.py . lib-python/3/test/test_tix.py s lib-python/3/test/test_tokenize.py . lib-python/3/test/test_trace.py F lib-python/3/test/test_traceback.py F lib-python/3/test/test_tracemalloc.py F lib-python/3/test/test_ttk_textonly.py . lib-python/3/test/test_tty.py . lib-python/3/test/test_tuple.py . lib-python/3/test/test_turtle.py . lib-python/3/test/test_type_aliases.py F lib-python/3/test/test_type_annotations.py . lib-python/3/test/test_type_cache.py F lib-python/3/test/test_type_comments.py F lib-python/3/test/test_type_params.py F lib-python/3/test/test_typechecks.py . lib-python/3/test/test_types.py F lib-python/3/test/test_typing.py F lib-python/3/test/test_ucn.py . lib-python/3/test/test_unary.py . lib-python/3/test/test_unicode.py F lib-python/3/test/test_unicode_file.py . lib-python/3/test/test_unicode_file_functions.py . lib-python/3/test/test_unicode_identifiers.py . lib-python/3/test/test_unicodedata.py F lib-python/3/test/test_univnewlines.py . lib-python/3/test/test_unpack.py . lib-python/3/test/test_unpack_ex.py . lib-python/3/test/test_unparse.py F lib-python/3/test/test_urllib.py . lib-python/3/test/test_urllib2.py . lib-python/3/test/test_urllib2_localnet.py . lib-python/3/test/test_urllib2net.py . lib-python/3/test/test_urllib_response.py . lib-python/3/test/test_urllibnet.py . lib-python/3/test/test_urlparse.py . lib-python/3/test/test_userdict.py . lib-python/3/test/test_userlist.py . lib-python/3/test/test_userstring.py F lib-python/3/test/test_utf8_mode.py . lib-python/3/test/test_utf8source.py . lib-python/3/test/test_uu.py . lib-python/3/test/test_uuid.py . lib-python/3/test/test_venv.py . lib-python/3/test/test_wait3.py . lib-python/3/test/test_wait4.py . lib-python/3/test/test_wave.py . lib-python/3/test/test_weakref.py F lib-python/3/test/test_weakset.py F lib-python/3/test/test_webbrowser.py . lib-python/3/test/test_winapi.py . lib-python/3/test/test_winconsoleio.py . lib-python/3/test/test_winreg.py . lib-python/3/test/test_winsound.py s lib-python/3/test/test_with.py F lib-python/3/test/test_wmi.py . lib-python/3/test/test_wsgiref.py . lib-python/3/test/test_xdrlib.py . lib-python/3/test/test_xml_dom_minicompat.py . lib-python/3/test/test_xml_dom_xmlbuilder.py . lib-python/3/test/test_xml_etree.py F lib-python/3/test/test_xml_etree_c.py F lib-python/3/test/test_xmlrpc.py . lib-python/3/test/test_xmlrpc_net.py . lib-python/3/test/test_xxlimited.py s lib-python/3/test/test_xxtestfuzz.py s lib-python/3/test/test_yield_from.py . lib-python/3/test/test_zipapp.py . lib-python/3/test/test_zipfile64.py s lib-python/3/test/test_zipimport.py . lib-python/3/test/test_zipimport_support.py . lib-python/3/test/test_zlib.py F lib-python/3/test/test_ast . lib-python/3/test/test_asyncio F lib-python/3/test/test_capi F lib-python/3/test/test_cext . lib-python/3/test/test_concurrent_futures F lib-python/3/test/test_cppext . lib-python/3/test/test_ctypes F lib-python/3/test/test_dataclasses F lib-python/3/test/test_doctest F lib-python/3/test/test_email . lib-python/3/test/test_future_stmt F lib-python/3/test/test_gdb . lib-python/3/test/test_import F lib-python/3/test/test_importlib . lib-python/3/test/test_inspect F lib-python/3/test/test_json . lib-python/3/test/test_lib2to3 . lib-python/3/test/test_module F lib-python/3/test/test_multiprocessing_fork F lib-python/3/test/test_multiprocessing_forkserver F lib-python/3/test/test_multiprocessing_spawn F lib-python/3/test/test_peg_generator . lib-python/3/test/test_pydoc F lib-python/3/test/test_pyrepl F lib-python/3/test/test_sqlite3 F lib-python/3/test/test_tkinter s lib-python/3/test/test_tomllib . lib-python/3/test/test_tools s lib-python/3/test/test_ttk s lib-python/3/test/test_unittest F lib-python/3/test/test_warnings F lib-python/3/test/test_zipfile F lib-python/3/test/test_zoneinfo F =================================== FAILURES =================================== _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1747952æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3864757932 0:00:00 load avg: 1.02 Run 1 test sequentially in a single process 0:00:00 load avg: 1.02 [1/1] test__opcode test_stack_effect (test.test__opcode.OpcodeTests.test_stack_effect) ... ok test_stack_effect_jump (test.test__opcode.OpcodeTests.test_stack_effect_jump) ... FAIL test_specialization_stats (test.test__opcode.SpecializationStatsTests.test_specialization_stats) ... ERROR ====================================================================== ERROR: test_specialization_stats (test.test__opcode.SpecializationStatsTests.test_specialization_stats) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test__opcode.py", line 73, in test_specialization_stats specialized_opcodes = [ ^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test__opcode.py", line 76, in <listcomp> if opcode._inline_cache_entries[opcode.opmap[op]] ~~~~~~~~~~~~^^^^ KeyError: 'BINARY_OP' ====================================================================== FAIL: test_stack_effect_jump (test.test__opcode.OpcodeTests.test_stack_effect_jump) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test__opcode.py", line 41, in test_stack_effect_jump self.assertEqual(stack_effect(FOR_ITER, 0, jump=True), 1) ^^^^^^^^^^^ AssertionError: -1 != 1 ---------------------------------------------------------------------- Ran 3 tests in 0.011s FAILED (failures=1, errors=1) 0:00:00 load avg: 1.02 [1/1/1] test__opcode failed (1 error, 1 failure) == Tests result: FAILURE == 1 test failed: test__opcode Total duration: 77 ms Total tests: run=3 failures=1 Total test files: run=1/1 failed=1 Result: FAILURE test test__opcode failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1747962æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3251895865 0:00:00 load avg: 1.02 Run 1 test sequentially in a single process 0:00:00 load avg: 1.02 [1/1] test_abc test_positional_only_and_kwonlyargs_with_init_subclass (test.test_abc.test_factory.<locals>.TestABCWithInitSubclass.test_positional_only_and_kwonlyargs_with_init_subclass) ... ok test_works_with_init_subclass (test.test_abc.test_factory.<locals>.TestABCWithInitSubclass.test_works_with_init_subclass) ... ok test_positional_only_and_kwonlyargs_with_init_subclass (test.test_abc.test_factory.<locals>.TestABCWithInitSubclass.test_positional_only_and_kwonlyargs_with_init_subclass) ... ok test_works_with_init_subclass (test.test_abc.test_factory.<locals>.TestABCWithInitSubclass.test_works_with_init_subclass) ... ok test_ABC_has___slots__ (test.test_abc.test_factory.<locals>.TestABC.test_ABC_has___slots__) ... ok test_ABC_helper (test.test_abc.test_factory.<locals>.TestABC.test_ABC_helper) ... ok test_abstractclassmethod_basics (test.test_abc.test_factory.<locals>.TestABC.test_abstractclassmethod_basics) ... ok test_abstractmethod_basics (test.test_abc.test_factory.<locals>.TestABC.test_abstractmethod_basics) ... ok test_abstractmethod_integration (test.test_abc.test_factory.<locals>.TestABC.test_abstractmethod_integration) ... ok test_abstractproperty_basics (test.test_abc.test_factory.<locals>.TestABC.test_abstractproperty_basics) ... ok test_abstractstaticmethod_basics (test.test_abc.test_factory.<locals>.TestABC.test_abstractstaticmethod_basics) ... ok test_all_new_methods_are_called (test.test_abc.test_factory.<locals>.TestABC.test_all_new_methods_are_called) ... ok test_customdescriptors_with_abstractmethod (test.test_abc.test_factory.<locals>.TestABC.test_customdescriptors_with_abstractmethod) ... ok test_descriptors_with_abstractmethod (test.test_abc.test_factory.<locals>.TestABC.test_descriptors_with_abstractmethod) ... ok test_isinstance_invalidation (test.test_abc.test_factory.<locals>.TestABC.test_isinstance_invalidation) ... ok test_issubclass_bad_arguments (test.test_abc.test_factory.<locals>.TestABC.test_issubclass_bad_arguments) ... ok test_metaclass_abc (test.test_abc.test_factory.<locals>.TestABC.test_metaclass_abc) ... ok test_object_new_with_many_abstractmethods (test.test_abc.test_factory.<locals>.TestABC.test_object_new_with_many_abstractmethods) ... FAIL test_object_new_with_one_abstractmethod (test.test_abc.test_factory.<locals>.TestABC.test_object_new_with_one_abstractmethod) ... FAIL test_register_as_class_deco (test.test_abc.test_factory.<locals>.TestABC.test_register_as_class_deco) ... ok test_register_non_class (test.test_abc.test_factory.<locals>.TestABC.test_register_non_class) ... ok test_registration_basics (test.test_abc.test_factory.<locals>.TestABC.test_registration_basics) ... ok test_registration_builtins (test.test_abc.test_factory.<locals>.TestABC.test_registration_builtins) ... ok test_registration_edge_cases (test.test_abc.test_factory.<locals>.TestABC.test_registration_edge_cases) ... ok test_registration_transitiveness (test.test_abc.test_factory.<locals>.TestABC.test_registration_transitiveness) ... ok test_subclasshook (test.test_abc.test_factory.<locals>.TestABC.test_subclasshook) ... ok test_tricky_new_works (test.test_abc.test_factory.<locals>.TestABC.test_tricky_new_works) ... ok test_update_as_decorator (test.test_abc.test_factory.<locals>.TestABC.test_update_as_decorator) ... ok test_update_del (test.test_abc.test_factory.<locals>.TestABC.test_update_del) ... ok test_update_del_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_del_implementation) ... FAIL test_update_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_implementation) ... FAIL test_update_layered_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_layered_implementation) ... FAIL test_update_multi_inheritance (test.test_abc.test_factory.<locals>.TestABC.test_update_multi_inheritance) ... ok test_update_new_abstractmethods (test.test_abc.test_factory.<locals>.TestABC.test_update_new_abstractmethods) ... FAIL test_update_non_abc (test.test_abc.test_factory.<locals>.TestABC.test_update_non_abc) ... ok test_ABC_has___slots__ (test.test_abc.test_factory.<locals>.TestABC.test_ABC_has___slots__) ... ok test_ABC_helper (test.test_abc.test_factory.<locals>.TestABC.test_ABC_helper) ... ok test_abstractclassmethod_basics (test.test_abc.test_factory.<locals>.TestABC.test_abstractclassmethod_basics) ... ok test_abstractmethod_basics (test.test_abc.test_factory.<locals>.TestABC.test_abstractmethod_basics) ... ok test_abstractmethod_integration (test.test_abc.test_factory.<locals>.TestABC.test_abstractmethod_integration) ... ok test_abstractproperty_basics (test.test_abc.test_factory.<locals>.TestABC.test_abstractproperty_basics) ... ok test_abstractstaticmethod_basics (test.test_abc.test_factory.<locals>.TestABC.test_abstractstaticmethod_basics) ... ok test_all_new_methods_are_called (test.test_abc.test_factory.<locals>.TestABC.test_all_new_methods_are_called) ... ok test_customdescriptors_with_abstractmethod (test.test_abc.test_factory.<locals>.TestABC.test_customdescriptors_with_abstractmethod) ... ok test_descriptors_with_abstractmethod (test.test_abc.test_factory.<locals>.TestABC.test_descriptors_with_abstractmethod) ... ok test_isinstance_invalidation (test.test_abc.test_factory.<locals>.TestABC.test_isinstance_invalidation) ... ok test_issubclass_bad_arguments (test.test_abc.test_factory.<locals>.TestABC.test_issubclass_bad_arguments) ... ok test_metaclass_abc (test.test_abc.test_factory.<locals>.TestABC.test_metaclass_abc) ... ok test_object_new_with_many_abstractmethods (test.test_abc.test_factory.<locals>.TestABC.test_object_new_with_many_abstractmethods) ... FAIL test_object_new_with_one_abstractmethod (test.test_abc.test_factory.<locals>.TestABC.test_object_new_with_one_abstractmethod) ... FAIL test_register_as_class_deco (test.test_abc.test_factory.<locals>.TestABC.test_register_as_class_deco) ... ok test_register_non_class (test.test_abc.test_factory.<locals>.TestABC.test_register_non_class) ... ok test_registration_basics (test.test_abc.test_factory.<locals>.TestABC.test_registration_basics) ... ok test_registration_builtins (test.test_abc.test_factory.<locals>.TestABC.test_registration_builtins) ... ok test_registration_edge_cases (test.test_abc.test_factory.<locals>.TestABC.test_registration_edge_cases) ... ok test_registration_transitiveness (test.test_abc.test_factory.<locals>.TestABC.test_registration_transitiveness) ... ok test_subclasshook (test.test_abc.test_factory.<locals>.TestABC.test_subclasshook) ... ok test_tricky_new_works (test.test_abc.test_factory.<locals>.TestABC.test_tricky_new_works) ... ok test_update_as_decorator (test.test_abc.test_factory.<locals>.TestABC.test_update_as_decorator) ... ok test_update_del (test.test_abc.test_factory.<locals>.TestABC.test_update_del) ... ok test_update_del_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_del_implementation) ... FAIL test_update_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_implementation) ... FAIL test_update_layered_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_layered_implementation) ... FAIL test_update_multi_inheritance (test.test_abc.test_factory.<locals>.TestABC.test_update_multi_inheritance) ... ok test_update_new_abstractmethods (test.test_abc.test_factory.<locals>.TestABC.test_update_new_abstractmethods) ... FAIL test_update_non_abc (test.test_abc.test_factory.<locals>.TestABC.test_update_non_abc) ... ok test_abstractclassmethod_basics (test.test_abc.test_factory.<locals>.TestLegacyAPI.test_abstractclassmethod_basics) ... ok test_abstractproperty_basics (test.test_abc.test_factory.<locals>.TestLegacyAPI.test_abstractproperty_basics) ... ok test_abstractstaticmethod_basics (test.test_abc.test_factory.<locals>.TestLegacyAPI.test_abstractstaticmethod_basics) ... ok test_abstractclassmethod_basics (test.test_abc.test_factory.<locals>.TestLegacyAPI.test_abstractclassmethod_basics) ... ok test_abstractproperty_basics (test.test_abc.test_factory.<locals>.TestLegacyAPI.test_abstractproperty_basics) ... ok test_abstractstaticmethod_basics (test.test_abc.test_factory.<locals>.TestLegacyAPI.test_abstractstaticmethod_basics) ... ok ====================================================================== FAIL: test_object_new_with_many_abstractmethods (test.test_abc.test_factory.<locals>.TestABC.test_object_new_with_many_abstractmethods) ---------------------------------------------------------------------- TypeError: Can't instantiate abstract class C with abstract methods method_one, method_two During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 169, in test_object_new_with_many_abstractmethods self.assertRaisesRegex(TypeError, msg, C) ^^^^^^^^^^^^^^^^^ AssertionError: "class C without an implementation for abstract methods 'method_one', 'method_two'" does not match "Can't instantiate abstract class C with abstract methods method_one, method_two" ====================================================================== FAIL: test_object_new_with_one_abstractmethod (test.test_abc.test_factory.<locals>.TestABC.test_object_new_with_one_abstractmethod) ---------------------------------------------------------------------- TypeError: Can't instantiate abstract class C with abstract method method_one During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 158, in test_object_new_with_one_abstractmethod self.assertRaisesRegex(TypeError, msg, C) ^^^^^^^^^^^^^^^^^ AssertionError: "class C without an implementation for abstract method 'method_one'" does not match "Can't instantiate abstract class C with abstract method method_one" ====================================================================== FAIL: test_update_del_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_del_implementation) ---------------------------------------------------------------------- TypeError: Can't instantiate abstract class B with abstract method foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 610, in test_update_del_implementation self.assertRaisesRegex(TypeError, msg, B) ^^^^^^^^^^^^^^^^^ AssertionError: "class B without an implementation for abstract method 'foo'" does not match "Can't instantiate abstract class B with abstract method foo" ====================================================================== FAIL: test_update_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_implementation) ---------------------------------------------------------------------- TypeError: Can't instantiate abstract class B with abstract method foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 552, in test_update_implementation self.assertRaisesRegex(TypeError, msg, B) ^^^^^^^^^^^^^^^^^ AssertionError: "class B without an implementation for abstract method 'foo'" does not match "Can't instantiate abstract class B with abstract method foo" ====================================================================== FAIL: test_update_layered_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_layered_implementation) ---------------------------------------------------------------------- TypeError: Can't instantiate abstract class C with abstract method foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 632, in test_update_layered_implementation self.assertRaisesRegex(TypeError, msg, C) ^^^^^^^^^^^^^^^^^ AssertionError: "class C without an implementation for abstract method 'foo'" does not match "Can't instantiate abstract class C with abstract method foo" ====================================================================== FAIL: test_update_new_abstractmethods (test.test_abc.test_factory.<locals>.TestABC.test_update_new_abstractmethods) ---------------------------------------------------------------------- TypeError: Can't instantiate abstract class A with abstract methods bar, foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 540, in test_update_new_abstractmethods self.assertRaisesRegex(TypeError, msg, A) ^^^^^^^^^^^^^^^^^ AssertionError: "class A without an implementation for abstract methods 'bar', 'foo'" does not match "Can't instantiate abstract class A with abstract methods bar, foo" ====================================================================== FAIL: test_object_new_with_many_abstractmethods (test.test_abc.test_factory.<locals>.TestABC.test_object_new_with_many_abstractmethods) ---------------------------------------------------------------------- TypeError: Can't instantiate abstract class C with abstract methods method_one, method_two During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 169, in test_object_new_with_many_abstractmethods self.assertRaisesRegex(TypeError, msg, C) ^^^^^^^^^^^^^^^^^ AssertionError: "class C without an implementation for abstract methods 'method_one', 'method_two'" does not match "Can't instantiate abstract class C with abstract methods method_one, method_two" ====================================================================== FAIL: test_object_new_with_one_abstractmethod (test.test_abc.test_factory.<locals>.TestABC.test_object_new_with_one_abstractmethod) ---------------------------------------------------------------------- TypeError: Can't instantiate abstract class C with abstract method method_one During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 158, in test_object_new_with_one_abstractmethod self.assertRaisesRegex(TypeError, msg, C) ^^^^^^^^^^^^^^^^^ AssertionError: "class C without an implementation for abstract method 'method_one'" does not match "Can't instantiate abstract class C with abstract method method_one" ====================================================================== FAIL: test_update_del_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_del_implementation) ---------------------------------------------------------------------- TypeError: Can't instantiate abstract class B with abstract method foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 610, in test_update_del_implementation self.assertRaisesRegex(TypeError, msg, B) ^^^^^^^^^^^^^^^^^ AssertionError: "class B without an implementation for abstract method 'foo'" does not match "Can't instantiate abstract class B with abstract method foo" ====================================================================== FAIL: test_update_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_implementation) ---------------------------------------------------------------------- TypeError: Can't instantiate abstract class B with abstract method foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 552, in test_update_implementation self.assertRaisesRegex(TypeError, msg, B) ^^^^^^^^^^^^^^^^^ AssertionError: "class B without an implementation for abstract method 'foo'" does not match "Can't instantiate abstract class B with abstract method foo" ====================================================================== FAIL: test_update_layered_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_layered_implementation) ---------------------------------------------------------------------- TypeError: Can't instantiate abstract class C with abstract method foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 632, in test_update_layered_implementation self.assertRaisesRegex(TypeError, msg, C) ^^^^^^^^^^^^^^^^^ AssertionError: "class C without an implementation for abstract method 'foo'" does not match "Can't instantiate abstract class C with abstract method foo" ====================================================================== FAIL: test_update_new_abstractmethods (test.test_abc.test_factory.<locals>.TestABC.test_update_new_abstractmethods) ---------------------------------------------------------------------- TypeError: Can't instantiate abstract class A with abstract methods bar, foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 540, in test_update_new_abstractmethods self.assertRaisesRegex(TypeError, msg, A) ^^^^^^^^^^^^^^^^^ AssertionError: "class A without an implementation for abstract methods 'bar', 'foo'" does not match "Can't instantiate abstract class A with abstract methods bar, foo" ---------------------------------------------------------------------- Ran 72 tests in 0.034s FAILED (failures=12) 0:00:00 load avg: 1.02 [1/1/1] test_abc failed (12 failures) == Tests result: FAILURE == 1 test failed: test_abc Total duration: 112 ms Total tests: run=72 failures=12 Total test files: run=1/1 failed=1 Result: FAILURE test test_abc failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1747992æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2272356320 0:00:00 load avg: 1.02 Run 1 test sequentially in a single process 0:00:00 load avg: 1.02 [1/1] test_asyncgen test_aiter_bad_args (test.test_asyncgen.AsyncGenAsyncioTest.test_aiter_bad_args) ... ok test_aiter_idempotent (test.test_asyncgen.AsyncGenAsyncioTest.test_aiter_idempotent) ... ok test_anext_await_raises (test.test_asyncgen.AsyncGenAsyncioTest.test_anext_await_raises) ... ok test_anext_bad_args (test.test_asyncgen.AsyncGenAsyncioTest.test_anext_bad_args) ... ok test_anext_bad_await (test.test_asyncgen.AsyncGenAsyncioTest.test_anext_bad_await) ... ok test_anext_iter (test.test_asyncgen.AsyncGenAsyncioTest.test_anext_iter) ... ok test_anext_return_generator (test.test_asyncgen.AsyncGenAsyncioTest.test_anext_return_generator) ... ok test_anext_return_iterator (test.test_asyncgen.AsyncGenAsyncioTest.test_anext_return_iterator) ... ok test_async_gen_aclose_after_exhaustion (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_aclose_after_exhaustion) ... ok test_async_gen_aclose_compatible_with_get_stack (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_aclose_compatible_with_get_stack) ... ok test_async_gen_aclose_twice_with_different_coros (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_aclose_twice_with_different_coros) ... ok test_async_gen_aiter (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_aiter) ... ok test_async_gen_aiter_class (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_aiter_class) ... ok test_async_gen_asyncio_01 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_01) ... ok test_async_gen_asyncio_02 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_02) ... ok test_async_gen_asyncio_03 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_03) ... ok test_async_gen_asyncio_aclose_06 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_aclose_06) ... ok test_async_gen_asyncio_aclose_07 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_aclose_07) ... ok test_async_gen_asyncio_aclose_08 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_aclose_08) ... ok test_async_gen_asyncio_aclose_10 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_aclose_10) ... ok test_async_gen_asyncio_aclose_11 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_aclose_11) ... ok test_async_gen_asyncio_aclose_12 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_aclose_12) ... ok test_async_gen_asyncio_anext_04 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_anext_04) ... ok test_async_gen_asyncio_anext_05 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_anext_05) ... ok test_async_gen_asyncio_anext_06 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_anext_06) ... ok test_async_gen_asyncio_anext_stopiteration (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_anext_stopiteration) ... ok test_async_gen_asyncio_anext_tuple (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_anext_tuple) ... ok test_async_gen_asyncio_anext_tuple_no_exceptions (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_anext_tuple_no_exceptions) ... ok test_async_gen_asyncio_asend_01 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_asend_01) ... ok test_async_gen_asyncio_asend_02 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_asend_02) ... ok test_async_gen_asyncio_asend_03 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_asend_03) ... ok test_async_gen_asyncio_athrow_01 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_athrow_01) ... ok test_async_gen_asyncio_athrow_02 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_athrow_02) ... ok test_async_gen_asyncio_athrow_03 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_athrow_03) ... ok test_async_gen_asyncio_athrow_stopiteration (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_athrow_stopiteration) ... ok test_async_gen_asyncio_athrow_tuple (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_athrow_tuple) ... ok test_async_gen_asyncio_gc_aclose_09 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_gc_aclose_09) ... ok test_async_gen_asyncio_shutdown_01 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_shutdown_01) ... ok test_async_gen_asyncio_shutdown_02 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_shutdown_02) ... ok test_async_gen_asyncio_shutdown_exception_01 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_shutdown_exception_01) ... ok test_async_gen_asyncio_shutdown_exception_02 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_asyncio_shutdown_exception_02) ... ok test_async_gen_await_same_aclose_coro_twice (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_await_same_aclose_coro_twice) ... ok test_async_gen_await_same_anext_coro_twice (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_await_same_anext_coro_twice) ... ok test_async_gen_expression_01 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_expression_01) ... ok test_async_gen_expression_02 (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_expression_02) ... ok test_async_gen_throw_custom_same_aclose_coro_twice (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_throw_custom_same_aclose_coro_twice) ... ok test_async_gen_throw_custom_same_athrow_coro_twice (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_throw_custom_same_athrow_coro_twice) ... ok test_async_gen_throw_same_aclose_coro_twice (test.test_asyncgen.AsyncGenAsyncioTest.test_async_gen_throw_same_aclose_coro_twice) ... ok test_async_generator_anext (test.test_asyncgen.AsyncGenAsyncioTest.test_async_generator_anext) ... ok test_asyncgen_nonstarted_hooks_are_cancellable (test.test_asyncgen.AsyncGenAsyncioTest.test_asyncgen_nonstarted_hooks_are_cancellable) ... ok test_python_async_iterator_anext (test.test_asyncgen.AsyncGenAsyncioTest.test_python_async_iterator_anext) ... ok test_python_async_iterator_types_coroutine_anext (test.test_asyncgen.AsyncGenAsyncioTest.test_python_async_iterator_types_coroutine_anext) ... ok test_sync_anext_raises_exception (test.test_asyncgen.AsyncGenAsyncioTest.test_sync_anext_raises_exception) ... ok test_async_gen_syntax_01 (test.test_asyncgen.AsyncGenSyntaxTest.test_async_gen_syntax_01) ... ok test_async_gen_syntax_02 (test.test_asyncgen.AsyncGenSyntaxTest.test_async_gen_syntax_02) ... ok test_async_gen_syntax_03 (test.test_asyncgen.AsyncGenSyntaxTest.test_async_gen_syntax_03) ... ok test_async_gen_syntax_04 (test.test_asyncgen.AsyncGenSyntaxTest.test_async_gen_syntax_04) ... ok test_async_gen_syntax_05 (test.test_asyncgen.AsyncGenSyntaxTest.test_async_gen_syntax_05) ... ok test_async_gen_3_arg_deprecation_warning (test.test_asyncgen.AsyncGenTest.test_async_gen_3_arg_deprecation_warning) ... FAIL test_async_gen_api_01 (test.test_asyncgen.AsyncGenTest.test_async_gen_api_01) ... ok test_async_gen_asend_throw_concurrent_with_send (test.test_asyncgen.AsyncGenTest.test_async_gen_asend_throw_concurrent_with_send) ... ok test_async_gen_asend_throw_concurrent_with_throw (test.test_asyncgen.AsyncGenTest.test_async_gen_asend_throw_concurrent_with_throw) ... ok test_async_gen_athrow_throw_concurrent_with_send (test.test_asyncgen.AsyncGenTest.test_async_gen_athrow_throw_concurrent_with_send) ... ok test_async_gen_athrow_throw_concurrent_with_throw (test.test_asyncgen.AsyncGenTest.test_async_gen_athrow_throw_concurrent_with_throw) ... ok test_async_gen_exception_03 (test.test_asyncgen.AsyncGenTest.test_async_gen_exception_03) ... ok test_async_gen_exception_04 (test.test_asyncgen.AsyncGenTest.test_async_gen_exception_04) ... ok test_async_gen_exception_05 (test.test_asyncgen.AsyncGenTest.test_async_gen_exception_05) ... ok test_async_gen_exception_06 (test.test_asyncgen.AsyncGenTest.test_async_gen_exception_06) ... ok test_async_gen_exception_07 (test.test_asyncgen.AsyncGenTest.test_async_gen_exception_07) ... ok test_async_gen_exception_08 (test.test_asyncgen.AsyncGenTest.test_async_gen_exception_08) ... ok test_async_gen_exception_09 (test.test_asyncgen.AsyncGenTest.test_async_gen_exception_09) ... ok test_async_gen_exception_10 (test.test_asyncgen.AsyncGenTest.test_async_gen_exception_10) ... ok test_async_gen_exception_11 (test.test_asyncgen.AsyncGenTest.test_async_gen_exception_11) ... ok test_async_gen_exception_12 (test.test_asyncgen.AsyncGenTest.test_async_gen_exception_12) ... ok test_async_gen_iteration_01 (test.test_asyncgen.AsyncGenTest.test_async_gen_iteration_01) ... ok test_async_gen_iteration_02 (test.test_asyncgen.AsyncGenTest.test_async_gen_iteration_02) ... ok ====================================================================== FAIL: test_async_gen_3_arg_deprecation_warning (test.test_asyncgen.AsyncGenTest.test_async_gen_3_arg_deprecation_warning) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncgen.py", line 542, in test_async_gen_3_arg_deprecation_warning with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ---------------------------------------------------------------------- Ran 76 tests in 0.900s FAILED (failures=1) 0:00:01 load avg: 0.94 [1/1/1] test_asyncgen failed (1 failure) == Tests result: FAILURE == 1 test failed: test_asyncgen Total duration: 1.1 sec Total tests: run=76 failures=1 Total test files: run=1/1 failed=1 Result: FAILURE /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py:790: RuntimeWarning: coroutine 'AsyncGenAsyncioTest.test_python_async_iterator_anext.<locals>.MyAsyncIter.__anext__' was never awaited gc.collect() test test_asyncgen failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748011æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1629698024 0:00:00 load avg: 0.94 Run 1 test sequentially in a single process 0:00:00 load avg: 0.94 [1/1] test_audit test_basic (test.test_audit.AuditTest.test_basic) ... ok test_block_add_hook (test.test_audit.AuditTest.test_block_add_hook) ... ok test_block_add_hook_baseexception (test.test_audit.AuditTest.test_block_add_hook_baseexception) ... ok test_cantrace (test.test_audit.AuditTest.test_cantrace) ... FAIL test_excepthook (test.test_audit.AuditTest.test_excepthook) ... ok test_gc (test.test_audit.AuditTest.test_gc) ... FAIL test_http (test.test_audit.AuditTest.test_http) ... ('http.client.connect', ' ', 'www.python.org 80') ('http.client.send', ' ', "b'GET / HTTP/1.1\\r\\nHost: www.python.org\\r\\nAccept-Encoding: identity\\r\\n\\r\\n'") ok test_marshal (test.test_audit.AuditTest.test_marshal) ... FAIL test_mmap (test.test_audit.AuditTest.test_mmap) ... ok test_monkeypatch (test.test_audit.AuditTest.test_monkeypatch) ... FAIL test_not_in_gc (test.test_audit.AuditTest.test_not_in_gc) ... ok test_open (test.test_audit.AuditTest.test_open) ... ok test_pickle (test.test_audit.AuditTest.test_pickle) ... ok test_socket (test.test_audit.AuditTest.test_socket) ... ('socket.gethostname', '', '') ('socket.__new__', ' ', '<socket.socket fd=-1, family=0, type=0, proto=0> 2 1 0') ('socket.bind', ' ', "<socket.socket fd=3, family=2, type=1, proto=0, laddr=('0.0.0.0', 0)> ('127.0.0.1', 8080)") ok test_sqlite3 (test.test_audit.AuditTest.test_sqlite3) ... ('sqlite3.connect', ' ', "(':memory:',)") ('sqlite3.connect/handle', ' ', '(<_sqlite3.Connection object at 0x00007f9f672ede50>,)') ('sqlite3.connect', ' ', "(':memory:',)") ('sqlite3.connect/handle', ' ', '(<_sqlite3.Connection object at 0x00007f9f672ede88>,)') ('sqlite3.enable_load_extension', ' ', '(<_sqlite3.Connection object at 0x00007f9f672ede50>, False)') ('sqlite3.load_extension', ' ', "(<_sqlite3.Connection object at 0x00007f9f672ede50>, 'test')") ok test_sys_getframe (test.test_audit.AuditTest.test_sys_getframe) ... ('sys._getframe', ' ', 'test_sys_getframe') ok test_sys_getframemodulename (test.test_audit.AuditTest.test_sys_getframemodulename) ... ('sys._getframemodulename', ' ', '0') ok test_sys_monitoring_register_callback (test.test_audit.AuditTest.test_sys_monitoring_register_callback) ... FAIL test_syslog (test.test_audit.AuditTest.test_syslog) ... Events: ('syslog.openlog', ' ', 'python 0 8') ('syslog.syslog', ' ', '6 test') ('syslog.setlogmask', ' ', '7') ('syslog.closelog', '', '') ('syslog.syslog', ' ', '6 test2') ('syslog.openlog', ' ', 'audit-tests.py 0 8') ('syslog.openlog', ' ', 'audit-tests.py 8 128') ('syslog.openlog', ' ', 'None 0 8') ('syslog.closelog', '', '') ok test_threading (test.test_audit.AuditTest.test_threading) ... ('test.test_func', ' ', '()') FAIL test_unraisablehook (test.test_audit.AuditTest.test_unraisablehook) ... FAIL test_winapi_createnamedpipe (test.test_audit.AuditTest.test_winapi_createnamedpipe) ... skipped "The '_winapi' module is only available on Windows" test_winreg (test.test_audit.AuditTest.test_winreg) ... skipped "No module named 'winreg'" test_wmi_exec_query (test.test_audit.AuditTest.test_wmi_exec_query) ... skipped "No module named '_wmi'" ====================================================================== FAIL: test_cantrace (test.test_audit.AuditTest.test_cantrace) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_audit.py", line 79, in test_cantrace self.do_test("test_cantrace") ^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_audit.py", line 34, in do_test self.fail("".join(p.stderr)) ^^^^ AssertionError ====================================================================== FAIL: test_gc (test.test_audit.AuditTest.test_gc) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_audit.py", line 134, in test_gc self.fail(stderr) ^^^^ AssertionError ====================================================================== FAIL: test_marshal (test.test_audit.AuditTest.test_marshal) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_audit.py", line 65, in test_marshal self.do_test("test_marshal") ^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_audit.py", line 34, in do_test self.fail("".join(p.stderr)) ^^^^ AssertionError ====================================================================== FAIL: test_monkeypatch (test.test_audit.AuditTest.test_monkeypatch) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_audit.py", line 73, in test_monkeypatch self.do_test("test_monkeypatch") ^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_audit.py", line 34, in do_test self.fail("".join(p.stderr)) ^^^^ AssertionError ====================================================================== FAIL: test_sys_monitoring_register_callback (test.test_audit.AuditTest.test_sys_monitoring_register_callback) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_audit.py", line 265, in test_sys_monitoring_register_callback self.fail(stderr) ^^^^ AssertionError ====================================================================== FAIL: test_threading (test.test_audit.AuditTest.test_threading) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_audit.py", line 217, in test_threading self.assertEqual(actual, expected) ^^^^^^^^^^^ AssertionError: Lists differ: [('test.test_func', '()')] != [('_thread.start_new_thread', '(<test_func>,[34 chars]()')] First differing element 0: ('test.test_func', '()') ('_thread.start_new_thread', '(<test_func>, (), None)') Second list contains 1 additional elements. First extra element 1: ('test.test_func', '()') + [('_thread.start_new_thread', '(<test_func>, (), None)'), - [('test.test_func', '()')] ? ^ + ('test.test_func', '()')] ? ^ ====================================================================== FAIL: test_unraisablehook (test.test_audit.AuditTest.test_unraisablehook) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_audit.py", line 96, in test_unraisablehook self.fail(stderr) ^^^^ AssertionError ---------------------------------------------------------------------- Ran 24 tests in 2.137s FAILED (failures=7, skipped=3) 0:00:02 load avg: 0.94 [1/1/1] test_audit failed (7 failures) == Tests result: FAILURE == 1 test failed: test_audit Total duration: 2.2 sec Total tests: run=24 failures=7 skipped=3 Total test files: run=1/1 failed=1 Result: FAILURE Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/audit-tests.py", line 553, in <module> globals()[test](*sys.argv[2:]) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/audit-tests.py", line 270, in test_cantrace assertSequenceEqual(["call"] * 4, traced) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/audit-tests.py", line 66, in assertSequenceEqual raise AssertionError(f"{x!r} should equal {y!r}") AssertionError: ['call', 'call', 'call', 'call'] should equal [] Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/audit-tests.py", line 553, in <module> globals()[test](*sys.argv[2:]) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/audit-tests.py", line 370, in test_gc gc.get_objects(generation=1) ^^^^^^^^^^^ NotImplementedError: get_objects(generation=None) accepts only None on PyPy Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/audit-tests.py", line 553, in <module> globals()[test](*sys.argv[2:]) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/audit-tests.py", line 127, in test_marshal assertSequenceEqual(actual, [(o, marshal.version)] * 2) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/audit-tests.py", line 66, in assertSequenceEqual raise AssertionError(f"{x!r} should equal {y!r}") AssertionError: [] should equal [(('a', 'b', 'c', 1, 2, 3), 4), (('a', 'b', 'c', 1, 2, 3), 4)] Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/audit-tests.py", line 553, in <module> globals()[test](*sys.argv[2:]) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/audit-tests.py", line 184, in test_monkeypatch assertSequenceEqual( File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/audit-tests.py", line 66, in assertSequenceEqual raise AssertionError(f"{x!r} should equal {y!r}") AssertionError: [(<class '__main__.test_monkeypatch.<locals>.C'>, '__name__'), (<class '__main__.test_monkeypatch.<locals>.C'>, '__bases__'), (<class '__main__.test_monkeypatch.<locals>.C'>, '__bases__'), (<__main__.test_monkeypatch.<locals>.B object at 0x00007f2b20fc1c58>, '__class__')] should equal [] Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/audit-tests.py", line 553, in <module> globals()[test](*sys.argv[2:]) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/audit-tests.py", line 533, in test_sys_monitoring_register_callback sys.monitoring.register_callback(1, 1, None) ^^^^^^^^^^ AttributeError: module 'sys' has no attribute 'monitoring' Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/audit-tests.py", line 553, in <module> globals()[test](*sys.argv[2:]) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/audit-tests.py", line 300, in test_unraisablehook from _testcapi import write_unraisable_exc ImportError: cannot import name 'write_unraisable_exc' from '_testcapi' (/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_testcapi.pypy312-pp80-x86_64-linux-gnu.so) test test_audit failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748074æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3796027965 0:00:00 load avg: 0.94 Run 1 test sequentially in a single process 0:00:00 load avg: 0.94 [1/1] test_binascii test_b2a_base64_newline (test.test_binascii.ArrayBinASCIITest.test_b2a_base64_newline) ... ok test_base64_strict_mode (test.test_binascii.ArrayBinASCIITest.test_base64_strict_mode) ... FAIL test_base64errors (test.test_binascii.ArrayBinASCIITest.test_base64errors) ... ok test_base64invalid (test.test_binascii.ArrayBinASCIITest.test_base64invalid) ... ok test_base64valid (test.test_binascii.ArrayBinASCIITest.test_base64valid) ... ok test_c_contiguity (test.test_binascii.ArrayBinASCIITest.test_c_contiguity) ... ok test_crc32 (test.test_binascii.ArrayBinASCIITest.test_crc32) ... ok test_crc_hqx (test.test_binascii.ArrayBinASCIITest.test_crc_hqx) ... ok test_empty_string (test.test_binascii.ArrayBinASCIITest.test_empty_string) ... ok test_exceptions (test.test_binascii.ArrayBinASCIITest.test_exceptions) ... ok test_functions (test.test_binascii.ArrayBinASCIITest.test_functions) ... ok test_hex (test.test_binascii.ArrayBinASCIITest.test_hex) ... ok test_hex_separator (test.test_binascii.ArrayBinASCIITest.test_hex_separator) Test that hexlify and b2a_hex are binary versions of bytes.hex. ... ok test_qp (test.test_binascii.ArrayBinASCIITest.test_qp) ... ok test_returned_value (test.test_binascii.ArrayBinASCIITest.test_returned_value) ... ok test_unicode_a2b (test.test_binascii.ArrayBinASCIITest.test_unicode_a2b) ... ok test_unicode_b2a (test.test_binascii.ArrayBinASCIITest.test_unicode_b2a) ... ok test_uu (test.test_binascii.ArrayBinASCIITest.test_uu) ... ok test_b2a_base64_newline (test.test_binascii.BinASCIITest.test_b2a_base64_newline) ... ok test_base64_strict_mode (test.test_binascii.BinASCIITest.test_base64_strict_mode) ... FAIL test_base64errors (test.test_binascii.BinASCIITest.test_base64errors) ... ok test_base64invalid (test.test_binascii.BinASCIITest.test_base64invalid) ... ok test_base64valid (test.test_binascii.BinASCIITest.test_base64valid) ... ok test_c_contiguity (test.test_binascii.BinASCIITest.test_c_contiguity) ... ok test_crc32 (test.test_binascii.BinASCIITest.test_crc32) ... ok test_crc_hqx (test.test_binascii.BinASCIITest.test_crc_hqx) ... ok test_empty_string (test.test_binascii.BinASCIITest.test_empty_string) ... ok test_exceptions (test.test_binascii.BinASCIITest.test_exceptions) ... ok test_functions (test.test_binascii.BinASCIITest.test_functions) ... ok test_hex (test.test_binascii.BinASCIITest.test_hex) ... ok test_hex_separator (test.test_binascii.BinASCIITest.test_hex_separator) Test that hexlify and b2a_hex are binary versions of bytes.hex. ... ok test_qp (test.test_binascii.BinASCIITest.test_qp) ... ok test_returned_value (test.test_binascii.BinASCIITest.test_returned_value) ... ok test_unicode_a2b (test.test_binascii.BinASCIITest.test_unicode_a2b) ... ok test_unicode_b2a (test.test_binascii.BinASCIITest.test_unicode_b2a) ... ok test_uu (test.test_binascii.BinASCIITest.test_uu) ... ok test_b2a_base64_newline (test.test_binascii.BytearrayBinASCIITest.test_b2a_base64_newline) ... ok test_base64_strict_mode (test.test_binascii.BytearrayBinASCIITest.test_base64_strict_mode) ... FAIL test_base64errors (test.test_binascii.BytearrayBinASCIITest.test_base64errors) ... ok test_base64invalid (test.test_binascii.BytearrayBinASCIITest.test_base64invalid) ... ok test_base64valid (test.test_binascii.BytearrayBinASCIITest.test_base64valid) ... ok test_c_contiguity (test.test_binascii.BytearrayBinASCIITest.test_c_contiguity) ... ok test_crc32 (test.test_binascii.BytearrayBinASCIITest.test_crc32) ... ok test_crc_hqx (test.test_binascii.BytearrayBinASCIITest.test_crc_hqx) ... ok test_empty_string (test.test_binascii.BytearrayBinASCIITest.test_empty_string) ... ok test_exceptions (test.test_binascii.BytearrayBinASCIITest.test_exceptions) ... ok test_functions (test.test_binascii.BytearrayBinASCIITest.test_functions) ... ok test_hex (test.test_binascii.BytearrayBinASCIITest.test_hex) ... ok test_hex_separator (test.test_binascii.BytearrayBinASCIITest.test_hex_separator) Test that hexlify and b2a_hex are binary versions of bytes.hex. ... ok test_qp (test.test_binascii.BytearrayBinASCIITest.test_qp) ... ok test_returned_value (test.test_binascii.BytearrayBinASCIITest.test_returned_value) ... ok test_unicode_a2b (test.test_binascii.BytearrayBinASCIITest.test_unicode_a2b) ... ok test_unicode_b2a (test.test_binascii.BytearrayBinASCIITest.test_unicode_b2a) ... ok test_uu (test.test_binascii.BytearrayBinASCIITest.test_uu) ... ok test_big_buffer (test.test_binascii.ChecksumBigBufferTestCase.test_big_buffer) ... skipped 'not enough memory: 4.0G minimum needed' test_b2a_base64_newline (test.test_binascii.MemoryviewBinASCIITest.test_b2a_base64_newline) ... ok test_base64_strict_mode (test.test_binascii.MemoryviewBinASCIITest.test_base64_strict_mode) ... FAIL test_base64errors (test.test_binascii.MemoryviewBinASCIITest.test_base64errors) ... ok test_base64invalid (test.test_binascii.MemoryviewBinASCIITest.test_base64invalid) ... ok test_base64valid (test.test_binascii.MemoryviewBinASCIITest.test_base64valid) ... ok test_c_contiguity (test.test_binascii.MemoryviewBinASCIITest.test_c_contiguity) ... ok test_crc32 (test.test_binascii.MemoryviewBinASCIITest.test_crc32) ... ok test_crc_hqx (test.test_binascii.MemoryviewBinASCIITest.test_crc_hqx) ... ok test_empty_string (test.test_binascii.MemoryviewBinASCIITest.test_empty_string) ... ok test_exceptions (test.test_binascii.MemoryviewBinASCIITest.test_exceptions) ... ok test_functions (test.test_binascii.MemoryviewBinASCIITest.test_functions) ... ok test_hex (test.test_binascii.MemoryviewBinASCIITest.test_hex) ... ok test_hex_separator (test.test_binascii.MemoryviewBinASCIITest.test_hex_separator) Test that hexlify and b2a_hex are binary versions of bytes.hex. ... ok test_qp (test.test_binascii.MemoryviewBinASCIITest.test_qp) ... ok test_returned_value (test.test_binascii.MemoryviewBinASCIITest.test_returned_value) ... ok test_unicode_a2b (test.test_binascii.MemoryviewBinASCIITest.test_unicode_a2b) ... ok test_unicode_b2a (test.test_binascii.MemoryviewBinASCIITest.test_unicode_b2a) ... ok test_uu (test.test_binascii.MemoryviewBinASCIITest.test_uu) ... ok ====================================================================== FAIL: test_base64_strict_mode (test.test_binascii.ArrayBinASCIITest.test_base64_strict_mode) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_binascii.py", line 165, in test_base64_strict_mode assertExcessPadding(b'abcd=', b'i\xb7\x1d') File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_binascii.py", line 136, in assertExcessPadding _assertRegexTemplate(r'(?i)Excess padding', data, non_strict_mode_expected_result) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_binascii.py", line 116, in _assertRegexTemplate with self.assertRaisesRegex(binascii.Error, assert_regex): AssertionError: Error not raised ====================================================================== FAIL: test_base64_strict_mode (test.test_binascii.BinASCIITest.test_base64_strict_mode) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_binascii.py", line 165, in test_base64_strict_mode assertExcessPadding(b'abcd=', b'i\xb7\x1d') File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_binascii.py", line 136, in assertExcessPadding _assertRegexTemplate(r'(?i)Excess padding', data, non_strict_mode_expected_result) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_binascii.py", line 116, in _assertRegexTemplate with self.assertRaisesRegex(binascii.Error, assert_regex): AssertionError: Error not raised ====================================================================== FAIL: test_base64_strict_mode (test.test_binascii.BytearrayBinASCIITest.test_base64_strict_mode) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_binascii.py", line 165, in test_base64_strict_mode assertExcessPadding(b'abcd=', b'i\xb7\x1d') File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_binascii.py", line 136, in assertExcessPadding _assertRegexTemplate(r'(?i)Excess padding', data, non_strict_mode_expected_result) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_binascii.py", line 116, in _assertRegexTemplate with self.assertRaisesRegex(binascii.Error, assert_regex): AssertionError: Error not raised ====================================================================== FAIL: test_base64_strict_mode (test.test_binascii.MemoryviewBinASCIITest.test_base64_strict_mode) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_binascii.py", line 165, in test_base64_strict_mode assertExcessPadding(b'abcd=', b'i\xb7\x1d') File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_binascii.py", line 136, in assertExcessPadding _assertRegexTemplate(r'(?i)Excess padding', data, non_strict_mode_expected_result) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_binascii.py", line 116, in _assertRegexTemplate with self.assertRaisesRegex(binascii.Error, assert_regex): AssertionError: Error not raised ---------------------------------------------------------------------- Ran 73 tests in 0.024s FAILED (failures=4, skipped=1) 0:00:00 load avg: 0.94 [1/1/1] test_binascii failed (4 failures) == Tests result: FAILURE == 1 test failed: test_binascii Total duration: 96 ms Total tests: run=73 failures=4 skipped=1 Total test files: run=1/1 failed=1 Result: FAILURE test test_binascii failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748089æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 617253911 0:00:00 load avg: 0.94 Run 1 test sequentially in a single process 0:00:00 load avg: 0.94 [1/1] test_bool test_blocked (test.test_bool.BoolTest.test_blocked) ... ok test_bool_called_at_least_once (test.test_bool.BoolTest.test_bool_called_at_least_once) ... ok test_bool_new (test.test_bool.BoolTest.test_bool_new) ... ok test_boolean (test.test_bool.BoolTest.test_boolean) ... ok test_callable (test.test_bool.BoolTest.test_callable) ... ok test_complex (test.test_bool.BoolTest.test_complex) ... ok test_contains (test.test_bool.BoolTest.test_contains) ... ok test_convert (test.test_bool.BoolTest.test_convert) ... ok test_convert_to_bool (test.test_bool.BoolTest.test_convert_to_bool) ... ok test_fileclosed (test.test_bool.BoolTest.test_fileclosed) ... ok test_float (test.test_bool.BoolTest.test_float) ... ok test_format (test.test_bool.BoolTest.test_format) ... ok test_from_bytes (test.test_bool.BoolTest.test_from_bytes) ... ok test_hasattr (test.test_bool.BoolTest.test_hasattr) ... ok test_int (test.test_bool.BoolTest.test_int) ... ok test_interpreter_convert_to_bool_raises (test.test_bool.BoolTest.test_interpreter_convert_to_bool_raises) ... ok test_isinstance (test.test_bool.BoolTest.test_isinstance) ... ok test_issubclass (test.test_bool.BoolTest.test_issubclass) ... ok test_keyword_args (test.test_bool.BoolTest.test_keyword_args) ... ok test_marshal (test.test_bool.BoolTest.test_marshal) ... ok test_math (test.test_bool.BoolTest.test_math) ... FAIL test_operator (test.test_bool.BoolTest.test_operator) ... ok test_pickle (test.test_bool.BoolTest.test_pickle) ... ok test_picklevalues (test.test_bool.BoolTest.test_picklevalues) ... ok test_real_and_imag (test.test_bool.BoolTest.test_real_and_imag) ... ok test_repr (test.test_bool.BoolTest.test_repr) ... ok test_sane_len (test.test_bool.BoolTest.test_sane_len) ... ok test_str (test.test_bool.BoolTest.test_str) ... ok test_string (test.test_bool.BoolTest.test_string) ... ok test_subclass (test.test_bool.BoolTest.test_subclass) ... ok test_types (test.test_bool.BoolTest.test_types) ... ok ====================================================================== FAIL: test_math (test.test_bool.BoolTest.test_math) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_bool.py", line 61, in test_math with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ---------------------------------------------------------------------- Ran 31 tests in 0.009s FAILED (failures=1) 0:00:00 load avg: 0.94 [1/1/1] test_bool failed (1 failure) == Tests result: FAILURE == 1 test failed: test_bool Total duration: 79 ms Total tests: run=31 failures=1 Total test files: run=1/1 failed=1 Result: FAILURE test test_bool failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748094æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1272141335 0:00:00 load avg: 0.94 Run 1 test sequentially in a single process 0:00:00 load avg: 0.94 [1/1] test_buffer test_flags_overflow (test.test_buffer.TestBufferProtocol.test_flags_overflow) ... skipped 'ndarray object required for this test' test_issue_7385 (test.test_buffer.TestBufferProtocol.test_issue_7385) ... skipped 'ndarray object required for this test' test_memoryview_array (test.test_buffer.TestBufferProtocol.test_memoryview_array) ... skipped 'ndarray object required for this test' test_memoryview_assign (test.test_buffer.TestBufferProtocol.test_memoryview_assign) ... skipped 'ndarray object required for this test' test_memoryview_cast (test.test_buffer.TestBufferProtocol.test_memoryview_cast) ... skipped 'ndarray object required for this test' test_memoryview_cast_1D_ND (test.test_buffer.TestBufferProtocol.test_memoryview_cast_1D_ND) ... skipped 'ndarray object required for this test' test_memoryview_cast_invalid (test.test_buffer.TestBufferProtocol.test_memoryview_cast_invalid) ... skipped 'ndarray object required for this test' test_memoryview_cast_zero_shape (test.test_buffer.TestBufferProtocol.test_memoryview_cast_zero_shape) ... skipped 'ndarray object required for this test' test_memoryview_cast_zero_strides (test.test_buffer.TestBufferProtocol.test_memoryview_cast_zero_strides) ... skipped 'ndarray object required for this test' test_memoryview_check_released (test.test_buffer.TestBufferProtocol.test_memoryview_check_released) ... skipped 'ndarray object required for this test' test_memoryview_compare_multidim_c (test.test_buffer.TestBufferProtocol.test_memoryview_compare_multidim_c) ... skipped 'ndarray object required for this test' test_memoryview_compare_multidim_fortran (test.test_buffer.TestBufferProtocol.test_memoryview_compare_multidim_fortran) ... skipped 'ndarray object required for this test' test_memoryview_compare_multidim_mixed (test.test_buffer.TestBufferProtocol.test_memoryview_compare_multidim_mixed) ... skipped 'ndarray object required for this test' test_memoryview_compare_multidim_suboffsets (test.test_buffer.TestBufferProtocol.test_memoryview_compare_multidim_suboffsets) ... skipped 'ndarray object required for this test' test_memoryview_compare_multidim_zero_shape (test.test_buffer.TestBufferProtocol.test_memoryview_compare_multidim_zero_shape) ... skipped 'ndarray object required for this test' test_memoryview_compare_multidim_zero_strides (test.test_buffer.TestBufferProtocol.test_memoryview_compare_multidim_zero_strides) ... skipped 'ndarray object required for this test' test_memoryview_compare_ndim_one (test.test_buffer.TestBufferProtocol.test_memoryview_compare_ndim_one) ... skipped 'ndarray object required for this test' test_memoryview_compare_ndim_zero (test.test_buffer.TestBufferProtocol.test_memoryview_compare_ndim_zero) ... skipped 'ndarray object required for this test' test_memoryview_compare_not_equal (test.test_buffer.TestBufferProtocol.test_memoryview_compare_not_equal) ... skipped 'ndarray object required for this test' test_memoryview_compare_random_formats (test.test_buffer.TestBufferProtocol.test_memoryview_compare_random_formats) ... skipped 'ndarray object required for this test' test_memoryview_compare_special_cases (test.test_buffer.TestBufferProtocol.test_memoryview_compare_special_cases) ... skipped 'ndarray object required for this test' test_memoryview_compare_zero_shape (test.test_buffer.TestBufferProtocol.test_memoryview_compare_zero_shape) ... skipped 'ndarray object required for this test' test_memoryview_compare_zero_strides (test.test_buffer.TestBufferProtocol.test_memoryview_compare_zero_strides) ... skipped 'ndarray object required for this test' test_memoryview_construction (test.test_buffer.TestBufferProtocol.test_memoryview_construction) ... skipped 'ndarray object required for this test' test_memoryview_from_static_exporter (test.test_buffer.TestBufferProtocol.test_memoryview_from_static_exporter) ... skipped 'ndarray object required for this test' test_memoryview_get_contiguous (test.test_buffer.TestBufferProtocol.test_memoryview_get_contiguous) ... skipped 'ndarray object required for this test' test_memoryview_getbuffer_undefined (test.test_buffer.TestBufferProtocol.test_memoryview_getbuffer_undefined) ... skipped 'ndarray object required for this test' test_memoryview_hash (test.test_buffer.TestBufferProtocol.test_memoryview_hash) ... skipped 'ndarray object required for this test' test_memoryview_index (test.test_buffer.TestBufferProtocol.test_memoryview_index) ... skipped 'ndarray object required for this test' test_memoryview_redirect (test.test_buffer.TestBufferProtocol.test_memoryview_redirect) ... skipped 'ndarray object required for this test' test_memoryview_release (test.test_buffer.TestBufferProtocol.test_memoryview_release) ... skipped 'ndarray object required for this test' test_memoryview_repr (test.test_buffer.TestBufferProtocol.test_memoryview_repr) ... skipped 'ndarray object required for this test' test_memoryview_sequence (test.test_buffer.TestBufferProtocol.test_memoryview_sequence) ... skipped 'ndarray object required for this test' test_memoryview_serializing (test.test_buffer.TestBufferProtocol.test_memoryview_serializing) ... skipped 'ndarray object required for this test' test_memoryview_sizeof (test.test_buffer.TestBufferProtocol.test_memoryview_sizeof) ... skipped 'ndarray object required for this test' test_memoryview_slice (test.test_buffer.TestBufferProtocol.test_memoryview_slice) ... skipped 'ndarray object required for this test' test_memoryview_struct_module (test.test_buffer.TestBufferProtocol.test_memoryview_struct_module) ... skipped 'ndarray object required for this test' test_memoryview_tobytes (test.test_buffer.TestBufferProtocol.test_memoryview_tobytes) ... skipped 'ndarray object required for this test' test_memoryview_tolist (test.test_buffer.TestBufferProtocol.test_memoryview_tolist) ... skipped 'ndarray object required for this test' test_ndarray_cmp_contig (test.test_buffer.TestBufferProtocol.test_ndarray_cmp_contig) ... skipped 'ndarray object required for this test' test_ndarray_exceptions (test.test_buffer.TestBufferProtocol.test_ndarray_exceptions) ... skipped 'ndarray object required for this test' test_ndarray_format_scalar (test.test_buffer.TestBufferProtocol.test_ndarray_format_scalar) ... skipped 'ndarray object required for this test' test_ndarray_format_shape (test.test_buffer.TestBufferProtocol.test_ndarray_format_shape) ... skipped 'ndarray object required for this test' test_ndarray_format_strides (test.test_buffer.TestBufferProtocol.test_ndarray_format_strides) ... skipped 'ndarray object required for this test' test_ndarray_fortran (test.test_buffer.TestBufferProtocol.test_ndarray_fortran) ... skipped 'ndarray object required for this test' test_ndarray_get_pointer (test.test_buffer.TestBufferProtocol.test_ndarray_get_pointer) ... skipped 'ndarray object required for this test' test_ndarray_getbuf (test.test_buffer.TestBufferProtocol.test_ndarray_getbuf) ... skipped 'ndarray object required for this test' test_ndarray_hash (test.test_buffer.TestBufferProtocol.test_ndarray_hash) ... skipped 'ndarray object required for this test' test_ndarray_index_getitem_multidim (test.test_buffer.TestBufferProtocol.test_ndarray_index_getitem_multidim) ... skipped 'ndarray object required for this test' test_ndarray_index_getitem_single (test.test_buffer.TestBufferProtocol.test_ndarray_index_getitem_single) ... skipped 'ndarray object required for this test' test_ndarray_index_invalid (test.test_buffer.TestBufferProtocol.test_ndarray_index_invalid) ... skipped 'ndarray object required for this test' test_ndarray_index_null_strides (test.test_buffer.TestBufferProtocol.test_ndarray_index_null_strides) ... skipped 'ndarray object required for this test' test_ndarray_index_scalar (test.test_buffer.TestBufferProtocol.test_ndarray_index_scalar) ... skipped 'ndarray object required for this test' test_ndarray_index_setitem_single (test.test_buffer.TestBufferProtocol.test_ndarray_index_setitem_single) ... skipped 'ndarray object required for this test' test_ndarray_linked_list (test.test_buffer.TestBufferProtocol.test_ndarray_linked_list) ... skipped 'ndarray object required for this test' test_ndarray_memoryview_from_buffer (test.test_buffer.TestBufferProtocol.test_ndarray_memoryview_from_buffer) ... skipped 'ndarray object required for this test' test_ndarray_multidim (test.test_buffer.TestBufferProtocol.test_ndarray_multidim) ... skipped 'ndarray object required for this test' test_ndarray_offset (test.test_buffer.TestBufferProtocol.test_ndarray_offset) ... skipped 'ndarray object required for this test' test_ndarray_random (test.test_buffer.TestBufferProtocol.test_ndarray_random) ... skipped 'ndarray object required for this test' test_ndarray_random_invalid (test.test_buffer.TestBufferProtocol.test_ndarray_random_invalid) ... skipped 'ndarray object required for this test' test_ndarray_random_slice_assign (test.test_buffer.TestBufferProtocol.test_ndarray_random_slice_assign) ... skipped 'ndarray object required for this test' test_ndarray_re_export (test.test_buffer.TestBufferProtocol.test_ndarray_re_export) ... skipped 'ndarray object required for this test' test_ndarray_sequence (test.test_buffer.TestBufferProtocol.test_ndarray_sequence) ... skipped 'ndarray object required for this test' test_ndarray_slice_assign_multidim (test.test_buffer.TestBufferProtocol.test_ndarray_slice_assign_multidim) ... skipped 'ndarray object required for this test' test_ndarray_slice_assign_single (test.test_buffer.TestBufferProtocol.test_ndarray_slice_assign_single) ... skipped 'ndarray object required for this test' test_ndarray_slice_invalid (test.test_buffer.TestBufferProtocol.test_ndarray_slice_invalid) ... skipped 'ndarray object required for this test' test_ndarray_slice_multidim (test.test_buffer.TestBufferProtocol.test_ndarray_slice_multidim) ... skipped 'ndarray object required for this test' test_ndarray_slice_redundant_suboffsets (test.test_buffer.TestBufferProtocol.test_ndarray_slice_redundant_suboffsets) ... skipped 'ndarray object required for this test' test_ndarray_slice_zero_shape (test.test_buffer.TestBufferProtocol.test_ndarray_slice_zero_shape) ... skipped 'ndarray object required for this test' test_ndarray_tolist_null_strides (test.test_buffer.TestBufferProtocol.test_ndarray_tolist_null_strides) ... skipped 'ndarray object required for this test' test_ndarray_zero_shape (test.test_buffer.TestBufferProtocol.test_ndarray_zero_shape) ... skipped 'ndarray object required for this test' test_ndarray_zero_strides (test.test_buffer.TestBufferProtocol.test_ndarray_zero_strides) ... skipped 'ndarray object required for this test' test_py_buffer_to_contiguous (test.test_buffer.TestBufferProtocol.test_py_buffer_to_contiguous) ... skipped 'ndarray object required for this test' test_pybuffer_size_from_format (test.test_buffer.TestBufferProtocol.test_pybuffer_size_from_format) ... skipped 'ndarray object required for this test' test_bad_buffer_method (test.test_buffer.TestPythonBufferProtocol.test_bad_buffer_method) ... ok test_basic (test.test_buffer.TestPythonBufferProtocol.test_basic) ... ok test_buffer_flags (test.test_buffer.TestPythonBufferProtocol.test_buffer_flags) ... ERROR test_c_buffer (test.test_buffer.TestPythonBufferProtocol.test_c_buffer) ... ERROR test_call_builtins (test.test_buffer.TestPythonBufferProtocol.test_call_builtins) ... ERROR test_inherit_but_return_something_else (test.test_buffer.TestPythonBufferProtocol.test_inherit_but_return_something_else) ... FAIL test_inheritance (test.test_buffer.TestPythonBufferProtocol.test_inheritance) ... ok test_inheritance_releasebuffer (test.test_buffer.TestPythonBufferProtocol.test_inheritance_releasebuffer) ... ok test_multiple_inheritance_buffer_last (test.test_buffer.TestPythonBufferProtocol.test_multiple_inheritance_buffer_last) ... FAIL test_multiple_inheritance_buffer_last_raising (test.test_buffer.TestPythonBufferProtocol.test_multiple_inheritance_buffer_last_raising) ... ok test_override_only_release (test.test_buffer.TestPythonBufferProtocol.test_override_only_release) ... ok test_release_buffer (test.test_buffer.TestPythonBufferProtocol.test_release_buffer) ... FAIL test_release_buffer_with_exception_set (test.test_buffer.TestPythonBufferProtocol.test_release_buffer_with_exception_set) ... ok test_release_saves_reference (test.test_buffer.TestPythonBufferProtocol.test_release_saves_reference) ... ERROR test_release_saves_reference_no_subclassing (test.test_buffer.TestPythonBufferProtocol.test_release_saves_reference_no_subclassing) ... ERROR test_same_buffer_returned (test.test_buffer.TestPythonBufferProtocol.test_same_buffer_returned) ... FAIL ====================================================================== ERROR: test_buffer_flags (test.test_buffer.TestPythonBufferProtocol.test_buffer_flags) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_buffer.py", line 4553, in test_buffer_flags with memoryview._from_flags(mutable, inspect.BufferFlags.WRITABLE) as mv: ^^^^^^^^^^^ AttributeError: type object 'memoryview' has no attribute '_from_flags' ====================================================================== ERROR: test_c_buffer (test.test_buffer.TestPythonBufferProtocol.test_c_buffer) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_buffer.py", line 4592, in test_c_buffer buf.__release_buffer__(mv) ^^^^^^^^^^^^^^^^^^ AttributeError: 'testBufType' object has no attribute '__release_buffer__' ====================================================================== ERROR: test_call_builtins (test.test_buffer.TestPythonBufferProtocol.test_call_builtins) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_buffer.py", line 4578, in test_call_builtins mv = ba.__buffer__(0) ^^^^^^^^^^ AttributeError: 'bytearray' object has no attribute '__buffer__' ====================================================================== ERROR: test_release_saves_reference (test.test_buffer.TestPythonBufferProtocol.test_release_saves_reference) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_buffer.py", line 4686, in test_release_saves_reference with memoryview(c) as mv: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_buffer.py", line 4679, in __release_buffer__ buffer.__buffer__(0) ^^^^^^^^^^ AttributeError: 'memoryview' object has no attribute '__buffer__' ====================================================================== ERROR: test_release_saves_reference_no_subclassing (test.test_buffer.TestPythonBufferProtocol.test_release_saves_reference_no_subclassing) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_buffer.py", line 4705, in test_release_saves_reference_no_subclassing self.assertEqual(c.buffer.tobytes(), b"hello") ^^^^^^ AttributeError: 'C' object has no attribute 'buffer' ====================================================================== FAIL: test_inherit_but_return_something_else (test.test_buffer.TestPythonBufferProtocol.test_inherit_but_return_something_else) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_buffer.py", line 4654, in test_inherit_but_return_something_else self.assertIs(rb_raised, True) ^^^^^^^^ AssertionError: False is not True ====================================================================== FAIL: test_multiple_inheritance_buffer_last (test.test_buffer.TestPythonBufferProtocol.test_multiple_inheritance_buffer_last) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_buffer.py", line 4723, in test_multiple_inheritance_buffer_last self.assertEqual(mv.tobytes(), b"hello A") ^^^^^^^^^^^ AssertionError: b'hello' != b'hello A' ====================================================================== FAIL: test_release_buffer (test.test_buffer.TestPythonBufferProtocol.test_release_buffer) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_buffer.py", line 4510, in test_release_buffer self.assertFalse(wr.held) ^^^^^^^^^^^ AssertionError: True is not false ====================================================================== FAIL: test_same_buffer_returned (test.test_buffer.TestPythonBufferProtocol.test_same_buffer_returned) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_buffer.py", line 4535, in test_same_buffer_returned self.assertFalse(wr.held) ^^^^^^^^^^^ AssertionError: True is not false ---------------------------------------------------------------------- Ran 90 tests in 0.037s FAILED (failures=4, errors=5, skipped=74) bytearray releasebuffer: _exports underflow id= 139737633809312 exports= 0 RPython traceback: File "pypy_module_pypyjit.c", line 1109, in portal_12 File "pypy_interpreter_3.c", line 30574, in handle_bytecode__AccessDirect_None File "pypy_interpreter_4.c", line 21492, in dispatch_bytecode__AccessDirect_None bytearray releasebuffer: _exports underflow Fatal Python error: Aborted Current thread 0x7F17398EC780 (most recent call first, approximate line numbers): File "<frozen importlib._bootstrap>", line 445 in cb File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py", line 779 in gc_collect File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 124 in _load_run_test File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 161 in _runtest_env_changed_exc File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 232 in _runtest File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 293 in run_single_test File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/main.py", line 349 in run_test File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/main.py", line 364 in run_tests_sequentially File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/main.py", line 484 in _run_tests File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/main.py", line 542 in run_tests File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/main.py", line 696 in main File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/main.py", line 725 in main File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/__main__.py", line 1 in <module> File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/runpy.py", line 65 in _run_code File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/runpy.py", line 173 in _run_module_as_main File "<builtin>/app_main.py", line 144 in run_toplevel File "<builtin>/app_main.py", line 816 in run_command_line File "<builtin>/app_main.py", line 1231 in entry_point ==========================timedout========================== ========================= SIGIOT ========================= _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748104æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2163725836 0:00:00 load avg: 0.94 Run 1 test sequentially in a single process 0:00:00 load avg: 0.94 [1/1] test_builtin test___ne__ (test.test_builtin.BuiltinTest.test___ne__) ... ok test_abs (test.test_builtin.BuiltinTest.test_abs) ... ok test_all (test.test_builtin.BuiltinTest.test_all) ... ok test_any (test.test_builtin.BuiltinTest.test_any) ... ok test_ascii (test.test_builtin.BuiltinTest.test_ascii) ... ok test_bin (test.test_builtin.BuiltinTest.test_bin) ... ok test_bug_27936 (test.test_builtin.BuiltinTest.test_bug_27936) ... ok test_bytearray_extend_error (test.test_builtin.BuiltinTest.test_bytearray_extend_error) ... ok test_bytearray_join_with_custom_iterator (test.test_builtin.BuiltinTest.test_bytearray_join_with_custom_iterator) ... ok test_bytearray_join_with_misbehaving_iterator (test.test_builtin.BuiltinTest.test_bytearray_join_with_misbehaving_iterator) ... FAIL test_bytearray_translate (test.test_builtin.BuiltinTest.test_bytearray_translate) ... ok test_callable (test.test_builtin.BuiltinTest.test_callable) ... ok test_chr (test.test_builtin.BuiltinTest.test_chr) ... ok test_cmp (test.test_builtin.BuiltinTest.test_cmp) ... ok test_compile (test.test_builtin.BuiltinTest.test_compile) ... ok test_compile_async_generator (test.test_builtin.BuiltinTest.test_compile_async_generator) With the PyCF_ALLOW_TOP_LEVEL_AWAIT flag added in 3.8, we want to ... ok test_compile_top_level_await (test.test_builtin.BuiltinTest.test_compile_top_level_await) Test whether code some top level await can be compiled. ... ok test_compile_top_level_await_invalid_cases (test.test_builtin.BuiltinTest.test_compile_top_level_await_invalid_cases) ... ok test_compile_top_level_await_no_coro (test.test_builtin.BuiltinTest.test_compile_top_level_await_no_coro) Make sure top level non-await codes get the correct coroutine flags ... ok test_construct_singletons (test.test_builtin.BuiltinTest.test_construct_singletons) ... ok test_delattr (test.test_builtin.BuiltinTest.test_delattr) ... ok test_dir (test.test_builtin.BuiltinTest.test_dir) ... ok test_divmod (test.test_builtin.BuiltinTest.test_divmod) ... ok test_eval (test.test_builtin.BuiltinTest.test_eval) ... ok test_eval_builtins_mapping (test.test_builtin.BuiltinTest.test_eval_builtins_mapping) ... ERROR test_eval_builtins_mapping_reduce (test.test_builtin.BuiltinTest.test_eval_builtins_mapping_reduce) ... FAIL test_exec (test.test_builtin.BuiltinTest.test_exec) ... ok test_exec_builtins_mapping_import (test.test_builtin.BuiltinTest.test_exec_builtins_mapping_import) ... FAIL test_exec_closure (test.test_builtin.BuiltinTest.test_exec_closure) ... ok test_exec_globals (test.test_builtin.BuiltinTest.test_exec_globals) ... Hello World! FAIL test_exec_globals_dict_subclass (test.test_builtin.BuiltinTest.test_exec_globals_dict_subclass) ... ERROR test_exec_globals_error_on_get (test.test_builtin.BuiltinTest.test_exec_globals_error_on_get) ... ERROR test_exec_globals_frozen (test.test_builtin.BuiltinTest.test_exec_globals_frozen) ... FAIL test_exec_redirected (test.test_builtin.BuiltinTest.test_exec_redirected) ... ok test_filter (test.test_builtin.BuiltinTest.test_filter) ... ok test_filter_dealloc (test.test_builtin.BuiltinTest.test_filter_dealloc) ... skipped "resource 'cpu' is not enabled" test_filter_pickle (test.test_builtin.BuiltinTest.test_filter_pickle) ... ok test_format (test.test_builtin.BuiltinTest.test_format) ... ok test_general_eval (test.test_builtin.BuiltinTest.test_general_eval) ... ok test_getattr (test.test_builtin.BuiltinTest.test_getattr) ... ok test_hasattr (test.test_builtin.BuiltinTest.test_hasattr) ... ok test_hash (test.test_builtin.BuiltinTest.test_hash) ... ok test_hex (test.test_builtin.BuiltinTest.test_hex) ... ok test_id (test.test_builtin.BuiltinTest.test_id) ... ok test_import (test.test_builtin.BuiltinTest.test_import) ... ok test_input (test.test_builtin.BuiltinTest.test_input) ... ok test_input_gh130163 (test.test_builtin.BuiltinTest.test_input_gh130163) ... ok test_isinstance (test.test_builtin.BuiltinTest.test_isinstance) ... ok test_issubclass (test.test_builtin.BuiltinTest.test_issubclass) ... ok test_iter (test.test_builtin.BuiltinTest.test_iter) ... ok test_len (test.test_builtin.BuiltinTest.test_len) ... ok test_map (test.test_builtin.BuiltinTest.test_map) ... ok test_map_pickle (test.test_builtin.BuiltinTest.test_map_pickle) ... ok test_max (test.test_builtin.BuiltinTest.test_max) ... FAIL test_min (test.test_builtin.BuiltinTest.test_min) ... FAIL test_neg (test.test_builtin.BuiltinTest.test_neg) ... ok test_next (test.test_builtin.BuiltinTest.test_next) ... ok test_oct (test.test_builtin.BuiltinTest.test_oct) ... ok test_open (test.test_builtin.BuiltinTest.test_open) ... ok test_open_default_encoding (test.test_builtin.BuiltinTest.test_open_default_encoding) ... ok test_open_non_inheritable (test.test_builtin.BuiltinTest.test_open_non_inheritable) ... ok test_ord (test.test_builtin.BuiltinTest.test_ord) ... ok test_pow (test.test_builtin.BuiltinTest.test_pow) ... ok test_repr (test.test_builtin.BuiltinTest.test_repr) ... ok test_round (test.test_builtin.BuiltinTest.test_round) ... ok test_round_large (test.test_builtin.BuiltinTest.test_round_large) ... ok test_setattr (test.test_builtin.BuiltinTest.test_setattr) ... ok test_singleton_attribute_access (test.test_builtin.BuiltinTest.test_singleton_attribute_access) ... ok test_sum (test.test_builtin.BuiltinTest.test_sum) ... ok test_sum_accuracy (test.test_builtin.BuiltinTest.test_sum_accuracy) ... skipped 'implementation detail specific to cpython' test_type (test.test_builtin.BuiltinTest.test_type) ... ok test_vars (test.test_builtin.BuiltinTest.test_vars) ... ok test_warning_notimplemented (test.test_builtin.BuiltinTest.test_warning_notimplemented) ... ok test_zip (test.test_builtin.BuiltinTest.test_zip) ... ok test_zip_bad_iterable (test.test_builtin.BuiltinTest.test_zip_bad_iterable) ... ok test_zip_pickle (test.test_builtin.BuiltinTest.test_zip_pickle) ... ok test_zip_pickle_strict (test.test_builtin.BuiltinTest.test_zip_pickle_strict) ... ok test_zip_pickle_strict_fail (test.test_builtin.BuiltinTest.test_zip_pickle_strict_fail) ... ok test_zip_result_gc (test.test_builtin.BuiltinTest.test_zip_result_gc) ... skipped 'implementation detail specific to cpython' test_zip_strict (test.test_builtin.BuiltinTest.test_zip_strict) ... ok test_zip_strict_error_handling (test.test_builtin.BuiltinTest.test_zip_strict_error_handling) ... ok test_zip_strict_error_handling_stopiteration (test.test_builtin.BuiltinTest.test_zip_strict_error_handling_stopiteration) ... ok test_zip_strict_iterators (test.test_builtin.BuiltinTest.test_zip_strict_iterators) ... ok test_immortals (test.test_builtin.ImmortalTests.test_immortals) ... skipped 'implementation detail specific to cpython' test_list_repeat_respect_immortality (test.test_builtin.ImmortalTests.test_list_repeat_respect_immortality) ... skipped 'implementation detail specific to cpython' test_tuple_repeat_respect_immortality (test.test_builtin.ImmortalTests.test_tuple_repeat_respect_immortality) ... skipped 'implementation detail specific to cpython' test_input_no_stdout_fileno (test.test_builtin.PtyTests.test_input_no_stdout_fileno) ... ok test_input_tty (test.test_builtin.PtyTests.test_input_tty) ... skipped 'stdin and stdout must be ttys' test_input_tty_non_ascii (test.test_builtin.PtyTests.test_input_tty_non_ascii) ... skipped 'stdin and stdout must be ttys' test_input_tty_non_ascii_unicode_errors (test.test_builtin.PtyTests.test_input_tty_non_ascii_unicode_errors) ... skipped 'stdin and stdout must be ttys' test_cleanup (test.test_builtin.ShutdownTest.test_cleanup) ... FAIL test_breakpoint (test.test_builtin.TestBreakpoint.test_breakpoint) ... ok test_breakpoint_with_args_and_keywords (test.test_builtin.TestBreakpoint.test_breakpoint_with_args_and_keywords) ... ok test_breakpoint_with_breakpointhook_reset (test.test_builtin.TestBreakpoint.test_breakpoint_with_breakpointhook_reset) ... ok test_breakpoint_with_breakpointhook_set (test.test_builtin.TestBreakpoint.test_breakpoint_with_breakpointhook_set) ... ok test_breakpoint_with_passthru_error (test.test_builtin.TestBreakpoint.test_breakpoint_with_passthru_error) ... ok test_envar_good_path_builtin (test.test_builtin.TestBreakpoint.test_envar_good_path_builtin) ... ok test_envar_good_path_empty_string (test.test_builtin.TestBreakpoint.test_envar_good_path_empty_string) ... ok test_envar_good_path_noop_0 (test.test_builtin.TestBreakpoint.test_envar_good_path_noop_0) ... ok test_envar_good_path_other (test.test_builtin.TestBreakpoint.test_envar_good_path_other) ... ok test_envar_ignored_when_hook_is_set (test.test_builtin.TestBreakpoint.test_envar_ignored_when_hook_is_set) ... ok test_envar_unimportable (test.test_builtin.TestBreakpoint.test_envar_unimportable) ... ok test_runtime_error_when_hook_is_lost (test.test_builtin.TestBreakpoint.test_runtime_error_when_hook_is_lost) ... ok test_bad_arguments (test.test_builtin.TestSorted.test_bad_arguments) ... ok test_baddecorator (test.test_builtin.TestSorted.test_baddecorator) ... ok test_basic (test.test_builtin.TestSorted.test_basic) ... ok test_inputtypes (test.test_builtin.TestSorted.test_inputtypes) ... ok test_bad_args (test.test_builtin.TestType.test_bad_args) ... ok test_bad_slots (test.test_builtin.TestType.test_bad_slots) ... FAIL test_namespace_order (test.test_builtin.TestType.test_namespace_order) ... ok test_new_type (test.test_builtin.TestType.test_new_type) ... ok test_type_doc (test.test_builtin.TestType.test_type_doc) ... FAIL test_type_name (test.test_builtin.TestType.test_type_name) ... ok test_type_nokwargs (test.test_builtin.TestType.test_type_nokwargs) ... ok test_type_qualname (test.test_builtin.TestType.test_type_qualname) ... ok test_type_typeparams (test.test_builtin.TestType.test_type_typeparams) ... ERROR bin (builtins) Doctest: builtins.bin ... ok hex (builtins) Doctest: builtins.hex ... ok int (builtins) Doctest: builtins.int ... ok oct (builtins) Doctest: builtins.oct ... ok zip (builtins) Doctest: builtins.zip ... ok ====================================================================== ERROR: test_eval_builtins_mapping (test.test_builtin.BuiltinTest.test_eval_builtins_mapping) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_builtin.py", line 827, in test_eval_builtins_mapping self.assertEqual(eval(code, ns), 1) ^^^^^^^^^^^^^^ File "test", line 1, in <module> NameError: name 'superglobal' is not defined ====================================================================== ERROR: test_exec_globals_dict_subclass (test.test_builtin.BuiltinTest.test_exec_globals_dict_subclass) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_builtin.py", line 818, in test_exec_globals_dict_subclass exec(code, {'__builtins__': customdict({'superglobal': 1})}) File "test", line 1, in <module> NameError: name 'superglobal' is not defined ====================================================================== ERROR: test_exec_globals_error_on_get (test.test_builtin.BuiltinTest.test_exec_globals_error_on_get) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_builtin.py", line 809, in test_exec_globals_error_on_get self.assertRaises(setonlyerror, exec, code, ^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/case.py", line 778, in assertRaises return context.handle('assertRaises', args, kwargs) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/case.py", line 238, in handle callable_obj(*args, **kwargs) File "test", line 1, in <module> NameError: name 'superglobal' is not defined ====================================================================== ERROR: test_type_typeparams (test.test_builtin.TestType.test_type_typeparams) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_builtin.py", line 2590, in test_type_typeparams A.__type_params__ = "whatever" ^^^^^^^^^^^^^^^ TypeError: __type_params__ must be set to a tuple ====================================================================== FAIL: test_bytearray_join_with_misbehaving_iterator (test.test_builtin.BuiltinTest.test_bytearray_join_with_misbehaving_iterator) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_builtin.py", line 2086, in test_bytearray_join_with_misbehaving_iterator self.assertRaises(BufferError, array.join, iterator()) ^^^^^^^^^^^^ AssertionError: BufferError not raised by join ====================================================================== FAIL: test_eval_builtins_mapping_reduce (test.test_builtin.BuiltinTest.test_eval_builtins_mapping_reduce) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_builtin.py", line 845, in test_eval_builtins_mapping_reduce self.assertRaisesRegex(AttributeError, "iter", eval, code, ns) ^^^^^^^^^^^^^^^^^ AssertionError: AttributeError not raised by eval ====================================================================== FAIL: test_exec_builtins_mapping_import (test.test_builtin.BuiltinTest.test_exec_builtins_mapping_import) ---------------------------------------------------------------------- Traceback (most recent call last): File "test", line 1, in <module> ModuleNotFoundError: No module named 'foo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_builtin.py", line 836, in test_exec_builtins_mapping_import self.assertRaisesRegex(ImportError, "__import__ not found", exec, code, ns) ^^^^^^^^^^^^^^^^^ AssertionError: "__import__ not found" does not match "No module named 'foo'" ====================================================================== FAIL: test_exec_globals (test.test_builtin.BuiltinTest.test_exec_globals) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_builtin.py", line 755, in test_exec_globals self.assertRaisesRegex(NameError, "name 'print' is not defined", ^^^^^^^^^^^^^^^^^ AssertionError: NameError not raised by exec ====================================================================== FAIL: test_exec_globals_frozen (test.test_builtin.BuiltinTest.test_exec_globals_frozen) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_builtin.py", line 780, in test_exec_globals_frozen self.assertRaisesRegex(NameError, "__build_class__ not found", ^^^^^^^^^^^^^^^^^ AssertionError: NameError not raised by exec ====================================================================== FAIL: test_max (test.test_builtin.BuiltinTest.test_max) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_builtin.py", line 1206, in test_max max() TypeError: max() expected at least one argument, got 0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_builtin.py", line 1202, in test_max with self.assertRaisesRegex( AssertionError: "max expected at least 1 argument, got 0" does not match "max() expected at least one argument, got 0" ====================================================================== FAIL: test_min (test.test_builtin.BuiltinTest.test_min) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_builtin.py", line 1269, in test_min min() TypeError: min() expected at least one argument, got 0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_builtin.py", line 1265, in test_min with self.assertRaisesRegex( AssertionError: "min expected at least 1 argument, got 0" does not match "min() expected at least one argument, got 0" ====================================================================== FAIL: test_cleanup (test.test_builtin.ShutdownTest.test_cleanup) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_builtin.py", line 2467, in test_cleanup self.assertEqual(["before", "after"], out.decode().splitlines()) ^^^^^^^^^^^ AssertionError: Lists differ: ['before', 'after'] != [] First list contains 2 additional elements. First extra element 0: 'before' - ['before', 'after'] + [] ====================================================================== FAIL: test_bad_slots (test.test_builtin.TestType.test_bad_slots) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_builtin.py", line 2632, in test_bad_slots with self.assertRaises(TypeError): AssertionError: TypeError not raised ====================================================================== FAIL: test_type_doc (test.test_builtin.TestType.test_type_doc) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_builtin.py", line 2600, in test_type_doc with self.assertRaises(UnicodeEncodeError): AssertionError: UnicodeEncodeError not raised ---------------------------------------------------------------------- Ran 121 tests in 0.244s FAILED (failures=10, errors=4, skipped=9) 0:00:00 load avg: 0.94 [1/1/1] test_builtin failed (4 errors, 10 failures) == Tests result: FAILURE == 1 test failed: test_builtin Total duration: 507 ms Total tests: run=121 failures=10 skipped=9 Total test files: run=1/1 failed=1 Result: FAILURE test test_builtin failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748112æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 354708754 0:00:00 load avg: 0.94 Run 1 test sequentially in a single process 0:00:00 load avg: 0.94 [1/1] test_bytes test_compare (test.test_bytes.AssortedBytesTest.test_compare) ... skipped 'BytesWarning is needed for this test: use -bb option' test_compare_bytes_to_bytearray (test.test_bytes.AssortedBytesTest.test_compare_bytes_to_bytearray) ... ok test_doc (test.test_bytes.AssortedBytesTest.test_doc) ... ok test_format (test.test_bytes.AssortedBytesTest.test_format) ... ok test_from_bytearray (test.test_bytes.AssortedBytesTest.test_from_bytearray) ... ok test_literal (test.test_bytes.AssortedBytesTest.test_literal) ... ok test_repr_str (test.test_bytes.AssortedBytesTest.test_repr_str) ... ok test_return_self (test.test_bytes.AssortedBytesTest.test_return_self) ... ok test_rsplit_bytearray (test.test_bytes.AssortedBytesTest.test_rsplit_bytearray) ... ok test_split_bytearray (test.test_bytes.AssortedBytesTest.test_split_bytearray) ... ok test_to_str (test.test_bytes.AssortedBytesTest.test_to_str) ... ok test_adaptive_find (test.test_bytes.ByteArrayAsStringTest.test_adaptive_find) ... ok test_additional_rsplit (test.test_bytes.ByteArrayAsStringTest.test_additional_rsplit) ... ok test_additional_split (test.test_bytes.ByteArrayAsStringTest.test_additional_split) ... ok test_capitalize (test.test_bytes.ByteArrayAsStringTest.test_capitalize) ... ok test_center (test.test_bytes.ByteArrayAsStringTest.test_center) ... ok test_count (test.test_bytes.ByteArrayAsStringTest.test_count) ... ok test_expandtabs (test.test_bytes.ByteArrayAsStringTest.test_expandtabs) ... ok test_find (test.test_bytes.ByteArrayAsStringTest.test_find) ... ok test_find_many_lengths (test.test_bytes.ByteArrayAsStringTest.test_find_many_lengths) ... ok test_find_periodic_pattern (test.test_bytes.ByteArrayAsStringTest.test_find_periodic_pattern) Cover the special path for periodic patterns. ... ok test_find_shift_table_overflow (test.test_bytes.ByteArrayAsStringTest.test_find_shift_table_overflow) When the table of 8-bit shifts overflows. ... ok test_find_with_memory (test.test_bytes.ByteArrayAsStringTest.test_find_with_memory) ... ok test_fixtype (test.test_bytes.ByteArrayAsStringTest.test_fixtype) ... ok test_index (test.test_bytes.ByteArrayAsStringTest.test_index) ... ok test_isalnum (test.test_bytes.ByteArrayAsStringTest.test_isalnum) ... ok test_isalpha (test.test_bytes.ByteArrayAsStringTest.test_isalpha) ... ok test_isascii (test.test_bytes.ByteArrayAsStringTest.test_isascii) ... ok test_isdigit (test.test_bytes.ByteArrayAsStringTest.test_isdigit) ... ok test_islower (test.test_bytes.ByteArrayAsStringTest.test_islower) ... ok test_isspace (test.test_bytes.ByteArrayAsStringTest.test_isspace) ... ok test_istitle (test.test_bytes.ByteArrayAsStringTest.test_istitle) ... ok test_isupper (test.test_bytes.ByteArrayAsStringTest.test_isupper) ... ok test_ljust (test.test_bytes.ByteArrayAsStringTest.test_ljust) ... ok test_lower (test.test_bytes.ByteArrayAsStringTest.test_lower) ... ok test_removeprefix (test.test_bytes.ByteArrayAsStringTest.test_removeprefix) ... ok test_removesuffix (test.test_bytes.ByteArrayAsStringTest.test_removesuffix) ... ok test_replace (test.test_bytes.ByteArrayAsStringTest.test_replace) ... ok test_replace_overflow (test.test_bytes.ByteArrayAsStringTest.test_replace_overflow) ... skipped 'only applies to 32-bit platforms' test_replace_uses_two_way_maxcount (test.test_bytes.ByteArrayAsStringTest.test_replace_uses_two_way_maxcount) ... ok test_rfind (test.test_bytes.ByteArrayAsStringTest.test_rfind) ... ok test_rindex (test.test_bytes.ByteArrayAsStringTest.test_rindex) ... ok test_rjust (test.test_bytes.ByteArrayAsStringTest.test_rjust) ... ok test_rsplit (test.test_bytes.ByteArrayAsStringTest.test_rsplit) ... ok test_split (test.test_bytes.ByteArrayAsStringTest.test_split) ... ok test_splitlines (test.test_bytes.ByteArrayAsStringTest.test_splitlines) ... ok test_strip (test.test_bytes.ByteArrayAsStringTest.test_strip) ... ok test_strip_whitespace (test.test_bytes.ByteArrayAsStringTest.test_strip_whitespace) ... ok test_swapcase (test.test_bytes.ByteArrayAsStringTest.test_swapcase) ... ok test_title (test.test_bytes.ByteArrayAsStringTest.test_title) ... ok test_upper (test.test_bytes.ByteArrayAsStringTest.test_upper) ... ok test_zfill (test.test_bytes.ByteArrayAsStringTest.test_zfill) ... ok test_basic (test.test_bytes.ByteArraySubclassTest.test_basic) ... ok test_copy (test.test_bytes.ByteArraySubclassTest.test_copy) ... ok test_fromhex (test.test_bytes.ByteArraySubclassTest.test_fromhex) ... ok test_init_override (test.test_bytes.ByteArraySubclassTest.test_init_override) ... ok test_join (test.test_bytes.ByteArraySubclassTest.test_join) ... ok test_pickle (test.test_bytes.ByteArraySubclassTest.test_pickle) ... ok test_basic (test.test_bytes.ByteArraySubclassWithSlotsTest.test_basic) ... ok test_copy (test.test_bytes.ByteArraySubclassWithSlotsTest.test_copy) ... ok test_fromhex (test.test_bytes.ByteArraySubclassWithSlotsTest.test_fromhex) ... ok test_join (test.test_bytes.ByteArraySubclassWithSlotsTest.test_join) ... ok test_pickle (test.test_bytes.ByteArraySubclassWithSlotsTest.test_pickle) ... ok test_alloc (test.test_bytes.ByteArrayTest.test_alloc) ... ok test_append (test.test_bytes.ByteArrayTest.test_append) ... ok test_basics (test.test_bytes.ByteArrayTest.test_basics) ... ok test_bytearray_api (test.test_bytes.ByteArrayTest.test_bytearray_api) ... ok test_center (test.test_bytes.ByteArrayTest.test_center) ... ok test_check_encoding_errors (test.test_bytes.ByteArrayTest.test_check_encoding_errors) ... ok test_clear (test.test_bytes.ByteArrayTest.test_clear) ... ok test_compare (test.test_bytes.ByteArrayTest.test_compare) ... ok test_compare_to_str (test.test_bytes.ByteArrayTest.test_compare_to_str) ... ok test_concat (test.test_bytes.ByteArrayTest.test_concat) ... ok test_constructor_exceptions (test.test_bytes.ByteArrayTest.test_constructor_exceptions) ... ok test_constructor_overflow (test.test_bytes.ByteArrayTest.test_constructor_overflow) ... skipped 'not enough memory: 8589934592.0G minimum needed' test_constructor_type_errors (test.test_bytes.ByteArrayTest.test_constructor_type_errors) ... ok test_constructor_value_errors (test.test_bytes.ByteArrayTest.test_constructor_value_errors) ... ok test_contains (test.test_bytes.ByteArrayTest.test_contains) ... ok test_copied (test.test_bytes.ByteArrayTest.test_copied) ... ok test_copy (test.test_bytes.ByteArrayTest.test_copy) ... ok test_count (test.test_bytes.ByteArrayTest.test_count) ... ok test_decode (test.test_bytes.ByteArrayTest.test_decode) ... ok test_del_expand (test.test_bytes.ByteArrayTest.test_del_expand) ... ERROR test_delitem (test.test_bytes.ByteArrayTest.test_delitem) ... ok test_empty_sequence (test.test_bytes.ByteArrayTest.test_empty_sequence) ... ok test_encoding (test.test_bytes.ByteArrayTest.test_encoding) ... ok test_endswith (test.test_bytes.ByteArrayTest.test_endswith) ... ok test_exhausted_iterator (test.test_bytes.ByteArrayTest.test_exhausted_iterator) ... ok test_extend (test.test_bytes.ByteArrayTest.test_extend) ... ok test_extended_getslice (test.test_bytes.ByteArrayTest.test_extended_getslice) ... ok test_extended_set_del_slice (test.test_bytes.ByteArrayTest.test_extended_set_del_slice) ... ok test_fifo_overrun (test.test_bytes.ByteArrayTest.test_fifo_overrun) ... ok test_find (test.test_bytes.ByteArrayTest.test_find) ... ok test_find_etc_raise_correct_error_messages (test.test_bytes.ByteArrayTest.test_find_etc_raise_correct_error_messages) ... ok test_free_after_iterating (test.test_bytes.ByteArrayTest.test_free_after_iterating) ... ok test_from_buffer (test.test_bytes.ByteArrayTest.test_from_buffer) ... ok test_from_index (test.test_bytes.ByteArrayTest.test_from_index) ... ok test_from_int (test.test_bytes.ByteArrayTest.test_from_int) ... ok test_from_iterable (test.test_bytes.ByteArrayTest.test_from_iterable) ... ok test_from_list (test.test_bytes.ByteArrayTest.test_from_list) ... ok test_from_mutating_list (test.test_bytes.ByteArrayTest.test_from_mutating_list) ... ok test_from_ssize (test.test_bytes.ByteArrayTest.test_from_ssize) ... ok test_from_tuple (test.test_bytes.ByteArrayTest.test_from_tuple) ... ok test_fromhex (test.test_bytes.ByteArrayTest.test_fromhex) ... ok test_getitem_error (test.test_bytes.ByteArrayTest.test_getitem_error) ... ok test_getslice (test.test_bytes.ByteArrayTest.test_getslice) ... ok test_hex (test.test_bytes.ByteArrayTest.test_hex) ... ok test_hex_separator_basics (test.test_bytes.ByteArrayTest.test_hex_separator_basics) ... ok test_hex_separator_five_bytes (test.test_bytes.ByteArrayTest.test_hex_separator_five_bytes) ... ok test_hex_separator_six_bytes (test.test_bytes.ByteArrayTest.test_hex_separator_six_bytes) ... ok test_iconcat (test.test_bytes.ByteArrayTest.test_iconcat) ... ok test_imod (test.test_bytes.ByteArrayTest.test_imod) ... ok test_index (test.test_bytes.ByteArrayTest.test_index) ... ok test_init_alloc (test.test_bytes.ByteArrayTest.test_init_alloc) ... ok test_insert (test.test_bytes.ByteArrayTest.test_insert) ... ok test_integer_arguments_out_of_byte_range (test.test_bytes.ByteArrayTest.test_integer_arguments_out_of_byte_range) ... ok test_irepeat (test.test_bytes.ByteArrayTest.test_irepeat) ... ok test_irepeat_1char (test.test_bytes.ByteArrayTest.test_irepeat_1char) ... ok test_iterator_length_hint (test.test_bytes.ByteArrayTest.test_iterator_length_hint) ... ok test_iterator_pickling (test.test_bytes.ByteArrayTest.test_iterator_pickling) ... ok test_iterator_pickling2 (test.test_bytes.ByteArrayTest.test_iterator_pickling2) ... ok test_join (test.test_bytes.ByteArrayTest.test_join) ... ok test_ljust (test.test_bytes.ByteArrayTest.test_ljust) ... ok test_maketrans (test.test_bytes.ByteArrayTest.test_maketrans) ... ok test_mod (test.test_bytes.ByteArrayTest.test_mod) ... FAIL test_mutating_index (test.test_bytes.ByteArrayTest.test_mutating_index) ... ok test_nohash (test.test_bytes.ByteArrayTest.test_nohash) ... ok test_none_arguments (test.test_bytes.ByteArrayTest.test_none_arguments) ... ok test_nosort (test.test_bytes.ByteArrayTest.test_nosort) ... ok test_obsolete_write_lock (test.test_bytes.ByteArrayTest.test_obsolete_write_lock) ... skipped 'implementation detail specific to cpython' test_ord (test.test_bytes.ByteArrayTest.test_ord) ... ok test_partition (test.test_bytes.ByteArrayTest.test_partition) ... ok test_partition_bytearray_doesnt_share_nullstring (test.test_bytes.ByteArrayTest.test_partition_bytearray_doesnt_share_nullstring) ... ok test_partition_int_error (test.test_bytes.ByteArrayTest.test_partition_int_error) ... ok test_partition_string_error (test.test_bytes.ByteArrayTest.test_partition_string_error) ... ok test_pickling (test.test_bytes.ByteArrayTest.test_pickling) ... ok test_pop (test.test_bytes.ByteArrayTest.test_pop) ... ok test_regexps (test.test_bytes.ByteArrayTest.test_regexps) ... ok test_remove (test.test_bytes.ByteArrayTest.test_remove) ... ok test_repeat (test.test_bytes.ByteArrayTest.test_repeat) ... ok test_repeat_1char (test.test_bytes.ByteArrayTest.test_repeat_1char) ... ok test_repeat_after_setslice (test.test_bytes.ByteArrayTest.test_repeat_after_setslice) ... ok test_replace (test.test_bytes.ByteArrayTest.test_replace) ... ok test_replace_int_error (test.test_bytes.ByteArrayTest.test_replace_int_error) ... ok test_resize_forbidden (test.test_bytes.ByteArrayTest.test_resize_forbidden) ... ok test_reverse (test.test_bytes.ByteArrayTest.test_reverse) ... ok test_reversed (test.test_bytes.ByteArrayTest.test_reversed) ... ok test_rfind (test.test_bytes.ByteArrayTest.test_rfind) ... ok test_rindex (test.test_bytes.ByteArrayTest.test_rindex) ... ok test_rjust (test.test_bytes.ByteArrayTest.test_rjust) ... ok test_rmod (test.test_bytes.ByteArrayTest.test_rmod) ... ok test_rpartition (test.test_bytes.ByteArrayTest.test_rpartition) ... ok test_rsplit_unicodewhitespace (test.test_bytes.ByteArrayTest.test_rsplit_unicodewhitespace) ... ok test_setitem (test.test_bytes.ByteArrayTest.test_setitem) ... ok test_setitem_error (test.test_bytes.ByteArrayTest.test_setitem_error) ... ok test_setslice (test.test_bytes.ByteArrayTest.test_setslice) ... ok test_setslice_extend (test.test_bytes.ByteArrayTest.test_setslice_extend) ... ok test_setslice_trap (test.test_bytes.ByteArrayTest.test_setslice_trap) ... ok test_split_int_error (test.test_bytes.ByteArrayTest.test_split_int_error) ... ok test_split_string_error (test.test_bytes.ByteArrayTest.test_split_string_error) ... ok test_split_unicodewhitespace (test.test_bytes.ByteArrayTest.test_split_unicodewhitespace) ... ok test_sq_item (test.test_bytes.ByteArrayTest.test_sq_item) ... ok test_startswith (test.test_bytes.ByteArrayTest.test_startswith) ... ok test_strip_bytearray (test.test_bytes.ByteArrayTest.test_strip_bytearray) ... ok test_strip_int_error (test.test_bytes.ByteArrayTest.test_strip_int_error) ... ok test_strip_string_error (test.test_bytes.ByteArrayTest.test_strip_string_error) ... ok test_translate (test.test_bytes.ByteArrayTest.test_translate) ... ok test_xjust_int_error (test.test_bytes.ByteArrayTest.test_xjust_int_error) ... ok test_returns_new_copy (test.test_bytes.BytearrayPEP3137Test.test_returns_new_copy) ... ok test_adaptive_find (test.test_bytes.BytesAsStringTest.test_adaptive_find) ... ok test_additional_rsplit (test.test_bytes.BytesAsStringTest.test_additional_rsplit) ... ok test_additional_split (test.test_bytes.BytesAsStringTest.test_additional_split) ... ok test_capitalize (test.test_bytes.BytesAsStringTest.test_capitalize) ... ok test_center (test.test_bytes.BytesAsStringTest.test_center) ... ok test_count (test.test_bytes.BytesAsStringTest.test_count) ... ok test_expandtabs (test.test_bytes.BytesAsStringTest.test_expandtabs) ... ok test_find (test.test_bytes.BytesAsStringTest.test_find) ... ok test_find_many_lengths (test.test_bytes.BytesAsStringTest.test_find_many_lengths) ... ok test_find_periodic_pattern (test.test_bytes.BytesAsStringTest.test_find_periodic_pattern) Cover the special path for periodic patterns. ... ok test_find_shift_table_overflow (test.test_bytes.BytesAsStringTest.test_find_shift_table_overflow) When the table of 8-bit shifts overflows. ... ok test_find_with_memory (test.test_bytes.BytesAsStringTest.test_find_with_memory) ... ok test_fixtype (test.test_bytes.BytesAsStringTest.test_fixtype) ... ok test_index (test.test_bytes.BytesAsStringTest.test_index) ... ok test_isalnum (test.test_bytes.BytesAsStringTest.test_isalnum) ... ok test_isalpha (test.test_bytes.BytesAsStringTest.test_isalpha) ... ok test_isascii (test.test_bytes.BytesAsStringTest.test_isascii) ... ok test_isdigit (test.test_bytes.BytesAsStringTest.test_isdigit) ... ok test_islower (test.test_bytes.BytesAsStringTest.test_islower) ... ok test_isspace (test.test_bytes.BytesAsStringTest.test_isspace) ... ok test_istitle (test.test_bytes.BytesAsStringTest.test_istitle) ... ok test_isupper (test.test_bytes.BytesAsStringTest.test_isupper) ... ok test_ljust (test.test_bytes.BytesAsStringTest.test_ljust) ... ok test_lower (test.test_bytes.BytesAsStringTest.test_lower) ... ok test_removeprefix (test.test_bytes.BytesAsStringTest.test_removeprefix) ... ok test_removesuffix (test.test_bytes.BytesAsStringTest.test_removesuffix) ... ok test_replace (test.test_bytes.BytesAsStringTest.test_replace) ... ok test_replace_overflow (test.test_bytes.BytesAsStringTest.test_replace_overflow) ... skipped 'only applies to 32-bit platforms' test_replace_uses_two_way_maxcount (test.test_bytes.BytesAsStringTest.test_replace_uses_two_way_maxcount) ... ok test_rfind (test.test_bytes.BytesAsStringTest.test_rfind) ... ok test_rindex (test.test_bytes.BytesAsStringTest.test_rindex) ... ok test_rjust (test.test_bytes.BytesAsStringTest.test_rjust) ... ok test_rsplit (test.test_bytes.BytesAsStringTest.test_rsplit) ... ok test_split (test.test_bytes.BytesAsStringTest.test_split) ... ok test_splitlines (test.test_bytes.BytesAsStringTest.test_splitlines) ... ok test_strip (test.test_bytes.BytesAsStringTest.test_strip) ... ok test_strip_whitespace (test.test_bytes.BytesAsStringTest.test_strip_whitespace) ... ok test_swapcase (test.test_bytes.BytesAsStringTest.test_swapcase) ... ok test_title (test.test_bytes.BytesAsStringTest.test_title) ... ok test_upper (test.test_bytes.BytesAsStringTest.test_upper) ... ok test_zfill (test.test_bytes.BytesAsStringTest.test_zfill) ... ok test_basic (test.test_bytes.BytesSubclassTest.test_basic) ... ok test_copy (test.test_bytes.BytesSubclassTest.test_copy) ... ok test_fromhex (test.test_bytes.BytesSubclassTest.test_fromhex) ... ok test_join (test.test_bytes.BytesSubclassTest.test_join) ... ok test_pickle (test.test_bytes.BytesSubclassTest.test_pickle) ... ok test__bytes__ (test.test_bytes.BytesTest.test__bytes__) ... ok test_basics (test.test_bytes.BytesTest.test_basics) ... ok test_buffer_is_readonly (test.test_bytes.BytesTest.test_buffer_is_readonly) ... ok test_bytes_blocking (test.test_bytes.BytesTest.test_bytes_blocking) ... ok test_center (test.test_bytes.BytesTest.test_center) ... ok test_check_encoding_errors (test.test_bytes.BytesTest.test_check_encoding_errors) ... ok test_compare (test.test_bytes.BytesTest.test_compare) ... ok test_compare_to_str (test.test_bytes.BytesTest.test_compare_to_str) ... ok test_concat (test.test_bytes.BytesTest.test_concat) ... ok test_constructor_exceptions (test.test_bytes.BytesTest.test_constructor_exceptions) ... ok test_constructor_overflow (test.test_bytes.BytesTest.test_constructor_overflow) ... skipped 'not enough memory: 8589934592.0G minimum needed' test_constructor_type_errors (test.test_bytes.BytesTest.test_constructor_type_errors) ... ok test_constructor_value_errors (test.test_bytes.BytesTest.test_constructor_value_errors) ... ok test_contains (test.test_bytes.BytesTest.test_contains) ... ok test_copy (test.test_bytes.BytesTest.test_copy) ... ok test_count (test.test_bytes.BytesTest.test_count) ... ok test_custom (test.test_bytes.BytesTest.test_custom) ... ok test_decode (test.test_bytes.BytesTest.test_decode) ... ok test_empty_sequence (test.test_bytes.BytesTest.test_empty_sequence) ... ok test_encoding (test.test_bytes.BytesTest.test_encoding) ... ok test_endswith (test.test_bytes.BytesTest.test_endswith) ... ok test_extended_getslice (test.test_bytes.BytesTest.test_extended_getslice) ... ok test_find (test.test_bytes.BytesTest.test_find) ... ok test_find_etc_raise_correct_error_messages (test.test_bytes.BytesTest.test_find_etc_raise_correct_error_messages) ... ok test_free_after_iterating (test.test_bytes.BytesTest.test_free_after_iterating) ... ok test_from_buffer (test.test_bytes.BytesTest.test_from_buffer) ... ok test_from_format (test.test_bytes.BytesTest.test_from_format) ... ERROR test_from_index (test.test_bytes.BytesTest.test_from_index) ... ok test_from_int (test.test_bytes.BytesTest.test_from_int) ... ok test_from_iterable (test.test_bytes.BytesTest.test_from_iterable) ... ok test_from_list (test.test_bytes.BytesTest.test_from_list) ... ok test_from_mutating_list (test.test_bytes.BytesTest.test_from_mutating_list) ... ok test_from_ssize (test.test_bytes.BytesTest.test_from_ssize) ... ok test_from_tuple (test.test_bytes.BytesTest.test_from_tuple) ... ok test_fromhex (test.test_bytes.BytesTest.test_fromhex) ... ok test_getitem_error (test.test_bytes.BytesTest.test_getitem_error) ... ok test_getslice (test.test_bytes.BytesTest.test_getslice) ... ok test_hex (test.test_bytes.BytesTest.test_hex) ... ok test_hex_separator_basics (test.test_bytes.BytesTest.test_hex_separator_basics) ... ok test_hex_separator_five_bytes (test.test_bytes.BytesTest.test_hex_separator_five_bytes) ... ok test_hex_separator_six_bytes (test.test_bytes.BytesTest.test_hex_separator_six_bytes) ... ok test_imod (test.test_bytes.BytesTest.test_imod) ... ok test_index (test.test_bytes.BytesTest.test_index) ... ok test_integer_arguments_out_of_byte_range (test.test_bytes.BytesTest.test_integer_arguments_out_of_byte_range) ... ok test_iterator_pickling (test.test_bytes.BytesTest.test_iterator_pickling) ... ok test_join (test.test_bytes.BytesTest.test_join) ... ok test_ljust (test.test_bytes.BytesTest.test_ljust) ... ok test_maketrans (test.test_bytes.BytesTest.test_maketrans) ... ok test_mod (test.test_bytes.BytesTest.test_mod) ... FAIL test_none_arguments (test.test_bytes.BytesTest.test_none_arguments) ... ok test_ord (test.test_bytes.BytesTest.test_ord) ... ok test_partition (test.test_bytes.BytesTest.test_partition) ... ok test_partition_int_error (test.test_bytes.BytesTest.test_partition_int_error) ... ok test_partition_string_error (test.test_bytes.BytesTest.test_partition_string_error) ... ok test_pickling (test.test_bytes.BytesTest.test_pickling) ... ok test_repeat (test.test_bytes.BytesTest.test_repeat) ... ok test_repeat_1char (test.test_bytes.BytesTest.test_repeat_1char) ... ok test_repeat_id_preserving (test.test_bytes.BytesTest.test_repeat_id_preserving) ... ok test_replace (test.test_bytes.BytesTest.test_replace) ... ok test_replace_int_error (test.test_bytes.BytesTest.test_replace_int_error) ... ok test_reversed (test.test_bytes.BytesTest.test_reversed) ... ok test_rfind (test.test_bytes.BytesTest.test_rfind) ... ok test_rindex (test.test_bytes.BytesTest.test_rindex) ... ok test_rjust (test.test_bytes.BytesTest.test_rjust) ... ok test_rmod (test.test_bytes.BytesTest.test_rmod) ... ok test_rpartition (test.test_bytes.BytesTest.test_rpartition) ... ok test_rsplit_unicodewhitespace (test.test_bytes.BytesTest.test_rsplit_unicodewhitespace) ... ok test_split_int_error (test.test_bytes.BytesTest.test_split_int_error) ... ok test_split_string_error (test.test_bytes.BytesTest.test_split_string_error) ... ok test_split_unicodewhitespace (test.test_bytes.BytesTest.test_split_unicodewhitespace) ... ok test_sq_item (test.test_bytes.BytesTest.test_sq_item) ... ok test_startswith (test.test_bytes.BytesTest.test_startswith) ... ok test_strip_bytearray (test.test_bytes.BytesTest.test_strip_bytearray) ... ok test_strip_int_error (test.test_bytes.BytesTest.test_strip_int_error) ... ok test_strip_string_error (test.test_bytes.BytesTest.test_strip_string_error) ... ok test_translate (test.test_bytes.BytesTest.test_translate) ... ok test_xjust_int_error (test.test_bytes.BytesTest.test_xjust_int_error) ... ok ====================================================================== ERROR: test_del_expand (test.test_bytes.ByteArrayTest.test_del_expand) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_bytes.py", line 1514, in test_del_expand size = sys.getsizeof(b) ^^^^^^^^^ TypeError: getsizeof(...) getsizeof(object, default) -> int Return the size of object in bytes. sys.getsizeof(object, default) will always return default on PyPy, and raise a TypeError if default is not provided. First note that the CPython documentation says that this function may raise a TypeError, so if you are seeing it, it means that the program you are using is not correctly handling this case. On PyPy, though, it always raises TypeError. Before looking for alternatives, please take a moment to read the following explanation as to why it is the case. What you are looking for may not be possible. A memory profiler using this function is most likely to give results inconsistent with reality on PyPy. It would be possible to have sys.getsizeof() return a number (with enough work), but that may or may not represent how much memory the object uses. It doesn't even make really sense to ask how much *one* object uses, in isolation with the rest of the system. For example, instances have maps, which are often shared across many instances; in this case the maps would probably be ignored by an implementation of sys.getsizeof(), but their overhead is important in some cases if they are many instances with unique maps. Conversely, equal strings may share their internal string data even if they are different objects---or empty containers may share parts of their internals as long as they are empty. Even stranger, some lists create objects as you read them; if you try to estimate the size in memory of range(10**6) as the sum of all items' size, that operation will by itself create one million integer objects that never existed in the first place. ====================================================================== ERROR: test_from_format (test.test_bytes.BytesTest.test_from_format) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_bytes.py", line 1124, in test_from_format from ctypes import pythonapi, py_object ImportError: cannot import name 'pythonapi' from 'ctypes' (/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/ctypes/__init__.py) ====================================================================== FAIL: test_mod (test.test_bytes.ByteArrayTest.test_mod) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_bytes.py", line 770, in test_mod operator.mod(format_bytes, value) ^^^ TypeError: %i format: a real number is required, not complex During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_bytes.py", line 769, in test_mod with self.assertRaisesRegex(TypeError, msg): AssertionError: "%d format: a real number is required, not complex" does not match "%i format: a real number is required, not complex" ====================================================================== FAIL: test_mod (test.test_bytes.BytesTest.test_mod) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_bytes.py", line 770, in test_mod operator.mod(format_bytes, value) ^^^ TypeError: %i format: a real number is required, not complex During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_bytes.py", line 769, in test_mod with self.assertRaisesRegex(TypeError, msg): AssertionError: "%d format: a real number is required, not complex" does not match "%i format: a real number is required, not complex" ---------------------------------------------------------------------- Ran 292 tests in 1.430s FAILED (failures=2, errors=2, skipped=6) 0:00:01 load avg: 0.95 [1/1/1] test_bytes failed (2 errors, 2 failures) == Tests result: FAILURE == 1 test failed: test_bytes Total duration: 1.6 sec Total tests: run=292 failures=2 skipped=6 Total test files: run=1/1 failed=1 Result: FAILURE /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_bytes.py:1921: SyntaxWarning: invalid octal escape sequence '\200' (b"\xaa\x00\000\200", "\xaa\x00\000\200"), test test_bytes failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748212æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1706902778 0:00:00 load avg: 0.95 Run 1 test sequentially in a single process 0:00:00 load avg: 0.95 [1/1] test_call test_module_not_callable_no_suggestion_0 (test.test_call.CFunctionCallsErrorMessages.test_module_not_callable_no_suggestion_0) ... skipped 'implementation detail specific to cpython' test_module_not_callable_no_suggestion_1 (test.test_call.CFunctionCallsErrorMessages.test_module_not_callable_no_suggestion_1) ... skipped 'implementation detail specific to cpython' test_module_not_callable_no_suggestion_2 (test.test_call.CFunctionCallsErrorMessages.test_module_not_callable_no_suggestion_2) ... skipped 'implementation detail specific to cpython' test_module_not_callable_no_suggestion_3 (test.test_call.CFunctionCallsErrorMessages.test_module_not_callable_no_suggestion_3) ... skipped 'implementation detail specific to cpython' test_module_not_callable_suggestion (test.test_call.CFunctionCallsErrorMessages.test_module_not_callable_suggestion) ... skipped 'implementation detail specific to cpython' test_object_not_callable (test.test_call.CFunctionCallsErrorMessages.test_object_not_callable) ... skipped 'implementation detail specific to cpython' test_oldargs0_1 (test.test_call.CFunctionCallsErrorMessages.test_oldargs0_1) ... skipped 'implementation detail specific to cpython' test_oldargs0_1_kw (test.test_call.CFunctionCallsErrorMessages.test_oldargs0_1_kw) ... skipped 'implementation detail specific to cpython' test_oldargs0_2 (test.test_call.CFunctionCallsErrorMessages.test_oldargs0_2) ... skipped 'implementation detail specific to cpython' test_oldargs0_2_kw (test.test_call.CFunctionCallsErrorMessages.test_oldargs0_2_kw) ... skipped 'implementation detail specific to cpython' test_oldargs1_0 (test.test_call.CFunctionCallsErrorMessages.test_oldargs1_0) ... skipped 'implementation detail specific to cpython' test_oldargs1_0_kw (test.test_call.CFunctionCallsErrorMessages.test_oldargs1_0_kw) ... skipped 'implementation detail specific to cpython' test_oldargs1_1_kw (test.test_call.CFunctionCallsErrorMessages.test_oldargs1_1_kw) ... skipped 'implementation detail specific to cpython' test_oldargs1_2 (test.test_call.CFunctionCallsErrorMessages.test_oldargs1_2) ... skipped 'implementation detail specific to cpython' test_oldargs1_2_kw (test.test_call.CFunctionCallsErrorMessages.test_oldargs1_2_kw) ... skipped 'implementation detail specific to cpython' test_varargs0 (test.test_call.CFunctionCallsErrorMessages.test_varargs0) ... skipped 'implementation detail specific to cpython' test_varargs10_kw (test.test_call.CFunctionCallsErrorMessages.test_varargs10_kw) ... skipped 'implementation detail specific to cpython' test_varargs11_kw (test.test_call.CFunctionCallsErrorMessages.test_varargs11_kw) ... skipped 'implementation detail specific to cpython' test_varargs12_kw (test.test_call.CFunctionCallsErrorMessages.test_varargs12_kw) ... skipped 'implementation detail specific to cpython' test_varargs13_kw (test.test_call.CFunctionCallsErrorMessages.test_varargs13_kw) ... skipped 'implementation detail specific to cpython' test_varargs14_kw (test.test_call.CFunctionCallsErrorMessages.test_varargs14_kw) ... skipped 'implementation detail specific to cpython' test_varargs15_kw (test.test_call.CFunctionCallsErrorMessages.test_varargs15_kw) ... skipped 'implementation detail specific to cpython' test_varargs16_kw (test.test_call.CFunctionCallsErrorMessages.test_varargs16_kw) ... skipped 'implementation detail specific to cpython' test_varargs17_kw (test.test_call.CFunctionCallsErrorMessages.test_varargs17_kw) ... skipped 'implementation detail specific to cpython' test_varargs18_kw (test.test_call.CFunctionCallsErrorMessages.test_varargs18_kw) ... skipped 'implementation detail specific to cpython' test_varargs19_kw (test.test_call.CFunctionCallsErrorMessages.test_varargs19_kw) ... skipped 'implementation detail specific to cpython' test_varargs1_kw (test.test_call.CFunctionCallsErrorMessages.test_varargs1_kw) ... skipped 'implementation detail specific to cpython' test_varargs1max (test.test_call.CFunctionCallsErrorMessages.test_varargs1max) ... skipped 'implementation detail specific to cpython' test_varargs1min (test.test_call.CFunctionCallsErrorMessages.test_varargs1min) ... skipped 'implementation detail specific to cpython' test_varargs2 (test.test_call.CFunctionCallsErrorMessages.test_varargs2) ... skipped 'implementation detail specific to cpython' test_varargs2_kw (test.test_call.CFunctionCallsErrorMessages.test_varargs2_kw) ... skipped 'implementation detail specific to cpython' test_varargs2max (test.test_call.CFunctionCallsErrorMessages.test_varargs2max) ... skipped 'implementation detail specific to cpython' test_varargs2min (test.test_call.CFunctionCallsErrorMessages.test_varargs2min) ... skipped 'implementation detail specific to cpython' test_varargs3 (test.test_call.CFunctionCallsErrorMessages.test_varargs3) ... skipped 'implementation detail specific to cpython' test_varargs3_kw (test.test_call.CFunctionCallsErrorMessages.test_varargs3_kw) ... skipped 'implementation detail specific to cpython' test_varargs4_kw (test.test_call.CFunctionCallsErrorMessages.test_varargs4_kw) ... skipped 'implementation detail specific to cpython' test_varargs5_kw (test.test_call.CFunctionCallsErrorMessages.test_varargs5_kw) ... skipped 'implementation detail specific to cpython' test_varargs6_kw (test.test_call.CFunctionCallsErrorMessages.test_varargs6_kw) ... skipped 'implementation detail specific to cpython' test_varargs7_kw (test.test_call.CFunctionCallsErrorMessages.test_varargs7_kw) ... skipped 'implementation detail specific to cpython' test_varargs8_kw (test.test_call.CFunctionCallsErrorMessages.test_varargs8_kw) ... skipped 'implementation detail specific to cpython' test_varargs9_kw (test.test_call.CFunctionCallsErrorMessages.test_varargs9_kw) ... skipped 'implementation detail specific to cpython' test_fastcall (test.test_call.FastCallTests.test_fastcall) ... ok test_fastcall_clearing_dict (test.test_call.FastCallTests.test_fastcall_clearing_dict) ... ok test_vectorcall (test.test_call.FastCallTests.test_vectorcall) ... ok test_vectorcall_dict (test.test_call.FastCallTests.test_vectorcall_dict) ... ok test_frames_are_popped_after_failed_calls (test.test_call.FunctionCalls.test_frames_are_popped_after_failed_calls) ... ok test_kwargs_order (test.test_call.FunctionCalls.test_kwargs_order) ... ok test_fastcall (test.test_call.TestCallingConventions.test_fastcall) ... ok test_fastcall_error_kw (test.test_call.TestCallingConventions.test_fastcall_error_kw) ... ok test_fastcall_ext (test.test_call.TestCallingConventions.test_fastcall_ext) ... ok test_fastcall_keywords (test.test_call.TestCallingConventions.test_fastcall_keywords) ... ok test_fastcall_keywords_ext (test.test_call.TestCallingConventions.test_fastcall_keywords_ext) ... ok test_noargs (test.test_call.TestCallingConventions.test_noargs) ... ok test_noargs_error_arg (test.test_call.TestCallingConventions.test_noargs_error_arg) ... ok test_noargs_error_arg2 (test.test_call.TestCallingConventions.test_noargs_error_arg2) ... ok test_noargs_error_ext (test.test_call.TestCallingConventions.test_noargs_error_ext) ... ok test_noargs_error_kw (test.test_call.TestCallingConventions.test_noargs_error_kw) ... ok test_noargs_ext (test.test_call.TestCallingConventions.test_noargs_ext) ... ok test_o (test.test_call.TestCallingConventions.test_o) ... ok test_o_error_arg_kw (test.test_call.TestCallingConventions.test_o_error_arg_kw) ... ok test_o_error_ext (test.test_call.TestCallingConventions.test_o_error_ext) ... ok test_o_error_kw (test.test_call.TestCallingConventions.test_o_error_kw) ... ok test_o_error_no_arg (test.test_call.TestCallingConventions.test_o_error_no_arg) ... ok test_o_error_two_args (test.test_call.TestCallingConventions.test_o_error_two_args) ... ok test_o_ext (test.test_call.TestCallingConventions.test_o_ext) ... ok test_varargs (test.test_call.TestCallingConventions.test_varargs) ... ok test_varargs_error_kw (test.test_call.TestCallingConventions.test_varargs_error_kw) ... ok test_varargs_ext (test.test_call.TestCallingConventions.test_varargs_ext) ... ok test_varargs_keywords (test.test_call.TestCallingConventions.test_varargs_keywords) ... ok test_varargs_keywords_ext (test.test_call.TestCallingConventions.test_varargs_keywords_ext) ... ok test_fastcall (test.test_call.TestCallingConventionsClass.test_fastcall) ... ok test_fastcall_error_kw (test.test_call.TestCallingConventionsClass.test_fastcall_error_kw) ... ok test_fastcall_ext (test.test_call.TestCallingConventionsClass.test_fastcall_ext) ... ok test_fastcall_keywords (test.test_call.TestCallingConventionsClass.test_fastcall_keywords) ... ok test_fastcall_keywords_ext (test.test_call.TestCallingConventionsClass.test_fastcall_keywords_ext) ... ok test_noargs (test.test_call.TestCallingConventionsClass.test_noargs) ... ok test_noargs_error_arg (test.test_call.TestCallingConventionsClass.test_noargs_error_arg) ... ok test_noargs_error_arg2 (test.test_call.TestCallingConventionsClass.test_noargs_error_arg2) ... ok test_noargs_error_ext (test.test_call.TestCallingConventionsClass.test_noargs_error_ext) ... ok test_noargs_error_kw (test.test_call.TestCallingConventionsClass.test_noargs_error_kw) ... ok test_noargs_ext (test.test_call.TestCallingConventionsClass.test_noargs_ext) ... ok test_o (test.test_call.TestCallingConventionsClass.test_o) ... ok test_o_error_arg_kw (test.test_call.TestCallingConventionsClass.test_o_error_arg_kw) ... ok test_o_error_ext (test.test_call.TestCallingConventionsClass.test_o_error_ext) ... ok test_o_error_kw (test.test_call.TestCallingConventionsClass.test_o_error_kw) ... ok test_o_error_no_arg (test.test_call.TestCallingConventionsClass.test_o_error_no_arg) ... ok test_o_error_two_args (test.test_call.TestCallingConventionsClass.test_o_error_two_args) ... ok test_o_ext (test.test_call.TestCallingConventionsClass.test_o_ext) ... ok test_varargs (test.test_call.TestCallingConventionsClass.test_varargs) ... ok test_varargs_error_kw (test.test_call.TestCallingConventionsClass.test_varargs_error_kw) ... ok test_varargs_ext (test.test_call.TestCallingConventionsClass.test_varargs_ext) ... ok test_varargs_keywords (test.test_call.TestCallingConventionsClass.test_varargs_keywords) ... ok test_varargs_keywords_ext (test.test_call.TestCallingConventionsClass.test_varargs_keywords_ext) ... ok test_fastcall (test.test_call.TestCallingConventionsClassInstance.test_fastcall) ... ok test_fastcall_error_kw (test.test_call.TestCallingConventionsClassInstance.test_fastcall_error_kw) ... ok test_fastcall_ext (test.test_call.TestCallingConventionsClassInstance.test_fastcall_ext) ... ok test_fastcall_keywords (test.test_call.TestCallingConventionsClassInstance.test_fastcall_keywords) ... ok test_fastcall_keywords_ext (test.test_call.TestCallingConventionsClassInstance.test_fastcall_keywords_ext) ... ok test_noargs (test.test_call.TestCallingConventionsClassInstance.test_noargs) ... ok test_noargs_error_arg (test.test_call.TestCallingConventionsClassInstance.test_noargs_error_arg) ... ok test_noargs_error_arg2 (test.test_call.TestCallingConventionsClassInstance.test_noargs_error_arg2) ... ok test_noargs_error_ext (test.test_call.TestCallingConventionsClassInstance.test_noargs_error_ext) ... ok test_noargs_error_kw (test.test_call.TestCallingConventionsClassInstance.test_noargs_error_kw) ... ok test_noargs_ext (test.test_call.TestCallingConventionsClassInstance.test_noargs_ext) ... ok test_o (test.test_call.TestCallingConventionsClassInstance.test_o) ... ok test_o_error_arg_kw (test.test_call.TestCallingConventionsClassInstance.test_o_error_arg_kw) ... ok test_o_error_ext (test.test_call.TestCallingConventionsClassInstance.test_o_error_ext) ... ok test_o_error_kw (test.test_call.TestCallingConventionsClassInstance.test_o_error_kw) ... ok test_o_error_no_arg (test.test_call.TestCallingConventionsClassInstance.test_o_error_no_arg) ... ok test_o_error_two_args (test.test_call.TestCallingConventionsClassInstance.test_o_error_two_args) ... ok test_o_ext (test.test_call.TestCallingConventionsClassInstance.test_o_ext) ... ok test_varargs (test.test_call.TestCallingConventionsClassInstance.test_varargs) ... ok test_varargs_error_kw (test.test_call.TestCallingConventionsClassInstance.test_varargs_error_kw) ... ok test_varargs_ext (test.test_call.TestCallingConventionsClassInstance.test_varargs_ext) ... ok test_varargs_keywords (test.test_call.TestCallingConventionsClassInstance.test_varargs_keywords) ... ok test_varargs_keywords_ext (test.test_call.TestCallingConventionsClassInstance.test_varargs_keywords_ext) ... ok test_fastcall (test.test_call.TestCallingConventionsInstance.test_fastcall) ... ok test_fastcall_error_kw (test.test_call.TestCallingConventionsInstance.test_fastcall_error_kw) ... ok test_fastcall_ext (test.test_call.TestCallingConventionsInstance.test_fastcall_ext) ... ok test_fastcall_keywords (test.test_call.TestCallingConventionsInstance.test_fastcall_keywords) ... ok test_fastcall_keywords_ext (test.test_call.TestCallingConventionsInstance.test_fastcall_keywords_ext) ... ok test_noargs (test.test_call.TestCallingConventionsInstance.test_noargs) ... ok test_noargs_error_arg (test.test_call.TestCallingConventionsInstance.test_noargs_error_arg) ... ok test_noargs_error_arg2 (test.test_call.TestCallingConventionsInstance.test_noargs_error_arg2) ... ok test_noargs_error_ext (test.test_call.TestCallingConventionsInstance.test_noargs_error_ext) ... ok test_noargs_error_kw (test.test_call.TestCallingConventionsInstance.test_noargs_error_kw) ... ok test_noargs_ext (test.test_call.TestCallingConventionsInstance.test_noargs_ext) ... ok test_o (test.test_call.TestCallingConventionsInstance.test_o) ... ok test_o_error_arg_kw (test.test_call.TestCallingConventionsInstance.test_o_error_arg_kw) ... ok test_o_error_ext (test.test_call.TestCallingConventionsInstance.test_o_error_ext) ... ok test_o_error_kw (test.test_call.TestCallingConventionsInstance.test_o_error_kw) ... ok test_o_error_no_arg (test.test_call.TestCallingConventionsInstance.test_o_error_no_arg) ... ok test_o_error_two_args (test.test_call.TestCallingConventionsInstance.test_o_error_two_args) ... ok test_o_ext (test.test_call.TestCallingConventionsInstance.test_o_ext) ... ok test_varargs (test.test_call.TestCallingConventionsInstance.test_varargs) ... ok test_varargs_error_kw (test.test_call.TestCallingConventionsInstance.test_varargs_error_kw) ... ok test_varargs_ext (test.test_call.TestCallingConventionsInstance.test_varargs_ext) ... ok test_varargs_keywords (test.test_call.TestCallingConventionsInstance.test_varargs_keywords) ... ok test_varargs_keywords_ext (test.test_call.TestCallingConventionsInstance.test_varargs_keywords_ext) ... ok test_fastcall (test.test_call.TestCallingConventionsStatic.test_fastcall) ... ok test_fastcall_error_kw (test.test_call.TestCallingConventionsStatic.test_fastcall_error_kw) ... ok test_fastcall_ext (test.test_call.TestCallingConventionsStatic.test_fastcall_ext) ... ok test_fastcall_keywords (test.test_call.TestCallingConventionsStatic.test_fastcall_keywords) ... ok test_fastcall_keywords_ext (test.test_call.TestCallingConventionsStatic.test_fastcall_keywords_ext) ... ok test_noargs (test.test_call.TestCallingConventionsStatic.test_noargs) ... ok test_noargs_error_arg (test.test_call.TestCallingConventionsStatic.test_noargs_error_arg) ... ok test_noargs_error_arg2 (test.test_call.TestCallingConventionsStatic.test_noargs_error_arg2) ... ok test_noargs_error_ext (test.test_call.TestCallingConventionsStatic.test_noargs_error_ext) ... ok test_noargs_error_kw (test.test_call.TestCallingConventionsStatic.test_noargs_error_kw) ... ok test_noargs_ext (test.test_call.TestCallingConventionsStatic.test_noargs_ext) ... ok test_o (test.test_call.TestCallingConventionsStatic.test_o) ... ok test_o_error_arg_kw (test.test_call.TestCallingConventionsStatic.test_o_error_arg_kw) ... ok test_o_error_ext (test.test_call.TestCallingConventionsStatic.test_o_error_ext) ... ok test_o_error_kw (test.test_call.TestCallingConventionsStatic.test_o_error_kw) ... ok test_o_error_no_arg (test.test_call.TestCallingConventionsStatic.test_o_error_no_arg) ... ok test_o_error_two_args (test.test_call.TestCallingConventionsStatic.test_o_error_two_args) ... ok test_o_ext (test.test_call.TestCallingConventionsStatic.test_o_ext) ... ok test_varargs (test.test_call.TestCallingConventionsStatic.test_varargs) ... ok test_varargs_error_kw (test.test_call.TestCallingConventionsStatic.test_varargs_error_kw) ... ok test_varargs_ext (test.test_call.TestCallingConventionsStatic.test_varargs_ext) ... ok test_varargs_keywords (test.test_call.TestCallingConventionsStatic.test_varargs_keywords) ... ok test_varargs_keywords_ext (test.test_call.TestCallingConventionsStatic.test_varargs_keywords_ext) ... ok test_missing_arguments (test.test_call.TestErrorMessagesUseQualifiedName.test_missing_arguments) ... ok test_multiple_values (test.test_call.TestErrorMessagesUseQualifiedName.test_multiple_values) ... ok test_positional_only_passed_as_keyword (test.test_call.TestErrorMessagesUseQualifiedName.test_positional_only_passed_as_keyword) ... ok test_too_many_positional (test.test_call.TestErrorMessagesUseQualifiedName.test_too_many_positional) ... ok test_unexpected_keyword (test.test_call.TestErrorMessagesUseQualifiedName.test_unexpected_keyword) ... ok test_function_with_many_args (test.test_call.TestFunctionWithManyArgs.test_function_with_many_args) ... ok test_method_descriptor_flag (test.test_call.TestPEP590.test_method_descriptor_flag) ... ok test_setvectorcall (test.test_call.TestPEP590.test_setvectorcall) ... skipped 'implementation detail specific to cpython' test_setvectorcall_load_attr_specialization_deopt (test.test_call.TestPEP590.test_setvectorcall_load_attr_specialization_deopt) ... skipped 'implementation detail specific to cpython' test_setvectorcall_load_attr_specialization_skip (test.test_call.TestPEP590.test_setvectorcall_load_attr_specialization_skip) ... skipped 'implementation detail specific to cpython' test_vectorcall (test.test_call.TestPEP590.test_vectorcall) ... ok test_vectorcall_flag (test.test_call.TestPEP590.test_vectorcall_flag) ... FAIL test_vectorcall_limited_incoming (test.test_call.TestPEP590.test_vectorcall_limited_incoming) ... FAIL test_vectorcall_limited_outgoing (test.test_call.TestPEP590.test_vectorcall_limited_outgoing) ... ok test_vectorcall_limited_outgoing_method (test.test_call.TestPEP590.test_vectorcall_limited_outgoing_method) ... ok test_vectorcall_override (test.test_call.TestPEP590.test_vectorcall_override) ... FAIL test_vectorcall_override_on_mutable_class (test.test_call.TestPEP590.test_vectorcall_override_on_mutable_class) Setting __call__ should disable vectorcall ... ERROR test_vectorcall_override_with_subclass (test.test_call.TestPEP590.test_vectorcall_override_with_subclass) Setting __call__ on a superclass should disable vectorcall ... ERROR test_super_deep (test.test_call.TestRecursion.test_super_deep) ... skipped 'implementation detail specific to cpython' ====================================================================== ERROR: test_vectorcall_override_on_mutable_class (test.test_call.TestPEP590.test_vectorcall_override_on_mutable_class) Setting __call__ should disable vectorcall ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_call.py", line 672, in test_vectorcall_override_on_mutable_class TestType = _testcapi.make_vectorcall_class() ^^^^^^^^^^^^^^^^^^^^^ TypeError: 'type' object is not iterable ====================================================================== ERROR: test_vectorcall_override_with_subclass (test.test_call.TestPEP590.test_vectorcall_override_with_subclass) Setting __call__ on a superclass should disable vectorcall ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_call.py", line 682, in test_vectorcall_override_with_subclass SuperType = _testcapi.make_vectorcall_class() ^^^^^^^^^^^^^^^^^^^^^ TypeError: 'type' object is not iterable ====================================================================== FAIL: test_vectorcall_flag (test.test_call.TestPEP590.test_vectorcall_flag) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_call.py", line 649, in test_vectorcall_flag self.assertTrue(MethodDescriptorHeap.__flags__ & Py_TPFLAGS_HAVE_VECTORCALL) ^^^^^^^^^^ AssertionError: 0 is not true ====================================================================== FAIL: test_vectorcall_limited_incoming (test.test_call.TestPEP590.test_vectorcall_limited_incoming) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_call.py", line 853, in test_vectorcall_limited_incoming self.assertEqual(pyobject_vectorcall(obj, (), ()), "vectorcall called") ^^^^^^^^^^^ AssertionError: 'tp_call called' != 'vectorcall called' - tp_call called ? ^^ + vectorcall called ? +++ ^^ ====================================================================== FAIL: test_vectorcall_override (test.test_call.TestPEP590.test_vectorcall_override) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_call.py", line 668, in test_vectorcall_override self.assertIs(f(*args), args) ^^^^^^^^ AssertionError: (0, 1, 2, 3, 4) is not (0, 1, 2, 3, 4) ---------------------------------------------------------------------- Ran 181 tests in 0.049s FAILED (failures=3, errors=2, skipped=45) 0:00:00 load avg: 0.95 [1/1/1] test_call failed (2 errors, 3 failures) == Tests result: FAILURE == 1 test failed: test_call Total duration: 133 ms Total tests: run=181 failures=3 skipped=45 Total test files: run=1/1 failed=1 Result: FAILURE test test_call failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748235æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2637805069 0:00:00 load avg: 0.95 Run 1 test sequentially in a single process 0:00:00 load avg: 0.95 [1/1] test_class testBadTypeReturned (test.test_class.ClassTests.testBadTypeReturned) ... ok testBinaryOps (test.test_class.ClassTests.testBinaryOps) ... ok testClassWithExtCall (test.test_class.ClassTests.testClassWithExtCall) ... ok testConstructorErrorMessages (test.test_class.ClassTests.testConstructorErrorMessages) ... ok testDel (test.test_class.ClassTests.testDel) ... ok testForExceptionsRaisedInInstanceGetattr2 (test.test_class.ClassTests.testForExceptionsRaisedInInstanceGetattr2) ... ok testGetSetAndDel (test.test_class.ClassTests.testGetSetAndDel) ... ok testHasAttrString (test.test_class.ClassTests.testHasAttrString) ... ok testHashComparisonOfMethods (test.test_class.ClassTests.testHashComparisonOfMethods) ... ok testHashStuff (test.test_class.ClassTests.testHashStuff) ... ok testInit (test.test_class.ClassTests.testInit) ... ok testListAndDictOps (test.test_class.ClassTests.testListAndDictOps) ... ok testMisc (test.test_class.ClassTests.testMisc) ... ok testObjectAttributeAccessErrorMessages (test.test_class.ClassTests.testObjectAttributeAccessErrorMessages) ... ok testPredefinedAttrs (test.test_class.ClassTests.testPredefinedAttrs) ... testPredefinedAttrs (test.test_class.ClassTests.testPredefinedAttrs) [__sizeof__] ... FAIL testSFBug532646 (test.test_class.ClassTests.testSFBug532646) ... ok testSetattrNonStringName (test.test_class.ClassTests.testSetattrNonStringName) ... ok testSetattrWrapperNameIntern (test.test_class.ClassTests.testSetattrWrapperNameIntern) ... FAIL testTypeAttributeAccessErrorMessages (test.test_class.ClassTests.testTypeAttributeAccessErrorMessages) ... ok testUnaryOps (test.test_class.ClassTests.testUnaryOps) ... ok ====================================================================== FAIL: testPredefinedAttrs (test.test_class.ClassTests.testPredefinedAttrs) [__sizeof__] ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_class.py", line 523, in testPredefinedAttrs self.assertTrue(callable(getattr(object, name, None))) ^^^^^^^^^^ AssertionError: False is not true ====================================================================== FAIL: testSetattrWrapperNameIntern (test.test_class.ClassTests.testSetattrWrapperNameIntern) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_class.py", line 666, in testSetattrWrapperNameIntern self.assertIsNot(name2, name) ^^^^^^^^^^^ AssertionError: unexpectedly identical: '__add__' ---------------------------------------------------------------------- Ran 20 tests in 0.021s FAILED (failures=2) 0:00:00 load avg: 0.95 [1/1/1] test_class failed (2 failures) == Tests result: FAILURE == 1 test failed: test_class Total duration: 95 ms Total tests: run=20 failures=2 Total test files: run=1/1 failed=1 Result: FAILURE test test_class failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748255æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3556114619 0:00:00 load avg: 0.95 Run 1 test sequentially in a single process 0:00:00 load avg: 0.95 [1/1] test_cmd_line test_argv0_normalization (test.test_cmd_line.CmdLineTest.test_argv0_normalization) ... skipped 'bpo-32457 only applies on Windows' test_builtin_input (test.test_cmd_line.CmdLineTest.test_builtin_input) ... ok test_closed_stdout (test.test_cmd_line.CmdLineTest.test_closed_stdout) ... ok test_coding (test.test_cmd_line.CmdLineTest.test_coding) ... ok test_del___main__ (test.test_cmd_line.CmdLineTest.test_del___main__) ... ok test_directories (test.test_cmd_line.CmdLineTest.test_directories) ... ok test_displayhook_unencodable (test.test_cmd_line.CmdLineTest.test_displayhook_unencodable) ... ok test_empty_PYTHONPATH_issue16309 (test.test_cmd_line.CmdLineTest.test_empty_PYTHONPATH_issue16309) ... ok test_hash_randomization (test.test_cmd_line.CmdLineTest.test_hash_randomization) ... FAIL test_help (test.test_cmd_line.CmdLineTest.test_help) ... skipped 'implementation detail specific to cpython' test_help_all (test.test_cmd_line.CmdLineTest.test_help_all) ... skipped 'implementation detail specific to cpython' test_help_env (test.test_cmd_line.CmdLineTest.test_help_env) ... skipped 'implementation detail specific to cpython' test_help_xoptions (test.test_cmd_line.CmdLineTest.test_help_xoptions) ... skipped 'implementation detail specific to cpython' test_int_max_str_digits (test.test_cmd_line.CmdLineTest.test_int_max_str_digits) ... FAIL test_invalid_utf8_arg (test.test_cmd_line.CmdLineTest.test_invalid_utf8_arg) ... ok test_isolatedmode (test.test_cmd_line.CmdLineTest.test_isolatedmode) ... ok test_large_PYTHONPATH (test.test_cmd_line.CmdLineTest.test_large_PYTHONPATH) ... ok test_no_std_streams (test.test_cmd_line.CmdLineTest.test_no_std_streams) ... ok test_no_stderr (test.test_cmd_line.CmdLineTest.test_no_stderr) ... ok test_no_stdin (test.test_cmd_line.CmdLineTest.test_no_stdin) ... ok test_no_stdout (test.test_cmd_line.CmdLineTest.test_no_stdout) ... ok test_non_ascii (test.test_cmd_line.CmdLineTest.test_non_ascii) ... ok test_non_interactive_output_buffering (test.test_cmd_line.CmdLineTest.test_non_interactive_output_buffering) ... ok test_optimize (test.test_cmd_line.CmdLineTest.test_optimize) ... ok test_osx_android_utf8 (test.test_cmd_line.CmdLineTest.test_osx_android_utf8) ... skipped 'test specific to Mac OS X and Android' test_output_newline (test.test_cmd_line.CmdLineTest.test_output_newline) ... ok test_parsing_error (test.test_cmd_line.CmdLineTest.test_parsing_error) ... skipped 'implementation detail specific to cpython' test_pythondevmode_env (test.test_cmd_line.CmdLineTest.test_pythondevmode_env) ... ok test_pythonmalloc (test.test_cmd_line.CmdLineTest.test_pythonmalloc) ... ERROR test_relativedir_bug46421 (test.test_cmd_line.CmdLineTest.test_relativedir_bug46421) ... ok test_run_code (test.test_cmd_line.CmdLineTest.test_run_code) ... ok test_run_module (test.test_cmd_line.CmdLineTest.test_run_module) ... ok test_run_module_bug1764407 (test.test_cmd_line.CmdLineTest.test_run_module_bug1764407) ... ok test_set_pycache_prefix (test.test_cmd_line.CmdLineTest.test_set_pycache_prefix) ... ok test_showrefcount (test.test_cmd_line.CmdLineTest.test_showrefcount) ... ok test_site_flag (test.test_cmd_line.CmdLineTest.test_site_flag) ... ok test_stdin_readline (test.test_cmd_line.CmdLineTest.test_stdin_readline) ... ok test_stdout_flush_at_shutdown (test.test_cmd_line.CmdLineTest.test_stdout_flush_at_shutdown) ... ok test_sys_flags_set (test.test_cmd_line.CmdLineTest.test_sys_flags_set) ... ok test_unbuffered_input (test.test_cmd_line.CmdLineTest.test_unbuffered_input) ... ok test_unbuffered_output (test.test_cmd_line.CmdLineTest.test_unbuffered_output) ... ok test_undecodable_code (test.test_cmd_line.CmdLineTest.test_undecodable_code) ... ok test_unknown_options (test.test_cmd_line.CmdLineTest.test_unknown_options) ... skipped 'implementation detail specific to cpython' test_unmached_quote (test.test_cmd_line.CmdLineTest.test_unmached_quote) ... ok test_verbose (test.test_cmd_line.CmdLineTest.test_verbose) ... ok test_version (test.test_cmd_line.CmdLineTest.test_version) ... skipped 'implementation detail specific to cpython' test_warnings_filter_precedence (test.test_cmd_line.CmdLineTest.test_warnings_filter_precedence) ... ok test_xdev (test.test_cmd_line.CmdLineTest.test_xdev) ... skipped 'implementation detail specific to cpython' test_xoption_frozen_modules (test.test_cmd_line.CmdLineTest.test_xoption_frozen_modules) ... skipped 'implementation detail specific to cpython' test_xoptions (test.test_cmd_line.CmdLineTest.test_xoptions) ... ok test_ignore_PYTHONHASHSEED (test.test_cmd_line.IgnoreEnvironmentTest.test_ignore_PYTHONHASHSEED) ... FAIL test_ignore_PYTHONPATH (test.test_cmd_line.IgnoreEnvironmentTest.test_ignore_PYTHONPATH) ... ok test_sys_flags_not_set (test.test_cmd_line.IgnoreEnvironmentTest.test_sys_flags_not_set) ... ok test_decoding_error_at_the_end_of_the_line (test.test_cmd_line.SyntaxErrorTests.test_decoding_error_at_the_end_of_the_line) ... ok test_tokenizer_error_with_stdin (test.test_cmd_line.SyntaxErrorTests.test_tokenizer_error_with_stdin) ... ok ====================================================================== ERROR: test_pythonmalloc (test.test_cmd_line.CmdLineTest.test_pythonmalloc) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cmd_line.py", line 812, in test_pythonmalloc pymalloc = support.with_pymalloc() ^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py", line 1955, in with_pymalloc return _testcapi.WITH_PYMALLOC ^^^^^^^^^^^^^ AttributeError: module '_testcapi' has no attribute 'WITH_PYMALLOC' ====================================================================== FAIL: test_hash_randomization (test.test_cmd_line.CmdLineTest.test_hash_randomization) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cmd_line.py", line 554, in test_hash_randomization self.assertIn(b'random is 1', out) ^^^^^^^^ AssertionError: b'random is 1' not found in b'random is 0\n' ====================================================================== FAIL: test_int_max_str_digits (test.test_cmd_line.CmdLineTest.test_int_max_str_digits) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cmd_line.py", line 895, in test_int_max_str_digits self.assertEqual(res2int(res), (current_max, current_max)) ^^^^^^^^^^^ AssertionError: Tuples differ: (-1, 4300) != (4300, 4300) First differing element 0: -1 4300 - (-1, 4300) + (4300, 4300) ====================================================================== FAIL: test_ignore_PYTHONHASHSEED (test.test_cmd_line.IgnoreEnvironmentTest.test_ignore_PYTHONHASHSEED) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cmd_line.py", line 932, in test_ignore_PYTHONHASHSEED self.run_ignoring_vars("sys.flags.hash_randomization == 1", ^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cmd_line.py", line 924, in run_ignoring_vars return assert_python_ok('-E', '-c', code, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/pypy3.12-c', '-X', 'faulthandler', '-E', '-c', 'import sys; sys.stderr.write(str(sys.flags)); sys.exit(not (sys.flags.hash_randomization == 1))'] stdout: --- --- stderr: --- sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=1, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0, dev_mode=False, utf8_mode=0, warn_default_encoding=0, int_max_str_digits=-1, safe_path=False) --- ---------------------------------------------------------------------- Ran 55 tests in 3.486s FAILED (failures=3, errors=1, skipped=11) 0:00:03 load avg: 0.96 [1/1/1] test_cmd_line failed (1 error, 3 failures) == Tests result: FAILURE == 1 test failed: test_cmd_line Total duration: 3.6 sec Total tests: run=55 failures=3 skipped=11 Total test files: run=1/1 failed=1 Result: FAILURE test test_cmd_line failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748351æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3859921626 0:00:00 load avg: 0.96 Run 1 test sequentially in a single process 0:00:00 load avg: 0.96 [1/1] test_cmd_line_script test_basic_script (test.test_cmd_line_script.CmdLineTest.test_basic_script) ... ok test_consistent_sys_path_for_direct_execution (test.test_cmd_line_script.CmdLineTest.test_consistent_sys_path_for_direct_execution) ... ok test_consistent_sys_path_for_module_execution (test.test_cmd_line_script.CmdLineTest.test_consistent_sys_path_for_module_execution) ... ok test_dash_c_loader (test.test_cmd_line_script.CmdLineTest.test_dash_c_loader) ... ok test_dash_m_bad_pyc (test.test_cmd_line_script.CmdLineTest.test_dash_m_bad_pyc) ... ok test_dash_m_error_code_is_one (test.test_cmd_line_script.CmdLineTest.test_dash_m_error_code_is_one) ... ok test_dash_m_errors (test.test_cmd_line_script.CmdLineTest.test_dash_m_errors) ... ok test_dash_m_init_traceback (test.test_cmd_line_script.CmdLineTest.test_dash_m_init_traceback) ... ok test_dash_m_main_traceback (test.test_cmd_line_script.CmdLineTest.test_dash_m_main_traceback) ... ok test_directory (test.test_cmd_line_script.CmdLineTest.test_directory) ... ok test_directory_compiled (test.test_cmd_line_script.CmdLineTest.test_directory_compiled) ... ok test_directory_error (test.test_cmd_line_script.CmdLineTest.test_directory_error) ... ok test_hint_when_triying_to_import_a_py_file (test.test_cmd_line_script.CmdLineTest.test_hint_when_triying_to_import_a_py_file) ... ok test_issue20500_exit_with_exception_value (test.test_cmd_line_script.CmdLineTest.test_issue20500_exit_with_exception_value) ... ok test_issue20884 (test.test_cmd_line_script.CmdLineTest.test_issue20884) ... ok test_issue8202 (test.test_cmd_line_script.CmdLineTest.test_issue8202) ... ok test_issue8202_dash_c_file_ignored (test.test_cmd_line_script.CmdLineTest.test_issue8202_dash_c_file_ignored) ... ok test_issue8202_dash_m_file_ignored (test.test_cmd_line_script.CmdLineTest.test_issue8202_dash_m_file_ignored) ... ok test_module_in_package (test.test_cmd_line_script.CmdLineTest.test_module_in_package) ... ok test_module_in_package_in_zipfile (test.test_cmd_line_script.CmdLineTest.test_module_in_package_in_zipfile) ... ok test_module_in_subpackage_in_zipfile (test.test_cmd_line_script.CmdLineTest.test_module_in_subpackage_in_zipfile) ... ok test_non_ascii (test.test_cmd_line_script.CmdLineTest.test_non_ascii) ... ok test_nonexisting_script (test.test_cmd_line_script.CmdLineTest.test_nonexisting_script) ... ok test_package (test.test_cmd_line_script.CmdLineTest.test_package) ... ok test_package_compiled (test.test_cmd_line_script.CmdLineTest.test_package_compiled) ... ok test_package_error (test.test_cmd_line_script.CmdLineTest.test_package_error) ... ok test_package_recursion (test.test_cmd_line_script.CmdLineTest.test_package_recursion) ... ok test_pep_409_verbiage (test.test_cmd_line_script.CmdLineTest.test_pep_409_verbiage) ... ok test_repl_stderr_flush (test.test_cmd_line_script.CmdLineTest.test_repl_stderr_flush) ... ok test_repl_stderr_flush_separate_stderr (test.test_cmd_line_script.CmdLineTest.test_repl_stderr_flush_separate_stderr) ... skipped 'pypy writes the prompt to stdout' test_repl_stdout_flush (test.test_cmd_line_script.CmdLineTest.test_repl_stdout_flush) ... ok test_repl_stdout_flush_separate_stderr (test.test_cmd_line_script.CmdLineTest.test_repl_stdout_flush_separate_stderr) ... skipped 'pypy writes the prompt to stdout' test_script_abspath (test.test_cmd_line_script.CmdLineTest.test_script_abspath) ... ok test_script_as_dev_fd (test.test_cmd_line_script.CmdLineTest.test_script_as_dev_fd) ... ok test_script_compiled (test.test_cmd_line_script.CmdLineTest.test_script_compiled) ... ok test_stdin_loader (test.test_cmd_line_script.CmdLineTest.test_stdin_loader) ... ok test_syntaxerror_indented_caret_position (test.test_cmd_line_script.CmdLineTest.test_syntaxerror_indented_caret_position) ... ok test_syntaxerror_invalid_escape_sequence_multi_line (test.test_cmd_line_script.CmdLineTest.test_syntaxerror_invalid_escape_sequence_multi_line) ... FAIL test_syntaxerror_multi_line_fstring (test.test_cmd_line_script.CmdLineTest.test_syntaxerror_multi_line_fstring) ... ok test_syntaxerror_null_bytes (test.test_cmd_line_script.CmdLineTest.test_syntaxerror_null_bytes) ... ok test_syntaxerror_null_bytes_in_multiline_string (test.test_cmd_line_script.CmdLineTest.test_syntaxerror_null_bytes_in_multiline_string) ... ok test_syntaxerror_unindented_caret_position (test.test_cmd_line_script.CmdLineTest.test_syntaxerror_unindented_caret_position) ... ok test_zipfile (test.test_cmd_line_script.CmdLineTest.test_zipfile) ... ok test_zipfile_compiled_checked_hash (test.test_cmd_line_script.CmdLineTest.test_zipfile_compiled_checked_hash) ... ok test_zipfile_compiled_timestamp (test.test_cmd_line_script.CmdLineTest.test_zipfile_compiled_timestamp) ... ok test_zipfile_compiled_unchecked_hash (test.test_cmd_line_script.CmdLineTest.test_zipfile_compiled_unchecked_hash) ... ok test_zipfile_error (test.test_cmd_line_script.CmdLineTest.test_zipfile_error) ... ok ====================================================================== FAIL: test_syntaxerror_invalid_escape_sequence_multi_line (test.test_cmd_line_script.CmdLineTest.test_syntaxerror_invalid_escape_sequence_multi_line) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cmd_line_script.py", line 658, in test_syntaxerror_invalid_escape_sequence_multi_line self.assertEqual( ^^^^^^^^^^^ AssertionError: Lists differ: [b' [26 chars] ^^^^^^^^', b"SyntaxError: invalid escape sequence '\\q'"] != [b' [26 chars] ^^', b"SyntaxError: invalid escape sequence '\\q'"] First differing element 1: b' ^^^^^^^^' b' ^^' [b' foo = """\\q"""', - b' ^^^^^^^^', ? ^^^^^^ + b' ^^', ? ^^^ b"SyntaxError: invalid escape sequence '\\q'"] ---------------------------------------------------------------------- Ran 47 tests in 3.577s FAILED (failures=1, skipped=2) 0:00:03 load avg: 0.96 [1/1/1] test_cmd_line_script failed (1 failure) == Tests result: FAILURE == 1 test failed: test_cmd_line_script Total duration: 3.7 sec Total tests: run=47 failures=1 skipped=2 Total test files: run=1/1 failed=1 Result: FAILURE test test_cmd_line_script failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748418æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1110525328 0:00:00 load avg: 0.96 Run 1 test sequentially in a single process 0:00:00 load avg: 0.96 [1/1] test_code 0:00:00 load avg: 0.96 [1/1/1] test_code failed (uncaught exception) == Tests result: FAILURE == 1 test failed: test_code Total duration: 102 ms Total tests: run=0 Total test files: run=1/1 failed=1 Result: FAILURE test test_code crashed -- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc _load_run_test(result, runtests) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 128, in _load_run_test test_mod = importlib.import_module(module_name) ^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<builtin>/frozen importlib._bootstrap_external", line 1011, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_code.py", line 147, in <module> COPY_FREE_VARS = opmap['COPY_FREE_VARS'] ~~~~~^^^^^^^^^^^^^^^^^^ KeyError: 'COPY_FREE_VARS' _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748423æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 644402451 0:00:00 load avg: 0.96 Run 1 test sequentially in a single process 0:00:00 load avg: 0.96 [1/1] test_code_module test_banner (test.test_code_module.TestInteractiveConsole.test_banner) ... ok test_cause_tb (test.test_code_module.TestInteractiveConsole.test_cause_tb) ... FAIL test_console_stderr (test.test_code_module.TestInteractiveConsole.test_console_stderr) ... ok test_context_tb (test.test_code_module.TestInteractiveConsole.test_context_tb) ... FAIL test_exit_msg (test.test_code_module.TestInteractiveConsole.test_exit_msg) ... ok test_indentation_error (test.test_code_module.TestInteractiveConsole.test_indentation_error) ... ERROR test_ps1 (test.test_code_module.TestInteractiveConsole.test_ps1) ... ok test_ps2 (test.test_code_module.TestInteractiveConsole.test_ps2) ... ok test_syntax_error (test.test_code_module.TestInteractiveConsole.test_syntax_error) ... ERROR test_sysexcepthook (test.test_code_module.TestInteractiveConsole.test_sysexcepthook) ... ok test_sysexcepthook_crashing_doesnt_close_repl (test.test_code_module.TestInteractiveConsole.test_sysexcepthook_crashing_doesnt_close_repl) ... FAIL test_sysexcepthook_indentation_error (test.test_code_module.TestInteractiveConsole.test_sysexcepthook_indentation_error) ... ERROR test_sysexcepthook_raising_BaseException (test.test_code_module.TestInteractiveConsole.test_sysexcepthook_raising_BaseException) ... FAIL test_sysexcepthook_raising_SystemExit_gets_through (test.test_code_module.TestInteractiveConsole.test_sysexcepthook_raising_SystemExit_gets_through) ... ok test_sysexcepthook_syntax_error (test.test_code_module.TestInteractiveConsole.test_sysexcepthook_syntax_error) ... ERROR test_unicode_error (test.test_code_module.TestInteractiveConsole.test_unicode_error) ... ERROR ====================================================================== ERROR: test_indentation_error (test.test_code_module.TestInteractiveConsole.test_indentation_error) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_code_module.py", line 92, in test_indentation_error self.assertIs(self.sysmod.last_type, IndentationError) ^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/mock.py", line 660, in __getattr__ raise AttributeError("Mock object has no attribute %r" % name) AttributeError: Mock object has no attribute 'last_type' ====================================================================== ERROR: test_syntax_error (test.test_code_module.TestInteractiveConsole.test_syntax_error) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_code_module.py", line 76, in test_syntax_error self.assertIs(self.sysmod.last_type, SyntaxError) ^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/mock.py", line 660, in __getattr__ raise AttributeError("Mock object has no attribute %r" % name) AttributeError: Mock object has no attribute 'last_type' ====================================================================== ERROR: test_sysexcepthook_indentation_error (test.test_code_module.TestInteractiveConsole.test_sysexcepthook_indentation_error) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_code_module.py", line 163, in test_sysexcepthook_indentation_error hook.assert_called_with(self.sysmod.last_type, ^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/mock.py", line 660, in __getattr__ raise AttributeError("Mock object has no attribute %r" % name) AttributeError: Mock object has no attribute 'last_type' ====================================================================== ERROR: test_sysexcepthook_syntax_error (test.test_code_module.TestInteractiveConsole.test_sysexcepthook_syntax_error) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_code_module.py", line 143, in test_sysexcepthook_syntax_error hook.assert_called_with(self.sysmod.last_type, ^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/mock.py", line 660, in __getattr__ raise AttributeError("Mock object has no attribute %r" % name) AttributeError: Mock object has no attribute 'last_type' ====================================================================== ERROR: test_unicode_error (test.test_code_module.TestInteractiveConsole.test_unicode_error) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_code_module.py", line 105, in test_unicode_error self.assertIs(self.sysmod.last_type, UnicodeEncodeError) ^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/mock.py", line 660, in __getattr__ raise AttributeError("Mock object has no attribute %r" % name) AttributeError: Mock object has no attribute 'last_type' ====================================================================== FAIL: test_cause_tb (test.test_code_module.TestInteractiveConsole.test_cause_tb) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_code_module.py", line 268, in test_cause_tb self.assertIs(self.sysmod.last_traceback, self.sysmod.last_value.__traceback__) ^^^^^^^^ AssertionError: <traceback object at 0x00007f97b2377330> is not <traceback object at 0x00007f97b2377358> ====================================================================== FAIL: test_context_tb (test.test_code_module.TestInteractiveConsole.test_context_tb) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_code_module.py", line 291, in test_context_tb self.assertIs(self.sysmod.last_traceback, self.sysmod.last_value.__traceback__) ^^^^^^^^ AssertionError: <traceback object at 0x00007f97b21ac0c0> is not <traceback object at 0x00007f97b21ac098> ====================================================================== FAIL: test_sysexcepthook_crashing_doesnt_close_repl (test.test_code_module.TestInteractiveConsole.test_sysexcepthook_crashing_doesnt_close_repl) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_code_module.py", line 180, in test_sysexcepthook_crashing_doesnt_close_repl self.assertEqual(['write', ('123', ), {}], self.stdout.method_calls[0]) ^^^^^^^^^^^ AssertionError: ['write', ('123',), {}] != call.flush() ====================================================================== FAIL: test_sysexcepthook_raising_BaseException (test.test_code_module.TestInteractiveConsole.test_sysexcepthook_raising_BaseException) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_code_module.py", line 194, in test_sysexcepthook_raising_BaseException self.assertEqual(['write', ('123', ), {}], self.stdout.method_calls[0]) ^^^^^^^^^^^ AssertionError: ['write', ('123',), {}] != call.flush() ---------------------------------------------------------------------- Ran 16 tests in 0.130s FAILED (failures=4, errors=5) 0:00:00 load avg: 0.96 [1/1/1] test_code_module failed (5 errors, 4 failures) == Tests result: FAILURE == 1 test failed: test_code_module Total duration: 303 ms Total tests: run=16 failures=4 Total test files: run=1/1 failed=1 Result: FAILURE test test_code_module failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748428æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 4011554428 0:00:00 load avg: 0.96 Run 1 test sequentially in a single process 0:00:00 load avg: 0.96 [1/1] test_codeccallbacks test_backslashescape (test.test_codeccallbacks.CodecCallbackTest.test_backslashescape) ... ok test_badandgoodbackslashreplaceexceptions (test.test_codeccallbacks.CodecCallbackTest.test_badandgoodbackslashreplaceexceptions) ... ok test_badandgoodignoreexceptions (test.test_codeccallbacks.CodecCallbackTest.test_badandgoodignoreexceptions) ... ok test_badandgoodnamereplaceexceptions (test.test_codeccallbacks.CodecCallbackTest.test_badandgoodnamereplaceexceptions) ... ok test_badandgoodreplaceexceptions (test.test_codeccallbacks.CodecCallbackTest.test_badandgoodreplaceexceptions) ... ok test_badandgoodstrictexceptions (test.test_codeccallbacks.CodecCallbackTest.test_badandgoodstrictexceptions) ... ok test_badandgoodsurrogateescapeexceptions (test.test_codeccallbacks.CodecCallbackTest.test_badandgoodsurrogateescapeexceptions) ... ok test_badandgoodsurrogatepassexceptions (test.test_codeccallbacks.CodecCallbackTest.test_badandgoodsurrogatepassexceptions) ... ok test_badandgoodxmlcharrefreplaceexceptions (test.test_codeccallbacks.CodecCallbackTest.test_badandgoodxmlcharrefreplaceexceptions) ... ok test_badhandlerresults (test.test_codeccallbacks.CodecCallbackTest.test_badhandlerresults) ... ok test_badlookupcall (test.test_codeccallbacks.CodecCallbackTest.test_badlookupcall) ... ok test_badregistercall (test.test_codeccallbacks.CodecCallbackTest.test_badregistercall) ... ok test_bug828737 (test.test_codeccallbacks.CodecCallbackTest.test_bug828737) ... ok test_callbacks (test.test_codeccallbacks.CodecCallbackTest.test_callbacks) ... ok test_charmapencode (test.test_codeccallbacks.CodecCallbackTest.test_charmapencode) ... ok test_crashing_decode_handler (test.test_codeccallbacks.CodecCallbackTest.test_crashing_decode_handler) ... ok test_decodehelper (test.test_codeccallbacks.CodecCallbackTest.test_decodehelper) ... ok test_decodehelper_bug36819 (test.test_codeccallbacks.CodecCallbackTest.test_decodehelper_bug36819) ... ok test_decoding_callbacks (test.test_codeccallbacks.CodecCallbackTest.test_decoding_callbacks) ... ok test_encode_bytes_replacement (test.test_codeccallbacks.CodecCallbackTest.test_encode_bytes_replacement) ... ok test_encode_nonascii_replacement (test.test_codeccallbacks.CodecCallbackTest.test_encode_nonascii_replacement) ... ok test_encode_odd_bytes_replacement (test.test_codeccallbacks.CodecCallbackTest.test_encode_odd_bytes_replacement) ... ok test_encode_unencodable_replacement (test.test_codeccallbacks.CodecCallbackTest.test_encode_unencodable_replacement) ... ok test_encodehelper (test.test_codeccallbacks.CodecCallbackTest.test_encodehelper) ... ok test_encodehelper_bug36819 (test.test_codeccallbacks.CodecCallbackTest.test_encodehelper_bug36819) ... ok test_fake_error_class (test.test_codeccallbacks.CodecCallbackTest.test_fake_error_class) ... ok test_longstrings (test.test_codeccallbacks.CodecCallbackTest.test_longstrings) ... ok test_lookup (test.test_codeccallbacks.CodecCallbackTest.test_lookup) ... ok test_mutating_decode_handler (test.test_codeccallbacks.CodecCallbackTest.test_mutating_decode_handler) ... ERROR test_mutating_decode_handler_unicode_escape (test.test_codeccallbacks.CodecCallbackTest.test_mutating_decode_handler_unicode_escape) ... ok test_nameescape (test.test_codeccallbacks.CodecCallbackTest.test_nameescape) ... ok test_translatehelper (test.test_codeccallbacks.CodecCallbackTest.test_translatehelper) ... ok test_unicodedecodeerror (test.test_codeccallbacks.CodecCallbackTest.test_unicodedecodeerror) ... ok test_unicodeencodeerror (test.test_codeccallbacks.CodecCallbackTest.test_unicodeencodeerror) ... ok test_unicodetranslateerror (test.test_codeccallbacks.CodecCallbackTest.test_unicodetranslateerror) ... ok test_uninamereplace (test.test_codeccallbacks.CodecCallbackTest.test_uninamereplace) ... ok test_unknownhandler (test.test_codeccallbacks.CodecCallbackTest.test_unknownhandler) ... ok test_xmlcharnamereplace (test.test_codeccallbacks.CodecCallbackTest.test_xmlcharnamereplace) ... ok test_xmlcharrefreplace (test.test_codeccallbacks.CodecCallbackTest.test_xmlcharrefreplace) ... ok test_xmlcharrefvalues (test.test_codeccallbacks.CodecCallbackTest.test_xmlcharrefvalues) ... ok ====================================================================== ERROR: test_mutating_decode_handler (test.test_codeccallbacks.CodecCallbackTest.test_mutating_decode_handler) ---------------------------------------------------------------------- ValueError: error handler modified exc.object must be bytes The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codeccallbacks.py", line 1149, in test_mutating_decode_handler data.decode(encoding, "test.replacing") ^^^^^^ ValueError: decoding with 'ascii' codec failed (ValueError: error handler modified exc.object must be bytes) ---------------------------------------------------------------------- Ran 40 tests in 0.047s FAILED (errors=1) 0:00:00 load avg: 0.96 [1/1/1] test_codeccallbacks failed (1 error) == Tests result: FAILURE == 1 test failed: test_codeccallbacks Total duration: 130 ms Total tests: run=40 Total test files: run=1/1 failed=1 Result: FAILURE test test_codeccallbacks failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748488æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2596144800 0:00:00 load avg: 0.96 Run 1 test sequentially in a single process 0:00:00 load avg: 0.96 [1/1] test_codecs test_decode (test.test_codecs.ASCIITest.test_decode) ... ok test_decode_error (test.test_codecs.ASCIITest.test_decode_error) ... ok test_encode (test.test_codecs.ASCIITest.test_encode) ... ok test_encode_error (test.test_codecs.ASCIITest.test_encode_error) ... ok test_encode_surrogateescape_error (test.test_codecs.ASCIITest.test_encode_surrogateescape_error) ... ok test_bad_decode_args (test.test_codecs.BasicUnicodeTest.test_bad_decode_args) ... ok test_bad_encode_args (test.test_codecs.BasicUnicodeTest.test_bad_encode_args) ... ok test_basics (test.test_codecs.BasicUnicodeTest.test_basics) ... ok test_basics_capi (test.test_codecs.BasicUnicodeTest.test_basics_capi) ... skipped 'implementation detail specific to cpython' test_decoder_state (test.test_codecs.BasicUnicodeTest.test_decoder_state) ... ok test_encoding_map_type_initialized (test.test_codecs.BasicUnicodeTest.test_encoding_map_type_initialized) ... ok test_seek (test.test_codecs.BasicUnicodeTest.test_seek) ... ok test_seek0 (test.test_codecs.BomTest.test_seek0) ... ok test_decode_with_int2int_map (test.test_codecs.CharmapTest.test_decode_with_int2int_map) ... ok test_decode_with_int2str_map (test.test_codecs.CharmapTest.test_decode_with_int2str_map) ... ok test_decode_with_string_map (test.test_codecs.CharmapTest.test_decode_with_string_map) ... ok test_code_page_decode_flags (test.test_codecs.CodePageTest.test_code_page_decode_flags) ... skipped 'code pages are specific to Windows' test_code_page_name (test.test_codecs.CodePageTest.test_code_page_name) ... skipped 'code pages are specific to Windows' test_cp1252 (test.test_codecs.CodePageTest.test_cp1252) ... skipped 'code pages are specific to Windows' test_cp932 (test.test_codecs.CodePageTest.test_cp932) ... skipped 'code pages are specific to Windows' test_cp_utf7 (test.test_codecs.CodePageTest.test_cp_utf7) ... skipped 'code pages are specific to Windows' test_incremental (test.test_codecs.CodePageTest.test_incremental) ... skipped 'code pages are specific to Windows' test_invalid_code_page (test.test_codecs.CodePageTest.test_invalid_code_page) ... skipped 'code pages are specific to Windows' test_large_input (test.test_codecs.CodePageTest.test_large_input) ... skipped 'code pages are specific to Windows' test_large_utf8_input (test.test_codecs.CodePageTest.test_large_utf8_input) ... skipped 'code pages are specific to Windows' test_mbcs_alias (test.test_codecs.CodePageTest.test_mbcs_alias) ... skipped 'code pages are specific to Windows' test_multibyte_encoding (test.test_codecs.CodePageTest.test_multibyte_encoding) ... skipped 'code pages are specific to Windows' test_codecs_lookup (test.test_codecs.CodecNameNormalizationTest.test_codecs_lookup) ... ok test_encodings_normalize_encoding (test.test_codecs.CodecNameNormalizationTest.test_encodings_normalize_encoding) ... ok test_all (test.test_codecs.CodecsModuleTest.test_all) ... ok test_decode (test.test_codecs.CodecsModuleTest.test_decode) ... ok test_encode (test.test_codecs.CodecsModuleTest.test_encode) ... ok test_file_closes_if_lookup_error_raised (test.test_codecs.CodecsModuleTest.test_file_closes_if_lookup_error_raised) ... ok test_getdecoder (test.test_codecs.CodecsModuleTest.test_getdecoder) ... ok test_getencoder (test.test_codecs.CodecsModuleTest.test_getencoder) ... ok test_getreader (test.test_codecs.CodecsModuleTest.test_getreader) ... ok test_getwriter (test.test_codecs.CodecsModuleTest.test_getwriter) ... ok test_lookup (test.test_codecs.CodecsModuleTest.test_lookup) ... ok test_lookup_issue1813 (test.test_codecs.CodecsModuleTest.test_lookup_issue1813) ... skipped "no locales ('tr_TR',)" test_open (test.test_codecs.CodecsModuleTest.test_open) ... ok test_register (test.test_codecs.CodecsModuleTest.test_register) ... ok test_undefined (test.test_codecs.CodecsModuleTest.test_undefined) ... ok test_unregister (test.test_codecs.CodecsModuleTest.test_unregister) ... ok test_basic (test.test_codecs.EncodedFileTest.test_basic) ... ok test_empty (test.test_codecs.EscapeDecodeTest.test_empty) ... ok test_errors (test.test_codecs.EscapeDecodeTest.test_errors) ... ok test_escape (test.test_codecs.EscapeDecodeTest.test_escape) ... ok test_raw (test.test_codecs.EscapeDecodeTest.test_raw) ... ok test_warnings (test.test_codecs.EscapeDecodeTest.test_warnings) ... ok test_escape_encode (test.test_codecs.EscapeEncodeTest.test_escape_encode) ... ok test_codec_lookup_failure (test.test_codecs.ExceptionNotesTest.test_codec_lookup_failure) ... ok test_init_override (test.test_codecs.ExceptionNotesTest.test_init_override) ... ERROR test_instance_attribute (test.test_codecs.ExceptionNotesTest.test_instance_attribute) ... ERROR test_multiple_args (test.test_codecs.ExceptionNotesTest.test_multiple_args) ... ERROR test_new_override (test.test_codecs.ExceptionNotesTest.test_new_override) ... ERROR test_non_str_arg (test.test_codecs.ExceptionNotesTest.test_non_str_arg) ... ERROR test_raise_by_type (test.test_codecs.ExceptionNotesTest.test_raise_by_type) ... ERROR test_raise_by_value (test.test_codecs.ExceptionNotesTest.test_raise_by_value) ... ERROR test_raise_grandchild_subclass_exact_size (test.test_codecs.ExceptionNotesTest.test_raise_grandchild_subclass_exact_size) ... ERROR test_raise_subclass_with_weakref_support (test.test_codecs.ExceptionNotesTest.test_raise_subclass_with_weakref_support) ... ERROR test_unflagged_non_text_codec_handling (test.test_codecs.ExceptionNotesTest.test_unflagged_non_text_codec_handling) ... ok test_builtin_decode (test.test_codecs.IDNACodecTest.test_builtin_decode) ... ok test_builtin_decode_length_limit (test.test_codecs.IDNACodecTest.test_builtin_decode_length_limit) ... ok test_builtin_encode (test.test_codecs.IDNACodecTest.test_builtin_encode) ... ok test_errors (test.test_codecs.IDNACodecTest.test_errors) Only supports "strict" error handler ... ok test_incremental_decode (test.test_codecs.IDNACodecTest.test_incremental_decode) ... ok test_incremental_encode (test.test_codecs.IDNACodecTest.test_incremental_encode) ... ok test_stream (test.test_codecs.IDNACodecTest.test_stream) ... ok test_decode (test.test_codecs.Latin1Test.test_decode) ... ok test_encode (test.test_codecs.Latin1Test.test_encode) ... ok test_encode_errors (test.test_codecs.Latin1Test.test_encode_errors) ... ok test_encode_surrogateescape_error (test.test_codecs.Latin1Test.test_encode_surrogateescape_error) ... ok test_decode_strict (test.test_codecs.LocaleCodecTest.test_decode_strict) ... skipped 'need _testinternalcapi module' test_decode_surrogateescape (test.test_codecs.LocaleCodecTest.test_decode_surrogateescape) ... skipped 'need _testinternalcapi module' test_decode_surrogatepass (test.test_codecs.LocaleCodecTest.test_decode_surrogatepass) ... skipped 'need _testinternalcapi module' test_decode_unsupported_error_handler (test.test_codecs.LocaleCodecTest.test_decode_unsupported_error_handler) ... skipped 'need _testinternalcapi module' test_encode_strict (test.test_codecs.LocaleCodecTest.test_encode_strict) ... skipped 'need _testinternalcapi module' test_encode_surrogateescape (test.test_codecs.LocaleCodecTest.test_encode_surrogateescape) ... skipped 'need _testinternalcapi module' test_encode_surrogatepass (test.test_codecs.LocaleCodecTest.test_encode_surrogatepass) ... skipped 'need _testinternalcapi module' test_encode_unsupported_error_handler (test.test_codecs.LocaleCodecTest.test_encode_unsupported_error_handler) ... skipped 'need _testinternalcapi module' test_nameprep (test.test_codecs.NameprepTest.test_nameprep) ... ok test_decode (test.test_codecs.PunycodeTest.test_decode) ... ok test_decode_invalid (test.test_codecs.PunycodeTest.test_decode_invalid) ... ok test_encode (test.test_codecs.PunycodeTest.test_encode) ... ok test_bug1098990_a (test.test_codecs.RawUnicodeEscapeTest.test_bug1098990_a) ... ok test_bug1098990_b (test.test_codecs.RawUnicodeEscapeTest.test_bug1098990_b) ... ok test_bug1175396 (test.test_codecs.RawUnicodeEscapeTest.test_bug1175396) ... ok test_decode_errors (test.test_codecs.RawUnicodeEscapeTest.test_decode_errors) ... ok test_empty (test.test_codecs.RawUnicodeEscapeTest.test_empty) ... ok test_escape_decode (test.test_codecs.RawUnicodeEscapeTest.test_escape_decode) ... ok test_escape_encode (test.test_codecs.RawUnicodeEscapeTest.test_escape_encode) ... ok test_incremental_surrogatepass (test.test_codecs.RawUnicodeEscapeTest.test_incremental_surrogatepass) ... ok test_mixed_readline_and_read (test.test_codecs.RawUnicodeEscapeTest.test_mixed_readline_and_read) ... ok test_partial (test.test_codecs.RawUnicodeEscapeTest.test_partial) ... ok test_raw_decode (test.test_codecs.RawUnicodeEscapeTest.test_raw_decode) ... ok test_raw_encode (test.test_codecs.RawUnicodeEscapeTest.test_raw_encode) ... ok test_readline (test.test_codecs.RawUnicodeEscapeTest.test_readline) ... ok test_readlinequeue (test.test_codecs.RawUnicodeEscapeTest.test_readlinequeue) ... ok test_array (test.test_codecs.ReadBufferTest.test_array) ... ok test_bad_args (test.test_codecs.ReadBufferTest.test_bad_args) ... ok test_empty (test.test_codecs.ReadBufferTest.test_empty) ... ok test_decode (test.test_codecs.Rot13Test.test_decode) ... ok test_encode (test.test_codecs.Rot13Test.test_encode) ... ok test_incremental_decode (test.test_codecs.Rot13Test.test_incremental_decode) ... ok test_incremental_encode (test.test_codecs.Rot13Test.test_incremental_encode) ... ok test_rot13_func (test.test_codecs.Rot13UtilTest.test_rot13_func) ... ok test_copy (test.test_codecs.StreamReaderTest.test_copy) ... ok test_pickle (test.test_codecs.StreamReaderTest.test_pickle) ... ok test_readlines (test.test_codecs.StreamReaderTest.test_readlines) ... ok test_copy (test.test_codecs.StreamReaderWriterTest.test_copy) ... ok test_pickle (test.test_codecs.StreamReaderWriterTest.test_pickle) ... ok test_copy (test.test_codecs.StreamRecoderTest.test_copy) ... ok test_pickle (test.test_codecs.StreamRecoderTest.test_pickle) ... ok test_seeking_read (test.test_codecs.StreamRecoderTest.test_seeking_read) ... ok test_seeking_write (test.test_codecs.StreamRecoderTest.test_seeking_write) ... ok test_write (test.test_codecs.StreamRecoderTest.test_write) ... ok test_writelines (test.test_codecs.StreamRecoderTest.test_writelines) ... ok test_copy (test.test_codecs.StreamWriterTest.test_copy) ... ok test_pickle (test.test_codecs.StreamWriterTest.test_pickle) ... ok test_ascii (test.test_codecs.SurrogateEscapeTest.test_ascii) ... ok test_charmap (test.test_codecs.SurrogateEscapeTest.test_charmap) ... ok test_latin1 (test.test_codecs.SurrogateEscapeTest.test_latin1) ... ok test_utf8 (test.test_codecs.SurrogateEscapeTest.test_utf8) ... ok test_aliases (test.test_codecs.TransformCodecTest.test_aliases) ... ok test_basics (test.test_codecs.TransformCodecTest.test_basics) ... ok test_binary_to_text_denylists_binary_transforms (test.test_codecs.TransformCodecTest.test_binary_to_text_denylists_binary_transforms) ... ok test_binary_to_text_denylists_text_transforms (test.test_codecs.TransformCodecTest.test_binary_to_text_denylists_text_transforms) ... ok test_buffer_api_usage (test.test_codecs.TransformCodecTest.test_buffer_api_usage) ... ok test_custom_hex_error_is_noted (test.test_codecs.TransformCodecTest.test_custom_hex_error_is_noted) ... ERROR test_custom_zlib_error_is_noted (test.test_codecs.TransformCodecTest.test_custom_zlib_error_is_noted) ... ERROR test_quopri_stateless (test.test_codecs.TransformCodecTest.test_quopri_stateless) ... ok test_read (test.test_codecs.TransformCodecTest.test_read) ... ok test_readline (test.test_codecs.TransformCodecTest.test_readline) ... ok test_text_to_binary_denylists_binary_transforms (test.test_codecs.TransformCodecTest.test_text_to_binary_denylists_binary_transforms) ... ok test_text_to_binary_denylists_text_transforms (test.test_codecs.TransformCodecTest.test_text_to_binary_denylists_text_transforms) ... ok test_uu_invalid (test.test_codecs.TransformCodecTest.test_uu_invalid) ... ok test_decode_unicode (test.test_codecs.TypesTest.test_decode_unicode) ... ok test_unicode_escape (test.test_codecs.TypesTest.test_unicode_escape) ... ok test_bug1098990_a (test.test_codecs.UTF16BETest.test_bug1098990_a) ... ok test_bug1098990_b (test.test_codecs.UTF16BETest.test_bug1098990_b) ... ok test_bug1175396 (test.test_codecs.UTF16BETest.test_bug1175396) ... ok test_errors (test.test_codecs.UTF16BETest.test_errors) ... ok test_incremental_surrogatepass (test.test_codecs.UTF16BETest.test_incremental_surrogatepass) ... ok test_lone_surrogates (test.test_codecs.UTF16BETest.test_lone_surrogates) ... ok test_mixed_readline_and_read (test.test_codecs.UTF16BETest.test_mixed_readline_and_read) ... ok test_nonbmp (test.test_codecs.UTF16BETest.test_nonbmp) ... ok test_partial (test.test_codecs.UTF16BETest.test_partial) ... ok test_readline (test.test_codecs.UTF16BETest.test_readline) ... ok test_readlinequeue (test.test_codecs.UTF16BETest.test_readlinequeue) ... ok test_bad_args (test.test_codecs.UTF16ExTest.test_bad_args) ... ok test_errors (test.test_codecs.UTF16ExTest.test_errors) ... ok test_bug1098990_a (test.test_codecs.UTF16LETest.test_bug1098990_a) ... ok test_bug1098990_b (test.test_codecs.UTF16LETest.test_bug1098990_b) ... ok test_bug1175396 (test.test_codecs.UTF16LETest.test_bug1175396) ... ok test_errors (test.test_codecs.UTF16LETest.test_errors) ... ok test_incremental_surrogatepass (test.test_codecs.UTF16LETest.test_incremental_surrogatepass) ... ok test_lone_surrogates (test.test_codecs.UTF16LETest.test_lone_surrogates) ... ok test_mixed_readline_and_read (test.test_codecs.UTF16LETest.test_mixed_readline_and_read) ... ok test_nonbmp (test.test_codecs.UTF16LETest.test_nonbmp) ... ok test_partial (test.test_codecs.UTF16LETest.test_partial) ... ok test_readline (test.test_codecs.UTF16LETest.test_readline) ... ok test_readlinequeue (test.test_codecs.UTF16LETest.test_readlinequeue) ... ok test_badbom (test.test_codecs.UTF16Test.test_badbom) ... ok test_bug1098990_a (test.test_codecs.UTF16Test.test_bug1098990_a) ... ok test_bug1098990_b (test.test_codecs.UTF16Test.test_bug1098990_b) ... ok test_bug1175396 (test.test_codecs.UTF16Test.test_bug1175396) ... ok test_bug691291 (test.test_codecs.UTF16Test.test_bug691291) ... ok test_decoder_state (test.test_codecs.UTF16Test.test_decoder_state) ... ok test_errors (test.test_codecs.UTF16Test.test_errors) ... ok test_handlers (test.test_codecs.UTF16Test.test_handlers) ... ok test_incremental_surrogatepass (test.test_codecs.UTF16Test.test_incremental_surrogatepass) ... ok test_invalid_modes (test.test_codecs.UTF16Test.test_invalid_modes) ... ok test_lone_surrogates (test.test_codecs.UTF16Test.test_lone_surrogates) ... ok test_mixed_readline_and_read (test.test_codecs.UTF16Test.test_mixed_readline_and_read) ... ok test_only_one_bom (test.test_codecs.UTF16Test.test_only_one_bom) ... ok test_partial (test.test_codecs.UTF16Test.test_partial) ... ok test_readline (test.test_codecs.UTF16Test.test_readline) ... ok test_readlinequeue (test.test_codecs.UTF16Test.test_readlinequeue) ... ok test_bug1098990_a (test.test_codecs.UTF32BETest.test_bug1098990_a) ... ok test_bug1098990_b (test.test_codecs.UTF32BETest.test_bug1098990_b) ... ok test_bug1175396 (test.test_codecs.UTF32BETest.test_bug1175396) ... ok test_errors (test.test_codecs.UTF32BETest.test_errors) ... ok test_incremental_surrogatepass (test.test_codecs.UTF32BETest.test_incremental_surrogatepass) ... ok test_issue8941 (test.test_codecs.UTF32BETest.test_issue8941) ... ok test_lone_surrogates (test.test_codecs.UTF32BETest.test_lone_surrogates) ... ok test_mixed_readline_and_read (test.test_codecs.UTF32BETest.test_mixed_readline_and_read) ... ok test_partial (test.test_codecs.UTF32BETest.test_partial) ... ok test_readline (test.test_codecs.UTF32BETest.test_readline) ... ok test_readlinequeue (test.test_codecs.UTF32BETest.test_readlinequeue) ... ok test_simple (test.test_codecs.UTF32BETest.test_simple) ... ok test_bug1098990_a (test.test_codecs.UTF32LETest.test_bug1098990_a) ... ok test_bug1098990_b (test.test_codecs.UTF32LETest.test_bug1098990_b) ... ok test_bug1175396 (test.test_codecs.UTF32LETest.test_bug1175396) ... ok test_errors (test.test_codecs.UTF32LETest.test_errors) ... ok test_incremental_surrogatepass (test.test_codecs.UTF32LETest.test_incremental_surrogatepass) ... ok test_issue8941 (test.test_codecs.UTF32LETest.test_issue8941) ... ok test_lone_surrogates (test.test_codecs.UTF32LETest.test_lone_surrogates) ... ok test_mixed_readline_and_read (test.test_codecs.UTF32LETest.test_mixed_readline_and_read) ... ok test_partial (test.test_codecs.UTF32LETest.test_partial) ... ok test_readline (test.test_codecs.UTF32LETest.test_readline) ... ok test_readlinequeue (test.test_codecs.UTF32LETest.test_readlinequeue) ... ok test_simple (test.test_codecs.UTF32LETest.test_simple) ... ok test_badbom (test.test_codecs.UTF32Test.test_badbom) ... ok test_bug1098990_a (test.test_codecs.UTF32Test.test_bug1098990_a) ... ok test_bug1098990_b (test.test_codecs.UTF32Test.test_bug1098990_b) ... ok test_bug1175396 (test.test_codecs.UTF32Test.test_bug1175396) ... ok test_decoder_state (test.test_codecs.UTF32Test.test_decoder_state) ... ok test_errors (test.test_codecs.UTF32Test.test_errors) ... ok test_handlers (test.test_codecs.UTF32Test.test_handlers) ... ok test_incremental_surrogatepass (test.test_codecs.UTF32Test.test_incremental_surrogatepass) ... ok test_issue8941 (test.test_codecs.UTF32Test.test_issue8941) ... ok test_lone_surrogates (test.test_codecs.UTF32Test.test_lone_surrogates) ... ok test_mixed_readline_and_read (test.test_codecs.UTF32Test.test_mixed_readline_and_read) ... ok test_only_one_bom (test.test_codecs.UTF32Test.test_only_one_bom) ... ok test_partial (test.test_codecs.UTF32Test.test_partial) ... ok test_readline (test.test_codecs.UTF32Test.test_readline) ... ok test_readlinequeue (test.test_codecs.UTF32Test.test_readlinequeue) ... ok test_ascii (test.test_codecs.UTF7Test.test_ascii) ... ok test_bug1098990_a (test.test_codecs.UTF7Test.test_bug1098990_a) ... ok test_bug1098990_b (test.test_codecs.UTF7Test.test_bug1098990_b) ... ok test_bug1175396 (test.test_codecs.UTF7Test.test_bug1175396) ... ok test_errors (test.test_codecs.UTF7Test.test_errors) ... ok test_incremental_surrogatepass (test.test_codecs.UTF7Test.test_incremental_surrogatepass) ... ok test_lone_surrogates (test.test_codecs.UTF7Test.test_lone_surrogates) ... ok test_mixed_readline_and_read (test.test_codecs.UTF7Test.test_mixed_readline_and_read) ... ok test_nonbmp (test.test_codecs.UTF7Test.test_nonbmp) ... ok test_partial (test.test_codecs.UTF7Test.test_partial) ... ok test_readline (test.test_codecs.UTF7Test.test_readline) ... ok test_readlinequeue (test.test_codecs.UTF7Test.test_readlinequeue) ... ok test_bom (test.test_codecs.UTF8SigTest.test_bom) ... ok test_bug1098990_a (test.test_codecs.UTF8SigTest.test_bug1098990_a) ... ok test_bug1098990_b (test.test_codecs.UTF8SigTest.test_bug1098990_b) ... ok test_bug1175396 (test.test_codecs.UTF8SigTest.test_bug1175396) ... ok test_bug1601501 (test.test_codecs.UTF8SigTest.test_bug1601501) ... ok test_decode_error (test.test_codecs.UTF8SigTest.test_decode_error) ... ok test_decoder_state (test.test_codecs.UTF8SigTest.test_decoder_state) ... ok test_incremental_errors (test.test_codecs.UTF8SigTest.test_incremental_errors) ... ok test_incremental_surrogatepass (test.test_codecs.UTF8SigTest.test_incremental_surrogatepass) ... ok test_lone_surrogates (test.test_codecs.UTF8SigTest.test_lone_surrogates) ... ok test_mixed_readline_and_read (test.test_codecs.UTF8SigTest.test_mixed_readline_and_read) ... ok test_partial (test.test_codecs.UTF8SigTest.test_partial) ... ok test_readline (test.test_codecs.UTF8SigTest.test_readline) ... ok test_readlinequeue (test.test_codecs.UTF8SigTest.test_readlinequeue) ... ok test_stream_bare (test.test_codecs.UTF8SigTest.test_stream_bare) ... ok test_stream_bom (test.test_codecs.UTF8SigTest.test_stream_bom) ... ok test_surrogatepass_handler (test.test_codecs.UTF8SigTest.test_surrogatepass_handler) ... ok test_bug1098990_a (test.test_codecs.UTF8Test.test_bug1098990_a) ... ok test_bug1098990_b (test.test_codecs.UTF8Test.test_bug1098990_b) ... ok test_bug1175396 (test.test_codecs.UTF8Test.test_bug1175396) ... ok test_decode_error (test.test_codecs.UTF8Test.test_decode_error) ... ok test_decoder_state (test.test_codecs.UTF8Test.test_decoder_state) ... ok test_incremental_errors (test.test_codecs.UTF8Test.test_incremental_errors) ... ok test_incremental_surrogatepass (test.test_codecs.UTF8Test.test_incremental_surrogatepass) ... ok test_lone_surrogates (test.test_codecs.UTF8Test.test_lone_surrogates) ... ok test_mixed_readline_and_read (test.test_codecs.UTF8Test.test_mixed_readline_and_read) ... ok test_partial (test.test_codecs.UTF8Test.test_partial) ... ok test_readline (test.test_codecs.UTF8Test.test_readline) ... ok test_readlinequeue (test.test_codecs.UTF8Test.test_readlinequeue) ... ok test_surrogatepass_handler (test.test_codecs.UTF8Test.test_surrogatepass_handler) ... ok test_bug1098990_a (test.test_codecs.UnicodeEscapeTest.test_bug1098990_a) ... ok test_bug1098990_b (test.test_codecs.UnicodeEscapeTest.test_bug1098990_b) ... ok test_bug1175396 (test.test_codecs.UnicodeEscapeTest.test_bug1175396) ... ok test_decode_errors (test.test_codecs.UnicodeEscapeTest.test_decode_errors) ... ok test_decode_warnings (test.test_codecs.UnicodeEscapeTest.test_decode_warnings) ... FAIL test_empty (test.test_codecs.UnicodeEscapeTest.test_empty) ... ok test_escape_decode (test.test_codecs.UnicodeEscapeTest.test_escape_decode) ... ok test_escape_encode (test.test_codecs.UnicodeEscapeTest.test_escape_encode) ... ok test_incremental_surrogatepass (test.test_codecs.UnicodeEscapeTest.test_incremental_surrogatepass) ... ok test_mixed_readline_and_read (test.test_codecs.UnicodeEscapeTest.test_mixed_readline_and_read) ... ok test_partial (test.test_codecs.UnicodeEscapeTest.test_partial) ... ok test_raw_decode (test.test_codecs.UnicodeEscapeTest.test_raw_decode) ... ok test_raw_encode (test.test_codecs.UnicodeEscapeTest.test_raw_encode) ... ok test_readline (test.test_codecs.UnicodeEscapeTest.test_readline) ... ok test_readlinequeue (test.test_codecs.UnicodeEscapeTest.test_readlinequeue) ... ok test_encodedfile (test.test_codecs.WithStmtTest.test_encodedfile) ... ok test_streamreaderwriter (test.test_codecs.WithStmtTest.test_streamreaderwriter) ... ok ====================================================================== ERROR: test_init_override (test.test_codecs.ExceptionNotesTest.test_init_override) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2995, in check_note "str_input".encode(self.codec_name) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2989, in raise_obj raise self.obj_to_raise test.test_codecs.ExceptionNotesTest.test_init_override.<locals>.CustomInit During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 3026, in test_init_override self.check_note(CustomInit, "") ^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2994, in check_note with self.assertNoted("encoding", exc_type, msg): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 158, in __exit__ self.gen.throw(value) ^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2984, in assertNoted self.assertIn(full_msg, caught.exception.__notes__[0]) ^^^^^^^^^ AttributeError: 'CustomInit' object has no attribute '__notes__'. Did you mean: '__ne__'? ====================================================================== ERROR: test_instance_attribute (test.test_codecs.ExceptionNotesTest.test_instance_attribute) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2995, in check_note "str_input".encode(self.codec_name) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2989, in raise_obj raise self.obj_to_raise RuntimeError: This should be noted During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 3038, in test_instance_attribute self.check_note(exc, "^{}$".format(msg)) ^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2994, in check_note with self.assertNoted("encoding", exc_type, msg): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 158, in __exit__ self.gen.throw(value) ^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2984, in assertNoted self.assertIn(full_msg, caught.exception.__notes__[0]) ^^^^^^^^^ AttributeError: 'RuntimeError' object has no attribute '__notes__'. Did you mean: '__ne__'? ====================================================================== ERROR: test_multiple_args (test.test_codecs.ExceptionNotesTest.test_multiple_args) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2995, in check_note "str_input".encode(self.codec_name) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2989, in raise_obj raise self.obj_to_raise RuntimeError: ('a', 'b', 'c') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 3045, in test_multiple_args self.check_note(RuntimeError('a', 'b', 'c'), msg_re) ^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2994, in check_note with self.assertNoted("encoding", exc_type, msg): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 158, in __exit__ self.gen.throw(value) ^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2984, in assertNoted self.assertIn(full_msg, caught.exception.__notes__[0]) ^^^^^^^^^ AttributeError: 'RuntimeError' object has no attribute '__notes__'. Did you mean: '__ne__'? ====================================================================== ERROR: test_new_override (test.test_codecs.ExceptionNotesTest.test_new_override) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2995, in check_note "str_input".encode(self.codec_name) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2989, in raise_obj raise self.obj_to_raise test.test_codecs.ExceptionNotesTest.test_new_override.<locals>.CustomNew During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 3032, in test_new_override self.check_note(CustomNew, "") ^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2994, in check_note with self.assertNoted("encoding", exc_type, msg): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 158, in __exit__ self.gen.throw(value) ^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2984, in assertNoted self.assertIn(full_msg, caught.exception.__notes__[0]) ^^^^^^^^^ AttributeError: 'CustomNew' object has no attribute '__notes__'. Did you mean: '__ne__'? ====================================================================== ERROR: test_non_str_arg (test.test_codecs.ExceptionNotesTest.test_non_str_arg) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2995, in check_note "str_input".encode(self.codec_name) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2989, in raise_obj raise self.obj_to_raise RuntimeError: 1 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 3041, in test_non_str_arg self.check_note(RuntimeError(1), "1") ^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2994, in check_note with self.assertNoted("encoding", exc_type, msg): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 158, in __exit__ self.gen.throw(value) ^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2984, in assertNoted self.assertIn(full_msg, caught.exception.__notes__[0]) ^^^^^^^^^ AttributeError: 'RuntimeError' object has no attribute '__notes__'. Did you mean: '__ne__'? ====================================================================== ERROR: test_raise_by_type (test.test_codecs.ExceptionNotesTest.test_raise_by_type) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2989, in raise_obj raise self.obj_to_raise RuntimeError The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2995, in check_note "str_input".encode(self.codec_name) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2989, in raise_obj raise self.obj_to_raise RuntimeError: encoding with 'exception_notes_test' codec failed (RuntimeError: ) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 3004, in test_raise_by_type self.check_note(RuntimeError, "") ^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2994, in check_note with self.assertNoted("encoding", exc_type, msg): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 158, in __exit__ self.gen.throw(value) ^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2984, in assertNoted self.assertIn(full_msg, caught.exception.__notes__[0]) ^^^^^^^^^ AttributeError: 'RuntimeError' object has no attribute '__notes__'. Did you mean: '__ne__'? ====================================================================== ERROR: test_raise_by_value (test.test_codecs.ExceptionNotesTest.test_raise_by_value) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2989, in raise_obj raise self.obj_to_raise RuntimeError: This should be noted The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2995, in check_note "str_input".encode(self.codec_name) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2989, in raise_obj raise self.obj_to_raise RuntimeError: encoding with 'exception_notes_test' codec failed (RuntimeError: This should be noted) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 3008, in test_raise_by_value self.check_note(RuntimeError(msg), msg) ^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2994, in check_note with self.assertNoted("encoding", exc_type, msg): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 158, in __exit__ self.gen.throw(value) ^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2984, in assertNoted self.assertIn(full_msg, caught.exception.__notes__[0]) ^^^^^^^^^ AttributeError: 'RuntimeError' object has no attribute '__notes__'. Did you mean: '__ne__'? ====================================================================== ERROR: test_raise_grandchild_subclass_exact_size (test.test_codecs.ExceptionNotesTest.test_raise_grandchild_subclass_exact_size) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2989, in raise_obj raise self.obj_to_raise test.test_codecs.ExceptionNotesTest.test_raise_grandchild_subclass_exact_size.<locals>.MyRuntimeError: This should be noted The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2995, in check_note "str_input".encode(self.codec_name) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2989, in raise_obj raise self.obj_to_raise test.test_codecs.ExceptionNotesTest.test_raise_grandchild_subclass_exact_size.<locals>.MyRuntimeError: encoding with 'exception_notes_test' codec failed (MyRuntimeError: This should be noted) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 3014, in test_raise_grandchild_subclass_exact_size self.check_note(MyRuntimeError(msg), msg, MyRuntimeError) ^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2994, in check_note with self.assertNoted("encoding", exc_type, msg): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 158, in __exit__ self.gen.throw(value) ^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2984, in assertNoted self.assertIn(full_msg, caught.exception.__notes__[0]) ^^^^^^^^^ AttributeError: 'MyRuntimeError' object has no attribute '__notes__'. Did you mean: '__ne__'? ====================================================================== ERROR: test_raise_subclass_with_weakref_support (test.test_codecs.ExceptionNotesTest.test_raise_subclass_with_weakref_support) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2989, in raise_obj raise self.obj_to_raise test.test_codecs.ExceptionNotesTest.test_raise_subclass_with_weakref_support.<locals>.MyRuntimeError: This should be noted The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2995, in check_note "str_input".encode(self.codec_name) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2989, in raise_obj raise self.obj_to_raise test.test_codecs.ExceptionNotesTest.test_raise_subclass_with_weakref_support.<locals>.MyRuntimeError: encoding with 'exception_notes_test' codec failed (MyRuntimeError: This should be noted) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 3020, in test_raise_subclass_with_weakref_support self.check_note(MyRuntimeError(msg), msg, MyRuntimeError) ^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2994, in check_note with self.assertNoted("encoding", exc_type, msg): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 158, in __exit__ self.gen.throw(value) ^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2984, in assertNoted self.assertIn(full_msg, caught.exception.__notes__[0]) ^^^^^^^^^ AttributeError: 'MyRuntimeError' object has no attribute '__notes__'. Did you mean: '__ne__'? ====================================================================== ERROR: test_custom_hex_error_is_noted (test.test_codecs.TransformCodecTest.test_custom_hex_error_is_noted) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2917, in test_custom_hex_error_is_noted self.assertEqual(msg, failure.exception.__notes__[0]) ^^^^^^^^^ AttributeError: 'Error' object has no attribute '__notes__'. Did you mean: '__ne__'? ====================================================================== ERROR: test_custom_zlib_error_is_noted (test.test_codecs.TransformCodecTest.test_custom_zlib_error_is_noted) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2909, in test_custom_zlib_error_is_noted self.assertEqual(msg, failure.exception.__notes__[0]) ^^^^^^^^^ AttributeError: 'error' object has no attribute '__notes__'. Did you mean: '__ne__'? ====================================================================== FAIL: test_decode_warnings (test.test_codecs.UnicodeEscapeTest.test_decode_warnings) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecs.py", line 2517, in test_decode_warnings with self.assertWarnsRegex(DeprecationWarning, AssertionError: "invalid escape sequence '\\\xfa'" does not match "invalid escape sequence: '\' followed by b'\xfa'" ---------------------------------------------------------------------- Ran 276 tests in 2.019s FAILED (failures=1, errors=11, skipped=21) 0:00:02 load avg: 0.96 [1/1/1] test_codecs failed (11 errors, 1 failure) == Tests result: FAILURE == 1 test failed: test_codecs Total duration: 2.2 sec Total tests: run=276 failures=1 skipped=21 Total test files: run=1/1 failed=1 Result: FAILURE test test_codecs failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748493æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1409446723 0:00:00 load avg: 0.96 Run 1 test sequentially in a single process 0:00:00 load avg: 0.96 [1/1] test_codeop test_filename (test.test_codeop.CodeopTests.test_filename) ... ok test_incomplete (test.test_codeop.CodeopTests.test_incomplete) ... ERROR test_incomplete_warning (test.test_codeop.CodeopTests.test_incomplete_warning) ... ok test_invalid (test.test_codeop.CodeopTests.test_invalid) ... ok test_invalid_exec (test.test_codeop.CodeopTests.test_invalid_exec) ... ok test_invalid_warning (test.test_codeop.CodeopTests.test_invalid_warning) ... ok test_syntax_errors (test.test_codeop.CodeopTests.test_syntax_errors) ... ok test_valid (test.test_codeop.CodeopTests.test_valid) ... ok test_warning (test.test_codeop.CodeopTests.test_warning) ... FAIL ====================================================================== ERROR: test_incomplete (test.test_codeop.CodeopTests.test_incomplete) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codeop.py", line 226, in test_incomplete ai('a = f"""') File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codeop.py", line 21, in assertIncomplete self.assertEqual(compile_command(str, symbol=symbol), None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/codeop.py", line 111, in compile_command return _maybe_compile(_compile, source, filename, symbol) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/codeop.py", line 73, in _maybe_compile return compiler(source, filename, symbol, incomplete_input=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/codeop.py", line 89, in _compile return compile(source, filename, symbol, flags) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<input>", line 1 a = f""" ^ SyntaxError: unterminated triple-quoted f-string literal (detected at line 1) ====================================================================== FAIL: test_warning (test.test_codeop.CodeopTests.test_warning) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codeop.py", line 283, in test_warning with warnings_helper.check_warnings( File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 144, in __exit__ next(self.gen) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/warnings_helper.py", line 185, in _filterwarnings raise AssertionError("unhandled warning %s" % reraise[0]) AssertionError: unhandled warning {message : SyntaxWarning('"is" with a literal. Did you mean "=="?'), category : 'SyntaxWarning', filename : '<input>', lineno : 1, line : None} ---------------------------------------------------------------------- Ran 9 tests in 0.018s FAILED (failures=1, errors=1) 0:00:00 load avg: 0.96 [1/1/1] test_codeop failed (1 error, 1 failure) == Tests result: FAILURE == 1 test failed: test_codeop Total duration: 86 ms Total tests: run=9 failures=1 Total test files: run=1/1 failed=1 Result: FAILURE test test_codeop failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748498æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 580658503 0:00:00 load avg: 0.96 Run 1 test sequentially in a single process 0:00:00 load avg: 0.96 [1/1] test_collections test_basics (test.test_collections.TestChainMap.test_basics) ... ok test_bool (test.test_collections.TestChainMap.test_bool) ... ok test_constructor (test.test_collections.TestChainMap.test_constructor) ... ok test_dict_coercion (test.test_collections.TestChainMap.test_dict_coercion) ... ok test_iter_not_calling_getitem_on_maps (test.test_collections.TestChainMap.test_iter_not_calling_getitem_on_maps) ... ok test_missing (test.test_collections.TestChainMap.test_missing) ... ok test_new_child (test.test_collections.TestChainMap.test_new_child) Tests for changes for issue #16613. ... ok test_order_preservation (test.test_collections.TestChainMap.test_order_preservation) ... ok test_ordering (test.test_collections.TestChainMap.test_ordering) ... ok test_union_operators (test.test_collections.TestChainMap.test_union_operators) ... ok test_Buffer (test.test_collections.TestCollectionABCs.test_Buffer) ... FAIL test_ByteString (test.test_collections.TestCollectionABCs.test_ByteString) ... ok test_Mapping (test.test_collections.TestCollectionABCs.test_Mapping) ... ok test_MutableMapping (test.test_collections.TestCollectionABCs.test_MutableMapping) ... ok test_MutableMapping_subclass (test.test_collections.TestCollectionABCs.test_MutableMapping_subclass) ... ok test_MutableSequence (test.test_collections.TestCollectionABCs.test_MutableSequence) ... ok test_MutableSequence_mixins (test.test_collections.TestCollectionABCs.test_MutableSequence_mixins) ... ok test_MutableSet (test.test_collections.TestCollectionABCs.test_MutableSet) ... ok test_Sequence (test.test_collections.TestCollectionABCs.test_Sequence) ... ok test_Sequence_mixins (test.test_collections.TestCollectionABCs.test_Sequence_mixins) ... ok test_Set (test.test_collections.TestCollectionABCs.test_Set) ... ok test_Set_from_iterable (test.test_collections.TestCollectionABCs.test_Set_from_iterable) Verify _from_iterable overridden to an instance method works. ... ok test_Set_hash_matches_frozenset (test.test_collections.TestCollectionABCs.test_Set_hash_matches_frozenset) ... ok test_Set_interoperability_with_real_sets (test.test_collections.TestCollectionABCs.test_Set_interoperability_with_real_sets) ... ok test_arithmetic_Set (test.test_collections.TestCollectionABCs.test_arithmetic_Set) ... ok test_equality_Set (test.test_collections.TestCollectionABCs.test_equality_Set) ... ok test_hash_Set (test.test_collections.TestCollectionABCs.test_hash_Set) ... ok test_illegal_patma_flags (test.test_collections.TestCollectionABCs.test_illegal_patma_flags) ... ok test_isdisjoint_Set (test.test_collections.TestCollectionABCs.test_isdisjoint_Set) ... ok test_issue16373 (test.test_collections.TestCollectionABCs.test_issue16373) ... ok test_issue26915 (test.test_collections.TestCollectionABCs.test_issue26915) ... ok test_issue8750 (test.test_collections.TestCollectionABCs.test_issue8750) ... ok test_issue_4920 (test.test_collections.TestCollectionABCs.test_issue_4920) ... ok test_issue_5647 (test.test_collections.TestCollectionABCs.test_issue_5647) ... ok test_basics (test.test_collections.TestCounter.test_basics) ... ok test_conversions (test.test_collections.TestCounter.test_conversions) ... ok test_copy_subclass (test.test_collections.TestCounter.test_copy_subclass) ... ok test_copying (test.test_collections.TestCounter.test_copying) ... ok test_eq (test.test_collections.TestCounter.test_eq) ... ok test_ge (test.test_collections.TestCounter.test_ge) ... ok test_gt (test.test_collections.TestCounter.test_gt) ... ok test_helper_function (test.test_collections.TestCounter.test_helper_function) ... ok test_init (test.test_collections.TestCounter.test_init) ... ok test_inplace_operations (test.test_collections.TestCounter.test_inplace_operations) ... ok test_invariant_for_the_in_operator (test.test_collections.TestCounter.test_invariant_for_the_in_operator) ... ok test_le (test.test_collections.TestCounter.test_le) ... ok test_lt (test.test_collections.TestCounter.test_lt) ... ok test_multiset_operations (test.test_collections.TestCounter.test_multiset_operations) ... ok test_multiset_operations_equivalent_to_set_operations (test.test_collections.TestCounter.test_multiset_operations_equivalent_to_set_operations) ... ok test_order_preservation (test.test_collections.TestCounter.test_order_preservation) ... ok test_repr_nonsortable (test.test_collections.TestCounter.test_repr_nonsortable) ... ok test_subtract (test.test_collections.TestCounter.test_subtract) ... ok test_total (test.test_collections.TestCounter.test_total) ... ok test_unary (test.test_collections.TestCounter.test_unary) ... ok test_update (test.test_collections.TestCounter.test_update) ... ok test_copy (test.test_collections.TestNamedTuple.test_copy) ... ok test_defaults (test.test_collections.TestNamedTuple.test_defaults) ... ok test_factory (test.test_collections.TestNamedTuple.test_factory) ... ok test_factory_doc_attr (test.test_collections.TestNamedTuple.test_factory_doc_attr) ... ok test_field_descriptor (test.test_collections.TestNamedTuple.test_field_descriptor) ... skipped 'implementation detail specific to cpython' test_field_doc (test.test_collections.TestNamedTuple.test_field_doc) ... ok test_field_doc_reuse (test.test_collections.TestNamedTuple.test_field_doc_reuse) ... skipped 'implementation detail specific to cpython' test_field_repr (test.test_collections.TestNamedTuple.test_field_repr) ... skipped 'implementation detail specific to cpython' test_instance (test.test_collections.TestNamedTuple.test_instance) ... ok test_keyword_only_arguments (test.test_collections.TestNamedTuple.test_keyword_only_arguments) ... ok test_match_args (test.test_collections.TestNamedTuple.test_match_args) ... ok test_module_parameter (test.test_collections.TestNamedTuple.test_module_parameter) ... ok test_name_conflicts (test.test_collections.TestNamedTuple.test_name_conflicts) ... ok test_name_fixer (test.test_collections.TestNamedTuple.test_name_fixer) ... ok test_namedtuple_subclass_issue_24931 (test.test_collections.TestNamedTuple.test_namedtuple_subclass_issue_24931) ... ok test_new_builtins_issue_43102 (test.test_collections.TestNamedTuple.test_new_builtins_issue_43102) ... ERROR test_non_generic_subscript (test.test_collections.TestNamedTuple.test_non_generic_subscript) ... ok test_odd_sizes (test.test_collections.TestNamedTuple.test_odd_sizes) ... ok test_pickle (test.test_collections.TestNamedTuple.test_pickle) ... ok test_readonly (test.test_collections.TestNamedTuple.test_readonly) ... ok test_repr (test.test_collections.TestNamedTuple.test_repr) ... ok test_tupleness (test.test_collections.TestNamedTuple.test_tupleness) ... ok test_AsyncGenerator (test.test_collections.TestOneTrickPonyABCs.test_AsyncGenerator) ... ok test_AsyncIterable (test.test_collections.TestOneTrickPonyABCs.test_AsyncIterable) ... ok test_AsyncIterator (test.test_collections.TestOneTrickPonyABCs.test_AsyncIterator) ... ok test_Awaitable (test.test_collections.TestOneTrickPonyABCs.test_Awaitable) ... ok test_Callable (test.test_collections.TestOneTrickPonyABCs.test_Callable) ... ok test_Collection (test.test_collections.TestOneTrickPonyABCs.test_Collection) ... ok test_Container (test.test_collections.TestOneTrickPonyABCs.test_Container) ... ok test_Coroutine (test.test_collections.TestOneTrickPonyABCs.test_Coroutine) ... ok test_Generator (test.test_collections.TestOneTrickPonyABCs.test_Generator) ... ok test_Hashable (test.test_collections.TestOneTrickPonyABCs.test_Hashable) ... ok test_Iterable (test.test_collections.TestOneTrickPonyABCs.test_Iterable) ... ok test_Iterator (test.test_collections.TestOneTrickPonyABCs.test_Iterator) ... ok test_Reversible (test.test_collections.TestOneTrickPonyABCs.test_Reversible) ... ok test_Sized (test.test_collections.TestOneTrickPonyABCs.test_Sized) ... ok test_direct_subclassing (test.test_collections.TestOneTrickPonyABCs.test_direct_subclassing) ... ok test_registration (test.test_collections.TestOneTrickPonyABCs.test_registration) ... ok test_dict_copy (test.test_collections.TestUserObjects.test_dict_copy) ... ok test_dict_missing (test.test_collections.TestUserObjects.test_dict_missing) ... ok test_dict_protocol (test.test_collections.TestUserObjects.test_dict_protocol) ... ok test_list_copy (test.test_collections.TestUserObjects.test_list_copy) ... ok test_list_protocol (test.test_collections.TestUserObjects.test_list_protocol) ... ok test_str_protocol (test.test_collections.TestUserObjects.test_str_protocol) ... ok Counter (collections) Doctest: collections.Counter ... ok __add__ (collections.Counter) Doctest: collections.Counter.__add__ ... ok __and__ (collections.Counter) Doctest: collections.Counter.__and__ ... ok __iadd__ (collections.Counter) Doctest: collections.Counter.__iadd__ ... ok __iand__ (collections.Counter) Doctest: collections.Counter.__iand__ ... ok __init__ (collections.Counter) Doctest: collections.Counter.__init__ ... ok __ior__ (collections.Counter) Doctest: collections.Counter.__ior__ ... ok __isub__ (collections.Counter) Doctest: collections.Counter.__isub__ ... ok __or__ (collections.Counter) Doctest: collections.Counter.__or__ ... ok __sub__ (collections.Counter) Doctest: collections.Counter.__sub__ ... ok elements (collections.Counter) Doctest: collections.Counter.elements ... ok most_common (collections.Counter) Doctest: collections.Counter.most_common ... ok subtract (collections.Counter) Doctest: collections.Counter.subtract ... ok update (collections.Counter) Doctest: collections.Counter.update ... ok namedtuple (collections) Doctest: collections.namedtuple ... ok ====================================================================== ERROR: test_new_builtins_issue_43102 (test.test_collections.TestNamedTuple.test_new_builtins_issue_43102) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_collections.py", line 703, in test_new_builtins_issue_43102 self.assertEqual(new_func.__builtins__, {}) ^^^^^^^^^^^^ AttributeError: 'function' object has no attribute '__builtins__' ====================================================================== FAIL: test_Buffer (test.test_collections.TestCollectionABCs.test_Buffer) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_collections.py", line 1965, in test_Buffer self.assertIsInstance(sample(b"x"), Buffer) ^^^^^^^^^^^^^^^^ AssertionError: b'x' is not an instance of <class 'collections.abc.Buffer'> ---------------------------------------------------------------------- Ran 114 tests in 0.805s FAILED (failures=1, errors=1, skipped=3) 0:00:00 load avg: 0.97 [1/1/1] test_collections failed (1 error, 1 failure) == Tests result: FAILURE == 1 test failed: test_collections Total duration: 973 ms Total tests: run=114 failures=1 skipped=3 Total test files: run=1/1 failed=1 Result: FAILURE test test_collections failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748513æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2593550704 0:00:00 load avg: 0.97 Run 1 test sequentially in a single process 0:00:00 load avg: 0.97 [1/1] test_compile test_and (test.test_compile.TestExpressionStackSize.test_and) ... ok test_and_or (test.test_compile.TestExpressionStackSize.test_and_or) ... ok test_binop (test.test_compile.TestExpressionStackSize.test_binop) ... ok test_chained_comparison (test.test_compile.TestExpressionStackSize.test_chained_comparison) ... ok test_dict (test.test_compile.TestExpressionStackSize.test_dict) ... ok test_func_and (test.test_compile.TestExpressionStackSize.test_func_and) ... ok test_func_args (test.test_compile.TestExpressionStackSize.test_func_args) ... FAIL test_func_kwargs (test.test_compile.TestExpressionStackSize.test_func_kwargs) ... FAIL test_if_else (test.test_compile.TestExpressionStackSize.test_if_else) ... ok test_list (test.test_compile.TestExpressionStackSize.test_list) ... ok test_meth_args (test.test_compile.TestExpressionStackSize.test_meth_args) ... FAIL test_meth_kwargs (test.test_compile.TestExpressionStackSize.test_meth_kwargs) ... FAIL test_or (test.test_compile.TestExpressionStackSize.test_or) ... ok test_set (test.test_compile.TestExpressionStackSize.test_set) ... ok test_stack_3050 (test.test_compile.TestExpressionStackSize.test_stack_3050) ... ok test_stack_3050_2 (test.test_compile.TestExpressionStackSize.test_stack_3050_2) ... ok test_tuple (test.test_compile.TestExpressionStackSize.test_tuple) ... ok test_attribute_augassign (test.test_compile.TestSourcePositions.test_attribute_augassign) ... ok test_attribute_del (test.test_compile.TestSourcePositions.test_attribute_del) ... ok test_attribute_load (test.test_compile.TestSourcePositions.test_attribute_load) ... ok test_attribute_store (test.test_compile.TestSourcePositions.test_attribute_store) ... ok test_column_offset_deduplication (test.test_compile.TestSourcePositions.test_column_offset_deduplication) ... skipped 'implementation detail specific to cpython' test_compiles_to_extended_op_arg (test.test_compile.TestSourcePositions.test_compiles_to_extended_op_arg) ... FAIL test_complex_single_line_expression (test.test_compile.TestSourcePositions.test_complex_single_line_expression) ... FAIL test_lambda_return_position (test.test_compile.TestSourcePositions.test_lambda_return_position) ... ok test_load_super_attr (test.test_compile.TestSourcePositions.test_load_super_attr) ... ERROR test_matchcase_class (test.test_compile.TestSourcePositions.test_matchcase_class) ... ok test_matchcase_mapping (test.test_compile.TestSourcePositions.test_matchcase_mapping) ... ok test_matchcase_mapping_wildcard (test.test_compile.TestSourcePositions.test_matchcase_mapping_wildcard) ... ok test_matchcase_or (test.test_compile.TestSourcePositions.test_matchcase_or) ... FAIL test_matchcase_sequence (test.test_compile.TestSourcePositions.test_matchcase_sequence) ... ok test_matchcase_sequence_wildcard (test.test_compile.TestSourcePositions.test_matchcase_sequence_wildcard) ... FAIL test_method_call (test.test_compile.TestSourcePositions.test_method_call) ... FAIL test_multiline_assert (test.test_compile.TestSourcePositions.test_multiline_assert) ... FAIL test_multiline_assert_rewritten_as_method_call (test.test_compile.TestSourcePositions.test_multiline_assert_rewritten_as_method_call) ... ok test_multiline_async_dict_comprehension (test.test_compile.TestSourcePositions.test_multiline_async_dict_comprehension) ... FAIL test_multiline_async_generator_expression (test.test_compile.TestSourcePositions.test_multiline_async_generator_expression) ... FAIL test_multiline_async_list_comprehension (test.test_compile.TestSourcePositions.test_multiline_async_list_comprehension) ... FAIL test_multiline_async_set_comprehension (test.test_compile.TestSourcePositions.test_multiline_async_set_comprehension) ... FAIL test_multiline_boolean_expression (test.test_compile.TestSourcePositions.test_multiline_boolean_expression) ... FAIL test_multiline_dict_comprehension (test.test_compile.TestSourcePositions.test_multiline_dict_comprehension) ... FAIL test_multiline_expression (test.test_compile.TestSourcePositions.test_multiline_expression) ... FAIL test_multiline_generator_expression (test.test_compile.TestSourcePositions.test_multiline_generator_expression) ... FAIL test_multiline_list_comprehension (test.test_compile.TestSourcePositions.test_multiline_list_comprehension) ... FAIL test_multiline_set_comprehension (test.test_compile.TestSourcePositions.test_multiline_set_comprehension) ... FAIL test_push_null_load_global_positions (test.test_compile.TestSourcePositions.test_push_null_load_global_positions) ... ok test_return_in_with_positions (test.test_compile.TestSourcePositions.test_return_in_with_positions) ... FAIL test_simple_assignment (test.test_compile.TestSourcePositions.test_simple_assignment) ... ok test_very_long_line_end_offset (test.test_compile.TestSourcePositions.test_very_long_line_end_offset) ... FAIL test_weird_attribute_position_regressions (test.test_compile.TestSourcePositions.test_weird_attribute_position_regressions) ... ok test_32_63_bit_values (test.test_compile.TestSpecifics.test_32_63_bit_values) ... ok test_annotation_limit (test.test_compile.TestSpecifics.test_annotation_limit) ... ok test_apply_static_swaps (test.test_compile.TestSpecifics.test_apply_static_swaps) ... ok test_apply_static_swaps_2 (test.test_compile.TestSpecifics.test_apply_static_swaps_2) ... ok test_apply_static_swaps_3 (test.test_compile.TestSpecifics.test_apply_static_swaps_3) ... ok test_argument_handling (test.test_compile.TestSpecifics.test_argument_handling) ... ok test_argument_order (test.test_compile.TestSpecifics.test_argument_order) ... ok test_bad_single_statement (test.test_compile.TestSpecifics.test_bad_single_statement) ... FAIL test_big_dict_literal (test.test_compile.TestSpecifics.test_big_dict_literal) ... ok test_cold_block_moved_to_end (test.test_compile.TestSpecifics.test_cold_block_moved_to_end) ... ok test_compare_positions (test.test_compile.TestSpecifics.test_compare_positions) ... ok test_compile_ast (test.test_compile.TestSpecifics.test_compile_ast) ... ok test_compile_filename (test.test_compile.TestSpecifics.test_compile_filename) ... FAIL test_compile_invalid_namedexpr (test.test_compile.TestSpecifics.test_compile_invalid_namedexpr) ... ok test_compile_invalid_typealias (test.test_compile.TestSpecifics.test_compile_invalid_typealias) ... ok test_compiler_recursion_limit (test.test_compile.TestSpecifics.test_compiler_recursion_limit) ... skipped 'implementation detail specific to cpython' test_consts_in_conditionals (test.test_compile.TestSpecifics.test_consts_in_conditionals) ... ok test_dead_blocks_do_not_generate_bytecode (test.test_compile.TestSpecifics.test_dead_blocks_do_not_generate_bytecode) ... skipped 'implementation detail specific to cpython' test_debug_assignment (test.test_compile.TestSpecifics.test_debug_assignment) ... ok test_dict_evaluation_order (test.test_compile.TestSpecifics.test_dict_evaluation_order) ... ok test_dont_merge_constants (test.test_compile.TestSpecifics.test_dont_merge_constants) ... ok test_duplicate_global_local (test.test_compile.TestSpecifics.test_duplicate_global_local) ... ok test_duplicated_small_exit_block (test.test_compile.TestSpecifics.test_duplicated_small_exit_block) ... ok test_empty (test.test_compile.TestSpecifics.test_empty) ... ok test_encoding (test.test_compile.TestSpecifics.test_encoding) ... ok test_exec_with_general_mapping_for_locals (test.test_compile.TestSpecifics.test_exec_with_general_mapping_for_locals) ... ok test_extended_arg (test.test_compile.TestSpecifics.test_extended_arg) ... ERROR test_false_while_loop (test.test_compile.TestSpecifics.test_false_while_loop) ... FAIL test_float_literals (test.test_compile.TestSpecifics.test_float_literals) ... ok test_for_distinct_code_objects (test.test_compile.TestSpecifics.test_for_distinct_code_objects) ... ok test_if_expression_expression_empty_block (test.test_compile.TestSpecifics.test_if_expression_expression_empty_block) ... ok test_import (test.test_compile.TestSpecifics.test_import) ... ok test_imported_load_method (test.test_compile.TestSpecifics.test_imported_load_method) ... test_imported_load_method (test.test_compile.TestSpecifics.test_imported_load_method) (func='foo') ... FAIL test_imported_load_method (test.test_compile.TestSpecifics.test_imported_load_method) (func='foo') ... FAIL test_imported_load_method (test.test_compile.TestSpecifics.test_imported_load_method) (func='foo') ... FAIL test_imported_load_method (test.test_compile.TestSpecifics.test_imported_load_method) (func='foo') ... FAIL test_indentation (test.test_compile.TestSpecifics.test_indentation) ... ok test_int_literals_too_long (test.test_compile.TestSpecifics.test_int_literals_too_long) ... ok test_lambda_doc (test.test_compile.TestSpecifics.test_lambda_doc) ... ok test_leading_newlines (test.test_compile.TestSpecifics.test_leading_newlines) ... FAIL test_line_number_genexp (test.test_compile.TestSpecifics.test_line_number_genexp) ... FAIL test_line_number_implicit_return_after_async_for (test.test_compile.TestSpecifics.test_line_number_implicit_return_after_async_for) ... FAIL test_lineno_after_implicit_return (test.test_compile.TestSpecifics.test_lineno_after_implicit_return) ... ok test_lineno_after_no_code (test.test_compile.TestSpecifics.test_lineno_after_no_code) ... ok test_lineno_attribute (test.test_compile.TestSpecifics.test_lineno_attribute) ... test_lineno_attribute (test.test_compile.TestSpecifics.test_lineno_attribute) (func=<function TestSpecifics.test_lineno_attribute.<locals>.load_attr at 0x0000000002a72340>) ... FAIL test_lineno_attribute (test.test_compile.TestSpecifics.test_lineno_attribute) (func=<function TestSpecifics.test_lineno_attribute.<locals>.load_method at 0x0000000002a72408>) ... FAIL test_lineno_attribute (test.test_compile.TestSpecifics.test_lineno_attribute) (func=<function TestSpecifics.test_lineno_attribute.<locals>.store_attr at 0x0000000002a724d0>) ... FAIL test_lineno_attribute (test.test_compile.TestSpecifics.test_lineno_attribute) (func=<function TestSpecifics.test_lineno_attribute.<locals>.aug_store_attr at 0x0000000002a72598>) ... FAIL test_lineno_of_backward_jump (test.test_compile.TestSpecifics.test_lineno_of_backward_jump) ... FAIL test_lineno_procedure_call (test.test_compile.TestSpecifics.test_lineno_procedure_call) ... ok test_literals_with_leading_zeroes (test.test_compile.TestSpecifics.test_literals_with_leading_zeroes) ... ok test_mangling (test.test_compile.TestSpecifics.test_mangling) ... ok test_merge_code_attrs (test.test_compile.TestSpecifics.test_merge_code_attrs) ... skipped 'implementation detail specific to cpython' test_merge_constants (test.test_compile.TestSpecifics.test_merge_constants) ... skipped 'implementation detail specific to cpython' test_multi_line_lambda_as_argument (test.test_compile.TestSpecifics.test_multi_line_lambda_as_argument) ... ok test_no_ending_newline (test.test_compile.TestSpecifics.test_no_ending_newline) ... ok test_no_wraparound_jump (test.test_compile.TestSpecifics.test_no_wraparound_jump) ... ok test_none_assignment (test.test_compile.TestSpecifics.test_none_assignment) ... ok test_none_keyword_arg (test.test_compile.TestSpecifics.test_none_keyword_arg) ... ok test_null_terminated (test.test_compile.TestSpecifics.test_null_terminated) ... ok test_other_newlines (test.test_compile.TestSpecifics.test_other_newlines) ... ok test_particularly_evil_undecodable (test.test_compile.TestSpecifics.test_particularly_evil_undecodable) ... ok test_path_like_objects (test.test_compile.TestSpecifics.test_path_like_objects) ... ok test_peephole_opt_unreachable_code_array_access_in_bounds (test.test_compile.TestSpecifics.test_peephole_opt_unreachable_code_array_access_in_bounds) Regression test for issue35193 when run under clang msan. ... skipped 'implementation detail specific to cpython' test_redundant_jump_in_if_else_break (test.test_compile.TestSpecifics.test_redundant_jump_in_if_else_break) ... ok test_remove_empty_basic_block_with_jump_target_label (test.test_compile.TestSpecifics.test_remove_empty_basic_block_with_jump_target_label) ... ok test_remove_redundant_nop_edge_case (test.test_compile.TestSpecifics.test_remove_redundant_nop_edge_case) ... ok test_remove_unused_consts (test.test_compile.TestSpecifics.test_remove_unused_consts) ... skipped 'implementation detail specific to cpython' test_remove_unused_consts_extended_args (test.test_compile.TestSpecifics.test_remove_unused_consts_extended_args) ... skipped 'implementation detail specific to cpython' test_remove_unused_consts_no_docstring (test.test_compile.TestSpecifics.test_remove_unused_consts_no_docstring) ... skipped 'implementation detail specific to cpython' test_same_filename_used (test.test_compile.TestSpecifics.test_same_filename_used) ... skipped 'implementation detail specific to cpython' test_sequence_unpacking_error (test.test_compile.TestSpecifics.test_sequence_unpacking_error) ... ok test_single_statement (test.test_compile.TestSpecifics.test_single_statement) ... ok test_stack_overflow (test.test_compile.TestSpecifics.test_stack_overflow) ... skipped "resource 'cpu' is not enabled" test_strip_unused_None (test.test_compile.TestSpecifics.test_strip_unused_None) ... skipped 'implementation detail specific to cpython' test_subscripts (test.test_compile.TestSpecifics.test_subscripts) ... ok test_syntax_error (test.test_compile.TestSpecifics.test_syntax_error) ... ok test_unary_minus (test.test_compile.TestSpecifics.test_unary_minus) ... ok test_uses_slice_instructions (test.test_compile.TestSpecifics.test_uses_slice_instructions) ... skipped 'implementation detail specific to cpython' test_yet_more_evil_still_undecodable (test.test_compile.TestSpecifics.test_yet_more_evil_still_undecodable) ... ok test_async_for (test.test_compile.TestStackSizeStability.test_async_for) ... ok test_async_for_else (test.test_compile.TestStackSizeStability.test_async_for_else) ... ok test_async_with (test.test_compile.TestStackSizeStability.test_async_with) ... ok test_for (test.test_compile.TestStackSizeStability.test_for) ... ok test_for_break_continue (test.test_compile.TestStackSizeStability.test_for_break_continue) ... ok test_for_break_continue_inside_async_with_block (test.test_compile.TestStackSizeStability.test_for_break_continue_inside_async_with_block) ... ok test_for_break_continue_inside_except_block (test.test_compile.TestStackSizeStability.test_for_break_continue_inside_except_block) ... ok test_for_break_continue_inside_finally_block (test.test_compile.TestStackSizeStability.test_for_break_continue_inside_finally_block) ... ok test_for_break_continue_inside_try_finally_block (test.test_compile.TestStackSizeStability.test_for_break_continue_inside_try_finally_block) ... ok test_for_break_continue_inside_with_block (test.test_compile.TestStackSizeStability.test_for_break_continue_inside_with_block) ... ok test_for_else (test.test_compile.TestStackSizeStability.test_for_else) ... ok test_if (test.test_compile.TestStackSizeStability.test_if) ... ok test_if_else (test.test_compile.TestStackSizeStability.test_if_else) ... ok test_return_inside_async_with_block (test.test_compile.TestStackSizeStability.test_return_inside_async_with_block) ... ok test_return_inside_except_block (test.test_compile.TestStackSizeStability.test_return_inside_except_block) ... ok test_return_inside_finally_block (test.test_compile.TestStackSizeStability.test_return_inside_finally_block) ... ok test_return_inside_try_finally_block (test.test_compile.TestStackSizeStability.test_return_inside_try_finally_block) ... ok test_return_inside_with_block (test.test_compile.TestStackSizeStability.test_return_inside_with_block) ... ok test_try_except_as (test.test_compile.TestStackSizeStability.test_try_except_as) ... ok test_try_except_bare (test.test_compile.TestStackSizeStability.test_try_except_bare) ... ok test_try_except_qualified (test.test_compile.TestStackSizeStability.test_try_except_qualified) ... ok test_try_except_star_as (test.test_compile.TestStackSizeStability.test_try_except_star_as) ... ok test_try_except_star_finally (test.test_compile.TestStackSizeStability.test_try_except_star_finally) ... ok test_try_except_star_qualified (test.test_compile.TestStackSizeStability.test_try_except_star_qualified) ... ok test_try_finally (test.test_compile.TestStackSizeStability.test_try_finally) ... ok test_while_else (test.test_compile.TestStackSizeStability.test_while_else) ... ok test_with (test.test_compile.TestStackSizeStability.test_with) ... ok ====================================================================== ERROR: test_load_super_attr (test.test_compile.TestSourcePositions.test_load_super_attr) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1828, in test_load_super_attr self.assertOpcodeSourcePositionIs( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1326, in assertOpcodeSourcePositionIs dis.Bytecode(code, show_caches=True), code.co_positions(), strict=True ^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'co_positions' ====================================================================== ERROR: test_extended_arg (test.test_compile.TestSpecifics.test_extended_arg) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 135, in test_extended_arg exec(code, g) RecursionError: maximum recursion depth exceeded ====================================================================== FAIL: test_func_args (test.test_compile.TestExpressionStackSize.test_func_args) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1938, in test_func_args self.check_stack_size("f(" + "x, " * self.N + ")") ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1905, in check_stack_size self.assertLessEqual(code.co_stacksize, max_size) ^^^^^^^^^^^^^^^ AssertionError: 51 not less than or equal to 6 ====================================================================== FAIL: test_func_kwargs (test.test_compile.TestExpressionStackSize.test_func_kwargs) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1942, in test_func_kwargs self.check_stack_size("f(" + ", ".join(kwargs) + ")") ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1905, in check_stack_size self.assertLessEqual(code.co_stacksize, max_size) ^^^^^^^^^^^^^^^ AssertionError: 54 not less than or equal to 6 ====================================================================== FAIL: test_meth_args (test.test_compile.TestExpressionStackSize.test_meth_args) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1945, in test_meth_args self.check_stack_size("o.m(" + "x, " * self.N + ")") ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1905, in check_stack_size self.assertLessEqual(code.co_stacksize, max_size) ^^^^^^^^^^^^^^^ AssertionError: 51 not less than or equal to 6 ====================================================================== FAIL: test_meth_kwargs (test.test_compile.TestExpressionStackSize.test_meth_kwargs) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1949, in test_meth_kwargs self.check_stack_size("o.m(" + ", ".join(kwargs) + ")") ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1905, in check_stack_size self.assertLessEqual(code.co_stacksize, max_size) ^^^^^^^^^^^^^^^ AssertionError: 54 not less than or equal to 6 ====================================================================== FAIL: test_compiles_to_extended_op_arg (test.test_compile.TestSourcePositions.test_compiles_to_extended_op_arg) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1356, in test_compiles_to_extended_op_arg self.assertOpcodeSourcePositionIs(compiled_code, 'BINARY_OP', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1337, in assertOpcodeSourcePositionIs self.fail(f"Opcode {opcode} not found in code") ^^^^ AssertionError: Opcode BINARY_OP not found in code ====================================================================== FAIL: test_complex_single_line_expression (test.test_compile.TestSourcePositions.test_complex_single_line_expression) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1677, in test_complex_single_line_expression self.assertOpcodeSourcePositionIs(compiled_code, 'BINARY_OP', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1337, in assertOpcodeSourcePositionIs self.fail(f"Opcode {opcode} not found in code") ^^^^ AssertionError: Opcode BINARY_OP not found in code ====================================================================== FAIL: test_matchcase_or (test.test_compile.TestSourcePositions.test_matchcase_or) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1656, in test_matchcase_or self.assertOpcodeSourcePositionIs(compiled_code, 'MATCH_CLASS', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1334, in assertOpcodeSourcePositionIs self.assertEqual(position[3], end_column) ^^^^^^^^^^^ AssertionError: 20 != 13 ====================================================================== FAIL: test_matchcase_sequence_wildcard (test.test_compile.TestSourcePositions.test_matchcase_sequence_wildcard) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1592, in test_matchcase_sequence_wildcard self.assertOpcodeSourcePositionIs(compiled_code, 'UNPACK_EX', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1331, in assertOpcodeSourcePositionIs self.assertEqual(position[0], line) ^^^^^^^^^^^ AssertionError: None != 2 ====================================================================== FAIL: test_method_call (test.test_compile.TestSourcePositions.test_method_call) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1781, in test_method_call self.assertOpcodeSourcePositionIs( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1337, in assertOpcodeSourcePositionIs self.fail(f"Opcode {opcode} not found in code") ^^^^ AssertionError: Opcode LOAD_ATTR not found in code ====================================================================== FAIL: test_multiline_assert (test.test_compile.TestSourcePositions.test_multiline_assert) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1412, in test_multiline_assert self.assertOpcodeSourcePositionIs(compiled_code, 'CALL', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1337, in assertOpcodeSourcePositionIs self.fail(f"Opcode {opcode} not found in code") ^^^^ AssertionError: Opcode CALL not found in code ====================================================================== FAIL: test_multiline_async_dict_comprehension (test.test_compile.TestSourcePositions.test_multiline_async_dict_comprehension) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1560, in test_multiline_async_dict_comprehension self.assertOpcodeSourcePositionIs(compiled_code, 'MAP_ADD', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1337, in assertOpcodeSourcePositionIs self.fail(f"Opcode {opcode} not found in code") ^^^^ AssertionError: Opcode MAP_ADD not found in code ====================================================================== FAIL: test_multiline_async_generator_expression (test.test_compile.TestSourcePositions.test_multiline_async_generator_expression) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1448, in test_multiline_async_generator_expression self.assertOpcodeSourcePositionIs(compiled_code, 'YIELD_VALUE', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1337, in assertOpcodeSourcePositionIs self.fail(f"Opcode {opcode} not found in code") ^^^^ AssertionError: Opcode YIELD_VALUE not found in code ====================================================================== FAIL: test_multiline_async_list_comprehension (test.test_compile.TestSourcePositions.test_multiline_async_list_comprehension) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1484, in test_multiline_async_list_comprehension self.assertOpcodeSourcePositionIs(compiled_code, 'LIST_APPEND', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1337, in assertOpcodeSourcePositionIs self.fail(f"Opcode {opcode} not found in code") ^^^^ AssertionError: Opcode LIST_APPEND not found in code ====================================================================== FAIL: test_multiline_async_set_comprehension (test.test_compile.TestSourcePositions.test_multiline_async_set_comprehension) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1522, in test_multiline_async_set_comprehension self.assertOpcodeSourcePositionIs(compiled_code, 'SET_ADD', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1337, in assertOpcodeSourcePositionIs self.fail(f"Opcode {opcode} not found in code") ^^^^ AssertionError: Opcode SET_ADD not found in code ====================================================================== FAIL: test_multiline_boolean_expression (test.test_compile.TestSourcePositions.test_multiline_boolean_expression) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1384, in test_multiline_boolean_expression self.assertOpcodeSourcePositionIs(compiled_code, 'POP_JUMP_IF_TRUE', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1332, in assertOpcodeSourcePositionIs self.assertEqual(position[1], end_line) ^^^^^^^^^^^ AssertionError: 5 != 1 ====================================================================== FAIL: test_multiline_dict_comprehension (test.test_compile.TestSourcePositions.test_multiline_dict_comprehension) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1540, in test_multiline_dict_comprehension self.assertOpcodeSourcePositionIs(compiled_code, 'MAP_ADD', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1337, in assertOpcodeSourcePositionIs self.fail(f"Opcode {opcode} not found in code") ^^^^ AssertionError: Opcode MAP_ADD not found in code ====================================================================== FAIL: test_multiline_expression (test.test_compile.TestSourcePositions.test_multiline_expression) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1370, in test_multiline_expression self.assertOpcodeSourcePositionIs(compiled_code, 'CALL', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1337, in assertOpcodeSourcePositionIs self.fail(f"Opcode {opcode} not found in code") ^^^^ AssertionError: Opcode CALL not found in code ====================================================================== FAIL: test_multiline_generator_expression (test.test_compile.TestSourcePositions.test_multiline_generator_expression) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1429, in test_multiline_generator_expression self.assertOpcodeSourcePositionIs(compiled_code, 'YIELD_VALUE', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1332, in assertOpcodeSourcePositionIs self.assertEqual(position[1], end_line) ^^^^^^^^^^^ AssertionError: 6 != 2 ====================================================================== FAIL: test_multiline_list_comprehension (test.test_compile.TestSourcePositions.test_multiline_list_comprehension) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1464, in test_multiline_list_comprehension self.assertOpcodeSourcePositionIs(compiled_code, 'LIST_APPEND', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1337, in assertOpcodeSourcePositionIs self.fail(f"Opcode {opcode} not found in code") ^^^^ AssertionError: Opcode LIST_APPEND not found in code ====================================================================== FAIL: test_multiline_set_comprehension (test.test_compile.TestSourcePositions.test_multiline_set_comprehension) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1502, in test_multiline_set_comprehension self.assertOpcodeSourcePositionIs(compiled_code, 'SET_ADD', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1337, in assertOpcodeSourcePositionIs self.fail(f"Opcode {opcode} not found in code") ^^^^ AssertionError: Opcode SET_ADD not found in code ====================================================================== FAIL: test_return_in_with_positions (test.test_compile.TestSourcePositions.test_return_in_with_positions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1872, in test_return_in_with_positions self.assertEqual(start_line, end_line) ^^^^^^^^^^^ AssertionError: 1862 != 1867 ====================================================================== FAIL: test_very_long_line_end_offset (test.test_compile.TestSourcePositions.test_very_long_line_end_offset) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1668, in test_very_long_line_end_offset self.assertOpcodeSourcePositionIs(compiled_code, 'CALL', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1337, in assertOpcodeSourcePositionIs self.fail(f"Opcode {opcode} not found in code") ^^^^ AssertionError: Opcode CALL not found in code ====================================================================== FAIL: test_bad_single_statement (test.test_compile.TestSpecifics.test_bad_single_statement) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 575, in test_bad_single_statement self.assertInvalidSingle('def f(): pass') ^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 23, in assertInvalidSingle self.assertRaises(SyntaxError, self.compile_single, source) ^^^^^^^^^^^^ AssertionError: SyntaxError not raised by compile_single ====================================================================== FAIL: test_compile_filename (test.test_compile.TestSpecifics.test_compile_filename) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 544, in test_compile_filename with self.assertRaises(TypeError): AssertionError: TypeError not raised ====================================================================== FAIL: test_false_while_loop (test.test_compile.TestSpecifics.test_false_while_loop) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 888, in test_false_while_loop self.assertEqual('RETURN_CONST', opcodes[1].opname) ^^^^^^^^^^^ AssertionError: 'RETURN_CONST' != 'RETURN_VALUE' - RETURN_CONST + RETURN_VALUE ====================================================================== FAIL: test_imported_load_method (test.test_compile.TestSpecifics.test_imported_load_method) (func='foo') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 944, in test_imported_load_method self.assertNotIn('LOAD_METHOD', instructions) ^^^^^^^^^^^ AssertionError: 'LOAD_METHOD' unexpectedly found in ['LOAD_GLOBAL', 'LOAD_METHOD', 'CALL_METHOD', 'RETURN_VALUE'] ====================================================================== FAIL: test_imported_load_method (test.test_compile.TestSpecifics.test_imported_load_method) (func='foo') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 944, in test_imported_load_method self.assertNotIn('LOAD_METHOD', instructions) ^^^^^^^^^^^ AssertionError: 'LOAD_METHOD' unexpectedly found in ['LOAD_GLOBAL', 'LOAD_METHOD', 'CALL_METHOD', 'RETURN_VALUE'] ====================================================================== FAIL: test_imported_load_method (test.test_compile.TestSpecifics.test_imported_load_method) (func='foo') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 944, in test_imported_load_method self.assertNotIn('LOAD_METHOD', instructions) ^^^^^^^^^^^ AssertionError: 'LOAD_METHOD' unexpectedly found in ['LOAD_GLOBAL', 'LOAD_METHOD', 'LOAD_FAST', 'CALL_METHOD', 'RETURN_VALUE'] ====================================================================== FAIL: test_imported_load_method (test.test_compile.TestSpecifics.test_imported_load_method) (func='foo') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 944, in test_imported_load_method self.assertNotIn('LOAD_METHOD', instructions) ^^^^^^^^^^^ AssertionError: 'LOAD_METHOD' unexpectedly found in ['LOAD_GLOBAL', 'LOAD_METHOD', 'LOAD_FAST', 'CALL_METHOD', 'RETURN_VALUE'] ====================================================================== FAIL: test_leading_newlines (test.test_compile.TestSpecifics.test_leading_newlines) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 166, in test_leading_newlines self.assertEqual(lines, [0, 257]) ^^^^^^^^^^^ AssertionError: Lists differ: [257] != [0, 257] First differing element 0: 257 0 Second list contains 1 additional elements. First extra element 1: 257 - [257] + [0, 257] ? +++ ====================================================================== FAIL: test_line_number_genexp (test.test_compile.TestSpecifics.test_line_number_genexp) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1072, in test_line_number_genexp self.assertEqual(genexp_lines, code_lines) ^^^^^^^^^^^ AssertionError: Lists differ: [0, 4, 2, 0, 4] != [0, 2, 0] First differing element 1: 4 2 First list contains 2 additional elements. First extra element 3: 0 - [0, 4, 2, 0, 4] ? --- --- + [0, 2, 0] ====================================================================== FAIL: test_line_number_implicit_return_after_async_for (test.test_compile.TestSpecifics.test_line_number_implicit_return_after_async_for) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1082, in test_line_number_implicit_return_after_async_for self.assertEqual(expected_lines, code_lines) ^^^^^^^^^^^ AssertionError: Lists differ: [0, 1, 2, 1] != [1, 2, 1] First differing element 0: 0 1 First list contains 1 additional elements. First extra element 3: 1 - [0, 1, 2, 1] ? --- + [1, 2, 1] ====================================================================== FAIL: test_lineno_attribute (test.test_compile.TestSpecifics.test_lineno_attribute) (func=<function TestSpecifics.test_lineno_attribute.<locals>.load_attr at 0x0000000002a72340>) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1058, in test_lineno_attribute self.assertEqual(lines, code_lines) ^^^^^^^^^^^ AssertionError: Lists differ: [0, 2, 3, 1] != [2, 3, 1] First differing element 0: 0 2 First list contains 1 additional elements. First extra element 3: 1 - [0, 2, 3, 1] ? --- + [2, 3, 1] ====================================================================== FAIL: test_lineno_attribute (test.test_compile.TestSpecifics.test_lineno_attribute) (func=<function TestSpecifics.test_lineno_attribute.<locals>.load_method at 0x0000000002a72408>) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1058, in test_lineno_attribute self.assertEqual(lines, code_lines) ^^^^^^^^^^^ AssertionError: Lists differ: [0, 2, 3, 4, 3, 1] != [2, 3, 4, 3, 1] First differing element 0: 0 2 First list contains 1 additional elements. First extra element 5: 1 - [0, 2, 3, 4, 3, 1] ? --- + [2, 3, 4, 3, 1] ====================================================================== FAIL: test_lineno_attribute (test.test_compile.TestSpecifics.test_lineno_attribute) (func=<function TestSpecifics.test_lineno_attribute.<locals>.store_attr at 0x0000000002a724d0>) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1058, in test_lineno_attribute self.assertEqual(lines, code_lines) ^^^^^^^^^^^ AssertionError: Lists differ: [0, 5, 2, 3] != [5, 2, 3] First differing element 0: 0 5 First list contains 1 additional elements. First extra element 3: 3 - [0, 5, 2, 3] ? --- + [5, 2, 3] ====================================================================== FAIL: test_lineno_attribute (test.test_compile.TestSpecifics.test_lineno_attribute) (func=<function TestSpecifics.test_lineno_attribute.<locals>.aug_store_attr at 0x0000000002a72598>) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1058, in test_lineno_attribute self.assertEqual(lines, code_lines) ^^^^^^^^^^^ AssertionError: Lists differ: [0, 2, 3, 5, 1, 3] != [2, 1, 3, 5, 3] First differing element 0: 0 2 First list contains 1 additional elements. First extra element 5: 3 - [0, 2, 3, 5, 1, 3] + [2, 1, 3, 5, 3] ====================================================================== FAIL: test_lineno_of_backward_jump (test.test_compile.TestSpecifics.test_lineno_of_backward_jump) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1095, in test_lineno_of_backward_jump self.assertTrue(len(linenos) > 0) ^^^^^^^^^^ AssertionError: False is not true ---------------------------------------------------------------------- Ran 151 tests in 1.135s FAILED (failures=37, errors=2, skipped=13) 0:00:01 load avg: 0.97 [1/1/1] test_compile failed (2 errors, 37 failures) == Tests result: FAILURE == 1 test failed: test_compile Total duration: 1.3 sec Total tests: run=151 failures=37 skipped=13 Total test files: run=1/1 failed=1 Result: FAILURE test test_compile failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748681æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3856443950 0:00:00 load avg: 0.97 Run 1 test sequentially in a single process 0:00:00 load avg: 0.97 [1/1] test_compiler_assemble 0:00:00 load avg: 0.97 [1/1/1] test_compiler_assemble failed (uncaught exception) == Tests result: FAILURE == 1 test failed: test_compiler_assemble Total duration: 52 ms Total tests: run=0 Total test files: run=1/1 failed=1 Result: FAILURE test test_compiler_assemble crashed -- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc _load_run_test(result, runtests) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 128, in _load_run_test test_mod = importlib.import_module(module_name) ^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<builtin>/frozen importlib._bootstrap_external", line 1011, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compiler_assemble.py", line 5, in <module> from test.support.bytecode_helper import AssemblerTestCase File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/bytecode_helper.py", line 6, in <module> from _testinternalcapi import compiler_codegen, optimize_cfg, assemble_code_object ModuleNotFoundError: No module named '_testinternalcapi' _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748686æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1253191239 0:00:00 load avg: 0.97 Run 1 test sequentially in a single process 0:00:00 load avg: 0.97 [1/1] test_compiler_codegen 0:00:00 load avg: 0.97 [1/1/1] test_compiler_codegen failed (uncaught exception) == Tests result: FAILURE == 1 test failed: test_compiler_codegen Total duration: 51 ms Total tests: run=0 Total test files: run=1/1 failed=1 Result: FAILURE test test_compiler_codegen crashed -- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc _load_run_test(result, runtests) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 128, in _load_run_test test_mod = importlib.import_module(module_name) ^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<builtin>/frozen importlib._bootstrap_external", line 1011, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compiler_codegen.py", line 2, in <module> from test.support.bytecode_helper import CodegenTestCase File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/bytecode_helper.py", line 6, in <module> from _testinternalcapi import compiler_codegen, optimize_cfg, assemble_code_object ModuleNotFoundError: No module named '_testinternalcapi' _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748691æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 174030050 0:00:00 load avg: 0.97 Run 1 test sequentially in a single process 0:00:00 load avg: 0.97 [1/1] test_complex test___complex__ (test.test_complex.ComplexTest.test___complex__) ... ok test_abs (test.test_complex.ComplexTest.test_abs) ... ok test_add (test.test_complex.ComplexTest.test_add) ... ok test_boolcontext (test.test_complex.ComplexTest.test_boolcontext) ... ok test_conjugate (test.test_complex.ComplexTest.test_conjugate) ... ok test_constructor (test.test_complex.ComplexTest.test_constructor) ... FAIL test_constructor_from_string (test.test_complex.ComplexTest.test_constructor_from_string) ... ok test_constructor_negative_nans_from_string (test.test_complex.ComplexTest.test_constructor_negative_nans_from_string) ... ok test_constructor_special_numbers (test.test_complex.ComplexTest.test_constructor_special_numbers) ... ok test_divmod (test.test_complex.ComplexTest.test_divmod) ... ok test_divmod_zero_division (test.test_complex.ComplexTest.test_divmod_zero_division) ... ok test_floordiv (test.test_complex.ComplexTest.test_floordiv) ... ok test_floordiv_zero_division (test.test_complex.ComplexTest.test_floordiv_zero_division) ... ok test_format (test.test_complex.ComplexTest.test_format) ... ok test_getnewargs (test.test_complex.ComplexTest.test_getnewargs) ... ok test_hash (test.test_complex.ComplexTest.test_hash) ... ok test_mod (test.test_complex.ComplexTest.test_mod) ... ok test_mod_zero_division (test.test_complex.ComplexTest.test_mod_zero_division) ... ok test_mul (test.test_complex.ComplexTest.test_mul) ... ok test_neg (test.test_complex.ComplexTest.test_neg) ... ok test_negated_imaginary_literal (test.test_complex.ComplexTest.test_negated_imaginary_literal) ... ok test_negative_zero_repr_str (test.test_complex.ComplexTest.test_negative_zero_repr_str) ... ok test_overflow (test.test_complex.ComplexTest.test_overflow) ... ok test_plus_minus_0j (test.test_complex.ComplexTest.test_plus_minus_0j) ... ok test_pos (test.test_complex.ComplexTest.test_pos) ... ok test_pow (test.test_complex.ComplexTest.test_pow) ... FAIL test_pow_with_small_integer_exponents (test.test_complex.ComplexTest.test_pow_with_small_integer_exponents) ... ok test_repr_roundtrip (test.test_complex.ComplexTest.test_repr_roundtrip) ... ok test_repr_str (test.test_complex.ComplexTest.test_repr_str) ... ok test_richcompare (test.test_complex.ComplexTest.test_richcompare) ... ok test_richcompare_boundaries (test.test_complex.ComplexTest.test_richcompare_boundaries) ... ok test_sub (test.test_complex.ComplexTest.test_sub) ... ok test_truediv (test.test_complex.ComplexTest.test_truediv) ... ok test_truediv_zero_division (test.test_complex.ComplexTest.test_truediv_zero_division) ... ok test_underscores (test.test_complex.ComplexTest.test_underscores) ... ok ====================================================================== FAIL: test_constructor (test.test_complex.ComplexTest.test_constructor) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_complex.py", line 374, in test_constructor with self.assertRaisesRegex(TypeError, AssertionError: TypeError not raised ====================================================================== FAIL: test_pow (test.test_complex.ComplexTest.test_pow) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_complex.py", line 305, in test_pow with self.assertRaises(OverflowError): AssertionError: OverflowError not raised ---------------------------------------------------------------------- Ran 35 tests in 0.209s FAILED (failures=2) 0:00:00 load avg: 0.97 [1/1/1] test_complex failed (2 failures) == Tests result: FAILURE == 1 test failed: test_complex Total duration: 316 ms Total tests: run=35 failures=2 Total test files: run=1/1 failed=1 Result: FAILURE test test_complex failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748706æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 175952210 0:00:00 load avg: 0.97 Run 1 test sequentially in a single process 0:00:00 load avg: 0.97 [1/1] test_context test_context_copy_1 (test.test_context.ContextTest.test_context_copy_1) ... ok test_context_get_context_1 (test.test_context.ContextTest.test_context_get_context_1) ... ok test_context_getset_1 (test.test_context.ContextTest.test_context_getset_1) ... ok test_context_getset_2 (test.test_context.ContextTest.test_context_getset_2) ... ok test_context_getset_3 (test.test_context.ContextTest.test_context_getset_3) ... ok test_context_getset_4 (test.test_context.ContextTest.test_context_getset_4) ... ok test_context_getset_5 (test.test_context.ContextTest.test_context_getset_5) ... ok test_context_new_1 (test.test_context.ContextTest.test_context_new_1) ... FAIL test_context_new_unhashable_str_subclass (test.test_context.ContextTest.test_context_new_unhashable_str_subclass) ... FAIL test_context_run_1 (test.test_context.ContextTest.test_context_run_1) ... ok test_context_run_2 (test.test_context.ContextTest.test_context_run_2) ... ok test_context_run_3 (test.test_context.ContextTest.test_context_run_3) ... ok test_context_run_4 (test.test_context.ContextTest.test_context_run_4) ... ok test_context_run_5 (test.test_context.ContextTest.test_context_run_5) ... ok test_context_run_6 (test.test_context.ContextTest.test_context_run_6) ... ok test_context_run_7 (test.test_context.ContextTest.test_context_run_7) ... ok test_context_subclassing_1 (test.test_context.ContextTest.test_context_subclassing_1) ... ok test_context_threads_1 (test.test_context.ContextTest.test_context_threads_1) ... ok test_context_typerrors_1 (test.test_context.ContextTest.test_context_typerrors_1) ... ok test_context_var_new_1 (test.test_context.ContextTest.test_context_var_new_1) ... FAIL test_context_var_repr_1 (test.test_context.ContextTest.test_context_var_repr_1) ... ok test_hamt_basics_1 (test.test_context.HamtTest.test_hamt_basics_1) ... skipped '_testcapi lacks "hamt()" function' test_hamt_basics_2 (test.test_context.HamtTest.test_hamt_basics_2) ... skipped '_testcapi lacks "hamt()" function' test_hamt_basics_3 (test.test_context.HamtTest.test_hamt_basics_3) ... skipped '_testcapi lacks "hamt()" function' test_hamt_basics_4 (test.test_context.HamtTest.test_hamt_basics_4) ... skipped '_testcapi lacks "hamt()" function' test_hamt_collision_1 (test.test_context.HamtTest.test_hamt_collision_1) ... skipped '_testcapi lacks "hamt()" function' test_hamt_collision_3 (test.test_context.HamtTest.test_hamt_collision_3) ... skipped '_testcapi lacks "hamt()" function' test_hamt_delete_1 (test.test_context.HamtTest.test_hamt_delete_1) ... skipped '_testcapi lacks "hamt()" function' test_hamt_delete_2 (test.test_context.HamtTest.test_hamt_delete_2) ... skipped '_testcapi lacks "hamt()" function' test_hamt_delete_3 (test.test_context.HamtTest.test_hamt_delete_3) ... skipped '_testcapi lacks "hamt()" function' test_hamt_delete_4 (test.test_context.HamtTest.test_hamt_delete_4) ... skipped '_testcapi lacks "hamt()" function' test_hamt_delete_5 (test.test_context.HamtTest.test_hamt_delete_5) ... skipped '_testcapi lacks "hamt()" function' test_hamt_eq_1 (test.test_context.HamtTest.test_hamt_eq_1) ... skipped '_testcapi lacks "hamt()" function' test_hamt_eq_2 (test.test_context.HamtTest.test_hamt_eq_2) ... skipped '_testcapi lacks "hamt()" function' test_hamt_gc_1 (test.test_context.HamtTest.test_hamt_gc_1) ... skipped '_testcapi lacks "hamt()" function' test_hamt_gc_2 (test.test_context.HamtTest.test_hamt_gc_2) ... skipped '_testcapi lacks "hamt()" function' test_hamt_getitem_1 (test.test_context.HamtTest.test_hamt_getitem_1) ... skipped '_testcapi lacks "hamt()" function' test_hamt_in_1 (test.test_context.HamtTest.test_hamt_in_1) ... skipped '_testcapi lacks "hamt()" function' test_hamt_items_1 (test.test_context.HamtTest.test_hamt_items_1) ... skipped '_testcapi lacks "hamt()" function' test_hamt_items_2 (test.test_context.HamtTest.test_hamt_items_2) ... skipped '_testcapi lacks "hamt()" function' test_hamt_items_3 (test.test_context.HamtTest.test_hamt_items_3) ... skipped '_testcapi lacks "hamt()" function' test_hamt_keys_1 (test.test_context.HamtTest.test_hamt_keys_1) ... skipped '_testcapi lacks "hamt()" function' test_hamt_stress (test.test_context.HamtTest.test_hamt_stress) ... skipped '_testcapi lacks "hamt()" function' test_hashkey_helper_1 (test.test_context.HamtTest.test_hashkey_helper_1) ... skipped '_testcapi lacks "hamt()" function' ====================================================================== FAIL: test_context_new_1 (test.test_context.ContextTest.test_context_new_1) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_context.py", line 79, in test_context_new_1 contextvars.Context(1) ^^^^^^^ TypeError: Context.__init__() takes 1 positional argument but 2 were given During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_context.py", line 78, in test_context_new_1 with self.assertRaisesRegex(TypeError, 'any arguments'): AssertionError: "any arguments" does not match "Context.__init__() takes 1 positional argument but 2 were given" ====================================================================== FAIL: test_context_new_unhashable_str_subclass (test.test_context.ContextTest.test_context_new_unhashable_str_subclass) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_context.py", line 92, in test_context_new_unhashable_str_subclass with self.assertRaisesRegex(TypeError, 'unhashable type'): AssertionError: TypeError not raised ====================================================================== FAIL: test_context_var_new_1 (test.test_context.ContextTest.test_context_var_new_1) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_context.py", line 30, in test_context_var_new_1 contextvars.ContextVar() ^^^^^^^^^^ TypeError: ContextVar.__init__() missing 1 required positional argument: 'name' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_context.py", line 29, in test_context_var_new_1 with self.assertRaisesRegex(TypeError, 'takes exactly 1'): AssertionError: "takes exactly 1" does not match "ContextVar.__init__() missing 1 required positional argument: 'name'" ---------------------------------------------------------------------- Ran 44 tests in 0.357s FAILED (failures=3, skipped=23) 0:00:00 load avg: 0.97 [1/1/1] test_context failed (3 failures) == Tests result: FAILURE == 1 test failed: test_context Total duration: 445 ms Total tests: run=44 failures=3 skipped=23 Total test files: run=1/1 failed=1 Result: FAILURE test test_context failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748726æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1560745072 0:00:00 load avg: 0.97 Run 1 test sequentially in a single process 0:00:00 load avg: 0.97 [1/1] test_contextlib_async test_aclosing (test.test_contextlib_async.AclosingTestCase.test_aclosing) ... ok test_aclosing_bpo41229 (test.test_contextlib_async.AclosingTestCase.test_aclosing_bpo41229) ... ok test_aclosing_error (test.test_contextlib_async.AclosingTestCase.test_aclosing_error) ... ok test_instance_docs (test.test_contextlib_async.AclosingTestCase.test_instance_docs) ... ok test_contextmanager_attribs (test.test_contextlib_async.AsyncContextManagerTestCase.test_contextmanager_attribs) ... ok test_contextmanager_doc_attrib (test.test_contextlib_async.AsyncContextManagerTestCase.test_contextmanager_doc_attrib) ... ok test_contextmanager_except (test.test_contextlib_async.AsyncContextManagerTestCase.test_contextmanager_except) ... ok test_contextmanager_except_stopiter (test.test_contextlib_async.AsyncContextManagerTestCase.test_contextmanager_except_stopiter) ... ok test_contextmanager_finally (test.test_contextlib_async.AsyncContextManagerTestCase.test_contextmanager_finally) ... ok test_contextmanager_no_reraise (test.test_contextlib_async.AsyncContextManagerTestCase.test_contextmanager_no_reraise) ... ok test_contextmanager_non_normalised (test.test_contextlib_async.AsyncContextManagerTestCase.test_contextmanager_non_normalised) ... ok test_contextmanager_plain (test.test_contextlib_async.AsyncContextManagerTestCase.test_contextmanager_plain) ... ok test_contextmanager_traceback (test.test_contextlib_async.AsyncContextManagerTestCase.test_contextmanager_traceback) ... ok test_contextmanager_trap_no_yield (test.test_contextlib_async.AsyncContextManagerTestCase.test_contextmanager_trap_no_yield) ... ok test_contextmanager_trap_second_yield (test.test_contextlib_async.AsyncContextManagerTestCase.test_contextmanager_trap_second_yield) ... ok test_contextmanager_trap_yield_after_throw (test.test_contextlib_async.AsyncContextManagerTestCase.test_contextmanager_trap_yield_after_throw) ... ok test_contextmanager_wrap_runtimeerror (test.test_contextlib_async.AsyncContextManagerTestCase.test_contextmanager_wrap_runtimeerror) ... ok test_decorating_method (test.test_contextlib_async.AsyncContextManagerTestCase.test_decorating_method) ... ok test_decorator (test.test_contextlib_async.AsyncContextManagerTestCase.test_decorator) ... ok test_decorator_with_exception (test.test_contextlib_async.AsyncContextManagerTestCase.test_decorator_with_exception) ... ok test_instance_docstring_given_cm_docstring (test.test_contextlib_async.AsyncContextManagerTestCase.test_instance_docstring_given_cm_docstring) ... ok test_keywords (test.test_contextlib_async.AsyncContextManagerTestCase.test_keywords) ... ok test_recursive (test.test_contextlib_async.AsyncContextManagerTestCase.test_recursive) ... ok test_async_gen_propagates_generator_exit (test.test_contextlib_async.TestAbstractAsyncContextManager.test_async_gen_propagates_generator_exit) ... ok test_enter (test.test_contextlib_async.TestAbstractAsyncContextManager.test_enter) ... ok test_exit_is_abstract (test.test_contextlib_async.TestAbstractAsyncContextManager.test_exit_is_abstract) ... ok test_structural_subclassing (test.test_contextlib_async.TestAbstractAsyncContextManager.test_structural_subclassing) ... ok test_async_callback (test.test_contextlib_async.TestAsyncExitStack.test_async_callback) ... ok test_async_exit_exception_chaining (test.test_contextlib_async.TestAsyncExitStack.test_async_exit_exception_chaining) ... ok test_async_exit_exception_explicit_none_context (test.test_contextlib_async.TestAsyncExitStack.test_async_exit_exception_explicit_none_context) ... ok test_async_push (test.test_contextlib_async.TestAsyncExitStack.test_async_push) ... ok test_body_exception_suppress (test.test_contextlib_async.TestAsyncExitStack.test_body_exception_suppress) ... ok test_callback (test.test_contextlib_async.TestAsyncExitStack.test_callback) ... ok test_close (test.test_contextlib_async.TestAsyncExitStack.test_close) ... ok test_dont_reraise_RuntimeError (test.test_contextlib_async.TestAsyncExitStack.test_dont_reraise_RuntimeError) ... ok test_enter_async_context (test.test_contextlib_async.TestAsyncExitStack.test_enter_async_context) ... ok test_enter_async_context_errors (test.test_contextlib_async.TestAsyncExitStack.test_enter_async_context_errors) ... ok test_enter_context (test.test_contextlib_async.TestAsyncExitStack.test_enter_context) ... ok test_enter_context_errors (test.test_contextlib_async.TestAsyncExitStack.test_enter_context_errors) ... ok test_excessive_nesting (test.test_contextlib_async.TestAsyncExitStack.test_excessive_nesting) ... ok test_exit_exception_chaining (test.test_contextlib_async.TestAsyncExitStack.test_exit_exception_chaining) ... ok test_exit_exception_chaining_reference (test.test_contextlib_async.TestAsyncExitStack.test_exit_exception_chaining_reference) ... ok test_exit_exception_chaining_suppress (test.test_contextlib_async.TestAsyncExitStack.test_exit_exception_chaining_suppress) ... ok test_exit_exception_explicit_none_context (test.test_contextlib_async.TestAsyncExitStack.test_exit_exception_explicit_none_context) ... ok test_exit_exception_non_suppressing (test.test_contextlib_async.TestAsyncExitStack.test_exit_exception_non_suppressing) ... ok test_exit_exception_traceback (test.test_contextlib_async.TestAsyncExitStack.test_exit_exception_traceback) ... FAIL test_exit_exception_with_correct_context (test.test_contextlib_async.TestAsyncExitStack.test_exit_exception_with_correct_context) ... ok test_exit_exception_with_existing_context (test.test_contextlib_async.TestAsyncExitStack.test_exit_exception_with_existing_context) ... ok test_exit_raise (test.test_contextlib_async.TestAsyncExitStack.test_exit_raise) ... ok test_exit_suppress (test.test_contextlib_async.TestAsyncExitStack.test_exit_suppress) ... ok test_instance_bypass (test.test_contextlib_async.TestAsyncExitStack.test_instance_bypass) ... ok test_instance_bypass_async (test.test_contextlib_async.TestAsyncExitStack.test_instance_bypass_async) ... ok test_instance_docs (test.test_contextlib_async.TestAsyncExitStack.test_instance_docs) ... ok test_no_resources (test.test_contextlib_async.TestAsyncExitStack.test_no_resources) ... ok test_pop_all (test.test_contextlib_async.TestAsyncExitStack.test_pop_all) ... ok test_push (test.test_contextlib_async.TestAsyncExitStack.test_push) ... ok test_async_nullcontext (test.test_contextlib_async.TestAsyncNullcontext.test_async_nullcontext) ... ok ====================================================================== FAIL: test_exit_exception_traceback (test.test_contextlib_async.TestAsyncExitStack.test_exit_exception_traceback) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_contextlib.py", line 859, in test_exit_exception_traceback self.assertEqual( ^^^^^^^^^^^ AssertionError: Lists differ: [('te[203 chars] ('__step_run_and_handle_result', 'result = co[173 chars]xc')] != [('te[203 chars] ('__aexit__', 'raise exc_details[1]'), ('__ae[111 chars]xc')] First differing element 4: ('__step_run_and_handle_result', 'result = coro.send(None)') ('__aexit__', 'raise exc_details[1]') First list contains 1 additional elements. First extra element 8: ('raise_exc', 'raise exc') [('test_exit_exception_traceback', 'with self.exit_stack() as stack:'), ('__exit__', 'return self.run_coroutine(self.__aexit__(*exc_details))'), ('run_coroutine', 'raise exc'), ('run_coroutine', 'raise exc'), - ('__step_run_and_handle_result', 'result = coro.send(None)'), ('__aexit__', 'raise exc_details[1]'), ('__aexit__', 'cb_suppress = cb(*exc_details)'), ('_exit_wrapper', 'callback(*args, **kwds)'), ('raise_exc', 'raise exc')] ---------------------------------------------------------------------- Ran 57 tests in 0.061s FAILED (failures=1) 0:00:00 load avg: 0.97 [1/1/1] test_contextlib_async failed (1 failure) == Tests result: FAILURE == 1 test failed: test_contextlib_async Total duration: 217 ms Total tests: run=57 failures=1 Total test files: run=1/1 failed=1 Result: FAILURE test test_contextlib_async failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748746æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1814309011 0:00:00 load avg: 0.97 Run 1 test sequentially in a single process 0:00:00 load avg: 0.97 [1/1] test_coroutines test_badsyntax_1 (test.test_coroutines.AsyncBadSyntaxTest.test_badsyntax_1) ... ok test_badsyntax_2 (test.test_coroutines.AsyncBadSyntaxTest.test_badsyntax_2) ... ok test_badsyntax_3 (test.test_coroutines.AsyncBadSyntaxTest.test_badsyntax_3) ... ok test_badsyntax_4 (test.test_coroutines.AsyncBadSyntaxTest.test_badsyntax_4) ... ok test_tp_await_1 (test.test_coroutines.CAPITest.test_tp_await_1) ... skipped 'implementation detail specific to cpython' test_tp_await_2 (test.test_coroutines.CAPITest.test_tp_await_2) ... skipped 'implementation detail specific to cpython' test_tp_await_3 (test.test_coroutines.CAPITest.test_tp_await_3) ... skipped 'implementation detail specific to cpython' test_asyncio_1 (test.test_coroutines.CoroAsyncIOCompatTest.test_asyncio_1) ... ok test_await_1 (test.test_coroutines.CoroutineTest.test_await_1) ... ok test_await_10 (test.test_coroutines.CoroutineTest.test_await_10) ... ok test_await_11 (test.test_coroutines.CoroutineTest.test_await_11) ... ok test_await_12 (test.test_coroutines.CoroutineTest.test_await_12) ... ok test_await_13 (test.test_coroutines.CoroutineTest.test_await_13) ... ok test_await_14 (test.test_coroutines.CoroutineTest.test_await_14) ... ok test_await_15 (test.test_coroutines.CoroutineTest.test_await_15) ... ok test_await_16 (test.test_coroutines.CoroutineTest.test_await_16) ... ok test_await_2 (test.test_coroutines.CoroutineTest.test_await_2) ... ok test_await_3 (test.test_coroutines.CoroutineTest.test_await_3) ... ok test_await_4 (test.test_coroutines.CoroutineTest.test_await_4) ... ok test_await_5 (test.test_coroutines.CoroutineTest.test_await_5) ... ok test_await_6 (test.test_coroutines.CoroutineTest.test_await_6) ... ok test_await_7 (test.test_coroutines.CoroutineTest.test_await_7) ... ok test_await_8 (test.test_coroutines.CoroutineTest.test_await_8) ... ok test_await_9 (test.test_coroutines.CoroutineTest.test_await_9) ... ok test_bpo_45813_1 (test.test_coroutines.CoroutineTest.test_bpo_45813_1) This would crash the interpreter in 3.11a2 ... FAIL test_bpo_45813_2 (test.test_coroutines.CoroutineTest.test_bpo_45813_2) This would crash the interpreter in 3.11a2 ... ok test_comp_1 (test.test_coroutines.CoroutineTest.test_comp_1) ... ok test_comp_10 (test.test_coroutines.CoroutineTest.test_comp_10) ... ok test_comp_2 (test.test_coroutines.CoroutineTest.test_comp_2) ... ok test_comp_3 (test.test_coroutines.CoroutineTest.test_comp_3) ... ok test_comp_4 (test.test_coroutines.CoroutineTest.test_comp_4) ... ok test_comp_4_2 (test.test_coroutines.CoroutineTest.test_comp_4_2) ... ok test_comp_5 (test.test_coroutines.CoroutineTest.test_comp_5) ... ok test_comp_6 (test.test_coroutines.CoroutineTest.test_comp_6) ... ok test_comp_7 (test.test_coroutines.CoroutineTest.test_comp_7) ... ok test_comp_8 (test.test_coroutines.CoroutineTest.test_comp_8) ... ok test_comp_9 (test.test_coroutines.CoroutineTest.test_comp_9) ... ok test_copy (test.test_coroutines.CoroutineTest.test_copy) ... ok test_coro_wrapper_send_stop_iterator (test.test_coroutines.CoroutineTest.test_coro_wrapper_send_stop_iterator) ... ok test_coro_wrapper_send_tuple (test.test_coroutines.CoroutineTest.test_coro_wrapper_send_tuple) ... ok test_corotype_1 (test.test_coroutines.CoroutineTest.test_corotype_1) ... FAIL test_cr_await (test.test_coroutines.CoroutineTest.test_cr_await) ... ok test_cr_frame_after_close (test.test_coroutines.CoroutineTest.test_cr_frame_after_close) ... ok test_fatal_coro_warning (test.test_coroutines.CoroutineTest.test_fatal_coro_warning) ... ok test_for_1 (test.test_coroutines.CoroutineTest.test_for_1) ... ok test_for_11 (test.test_coroutines.CoroutineTest.test_for_11) ... ok test_for_2 (test.test_coroutines.CoroutineTest.test_for_2) ... ok test_for_3 (test.test_coroutines.CoroutineTest.test_for_3) ... ok test_for_4 (test.test_coroutines.CoroutineTest.test_for_4) ... ok test_for_6 (test.test_coroutines.CoroutineTest.test_for_6) ... ok test_for_7 (test.test_coroutines.CoroutineTest.test_for_7) ... ok test_for_8 (test.test_coroutines.CoroutineTest.test_for_8) ... ok test_for_assign_raising_stop_async_iteration (test.test_coroutines.CoroutineTest.test_for_assign_raising_stop_async_iteration) ... ok test_for_assign_raising_stop_async_iteration_2 (test.test_coroutines.CoroutineTest.test_for_assign_raising_stop_async_iteration_2) ... ok test_for_stop_iteration (test.test_coroutines.CoroutineTest.test_for_stop_iteration) ... ok test_for_tuple (test.test_coroutines.CoroutineTest.test_for_tuple) ... ok test_func_1 (test.test_coroutines.CoroutineTest.test_func_1) ... ok test_func_10 (test.test_coroutines.CoroutineTest.test_func_10) ... ok test_func_11 (test.test_coroutines.CoroutineTest.test_func_11) ... ok test_func_12 (test.test_coroutines.CoroutineTest.test_func_12) ... ok test_func_13 (test.test_coroutines.CoroutineTest.test_func_13) ... ok test_func_14 (test.test_coroutines.CoroutineTest.test_func_14) ... ok test_func_15 (test.test_coroutines.CoroutineTest.test_func_15) ... ok test_func_16 (test.test_coroutines.CoroutineTest.test_func_16) ... ok test_func_17 (test.test_coroutines.CoroutineTest.test_func_17) ... ok test_func_18 (test.test_coroutines.CoroutineTest.test_func_18) ... ok test_func_19 (test.test_coroutines.CoroutineTest.test_func_19) ... ok test_func_2 (test.test_coroutines.CoroutineTest.test_func_2) ... ok test_func_3 (test.test_coroutines.CoroutineTest.test_func_3) ... ok test_func_4 (test.test_coroutines.CoroutineTest.test_func_4) ... ok test_func_5 (test.test_coroutines.CoroutineTest.test_func_5) ... ok test_func_6 (test.test_coroutines.CoroutineTest.test_func_6) ... ok test_func_7 (test.test_coroutines.CoroutineTest.test_func_7) ... ok test_func_8 (test.test_coroutines.CoroutineTest.test_func_8) ... ok test_func_9 (test.test_coroutines.CoroutineTest.test_func_9) ... ok test_gen_1 (test.test_coroutines.CoroutineTest.test_gen_1) ... ok test_nested_comp (test.test_coroutines.CoroutineTest.test_nested_comp) ... ok test_pickle (test.test_coroutines.CoroutineTest.test_pickle) ... ok test_stack_in_coroutine_throw (test.test_coroutines.CoroutineTest.test_stack_in_coroutine_throw) ... ok test_with_1 (test.test_coroutines.CoroutineTest.test_with_1) ... ok test_with_10 (test.test_coroutines.CoroutineTest.test_with_10) ... ok test_with_11 (test.test_coroutines.CoroutineTest.test_with_11) ... ok test_with_12 (test.test_coroutines.CoroutineTest.test_with_12) ... ok test_with_13 (test.test_coroutines.CoroutineTest.test_with_13) ... ok test_with_2 (test.test_coroutines.CoroutineTest.test_with_2) ... ok test_with_3 (test.test_coroutines.CoroutineTest.test_with_3) ... ok test_with_4 (test.test_coroutines.CoroutineTest.test_with_4) ... ok test_with_5 (test.test_coroutines.CoroutineTest.test_with_5) ... ok test_with_6 (test.test_coroutines.CoroutineTest.test_with_6) ... ok test_with_7 (test.test_coroutines.CoroutineTest.test_with_7) ... ok test_with_8 (test.test_coroutines.CoroutineTest.test_with_8) ... ok test_with_9 (test.test_coroutines.CoroutineTest.test_with_9) ... ok test_origin_tracking (test.test_coroutines.OriginTrackingTest.test_origin_tracking) ... ok test_origin_tracking_warning (test.test_coroutines.OriginTrackingTest.test_origin_tracking_warning) ... ok test_unawaited_warning_when_module_broken (test.test_coroutines.OriginTrackingTest.test_unawaited_warning_when_module_broken) ... ERROR test_oneline_defs (test.test_coroutines.TokenizerRegrTest.test_oneline_defs) ... ok test_unawaited_warning_during_shutdown (test.test_coroutines.UnawaitedWarningDuringShutdownTest.test_unawaited_warning_during_shutdown) ... ok ====================================================================== ERROR: test_unawaited_warning_when_module_broken (test.test_coroutines.OriginTrackingTest.test_unawaited_warning_when_module_broken) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_coroutines.py", line 2418, in test_unawaited_warning_when_module_broken self.assertEqual(repr(cm.unraisable.object), coro_repr) ^^^^^^ AttributeError: 'NoneType' object has no attribute 'object' ====================================================================== FAIL: test_bpo_45813_1 (test.test_coroutines.CoroutineTest.test_bpo_45813_1) This would crash the interpreter in 3.11a2 ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_coroutines.py", line 2212, in test_bpo_45813_1 with self.assertWarns(RuntimeWarning): AssertionError: RuntimeWarning not triggered ====================================================================== FAIL: test_corotype_1 (test.test_coroutines.CoroutineTest.test_corotype_1) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_coroutines.py", line 962, in test_corotype_1 self.assertIn('into coroutine', ct.send.__doc__) ^^^^^^^^ AssertionError: 'into coroutine' not found in "send(arg) -> send 'arg' into generator/coroutine,\nreturn next yielded value or raise StopIteration." ---------------------------------------------------------------------- Ran 97 tests in 0.558s FAILED (failures=2, errors=1, skipped=3) 0:00:00 load avg: 0.97 [1/1/1] test_coroutines failed (1 error, 2 failures) == Tests result: FAILURE == 1 test failed: test_coroutines Total duration: 689 ms Total tests: run=97 failures=2 skipped=3 Total test files: run=1/1 failed=1 Result: FAILURE test test_coroutines failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748755æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 4092532058 0:00:00 load avg: 0.97 Run 1 test sequentially in a single process 0:00:00 load avg: 0.97 [1/1] test_cprofile test_bad_counter_during_dealloc (test.test_cprofile.CProfileTest.test_bad_counter_during_dealloc) ... ERROR test_calling_conventions (test.test_cprofile.CProfileTest.test_calling_conventions) ... ok test_cprofile (test.test_cprofile.CProfileTest.test_cprofile) ... ok test_crash_with_not_enough_args (test.test_cprofile.CProfileTest.test_crash_with_not_enough_args) ... test_crash_with_not_enough_args (test.test_cprofile.CProfileTest.test_crash_with_not_enough_args) (profile=<_lsprof.Profiler object at 0x00007f2549ab88d8>, method='_pystart_callback') ... ERROR test_crash_with_not_enough_args (test.test_cprofile.CProfileTest.test_crash_with_not_enough_args) (profile=<_lsprof.Profiler object at 0x00007f2549ab88d8>, method='_pyreturn_callback') ... ERROR test_crash_with_not_enough_args (test.test_cprofile.CProfileTest.test_crash_with_not_enough_args) (profile=<_lsprof.Profiler object at 0x00007f2549ab88d8>, method='_ccall_callback') ... ERROR test_crash_with_not_enough_args (test.test_cprofile.CProfileTest.test_crash_with_not_enough_args) (profile=<_lsprof.Profiler object at 0x00007f2549ab88d8>, method='_creturn_callback') ... ERROR test_crash_with_not_enough_args (test.test_cprofile.CProfileTest.test_crash_with_not_enough_args) (profile=<cProfile.Profile object at 0x00007f2549ae0440>, method='_pystart_callback') ... ERROR test_crash_with_not_enough_args (test.test_cprofile.CProfileTest.test_crash_with_not_enough_args) (profile=<cProfile.Profile object at 0x00007f2549ae0440>, method='_pyreturn_callback') ... ERROR test_crash_with_not_enough_args (test.test_cprofile.CProfileTest.test_crash_with_not_enough_args) (profile=<cProfile.Profile object at 0x00007f2549ae0440>, method='_ccall_callback') ... ERROR test_crash_with_not_enough_args (test.test_cprofile.CProfileTest.test_crash_with_not_enough_args) (profile=<cProfile.Profile object at 0x00007f2549ae0440>, method='_creturn_callback') ... ERROR test_evil_external_timer (test.test_cprofile.CProfileTest.test_evil_external_timer) ... ERROR test_output_file_when_changing_directory (test.test_cprofile.CProfileTest.test_output_file_when_changing_directory) ... ok test_profile_as_context_manager (test.test_cprofile.CProfileTest.test_profile_as_context_manager) ... ERROR test_profile_enable_disable (test.test_cprofile.CProfileTest.test_profile_enable_disable) ... ERROR test_run (test.test_cprofile.CProfileTest.test_run) ... ok test_run_profile_as_module (test.test_cprofile.CProfileTest.test_run_profile_as_module) ... ok test_runctx (test.test_cprofile.CProfileTest.test_runctx) ... ok test_second_profiler (test.test_cprofile.CProfileTest.test_second_profiler) ... FAIL test_throw (test.test_cprofile.CProfileTest.test_throw) gh-106152 ... FAIL test_calling_conventions (test.test_profile.ProfileTest.test_calling_conventions) ... ok test_cprofile (test.test_profile.ProfileTest.test_cprofile) ... ok test_output_file_when_changing_directory (test.test_profile.ProfileTest.test_output_file_when_changing_directory) ... ok test_run (test.test_profile.ProfileTest.test_run) ... ok test_run_profile_as_module (test.test_profile.ProfileTest.test_run_profile_as_module) ... ok test_runctx (test.test_profile.ProfileTest.test_runctx) ... ok test_sort (test.test_cprofile.TestCommandLine.test_sort) ... ok ====================================================================== ERROR: test_bad_counter_during_dealloc (test.test_cprofile.CProfileTest.test_bad_counter_during_dealloc) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 29, in test_bad_counter_during_dealloc obj.clear() ^^^^^ AttributeError: '_lsprof.Profiler' object has no attribute 'clear' ====================================================================== ERROR: test_crash_with_not_enough_args (test.test_cprofile.CProfileTest.test_crash_with_not_enough_args) (profile=<_lsprof.Profiler object at 0x00007f2549ab88d8>, method='_pystart_callback') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 45, in test_crash_with_not_enough_args method_obj = getattr(profile, method) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: '_lsprof.Profiler' object has no attribute '_pystart_callback' ====================================================================== ERROR: test_crash_with_not_enough_args (test.test_cprofile.CProfileTest.test_crash_with_not_enough_args) (profile=<_lsprof.Profiler object at 0x00007f2549ab88d8>, method='_pyreturn_callback') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 45, in test_crash_with_not_enough_args method_obj = getattr(profile, method) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: '_lsprof.Profiler' object has no attribute '_pyreturn_callback' ====================================================================== ERROR: test_crash_with_not_enough_args (test.test_cprofile.CProfileTest.test_crash_with_not_enough_args) (profile=<_lsprof.Profiler object at 0x00007f2549ab88d8>, method='_ccall_callback') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 45, in test_crash_with_not_enough_args method_obj = getattr(profile, method) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: '_lsprof.Profiler' object has no attribute '_ccall_callback' ====================================================================== ERROR: test_crash_with_not_enough_args (test.test_cprofile.CProfileTest.test_crash_with_not_enough_args) (profile=<_lsprof.Profiler object at 0x00007f2549ab88d8>, method='_creturn_callback') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 45, in test_crash_with_not_enough_args method_obj = getattr(profile, method) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: '_lsprof.Profiler' object has no attribute '_creturn_callback' ====================================================================== ERROR: test_crash_with_not_enough_args (test.test_cprofile.CProfileTest.test_crash_with_not_enough_args) (profile=<cProfile.Profile object at 0x00007f2549ae0440>, method='_pystart_callback') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 45, in test_crash_with_not_enough_args method_obj = getattr(profile, method) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Profile' object has no attribute '_pystart_callback' ====================================================================== ERROR: test_crash_with_not_enough_args (test.test_cprofile.CProfileTest.test_crash_with_not_enough_args) (profile=<cProfile.Profile object at 0x00007f2549ae0440>, method='_pyreturn_callback') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 45, in test_crash_with_not_enough_args method_obj = getattr(profile, method) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Profile' object has no attribute '_pyreturn_callback' ====================================================================== ERROR: test_crash_with_not_enough_args (test.test_cprofile.CProfileTest.test_crash_with_not_enough_args) (profile=<cProfile.Profile object at 0x00007f2549ae0440>, method='_ccall_callback') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 45, in test_crash_with_not_enough_args method_obj = getattr(profile, method) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Profile' object has no attribute '_ccall_callback' ====================================================================== ERROR: test_crash_with_not_enough_args (test.test_cprofile.CProfileTest.test_crash_with_not_enough_args) (profile=<cProfile.Profile object at 0x00007f2549ae0440>, method='_creturn_callback') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 45, in test_crash_with_not_enough_args method_obj = getattr(profile, method) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Profile' object has no attribute '_creturn_callback' ====================================================================== ERROR: test_evil_external_timer (test.test_cprofile.CProfileTest.test_evil_external_timer) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 72, in test_evil_external_timer profiler_with_evil_timer.clear() ^^^^^ AttributeError: '_lsprof.Profiler' object has no attribute 'clear' ====================================================================== ERROR: test_profile_as_context_manager (test.test_cprofile.CProfileTest.test_profile_as_context_manager) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 110, in test_profile_as_context_manager sys.monitoring.get_tool(sys.monitoring.PROFILER_ID), "cProfile") ^^^^^^^^^^ AttributeError: module 'sys' has no attribute 'monitoring' ====================================================================== ERROR: test_profile_enable_disable (test.test_cprofile.CProfileTest.test_profile_enable_disable) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 93, in test_profile_enable_disable sys.monitoring.get_tool(sys.monitoring.PROFILER_ID), "cProfile") ^^^^^^^^^^ AttributeError: module 'sys' has no attribute 'monitoring' ====================================================================== FAIL: test_second_profiler (test.test_cprofile.CProfileTest.test_second_profiler) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 119, in test_second_profiler self.assertRaises(ValueError, pr2.enable) ^^^^^^^^^^^^ AssertionError: ValueError not raised by enable ====================================================================== FAIL: test_throw (test.test_cprofile.CProfileTest.test_throw) gh-106152 ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 139, in test_throw self.assertEqual(cc, 2) ^^^^^^^^^^^ AssertionError: 1 != 2 ---------------------------------------------------------------------- Ran 20 tests in 0.710s FAILED (failures=2, errors=12) 0:00:00 load avg: 0.97 [1/1/1] test_cprofile failed (12 errors, 2 failures) == Tests result: FAILURE == 1 test failed: test_cprofile Total duration: 804 ms Total tests: run=20 failures=2 Total test files: run=1/1 failed=1 Result: FAILURE test test_cprofile failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748781æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 4103773682 0:00:00 load avg: 0.98 Run 1 test sequentially in a single process 0:00:00 load avg: 0.98 [1/1] test_csv test_ordered_dict_reader (test.test_csv.KeyOrderingTest.test_ordered_dict_reader) ... ok test_ordering_for_the_dict_reader_and_writer (test.test_csv.KeyOrderingTest.test_ordering_for_the_dict_reader_and_writer) ... ok test__all__ (test.test_csv.MiscTestCase.test__all__) ... ok test_disallow_instantiation (test.test_csv.MiscTestCase.test_disallow_instantiation) ... skipped 'implementation detail specific to cpython' test_subclassable (test.test_csv.MiscTestCase.test_subclassable) ... ok test_char_write (test.test_csv.TestArrayWrites.test_char_write) ... ok test_double_write (test.test_csv.TestArrayWrites.test_double_write) ... ok test_float_write (test.test_csv.TestArrayWrites.test_float_write) ... ok test_int_write (test.test_csv.TestArrayWrites.test_int_write) ... ok test_blankline (test.test_csv.TestDialectExcel.test_blankline) ... ok test_dubious_quote (test.test_csv.TestDialectExcel.test_dubious_quote) ... ok test_empty_fields (test.test_csv.TestDialectExcel.test_empty_fields) ... ok test_inline_quote (test.test_csv.TestDialectExcel.test_inline_quote) ... ok test_inline_quotes (test.test_csv.TestDialectExcel.test_inline_quotes) ... ok test_lone_quote (test.test_csv.TestDialectExcel.test_lone_quote) ... ok test_newlines (test.test_csv.TestDialectExcel.test_newlines) ... ok test_null (test.test_csv.TestDialectExcel.test_null) ... ok test_quote_and_quote (test.test_csv.TestDialectExcel.test_quote_and_quote) ... ok test_quote_fieldsep (test.test_csv.TestDialectExcel.test_quote_fieldsep) ... ok test_quoted (test.test_csv.TestDialectExcel.test_quoted) ... ok test_quoted_nl (test.test_csv.TestDialectExcel.test_quoted_nl) ... ok test_quoted_quote (test.test_csv.TestDialectExcel.test_quoted_quote) ... ok test_quoted_quotes (test.test_csv.TestDialectExcel.test_quoted_quotes) ... ok test_quotes (test.test_csv.TestDialectExcel.test_quotes) ... ok test_quotes_and_more (test.test_csv.TestDialectExcel.test_quotes_and_more) ... ok test_simple (test.test_csv.TestDialectExcel.test_simple) ... ok test_simple_writer (test.test_csv.TestDialectExcel.test_simple_writer) ... ok test_single (test.test_csv.TestDialectExcel.test_single) ... ok test_single_quoted_quote (test.test_csv.TestDialectExcel.test_single_quoted_quote) ... ok test_single_writer (test.test_csv.TestDialectExcel.test_single_writer) ... ok test_singlequoted (test.test_csv.TestDialectExcel.test_singlequoted) ... ok test_singlequoted_left_empty (test.test_csv.TestDialectExcel.test_singlequoted_left_empty) ... ok test_singlequoted_right_empty (test.test_csv.TestDialectExcel.test_singlequoted_right_empty) ... ok test_space_and_quote (test.test_csv.TestDialectExcel.test_space_and_quote) ... ok test_bad_dialect (test.test_csv.TestDialectRegistry.test_bad_dialect) ... ok test_copy (test.test_csv.TestDialectRegistry.test_copy) ... ok test_dialect_apply (test.test_csv.TestDialectRegistry.test_dialect_apply) ... ok test_incomplete_dialect (test.test_csv.TestDialectRegistry.test_incomplete_dialect) ... ok test_pickle (test.test_csv.TestDialectRegistry.test_pickle) ... ok test_register_kwargs (test.test_csv.TestDialectRegistry.test_register_kwargs) ... ok test_register_kwargs_override (test.test_csv.TestDialectRegistry.test_register_kwargs_override) ... ok test_registry (test.test_csv.TestDialectRegistry.test_registry) ... ok test_registry_badargs (test.test_csv.TestDialectRegistry.test_registry_badargs) ... ok test_space_dialect (test.test_csv.TestDialectRegistry.test_space_dialect) ... ok test_simple_reader (test.test_csv.TestDialectUnix.test_simple_reader) ... ok test_simple_writer (test.test_csv.TestDialectUnix.test_simple_writer) ... ok test_delimiter (test.test_csv.TestDialectValidity.test_delimiter) ... ok test_escapechar (test.test_csv.TestDialectValidity.test_escapechar) ... ok test_invalid_chars (test.test_csv.TestDialectValidity.test_invalid_chars) ... ok test_lineterminator (test.test_csv.TestDialectValidity.test_lineterminator) ... ok test_quoting (test.test_csv.TestDialectValidity.test_quoting) ... ok test_dict_reader_fieldnames_accepts_iter (test.test_csv.TestDictFields.test_dict_reader_fieldnames_accepts_iter) ... ok test_dict_reader_fieldnames_accepts_list (test.test_csv.TestDictFields.test_dict_reader_fieldnames_accepts_list) ... ok test_dict_reader_fieldnames_is_optional (test.test_csv.TestDictFields.test_dict_reader_fieldnames_is_optional) ... ok test_dict_writer_fieldnames_accepts_list (test.test_csv.TestDictFields.test_dict_writer_fieldnames_accepts_list) ... ok test_dict_writer_fieldnames_rejects_iter (test.test_csv.TestDictFields.test_dict_writer_fieldnames_rejects_iter) ... ok test_read_dict_fieldnames_chain (test.test_csv.TestDictFields.test_read_dict_fieldnames_chain) ... ok test_read_dict_fieldnames_from_file (test.test_csv.TestDictFields.test_read_dict_fieldnames_from_file) ... ok test_read_dict_fields (test.test_csv.TestDictFields.test_read_dict_fields) ... ok test_read_dict_no_fieldnames (test.test_csv.TestDictFields.test_read_dict_no_fieldnames) ... ok test_read_long (test.test_csv.TestDictFields.test_read_long) ... ok test_read_long_with_rest (test.test_csv.TestDictFields.test_read_long_with_rest) ... ok test_read_long_with_rest_no_fieldnames (test.test_csv.TestDictFields.test_read_long_with_rest_no_fieldnames) ... ok test_read_multi (test.test_csv.TestDictFields.test_read_multi) ... ok test_read_semi_sep (test.test_csv.TestDictFields.test_read_semi_sep) ... ok test_read_short (test.test_csv.TestDictFields.test_read_short) ... ok test_read_with_blanks (test.test_csv.TestDictFields.test_read_with_blanks) ... ok test_typo_in_extrasaction_raises_error (test.test_csv.TestDictFields.test_typo_in_extrasaction_raises_error) ... ok test_write_field_not_in_field_names_ignore (test.test_csv.TestDictFields.test_write_field_not_in_field_names_ignore) ... ok test_write_field_not_in_field_names_raise (test.test_csv.TestDictFields.test_write_field_not_in_field_names_raise) ... ok test_write_fields_not_in_fieldnames (test.test_csv.TestDictFields.test_write_fields_not_in_fieldnames) ... ok test_write_multiple_dict_rows (test.test_csv.TestDictFields.test_write_multiple_dict_rows) ... ok test_write_no_fields (test.test_csv.TestDictFields.test_write_no_fields) ... ok test_write_simple_dict (test.test_csv.TestDictFields.test_write_simple_dict) ... ok test_writeheader_return_value (test.test_csv.TestDictFields.test_writeheader_return_value) ... ok test_escape_fieldsep (test.test_csv.TestEscapedExcel.test_escape_fieldsep) ... ok test_read_escape_fieldsep (test.test_csv.TestEscapedExcel.test_read_escape_fieldsep) ... ok test_create_read (test.test_csv.TestLeaks.test_create_read) ... skipped 'requires sys.gettotalrefcount()' test_create_write (test.test_csv.TestLeaks.test_create_write) ... skipped 'requires sys.gettotalrefcount()' test_read (test.test_csv.TestLeaks.test_read) ... skipped 'requires sys.gettotalrefcount()' test_write (test.test_csv.TestLeaks.test_write) ... skipped 'requires sys.gettotalrefcount()' test_read_escape_fieldsep (test.test_csv.TestQuotedEscapedExcel.test_read_escape_fieldsep) ... ok test_write_escape_fieldsep (test.test_csv.TestQuotedEscapedExcel.test_write_escape_fieldsep) ... ok test_delimiters (test.test_csv.TestSniffer.test_delimiters) ... ok test_doublequote (test.test_csv.TestSniffer.test_doublequote) ... ok test_guess_quote_and_delimiter (test.test_csv.TestSniffer.test_guess_quote_and_delimiter) ... ok test_has_header (test.test_csv.TestSniffer.test_has_header) ... ok test_has_header_regex_special_delimiter (test.test_csv.TestSniffer.test_has_header_regex_special_delimiter) ... ok test_has_header_strings (test.test_csv.TestSniffer.test_has_header_strings) More to document existing (unexpected?) behavior than anything else. ... ok test_issue43625 (test.test_csv.TestSniffer.test_issue43625) ... ok test_sniff (test.test_csv.TestSniffer.test_sniff) ... ok test_unicode_read (test.test_csv.TestUnicode.test_unicode_read) ... ok test_unicode_write (test.test_csv.TestUnicode.test_unicode_write) ... ok test_read_bigfield (test.test_csv.Test_Csv.test_read_bigfield) ... ok test_read_delimiter (test.test_csv.Test_Csv.test_read_delimiter) ... ok test_read_eof (test.test_csv.Test_Csv.test_read_eof) ... ok test_read_eol (test.test_csv.Test_Csv.test_read_eol) ... ok test_read_escape (test.test_csv.Test_Csv.test_read_escape) ... ok test_read_linenum (test.test_csv.Test_Csv.test_read_linenum) ... ok test_read_nul (test.test_csv.Test_Csv.test_read_nul) ... ok test_read_oddinputs (test.test_csv.Test_Csv.test_read_oddinputs) ... ok test_read_quoting (test.test_csv.Test_Csv.test_read_quoting) ... ok test_read_skipinitialspace (test.test_csv.Test_Csv.test_read_skipinitialspace) ... ok test_read_space_delimiter (test.test_csv.Test_Csv.test_read_space_delimiter) ... ok test_reader_arg_valid (test.test_csv.Test_Csv.test_reader_arg_valid) ... ok test_reader_attrs (test.test_csv.Test_Csv.test_reader_attrs) ... ok test_reader_dialect_attrs (test.test_csv.Test_Csv.test_reader_dialect_attrs) ... ok test_reader_kw_attrs (test.test_csv.Test_Csv.test_reader_kw_attrs) ... ok test_roundtrip_escaped_unquoted_newlines (test.test_csv.Test_Csv.test_roundtrip_escaped_unquoted_newlines) ... ok test_roundtrip_quoteed_newlines (test.test_csv.Test_Csv.test_roundtrip_quoteed_newlines) ... ok test_write_arg_valid (test.test_csv.Test_Csv.test_write_arg_valid) ... ok test_write_bigfield (test.test_csv.Test_Csv.test_write_bigfield) ... ok test_write_empty_fields (test.test_csv.Test_Csv.test_write_empty_fields) ... ERROR test_write_empty_fields_space_delimiter (test.test_csv.Test_Csv.test_write_empty_fields_space_delimiter) ... ERROR test_write_escape (test.test_csv.Test_Csv.test_write_escape) ... ok test_write_iterable (test.test_csv.Test_Csv.test_write_iterable) ... ok test_write_lineterminator (test.test_csv.Test_Csv.test_write_lineterminator) ... ok test_write_quoting (test.test_csv.Test_Csv.test_write_quoting) ... ERROR test_writer_arg_valid (test.test_csv.Test_Csv.test_writer_arg_valid) ... ERROR test_writer_attrs (test.test_csv.Test_Csv.test_writer_attrs) ... ok test_writer_dialect_attrs (test.test_csv.Test_Csv.test_writer_dialect_attrs) ... ok test_writer_kw_attrs (test.test_csv.Test_Csv.test_writer_kw_attrs) ... ok test_writerows (test.test_csv.Test_Csv.test_writerows) ... ok test_writerows_errors (test.test_csv.Test_Csv.test_writerows_errors) ... ok test_writerows_legacy_strings (test.test_csv.Test_Csv.test_writerows_legacy_strings) ... skipped 'implementation detail specific to cpython' test_writerows_with_none (test.test_csv.Test_Csv.test_writerows_with_none) ... ok ====================================================================== ERROR: test_write_empty_fields (test.test_csv.Test_Csv.test_write_empty_fields) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_csv.py", line 295, in test_write_empty_fields self._write_test([''], '""', quoting=csv.QUOTE_STRINGS) ^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_csv.py", line 153, in _write_test writer = csv.writer(fileobj, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: bad "quoting" value ====================================================================== ERROR: test_write_empty_fields_space_delimiter (test.test_csv.Test_Csv.test_write_empty_fields_space_delimiter) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_csv.py", line 321, in test_write_empty_fields_space_delimiter self._write_test(['', ''], '"" ""', delimiter=' ', skipinitialspace=False, ^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_csv.py", line 153, in _write_test writer = csv.writer(fileobj, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: bad "quoting" value ====================================================================== ERROR: test_write_quoting (test.test_csv.Test_Csv.test_write_quoting) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_csv.py", line 200, in test_write_quoting self._write_test(['a','',None,1], '"a","",,1', ^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_csv.py", line 153, in _write_test writer = csv.writer(fileobj, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: bad "quoting" value ====================================================================== ERROR: test_writer_arg_valid (test.test_csv.Test_Csv.test_writer_arg_valid) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_csv.py", line 69, in test_writer_arg_valid self._test_arg_valid(csv.writer, StringIO()) ^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_csv.py", line 32, in _test_arg_valid self.assertRaises(TypeError, ctor, None) ^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/case.py", line 778, in assertRaises return context.handle('assertRaises', args, kwargs) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/case.py", line 238, in handle callable_obj(*args, **kwargs) AttributeError: 'NoneType' object has no attribute 'write' ---------------------------------------------------------------------- Ran 126 tests in 0.085s FAILED (errors=4, skipped=6) 0:00:00 load avg: 0.98 [1/1/1] test_csv failed (4 errors) == Tests result: FAILURE == 1 test failed: test_csv Total duration: 164 ms Total tests: run=126 skipped=6 Total test files: run=1/1 failed=1 Result: FAILURE test test_csv failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748786æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1561448699 0:00:00 load avg: 0.98 Run 1 test sequentially in a single process 0:00:00 load avg: 0.98 [1/1] test_curses test_has_extended_color_support (test.test_curses.MiscTests.test_has_extended_color_support) ... ok test_ncurses_version (test.test_curses.MiscTests.test_ncurses_version) ... skipped 'requires curses.ncurses_version' test_update_lines_cols (test.test_curses.MiscTests.test_update_lines_cols) ... ok test_alt (test.test_curses.TestAscii.test_alt) ... ok test_ascii (test.test_curses.TestAscii.test_ascii) ... ok test_controlnames (test.test_curses.TestAscii.test_controlnames) ... ok test_ctrl (test.test_curses.TestAscii.test_ctrl) ... ok test_ctypes (test.test_curses.TestAscii.test_ctypes) ... ok test_unctrl (test.test_curses.TestAscii.test_unctrl) ... ok test_attributes (test.test_curses.TestCurses.test_attributes) ... ok test_background (test.test_curses.TestCurses.test_background) ... ok test_beep (test.test_curses.TestCurses.test_beep) ... ok test_borders_and_lines (test.test_curses.TestCurses.test_borders_and_lines) ... ok test_chgat (test.test_curses.TestCurses.test_chgat) ... ok test_clear (test.test_curses.TestCurses.test_clear) ... ok test_color_attrs (test.test_curses.TestCurses.test_color_attrs) ... ok test_color_content (test.test_curses.TestCurses.test_color_content) ... ok test_create_windows (test.test_curses.TestCurses.test_create_windows) ... ok test_curs_set (test.test_curses.TestCurses.test_curs_set) ... ok test_disallow_instantiation (test.test_curses.TestCurses.test_disallow_instantiation) ... skipped 'implementation detail specific to cpython' test_enclose (test.test_curses.TestCurses.test_enclose) ... ok test_encoding (test.test_curses.TestCurses.test_encoding) ... ok test_endwin (test.test_curses.TestCurses.test_endwin) ... test_env_queries (test.test_curses.TestCurses.test_env_queries) ... ok test_escdelay (test.test_curses.TestCurses.test_escdelay) ... skipped 'requires curses.get_escdelay' test_filter (test.test_curses.TestCurses.test_filter) ... ok test_flash (test.test_curses.TestCurses.test_flash) ... ok test_getch (test.test_curses.TestCurses.test_getch) ... ok test_getmouse (test.test_curses.TestCurses.test_getmouse) ... ok test_getstr (test.test_curses.TestCurses.test_getstr) ... ok test_getsyx (test.test_curses.TestCurses.test_getsyx) ... ok test_has_colors (test.test_curses.TestCurses.test_has_colors) ... ok test_has_key (test.test_curses.TestCurses.test_has_key) ... ok test_init_color (test.test_curses.TestCurses.test_init_color) ... test_init_pair (test.test_curses.TestCurses.test_init_pair) ... ok test_input_options (test.test_curses.TestCurses.test_input_options) ... ok test_insert_delete (test.test_curses.TestCurses.test_insert_delete) ... ok test_is_term_resized (test.test_curses.TestCurses.test_is_term_resized) ... ok test_issue13051 (test.test_curses.TestCurses.test_issue13051) ... ok test_issue21088 (test.test_curses.TestCurses.test_issue21088) ... test_issue6243 (test.test_curses.TestCurses.test_issue6243) ... ok test_keyname (test.test_curses.TestCurses.test_keyname) ... ok test_misc_module_funcs (test.test_curses.TestCurses.test_misc_module_funcs) ... ok test_move_cursor (test.test_curses.TestCurses.test_move_cursor) ... ok test_output_character (test.test_curses.TestCurses.test_output_character) ... test_output_options (test.test_curses.TestCurses.test_output_options) ... ok test_output_string (test.test_curses.TestCurses.test_output_string) ... ok test_output_string_embedded_null_chars (test.test_curses.TestCurses.test_output_string_embedded_null_chars) ... ok test_overlay (test.test_curses.TestCurses.test_overlay) ... ok test_pair_content (test.test_curses.TestCurses.test_pair_content) ... ok test_prog_mode (test.test_curses.TestCurses.test_prog_mode) ... test_putwin (test.test_curses.TestCurses.test_putwin) ... ok test_read_from_window (test.test_curses.TestCurses.test_read_from_window) ... ok test_refresh (test.test_curses.TestCurses.test_refresh) ... ok test_refresh_control (test.test_curses.TestCurses.test_refresh_control) ... ok test_resize (test.test_curses.TestCurses.test_resize) ... ok test_resize_term (test.test_curses.TestCurses.test_resize_term) ... TERM=xterm ==========================timedout========================== ========================= SIGSEGV ========================= _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748791æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1038725092 0:00:00 load avg: 0.98 Run 1 test sequentially in a single process 0:00:00 load avg: 0.98 [1/1] test_datetime 0:00:00 load avg: 0.98 [1/1/1] test_datetime failed (uncaught exception) == Tests result: FAILURE == 1 test failed: test_datetime Total duration: 113 ms Total tests: run=0 Total test files: run=1/1 failed=1 Result: FAILURE Failed to call load_tests: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/loader.py", line 113, in loadTestsFromModule return load_tests(self, tests, pattern) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_datetime.py", line 31, in load_tests for name, cls in module.__dict__.items(): ^^^^^^^^ AttributeError: 'NoneType' object has no attribute '__dict__'. Did you mean: '__dir__'? test test_datetime crashed -- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc _load_run_test(result, runtests) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 138, in _load_run_test regrtest_runner(result, test_func, runtests) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 91, in regrtest_runner test_result = test_func() ^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 135, in test_func return run_unittest(test_mod) ^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 35, in run_unittest raise Exception("errors while loading tests") Exception: errors while loading tests _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748853æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3799490051 0:00:00 load avg: 0.98 Run 1 test sequentially in a single process 0:00:00 load avg: 0.98 [1/1] test_deque test_add (test.test_deque.TestBasic.test_add) ... ok test_basics (test.test_deque.TestBasic.test_basics) ... ok test_big_queue_popleft (test.test_deque.TestBasic.test_big_queue_popleft) ... ok test_big_queue_popright (test.test_deque.TestBasic.test_big_queue_popright) ... ok test_big_stack_left (test.test_deque.TestBasic.test_big_stack_left) ... ok test_big_stack_right (test.test_deque.TestBasic.test_big_stack_right) ... ok test_clear (test.test_deque.TestBasic.test_clear) ... ok test_comparisons (test.test_deque.TestBasic.test_comparisons) ... ok test_container_iterator (test.test_deque.TestBasic.test_container_iterator) ... ok test_contains (test.test_deque.TestBasic.test_contains) ... ok test_contains_count_index_stop_crashes (test.test_deque.TestBasic.test_contains_count_index_stop_crashes) ... ok test_copy (test.test_deque.TestBasic.test_copy) ... ok test_copy_method (test.test_deque.TestBasic.test_copy_method) ... ok test_count (test.test_deque.TestBasic.test_count) ... ok test_deepcopy (test.test_deque.TestBasic.test_deepcopy) ... ok test_delitem (test.test_deque.TestBasic.test_delitem) ... ok test_extend (test.test_deque.TestBasic.test_extend) ... ok test_extendleft (test.test_deque.TestBasic.test_extendleft) ... ok test_gc_doesnt_blowup (test.test_deque.TestBasic.test_gc_doesnt_blowup) ... ok test_getitem (test.test_deque.TestBasic.test_getitem) ... ok test_hash (test.test_deque.TestBasic.test_hash) ... ok test_iadd (test.test_deque.TestBasic.test_iadd) ... ok test_imul (test.test_deque.TestBasic.test_imul) ... ok test_index (test.test_deque.TestBasic.test_index) ... ok test_index_bug_24913 (test.test_deque.TestBasic.test_index_bug_24913) ... ok test_init (test.test_deque.TestBasic.test_init) ... ok test_insert (test.test_deque.TestBasic.test_insert) ... ok test_insert_bug_26194 (test.test_deque.TestBasic.test_insert_bug_26194) ... ok test_iterator_pickle (test.test_deque.TestBasic.test_iterator_pickle) ... ok test_len (test.test_deque.TestBasic.test_len) ... ok test_long_steadystate_queue_popleft (test.test_deque.TestBasic.test_long_steadystate_queue_popleft) ... ok test_long_steadystate_queue_popright (test.test_deque.TestBasic.test_long_steadystate_queue_popright) ... ok test_maxlen (test.test_deque.TestBasic.test_maxlen) ... ok test_maxlen_attribute (test.test_deque.TestBasic.test_maxlen_attribute) ... ok test_maxlen_zero (test.test_deque.TestBasic.test_maxlen_zero) ... ok test_mul (test.test_deque.TestBasic.test_mul) ... ok test_pickle (test.test_deque.TestBasic.test_pickle) ... ok test_pickle_recursive (test.test_deque.TestBasic.test_pickle_recursive) ... ok test_remove (test.test_deque.TestBasic.test_remove) ... ERROR test_repr (test.test_deque.TestBasic.test_repr) ... ok test_reverse (test.test_deque.TestBasic.test_reverse) ... ok test_reversed (test.test_deque.TestBasic.test_reversed) ... ok test_reversed_new (test.test_deque.TestBasic.test_reversed_new) ... ok test_rotate (test.test_deque.TestBasic.test_rotate) ... ok test_roundtrip_iter_init (test.test_deque.TestBasic.test_roundtrip_iter_init) ... ok test_setitem (test.test_deque.TestBasic.test_setitem) ... ok test_sizeof (test.test_deque.TestBasic.test_sizeof) ... skipped 'implementation detail specific to cpython' test_underflow (test.test_deque.TestBasic.test_underflow) ... ok test_addmul (test.test_deque.TestSequence.test_addmul) ... ok test_bigrepeat (test.test_deque.TestSequence.test_bigrepeat) ... ok test_constructors (test.test_deque.TestSequence.test_constructors) ... ok test_contains (test.test_deque.TestSequence.test_contains) ... ok test_contains_fake (test.test_deque.TestSequence.test_contains_fake) ... ok test_contains_order (test.test_deque.TestSequence.test_contains_order) ... ok test_count (test.test_deque.TestSequence.test_count) ... ok test_free_after_iterating (test.test_deque.TestSequence.test_free_after_iterating) ... skipped "Exhausted deque iterator doesn't free a deque" test_getitem (test.test_deque.TestSequence.test_getitem) ... ok test_getitemoverwriteiter (test.test_deque.TestSequence.test_getitemoverwriteiter) ... ok test_getslice (test.test_deque.TestSequence.test_getslice) ... ok test_iadd (test.test_deque.TestSequence.test_iadd) ... ok test_imul (test.test_deque.TestSequence.test_imul) ... ok test_index (test.test_deque.TestSequence.test_index) ... ok test_len (test.test_deque.TestSequence.test_len) ... ok test_minmax (test.test_deque.TestSequence.test_minmax) ... ok test_pickle (test.test_deque.TestSequence.test_pickle) ... ok test_repeat (test.test_deque.TestSequence.test_repeat) ... ok test_subscript (test.test_deque.TestSequence.test_subscript) ... ok test_truth (test.test_deque.TestSequence.test_truth) ... ok test_basics (test.test_deque.TestSubclass.test_basics) ... ok test_bug_31608 (test.test_deque.TestSubclass.test_bug_31608) ... skipped 'implementation detail specific to cpython' test_copy_pickle (test.test_deque.TestSubclass.test_copy_pickle) ... ok test_pickle_recursive (test.test_deque.TestSubclass.test_pickle_recursive) ... ok test_strange_subclass (test.test_deque.TestSubclass.test_strange_subclass) ... ok test_weakref (test.test_deque.TestSubclass.test_weakref) ... ok test_subclass_with_kwargs (test.test_deque.TestSubclassWithKwargs.test_subclass_with_kwargs) ... ok test_constructor (test.test_deque.TestVariousIteratorArgs.test_constructor) ... ok test_iter_with_altered_data (test.test_deque.TestVariousIteratorArgs.test_iter_with_altered_data) ... ok test_runtime_error_on_empty_deque (test.test_deque.TestVariousIteratorArgs.test_runtime_error_on_empty_deque) ... ok libreftest (test.test_deque.__test__) Doctest: test.test_deque.__test__.libreftest ... ok ====================================================================== ERROR: test_remove (test.test_deque.TestBasic.test_remove) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_deque.py", line 527, in test_remove self.assertRaises(IndexError, d.remove, 'c') ^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/case.py", line 778, in assertRaises return context.handle('assertRaises', args, kwargs) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/case.py", line 238, in handle callable_obj(*args, **kwargs) RuntimeError: deque mutated during iteration ---------------------------------------------------------------------- Ran 79 tests in 1.259s FAILED (errors=1, skipped=3) 0:00:01 load avg: 0.98 [1/1/1] test_deque failed (1 error) == Tests result: FAILURE == 1 test failed: test_deque Total duration: 1.4 sec Total tests: run=79 skipped=3 Total test files: run=1/1 failed=1 Result: FAILURE test test_deque failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748858æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3101126294 0:00:00 load avg: 0.98 Run 1 test sequentially in a single process 0:00:00 load avg: 0.98 [1/1] test_descr test_pytype_long_ready (test.test_descr.AAAPTypesLongInitTest.test_pytype_long_ready) ... ok test_abstractmethods (test.test_descr.ClassPropertiesAndMethods.test_abstractmethods) ... ok test_altmro (test.test_descr.ClassPropertiesAndMethods.test_altmro) ... ok test_assign_slice (test.test_descr.ClassPropertiesAndMethods.test_assign_slice) ... ok test_attr_raise_through_property (test.test_descr.ClassPropertiesAndMethods.test_attr_raise_through_property) ... ok test_bad_new (test.test_descr.ClassPropertiesAndMethods.test_bad_new) ... unexpected success test_basic_inheritance (test.test_descr.ClassPropertiesAndMethods.test_basic_inheritance) ... ok test_binary_operator_override (test.test_descr.ClassPropertiesAndMethods.test_binary_operator_override) ... ok test_bound_method_repr (test.test_descr.ClassPropertiesAndMethods.test_bound_method_repr) ... ok test_bpo25750 (test.test_descr.ClassPropertiesAndMethods.test_bpo25750) ... ok test_buffer_inheritance (test.test_descr.ClassPropertiesAndMethods.test_buffer_inheritance) ... ok test_builtin_bases (test.test_descr.ClassPropertiesAndMethods.test_builtin_bases) ... ok test_builtin_function_or_method (test.test_descr.ClassPropertiesAndMethods.test_builtin_function_or_method) ... ok test_carloverre (test.test_descr.ClassPropertiesAndMethods.test_carloverre) ... ok test_carloverre_multi_inherit_invalid (test.test_descr.ClassPropertiesAndMethods.test_carloverre_multi_inherit_invalid) ... FAIL test_carloverre_multi_inherit_valid (test.test_descr.ClassPropertiesAndMethods.test_carloverre_multi_inherit_valid) ... ok test_classic (test.test_descr.ClassPropertiesAndMethods.test_classic) ... ok test_classic_comparisons (test.test_descr.ClassPropertiesAndMethods.test_classic_comparisons) ... ok test_classmethods (test.test_descr.ClassPropertiesAndMethods.test_classmethods) ... ok test_classmethods_in_c (test.test_descr.ClassPropertiesAndMethods.test_classmethods_in_c) ... skipped "the module 'xxsubtype' is internal" test_compattr (test.test_descr.ClassPropertiesAndMethods.test_compattr) ... ok test_consistency_with_epg (test.test_descr.ClassPropertiesAndMethods.test_consistency_with_epg) ... ok test_copy_setstate (test.test_descr.ClassPropertiesAndMethods.test_copy_setstate) ... ok test_cycle_through_dict (test.test_descr.ClassPropertiesAndMethods.test_cycle_through_dict) ... ok test_deepcopy_recursive (test.test_descr.ClassPropertiesAndMethods.test_deepcopy_recursive) ... ok test_delete_hook (test.test_descr.ClassPropertiesAndMethods.test_delete_hook) ... ok test_descrdoc (test.test_descr.ClassPropertiesAndMethods.test_descrdoc) ... ok test_diamond_inheritance (test.test_descr.ClassPropertiesAndMethods.test_diamond_inheritance) ... ok test_dict_constructors (test.test_descr.ClassPropertiesAndMethods.test_dict_constructors) ... ok test_dir (test.test_descr.ClassPropertiesAndMethods.test_dir) ... ok test_doc_descriptor (test.test_descr.ClassPropertiesAndMethods.test_doc_descriptor) ... ok test_dynamics (test.test_descr.ClassPropertiesAndMethods.test_dynamics) ... ok test_errors (test.test_descr.ClassPropertiesAndMethods.test_errors) ... ok test_evil_type_name (test.test_descr.ClassPropertiesAndMethods.test_evil_type_name) ... ok test_ex5_from_c3_switch (test.test_descr.ClassPropertiesAndMethods.test_ex5_from_c3_switch) ... ok test_file_fault (test.test_descr.ClassPropertiesAndMethods.test_file_fault) ... ok test_funny_new (test.test_descr.ClassPropertiesAndMethods.test_funny_new) ... ok test_getattr_hooks (test.test_descr.ClassPropertiesAndMethods.test_getattr_hooks) ... ok test_hash_inheritance (test.test_descr.ClassPropertiesAndMethods.test_hash_inheritance) ... ok test_imul_bug (test.test_descr.ClassPropertiesAndMethods.test_imul_bug) ... ok test_init (test.test_descr.ClassPropertiesAndMethods.test_init) ... ok test_ipow (test.test_descr.ClassPropertiesAndMethods.test_ipow) ... ok test_ipow_exception_text (test.test_descr.ClassPropertiesAndMethods.test_ipow_exception_text) ... ok test_ipow_returns_not_implemented (test.test_descr.ClassPropertiesAndMethods.test_ipow_returns_not_implemented) ... ok test_isinst_isclass (test.test_descr.ClassPropertiesAndMethods.test_isinst_isclass) ... ok test_keyword_arguments (test.test_descr.ClassPropertiesAndMethods.test_keyword_arguments) ... ok test_keywords (test.test_descr.ClassPropertiesAndMethods.test_keywords) ... ok test_load_attr_extended_arg (test.test_descr.ClassPropertiesAndMethods.test_load_attr_extended_arg) ... ok test_metaclass (test.test_descr.ClassPropertiesAndMethods.test_metaclass) ... ok test_meth_class_get (test.test_descr.ClassPropertiesAndMethods.test_meth_class_get) ... skipped 'testing an internal kind of method object' test_method_wrapper (test.test_descr.ClassPropertiesAndMethods.test_method_wrapper) ... ok test_methods (test.test_descr.ClassPropertiesAndMethods.test_methods) ... ok test_methods_in_c (test.test_descr.ClassPropertiesAndMethods.test_methods_in_c) ... skipped 'testing error message from implementation' test_mixing_slot_wrappers (test.test_descr.ClassPropertiesAndMethods.test_mixing_slot_wrappers) ... ok test_module_subclasses (test.test_descr.ClassPropertiesAndMethods.test_module_subclasses) ... ok test_monotonicity (test.test_descr.ClassPropertiesAndMethods.test_monotonicity) ... ok test_mro_disagreement (test.test_descr.ClassPropertiesAndMethods.test_mro_disagreement) ... ok test_multiple_inheritance (test.test_descr.ClassPropertiesAndMethods.test_multiple_inheritance) ... ok test_mutable_bases (test.test_descr.ClassPropertiesAndMethods.test_mutable_bases) ... ok test_mutable_bases_catch_mro_conflict (test.test_descr.ClassPropertiesAndMethods.test_mutable_bases_catch_mro_conflict) ... ok test_mutable_bases_with_failing_mro (test.test_descr.ClassPropertiesAndMethods.test_mutable_bases_with_failing_mro) ... ok test_mutable_names (test.test_descr.ClassPropertiesAndMethods.test_mutable_names) ... ok test_newslots (test.test_descr.ClassPropertiesAndMethods.test_newslots) ... ok test_no_ipow (test.test_descr.ClassPropertiesAndMethods.test_no_ipow) ... ok test_not_implemented (test.test_descr.ClassPropertiesAndMethods.test_not_implemented) ... ok test_object_class (test.test_descr.ClassPropertiesAndMethods.test_object_class) ... ok test_object_class_assignment_between_heaptypes_and_nonheaptypes (test.test_descr.ClassPropertiesAndMethods.test_object_class_assignment_between_heaptypes_and_nonheaptypes) ... ok test_object_new (test.test_descr.ClassPropertiesAndMethods.test_object_new) ... ok test_object_new_and_init_with_parameters (test.test_descr.ClassPropertiesAndMethods.test_object_new_and_init_with_parameters) ... ok test_overloading (test.test_descr.ClassPropertiesAndMethods.test_overloading) ... ok test_properties (test.test_descr.ClassPropertiesAndMethods.test_properties) ... ok test_properties_doc_attrib (test.test_descr.ClassPropertiesAndMethods.test_properties_doc_attrib) ... ok test_properties_plus (test.test_descr.ClassPropertiesAndMethods.test_properties_plus) ... ok test_proxy_call (test.test_descr.ClassPropertiesAndMethods.test_proxy_call) ... ok test_proxy_super (test.test_descr.ClassPropertiesAndMethods.test_proxy_super) ... ok test_python_dicts (test.test_descr.ClassPropertiesAndMethods.test_python_dicts) ... ok test_python_lists (test.test_descr.ClassPropertiesAndMethods.test_python_lists) ... ok test_qualname (test.test_descr.ClassPropertiesAndMethods.test_qualname) ... FAIL test_qualname_dict (test.test_descr.ClassPropertiesAndMethods.test_qualname_dict) ... ok test_recursive_call (test.test_descr.ClassPropertiesAndMethods.test_recursive_call) ... ok test_refleaks_in_classmethod___init__ (test.test_descr.ClassPropertiesAndMethods.test_refleaks_in_classmethod___init__) ... skipped 'implementation detail specific to cpython' test_refleaks_in_staticmethod___init__ (test.test_descr.ClassPropertiesAndMethods.test_refleaks_in_staticmethod___init__) ... skipped 'implementation detail specific to cpython' test_remove_subclass (test.test_descr.ClassPropertiesAndMethods.test_remove_subclass) ... ok test_repr_as_str (test.test_descr.ClassPropertiesAndMethods.test_repr_as_str) ... ok test_repr_with_module_str_subclass (test.test_descr.ClassPropertiesAndMethods.test_repr_with_module_str_subclass) ... ok test_restored_object_new (test.test_descr.ClassPropertiesAndMethods.test_restored_object_new) ... unexpected success test_rich_comparisons (test.test_descr.ClassPropertiesAndMethods.test_rich_comparisons) ... ok test_rmul (test.test_descr.ClassPropertiesAndMethods.test_rmul) ... ok test_set_and_no_get (test.test_descr.ClassPropertiesAndMethods.test_set_and_no_get) ... ok test_set_class (test.test_descr.ClassPropertiesAndMethods.test_set_class) ... ok test_set_dict (test.test_descr.ClassPropertiesAndMethods.test_set_dict) ... FAIL test_set_doc (test.test_descr.ClassPropertiesAndMethods.test_set_doc) ... ERROR test_slices (test.test_descr.ClassPropertiesAndMethods.test_slices) ... ok test_slot_shadows_class_variable (test.test_descr.ClassPropertiesAndMethods.test_slot_shadows_class_variable) ... ok test_slots (test.test_descr.ClassPropertiesAndMethods.test_slots) ... FAIL test_slots_descriptor (test.test_descr.ClassPropertiesAndMethods.test_slots_descriptor) ... ok test_slots_multiple_inheritance (test.test_descr.ClassPropertiesAndMethods.test_slots_multiple_inheritance) ... ok test_slots_special (test.test_descr.ClassPropertiesAndMethods.test_slots_special) ... ok test_slots_special2 (test.test_descr.ClassPropertiesAndMethods.test_slots_special2) ... FAIL test_slots_trash (test.test_descr.ClassPropertiesAndMethods.test_slots_trash) ... ok test_special_method_lookup (test.test_descr.ClassPropertiesAndMethods.test_special_method_lookup) ... ERROR test_special_unbound_method_types (test.test_descr.ClassPropertiesAndMethods.test_special_unbound_method_types) ... ok test_specialized_method_calls_check_types (test.test_descr.ClassPropertiesAndMethods.test_specialized_method_calls_check_types) ... ok test_specials (test.test_descr.ClassPropertiesAndMethods.test_specials) ... ok test_staticmethods (test.test_descr.ClassPropertiesAndMethods.test_staticmethods) ... ok test_staticmethods_in_c (test.test_descr.ClassPropertiesAndMethods.test_staticmethods_in_c) ... skipped "the module 'xxsubtype' is internal" test_str_of_str_subclass (test.test_descr.ClassPropertiesAndMethods.test_str_of_str_subclass) ... ok test_str_operations (test.test_descr.ClassPropertiesAndMethods.test_str_operations) ... ok test_str_subclass_as_dict_key (test.test_descr.ClassPropertiesAndMethods.test_str_subclass_as_dict_key) ... ok test_subclass_propagation (test.test_descr.ClassPropertiesAndMethods.test_subclass_propagation) ... ok test_subclass_right_op (test.test_descr.ClassPropertiesAndMethods.test_subclass_right_op) ... ok test_subclassing_does_not_duplicate_dict_descriptors (test.test_descr.ClassPropertiesAndMethods.test_subclassing_does_not_duplicate_dict_descriptors) ... ok test_subtype_resurrection (test.test_descr.ClassPropertiesAndMethods.test_subtype_resurrection) ... ok test_supers (test.test_descr.ClassPropertiesAndMethods.test_supers) ... ok test_testcapi_no_segfault (test.test_descr.ClassPropertiesAndMethods.test_testcapi_no_segfault) ... skipped 'implementation detail specific to cpython' test_type___getattribute__ (test.test_descr.ClassPropertiesAndMethods.test_type___getattribute__) ... ok test_uninitialized_modules (test.test_descr.ClassPropertiesAndMethods.test_uninitialized_modules) ... ok test_unsubclassable_types (test.test_descr.ClassPropertiesAndMethods.test_unsubclassable_types) ... ok test_vicious_descriptor_nonsense (test.test_descr.ClassPropertiesAndMethods.test_vicious_descriptor_nonsense) ... ok test_weakref_segfault (test.test_descr.ClassPropertiesAndMethods.test_weakref_segfault) ... ok test_weakrefs (test.test_descr.ClassPropertiesAndMethods.test_weakrefs) ... FAIL test_wrapper_segfault (test.test_descr.ClassPropertiesAndMethods.test_wrapper_segfault) ... skipped "resource 'cpu' is not enabled" test_wrong_class_slot_wrapper (test.test_descr.ClassPropertiesAndMethods.test_wrong_class_slot_wrapper) ... ok test_dict_type_with_metaclass (test.test_descr.DictProxyTests.test_dict_type_with_metaclass) ... ok test_iter_items (test.test_descr.DictProxyTests.test_iter_items) ... ok test_iter_keys (test.test_descr.DictProxyTests.test_iter_keys) ... ok test_iter_values (test.test_descr.DictProxyTests.test_iter_values) ... ok test_repr (test.test_descr.DictProxyTests.test_repr) ... ok test_type_lookup_mro_reference (test.test_descr.MiscTests.test_type_lookup_mro_reference) ... ERROR test_disappearing_custom_mro (test.test_descr.MroTest.test_disappearing_custom_mro) gh-92112: A custom mro() returning a result conflicting with ... ok test_incomplete_extend (test.test_descr.MroTest.test_incomplete_extend) Extending an uninitialized type with type->tp_mro == NULL must ... ok test_incomplete_set_bases_on_self (test.test_descr.MroTest.test_incomplete_set_bases_on_self) type_set_bases must be aware that type->tp_mro can be NULL. ... ok test_incomplete_super (test.test_descr.MroTest.test_incomplete_super) Attribute lookup on a super object must be aware that ... ok test_reent_set_bases_on_base (test.test_descr.MroTest.test_reent_set_bases_on_base) Deep reentrancy must not over-decref old_mro. ... ok test_reent_set_bases_on_direct_base (test.test_descr.MroTest.test_reent_set_bases_on_direct_base) Similar to test_reent_set_bases_on_base, but may crash differently. ... ok test_reent_set_bases_tp_base_cycle (test.test_descr.MroTest.test_reent_set_bases_tp_base_cycle) type_set_bases must check for an inheritance cycle not only through ... ok test_tp_subclasses_cycle_error_return_path (test.test_descr.MroTest.test_tp_subclasses_cycle_error_return_path) The same as test_tp_subclasses_cycle_in_update_slots, but tests ... ok test_tp_subclasses_cycle_in_update_slots (test.test_descr.MroTest.test_tp_subclasses_cycle_in_update_slots) type_set_bases must check for reentrancy upon finishing its job ... ok test_complexes (test.test_descr.OperatorsTest.test_complexes) ... ok test_dicts (test.test_descr.OperatorsTest.test_dicts) ... ok test_explicit_reverse_methods (test.test_descr.OperatorsTest.test_explicit_reverse_methods) ... ok test_floats (test.test_descr.OperatorsTest.test_floats) ... ok test_ints (test.test_descr.OperatorsTest.test_ints) ... ok test_lists (test.test_descr.OperatorsTest.test_lists) ... ok test_spam_dicts (test.test_descr.OperatorsTest.test_spam_dicts) ... skipped "the module 'xxsubtype' is internal" test_spam_lists (test.test_descr.OperatorsTest.test_spam_lists) ... skipped "the module 'xxsubtype' is internal" test_wrap_lenfunc_bad_cast (test.test_descr.OperatorsTest.test_wrap_lenfunc_bad_cast) ... ok test_issue24097 (test.test_descr.PicklingTests.test_issue24097) ... ok test_object_reduce (test.test_descr.PicklingTests.test_object_reduce) ... ok test_pickle_slots (test.test_descr.PicklingTests.test_pickle_slots) ... ok test_reduce (test.test_descr.PicklingTests.test_reduce) ... ok test_reduce_copying (test.test_descr.PicklingTests.test_reduce_copying) ... ok test_special_method_lookup (test.test_descr.PicklingTests.test_special_method_lookup) ... ok test_subclasses (test.test_descr.SharedKeyTests.test_subclasses) ... skipped 'implementation detail specific to cpython' ====================================================================== ERROR: test_set_doc (test.test_descr.ClassPropertiesAndMethods.test_set_doc) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_descr.py", line 4836, in test_set_doc type(X).__dict__["__doc__"].__delete__(X) ^^^^^^^^^^ AttributeError: cannot delete '__doc__' attribute of immutable type 'X' ====================================================================== ERROR: test_special_method_lookup (test.test_descr.ClassPropertiesAndMethods.test_special_method_lookup) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_descr.py", line 2123, in test_special_method_lookup runner(X()) TypeError: getsizeof(...) getsizeof(object, default) -> int Return the size of object in bytes. sys.getsizeof(object, default) will always return default on PyPy, and raise a TypeError if default is not provided. First note that the CPython documentation says that this function may raise a TypeError, so if you are seeing it, it means that the program you are using is not correctly handling this case. On PyPy, though, it always raises TypeError. Before looking for alternatives, please take a moment to read the following explanation as to why it is the case. What you are looking for may not be possible. A memory profiler using this function is most likely to give results inconsistent with reality on PyPy. It would be possible to have sys.getsizeof() return a number (with enough work), but that may or may not represent how much memory the object uses. It doesn't even make really sense to ask how much *one* object uses, in isolation with the rest of the system. For example, instances have maps, which are often shared across many instances; in this case the maps would probably be ignored by an implementation of sys.getsizeof(), but their overhead is important in some cases if they are many instances with unique maps. Conversely, equal strings may share their internal string data even if they are different objects---or empty containers may share parts of their internals as long as they are empty. Even stranger, some lists create objects as you read them; if you try to estimate the size in memory of range(10**6) as the sum of all items' size, that operation will by itself create one million integer objects that never existed in the first place. ====================================================================== ERROR: test_type_lookup_mro_reference (test.test_descr.MiscTests.test_type_lookup_mro_reference) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_descr.py", line 5145, in test_type_lookup_mro_reference X = type('X', (Base,), {MyKey(): 5}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: expected str, got MyKey object ====================================================================== FAIL: test_carloverre_multi_inherit_invalid (test.test_descr.ClassPropertiesAndMethods.test_carloverre_multi_inherit_invalid) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_descr.py", line 4436, in test_carloverre_multi_inherit_invalid self.fail("setattr through indirect base types should be rejected") ^^^^ AssertionError: setattr through indirect base types should be rejected ====================================================================== FAIL: test_qualname (test.test_descr.ClassPropertiesAndMethods.test_qualname) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_descr.py", line 4846, in test_qualname self.assertEqual(type(d).__name__, n + '_descriptor') ^^^^^^^^^^^ AssertionError: 'function' != 'method_descriptor' - function + method_descriptor ====================================================================== FAIL: test_set_dict (test.test_descr.ClassPropertiesAndMethods.test_set_dict) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_descr.py", line 3411, in test_set_dict self.fail("%r's __dict__ can be modified" % cls) ^^^^ AssertionError: <class 'test.test_descr.ClassPropertiesAndMethods.test_set_dict.<locals>.E'>'s __dict__ can be modified ====================================================================== FAIL: test_slots (test.test_descr.ClassPropertiesAndMethods.test_slots) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_descr.py", line 1287, in test_slots self.assertEqual(orig_objects, new_objects) ^^^^^^^^^^^ AssertionError: 63843 != 63845 ====================================================================== FAIL: test_slots_special2 (test.test_descr.ClassPropertiesAndMethods.test_slots_special2) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_descr.py", line 1374, in test_slots_special2 self.assertIsInstance(C2.__dict__["__classcell__"], ^^^^^^^^^^^^^^^^ AssertionError: <member_descriptor object at 0x00007fd0c93800e0> is not an instance of <class 'getset_descriptor'> ====================================================================== FAIL: test_weakrefs (test.test_descr.ClassPropertiesAndMethods.test_weakrefs) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_descr.py", line 2259, in test_weakrefs self.fail("weakref.ref(no) should be illegal") ^^^^ AssertionError: weakref.ref(no) should be illegal ====================================================================== UNEXPECTED SUCCESS: test_bad_new (test.test_descr.ClassPropertiesAndMethods.test_bad_new) UNEXPECTED SUCCESS: test_restored_object_new (test.test_descr.ClassPropertiesAndMethods.test_restored_object_new) ---------------------------------------------------------------------- Ran 154 tests in 0.597s FAILED (failures=6, errors=3, skipped=11, unexpected successes=2) 0:00:00 load avg: 0.98 [1/1/1] test_descr failed (3 errors, 6 failures) == Tests result: FAILURE == 1 test failed: test_descr Total duration: 751 ms Total tests: run=154 failures=6 skipped=11 Total test files: run=1/1 failed=1 Result: FAILURE test test_descr failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748863æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 4209000485 0:00:00 load avg: 0.98 Run 1 test sequentially in a single process 0:00:00 load avg: 0.98 [1/1] test_descrtut tut1 (test.test_descrtut.__test__) Doctest: test.test_descrtut.__test__.tut1 ... ok tut2 (test.test_descrtut.__test__) Doctest: test.test_descrtut.__test__.tut2 ... ok tut3 (test.test_descrtut.__test__) Doctest: test.test_descrtut.__test__.tut3 ... FAIL tut4 (test.test_descrtut.__test__) Doctest: test.test_descrtut.__test__.tut4 ... ok tut5 (test.test_descrtut.__test__) Doctest: test.test_descrtut.__test__.tut5 ... ok tut6 (test.test_descrtut.__test__) Doctest: test.test_descrtut.__test__.tut6 ... ok tut7 (test.test_descrtut.__test__) Doctest: test.test_descrtut.__test__.tut7 ... ok tut8 (test.test_descrtut.__test__) Doctest: test.test_descrtut.__test__.tut8 ... ok ====================================================================== FAIL: tut3 (test.test_descrtut.__test__) Doctest: test.test_descrtut.__test__.tut3 ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 2256, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for test.test_descrtut.__test__.tut3 File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_descrtut.py", line unknown line number, in tut3 ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_descrtut.py", line ?, in test.test_descrtut.__test__.tut3 Failed example: pprint.pprint(dir(list)) # like list.__dict__.keys(), but sorted Expected: ['__add__', '__class__', '__class_getitem__', '__contains__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__getstate__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'append', 'clear', 'copy', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort'] Got: ['__add__', '__class__', '__class_getitem__', '__contains__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__getstate__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__', '__str__', '__subclasshook__', 'append', 'clear', 'copy', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort'] ---------------------------------------------------------------------- Ran 8 tests in 0.036s FAILED (failures=1) 0:00:00 load avg: 0.98 [1/1/1] test_descrtut failed (1 failure) == Tests result: FAILURE == 1 test failed: test_descrtut Total duration: 134 ms Total tests: run=8 failures=1 Total test files: run=1/1 failed=1 Result: FAILURE test test_descrtut failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748873æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3404985658 0:00:00 load avg: 0.98 Run 1 test sequentially in a single process 0:00:00 load avg: 0.98 [1/1] test_dict test_getitem_knownhash (test.test_dict.CAPITest.test_getitem_knownhash) ... skipped 'implementation detail specific to cpython' test_bad_key (test.test_dict.DictTest.test_bad_key) ... ok test_bool (test.test_dict.DictTest.test_bool) ... ok test_clear (test.test_dict.DictTest.test_clear) ... ok test_constructor (test.test_dict.DictTest.test_constructor) ... ok test_container_iterator (test.test_dict.DictTest.test_container_iterator) ... ok test_contains (test.test_dict.DictTest.test_contains) ... ok test_copy (test.test_dict.DictTest.test_copy) ... ok test_copy_fuzz (test.test_dict.DictTest.test_copy_fuzz) ... ok test_copy_maintains_tracking (test.test_dict.DictTest.test_copy_maintains_tracking) ... ERROR test_copy_noncompact (test.test_dict.DictTest.test_copy_noncompact) ... ok test_dict_contain_use_after_free (test.test_dict.DictTest.test_dict_contain_use_after_free) ... ok test_dict_copy_order (test.test_dict.DictTest.test_dict_copy_order) ... ok test_dict_items_result_gc (test.test_dict.DictTest.test_dict_items_result_gc) ... skipped 'implementation detail specific to cpython' test_dict_items_result_gc_reversed (test.test_dict.DictTest.test_dict_items_result_gc_reversed) ... skipped 'implementation detail specific to cpython' test_dictitems_contains_use_after_free (test.test_dict.DictTest.test_dictitems_contains_use_after_free) ... ok test_dictview_mixed_set_operations (test.test_dict.DictTest.test_dictview_mixed_set_operations) ... ok test_dictview_set_operations_on_items (test.test_dict.DictTest.test_dictview_set_operations_on_items) ... ok test_dictview_set_operations_on_keys (test.test_dict.DictTest.test_dictview_set_operations_on_keys) ... ok test_empty_presized_dict_in_freelist (test.test_dict.DictTest.test_empty_presized_dict_in_freelist) ... ok test_eq (test.test_dict.DictTest.test_eq) ... ok test_equal_operator_modifying_operand (test.test_dict.DictTest.test_equal_operator_modifying_operand) ... ERROR test_errors_in_view_containment_check (test.test_dict.DictTest.test_errors_in_view_containment_check) ... ok test_free_after_iterating (test.test_dict.DictTest.test_free_after_iterating) ... ok test_fromkeys (test.test_dict.DictTest.test_fromkeys) ... ok test_fromkeys_operator_modifying_dict_operand (test.test_dict.DictTest.test_fromkeys_operator_modifying_dict_operand) ... ok test_fromkeys_operator_modifying_set_operand (test.test_dict.DictTest.test_fromkeys_operator_modifying_set_operand) ... ok test_get (test.test_dict.DictTest.test_get) ... ok test_getitem (test.test_dict.DictTest.test_getitem) ... ok test_init_use_after_free (test.test_dict.DictTest.test_init_use_after_free) ... ok test_instance_dict_getattr_str_subclass (test.test_dict.DictTest.test_instance_dict_getattr_str_subclass) ... ok test_invalid_keyword_arguments (test.test_dict.DictTest.test_invalid_keyword_arguments) ... ok test_itemiterator_pickling (test.test_dict.DictTest.test_itemiterator_pickling) ... ok test_items (test.test_dict.DictTest.test_items) ... ok test_items_symmetric_difference (test.test_dict.DictTest.test_items_symmetric_difference) ... ok test_iterator_pickling (test.test_dict.DictTest.test_iterator_pickling) ... ok test_keys (test.test_dict.DictTest.test_keys) ... ok test_keys_contained (test.test_dict.DictTest.test_keys_contained) ... ok test_len (test.test_dict.DictTest.test_len) ... ok test_literal_constructor (test.test_dict.DictTest.test_literal_constructor) ... ok test_merge_and_mutate (test.test_dict.DictTest.test_merge_and_mutate) ... FAIL test_merge_operator (test.test_dict.DictTest.test_merge_operator) ... ok test_missing (test.test_dict.DictTest.test_missing) ... ok test_mutating_iteration (test.test_dict.DictTest.test_mutating_iteration) ... ok test_mutating_iteration_delete (test.test_dict.DictTest.test_mutating_iteration_delete) ... FAIL test_mutating_iteration_delete_over_items (test.test_dict.DictTest.test_mutating_iteration_delete_over_items) ... FAIL test_mutating_iteration_delete_over_values (test.test_dict.DictTest.test_mutating_iteration_delete_over_values) ... FAIL test_mutating_lookup (test.test_dict.DictTest.test_mutating_lookup) ... ok test_object_set_item_single_instance_non_str_key (test.test_dict.DictTest.test_object_set_item_single_instance_non_str_key) ... ok test_oob_indexing_dictiter_iternextitem (test.test_dict.DictTest.test_oob_indexing_dictiter_iternextitem) ... FAIL test_pop (test.test_dict.DictTest.test_pop) ... ok test_popitem (test.test_dict.DictTest.test_popitem) ... ok test_reentrant_insertion (test.test_dict.DictTest.test_reentrant_insertion) ... ok test_repr (test.test_dict.DictTest.test_repr) ... ok test_repr_deep (test.test_dict.DictTest.test_repr_deep) ... ok test_resize1 (test.test_dict.DictTest.test_resize1) ... ok test_resize2 (test.test_dict.DictTest.test_resize2) ... ok test_reverse_iterator_for_empty_dict (test.test_dict.DictTest.test_reverse_iterator_for_empty_dict) ... ok test_reverse_iterator_for_shared_shared_dicts (test.test_dict.DictTest.test_reverse_iterator_for_shared_shared_dicts) ... ok test_reversed (test.test_dict.DictTest.test_reversed) ... ok test_reverseitemiterator_pickling (test.test_dict.DictTest.test_reverseitemiterator_pickling) ... ok test_reverseiterator_pickling (test.test_dict.DictTest.test_reverseiterator_pickling) ... ok test_reversevaluesiterator_pickling (test.test_dict.DictTest.test_reversevaluesiterator_pickling) ... ok test_setdefault (test.test_dict.DictTest.test_setdefault) ... ok test_setdefault_atomic (test.test_dict.DictTest.test_setdefault_atomic) ... ok test_setitem_atomic_at_resize (test.test_dict.DictTest.test_setitem_atomic_at_resize) ... ok test_splittable_del (test.test_dict.DictTest.test_splittable_del) split table must be combined when del d[k] ... skipped 'implementation detail specific to cpython' test_splittable_pop (test.test_dict.DictTest.test_splittable_pop) ... skipped 'implementation detail specific to cpython' test_splittable_pop_pending (test.test_dict.DictTest.test_splittable_pop_pending) pop a pending key in a split table should not crash ... skipped 'implementation detail specific to cpython' test_splittable_popitem (test.test_dict.DictTest.test_splittable_popitem) split table must be combined when d.popitem() ... skipped 'implementation detail specific to cpython' test_splittable_setdefault (test.test_dict.DictTest.test_splittable_setdefault) split table must keep correct insertion ... skipped 'implementation detail specific to cpython' test_splittable_to_generic_combinedtable (test.test_dict.DictTest.test_splittable_to_generic_combinedtable) split table must be correctly resized and converted to generic combined table ... skipped 'implementation detail specific to cpython' test_splittable_update (test.test_dict.DictTest.test_splittable_update) dict.update(other) must preserve order in other. ... skipped 'implementation detail specific to cpython' test_store_evilattr (test.test_dict.DictTest.test_store_evilattr) ... ok test_str_nonstr (test.test_dict.DictTest.test_str_nonstr) ... ok test_string_keys_can_track_values (test.test_dict.DictTest.test_string_keys_can_track_values) ... ok test_track_dynamic (test.test_dict.DictTest.test_track_dynamic) ... skipped 'implementation detail specific to cpython' test_track_literals (test.test_dict.DictTest.test_track_literals) ... skipped 'implementation detail specific to cpython' test_track_subtypes (test.test_dict.DictTest.test_track_subtypes) ... skipped 'implementation detail specific to cpython' test_tuple_keyerror (test.test_dict.DictTest.test_tuple_keyerror) ... ok test_update (test.test_dict.DictTest.test_update) ... ok test_values (test.test_dict.DictTest.test_values) ... ok test_valuesiterator_pickling (test.test_dict.DictTest.test_valuesiterator_pickling) ... ok test_views_mapping (test.test_dict.DictTest.test_views_mapping) ... ok test_bool (test.test_dict.GeneralMappingTests.test_bool) ... ok test_constructor (test.test_dict.GeneralMappingTests.test_constructor) ... ok test_get (test.test_dict.GeneralMappingTests.test_get) ... ok test_getitem (test.test_dict.GeneralMappingTests.test_getitem) ... ok test_items (test.test_dict.GeneralMappingTests.test_items) ... ok test_keys (test.test_dict.GeneralMappingTests.test_keys) ... ok test_len (test.test_dict.GeneralMappingTests.test_len) ... ok test_pop (test.test_dict.GeneralMappingTests.test_pop) ... ok test_popitem (test.test_dict.GeneralMappingTests.test_popitem) ... ok test_read (test.test_dict.GeneralMappingTests.test_read) ... ok test_setdefault (test.test_dict.GeneralMappingTests.test_setdefault) ... ok test_update (test.test_dict.GeneralMappingTests.test_update) ... ok test_values (test.test_dict.GeneralMappingTests.test_values) ... ok test_write (test.test_dict.GeneralMappingTests.test_write) ... ok test_bool (test.test_dict.SubclassMappingTests.test_bool) ... ok test_constructor (test.test_dict.SubclassMappingTests.test_constructor) ... ok test_get (test.test_dict.SubclassMappingTests.test_get) ... ok test_getitem (test.test_dict.SubclassMappingTests.test_getitem) ... ok test_items (test.test_dict.SubclassMappingTests.test_items) ... ok test_keys (test.test_dict.SubclassMappingTests.test_keys) ... ok test_len (test.test_dict.SubclassMappingTests.test_len) ... ok test_pop (test.test_dict.SubclassMappingTests.test_pop) ... ok test_popitem (test.test_dict.SubclassMappingTests.test_popitem) ... ok test_read (test.test_dict.SubclassMappingTests.test_read) ... ok test_setdefault (test.test_dict.SubclassMappingTests.test_setdefault) ... ok test_update (test.test_dict.SubclassMappingTests.test_update) ... ok test_values (test.test_dict.SubclassMappingTests.test_values) ... ok test_write (test.test_dict.SubclassMappingTests.test_write) ... ok ====================================================================== ERROR: test_copy_maintains_tracking (test.test_dict.DictTest.test_copy_maintains_tracking) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_dict.py", line 363, in test_copy_maintains_tracking self.assertEqual(gc.is_tracked(d), gc.is_tracked(d2)) ^^^^^^^^^^ AttributeError: module 'gc' has no attribute 'is_tracked' ====================================================================== ERROR: test_equal_operator_modifying_operand (test.test_dict.DictTest.test_equal_operator_modifying_operand) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_dict.py", line 1305, in test_equal_operator_modifying_operand self.assertTrue(dict_a == dict_b) ^^^^^^^^^^^^^^^^ RuntimeError: dictionary changed size during iteration ====================================================================== FAIL: test_merge_and_mutate (test.test_dict.DictTest.test_merge_and_mutate) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_dict.py", line 1282, in test_merge_and_mutate self.assertRaises(RuntimeError, d.update, other) ^^^^^^^^^^^^ AssertionError: RuntimeError not raised by update ====================================================================== FAIL: test_mutating_iteration_delete (test.test_dict.DictTest.test_mutating_iteration_delete) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_dict.py", line 530, in test_mutating_iteration_delete with self.assertRaises(RuntimeError): AssertionError: RuntimeError not raised ====================================================================== FAIL: test_mutating_iteration_delete_over_items (test.test_dict.DictTest.test_mutating_iteration_delete_over_items) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_dict.py", line 548, in test_mutating_iteration_delete_over_items with self.assertRaises(RuntimeError): AssertionError: RuntimeError not raised ====================================================================== FAIL: test_mutating_iteration_delete_over_values (test.test_dict.DictTest.test_mutating_iteration_delete_over_values) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_dict.py", line 539, in test_mutating_iteration_delete_over_values with self.assertRaises(RuntimeError): AssertionError: RuntimeError not raised ====================================================================== FAIL: test_oob_indexing_dictiter_iternextitem (test.test_dict.DictTest.test_oob_indexing_dictiter_iternextitem) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_dict.py", line 1396, in test_oob_indexing_dictiter_iternextitem self.assertRaises(RuntimeError, iter_and_mutate) ^^^^^^^^^^^^ AssertionError: RuntimeError not raised by iter_and_mutate ---------------------------------------------------------------------- Ran 112 tests in 0.206s FAILED (failures=5, errors=2, skipped=13) 0:00:00 load avg: 0.98 [1/1/1] test_dict failed (2 errors, 5 failures) == Tests result: FAILURE == 1 test failed: test_dict Total duration: 358 ms Total tests: run=112 failures=5 skipped=13 Total test files: run=1/1 failed=1 Result: FAILURE test test_dict failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748878æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1157321759 0:00:00 load avg: 0.98 Run 1 test sequentially in a single process 0:00:00 load avg: 0.98 [1/1] test_dictcomps test_assignment_idiom_in_comprehensions (test.test_dictcomps.DictComprehensionTest.test_assignment_idiom_in_comprehensions) ... ok test_basics (test.test_dictcomps.DictComprehensionTest.test_basics) ... ok test_evaluation_order (test.test_dictcomps.DictComprehensionTest.test_evaluation_order) ... ok test_exception_locations (test.test_dictcomps.DictComprehensionTest.test_exception_locations) ... test_exception_locations (test.test_dictcomps.DictComprehensionTest.test_exception_locations) [<function DictComprehensionTest.test_exception_locations.<locals>.next_raises at 0x00007fde87a853a8>] ... FAIL test_exception_locations (test.test_dictcomps.DictComprehensionTest.test_exception_locations) [<function DictComprehensionTest.test_exception_locations.<locals>.iter_raises at 0x00007fde87a85470>] ... FAIL test_global_visibility (test.test_dictcomps.DictComprehensionTest.test_global_visibility) ... ok test_illegal_assignment (test.test_dictcomps.DictComprehensionTest.test_illegal_assignment) ... ok test_local_visibility (test.test_dictcomps.DictComprehensionTest.test_local_visibility) ... ok test_scope_isolation (test.test_dictcomps.DictComprehensionTest.test_scope_isolation) ... ok test_scope_isolation_from_global (test.test_dictcomps.DictComprehensionTest.test_scope_isolation_from_global) ... ok test_star_expression (test.test_dictcomps.DictComprehensionTest.test_star_expression) ... ok ====================================================================== FAIL: test_exception_locations (test.test_dictcomps.DictComprehensionTest.test_exception_locations) [<function DictComprehensionTest.test_exception_locations.<locals>.next_raises at 0x00007fde87a853a8>] ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_dictcomps.py", line 165, in test_exception_locations self.assertEqual(f.line[f.colno - indent : f.end_colno - indent], ^^^^^^^^^^^ AssertionError: '{x:x for x in BrokenIter(next_raises=True)}' != 'BrokenIter(next_raises=True)' - {x:x for x in BrokenIter(next_raises=True)} ? -------------- - + BrokenIter(next_raises=True) ====================================================================== FAIL: test_exception_locations (test.test_dictcomps.DictComprehensionTest.test_exception_locations) [<function DictComprehensionTest.test_exception_locations.<locals>.iter_raises at 0x00007fde87a85470>] ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_dictcomps.py", line 165, in test_exception_locations self.assertEqual(f.line[f.colno - indent : f.end_colno - indent], ^^^^^^^^^^^ AssertionError: '{x:x for x in BrokenIter(iter_raises=True)}' != 'BrokenIter(iter_raises=True)' - {x:x for x in BrokenIter(iter_raises=True)} ? -------------- - + BrokenIter(iter_raises=True) ---------------------------------------------------------------------- Ran 10 tests in 0.005s FAILED (failures=2) 0:00:00 load avg: 0.98 [1/1/1] test_dictcomps failed (2 failures) == Tests result: FAILURE == 1 test failed: test_dictcomps Total duration: 72 ms Total tests: run=10 failures=2 Total test files: run=1/1 failed=1 Result: FAILURE test test_dictcomps failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748883æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 53747375 0:00:00 load avg: 0.98 Run 1 test sequentially in a single process 0:00:00 load avg: 0.98 [1/1] test_dictviews test_abc_registry (test.test_dictviews.DictSetTest.test_abc_registry) ... ok test_compare_error (test.test_dictviews.DictSetTest.test_compare_error) ... ok test_constructors_not_callable (test.test_dictviews.DictSetTest.test_constructors_not_callable) ... FAIL test_copy (test.test_dictviews.DictSetTest.test_copy) ... ok test_deeply_nested_repr (test.test_dictviews.DictSetTest.test_deeply_nested_repr) ... ok test_dict_items (test.test_dictviews.DictSetTest.test_dict_items) ... ok test_dict_keys (test.test_dictviews.DictSetTest.test_dict_keys) ... ok test_dict_mixed_keys_items (test.test_dictviews.DictSetTest.test_dict_mixed_keys_items) ... ok test_dict_repr (test.test_dictviews.DictSetTest.test_dict_repr) ... ok test_dict_values (test.test_dictviews.DictSetTest.test_dict_values) ... ok test_items_set_operations (test.test_dictviews.DictSetTest.test_items_set_operations) ... ok test_keys_set_operations (test.test_dictviews.DictSetTest.test_keys_set_operations) ... ok test_pickle (test.test_dictviews.DictSetTest.test_pickle) ... ok test_recursive_repr (test.test_dictviews.DictSetTest.test_recursive_repr) ... ok test_set_operations_with_iterator (test.test_dictviews.DictSetTest.test_set_operations_with_iterator) ... ok test_set_operations_with_noniterable (test.test_dictviews.DictSetTest.test_set_operations_with_noniterable) ... ok ====================================================================== FAIL: test_constructors_not_callable (test.test_dictviews.DictSetTest.test_constructors_not_callable) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_dictviews.py", line 12, in test_constructors_not_callable self.assertRaises(TypeError, kt, {}) ^^^^^^^^^^^^ AssertionError: TypeError not raised by dict_keys ---------------------------------------------------------------------- Ran 16 tests in 0.010s FAILED (failures=1) 0:00:00 load avg: 0.98 [1/1/1] test_dictviews failed (1 failure) == Tests result: FAILURE == 1 test failed: test_dictviews Total duration: 84 ms Total tests: run=16 failures=1 Total test files: run=1/1 failed=1 Result: FAILURE test test_dictviews failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748931æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1560418995 0:00:00 load avg: 0.90 Run 1 test sequentially in a single process 0:00:00 load avg: 0.90 [1/1] test_embed test_audit (test.test_embed.AuditingTests.test_audit) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_audit_run_command (test.test_embed.AuditingTests.test_audit_run_command) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_audit_run_file (test.test_embed.AuditingTests.test_audit_run_file) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_audit_run_interactivehook (test.test_embed.AuditingTests.test_audit_run_interactivehook) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_audit_run_startup (test.test_embed.AuditingTests.test_audit_run_startup) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_audit_run_stdin (test.test_embed.AuditingTests.test_audit_run_stdin) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_audit_subinterpreter (test.test_embed.AuditingTests.test_audit_subinterpreter) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_get_incomplete_frame (test.test_embed.AuditingTests.test_get_incomplete_frame) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_open_code_hook (test.test_embed.AuditingTests.test_open_code_hook) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_bpo20891 (test.test_embed.EmbeddingTests.test_bpo20891) bpo-20891: Calling PyGILState_Ensure in a non-Python thread must not ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_finalize_structseq (test.test_embed.EmbeddingTests.test_finalize_structseq) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_forced_io_encoding (test.test_embed.EmbeddingTests.test_forced_io_encoding) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_getargs_reset_static_parser (test.test_embed.EmbeddingTests.test_getargs_reset_static_parser) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_initialize_pymain (test.test_embed.EmbeddingTests.test_initialize_pymain) bpo-34008: Calling Py_Main() after Py_Initialize() must not fail. ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_initialize_twice (test.test_embed.EmbeddingTests.test_initialize_twice) bpo-33932: Calling Py_Initialize() twice should do nothing (and not ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_pre_initialization_api (test.test_embed.EmbeddingTests.test_pre_initialization_api) Checks some key parts of the C-API that need to work before the runtime ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_pre_initialization_sys_options (test.test_embed.EmbeddingTests.test_pre_initialization_sys_options) Checks that sys.warnoptions and sys._xoptions can be set before the ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_repeated_init_and_inittab (test.test_embed.EmbeddingTests.test_repeated_init_and_inittab) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_run_main (test.test_embed.EmbeddingTests.test_run_main) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_run_main_loop (test.test_embed.EmbeddingTests.test_run_main_loop) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_simple_initialization_api (test.test_embed.EmbeddingTests.test_simple_initialization_api) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_specialized_static_code_gets_unspecialized_at_Py_FINALIZE (test.test_embed.EmbeddingTests.test_specialized_static_code_gets_unspecialized_at_Py_FINALIZE) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_static_types_inherited_slots (test.test_embed.EmbeddingTests.test_static_types_inherited_slots) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_subinterps_different_ids (test.test_embed.EmbeddingTests.test_subinterps_different_ids) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_subinterps_distinct_state (test.test_embed.EmbeddingTests.test_subinterps_distinct_state) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_subinterps_main (test.test_embed.EmbeddingTests.test_subinterps_main) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_ucnhash_capi_reset (test.test_embed.EmbeddingTests.test_ucnhash_capi_reset) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_get_argc_argv (test.test_embed.InitConfigTests.test_get_argc_argv) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_getpath_abspath_win32 (test.test_embed.InitConfigTests.test_getpath_abspath_win32) ... skipped 'specific to Windows' test_global_pathconfig (test.test_embed.InitConfigTests.test_global_pathconfig) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_compat_config (test.test_embed.InitConfigTests.test_init_compat_config) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_compat_env (test.test_embed.InitConfigTests.test_init_compat_env) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_default_config (test.test_embed.InitConfigTests.test_init_default_config) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_dev_mode (test.test_embed.InitConfigTests.test_init_dev_mode) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_dont_configure_locale (test.test_embed.InitConfigTests.test_init_dont_configure_locale) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_dont_parse_argv (test.test_embed.InitConfigTests.test_init_dont_parse_argv) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_env_dev_mode (test.test_embed.InitConfigTests.test_init_env_dev_mode) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_env_dev_mode_alloc (test.test_embed.InitConfigTests.test_init_env_dev_mode_alloc) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_from_config (test.test_embed.InitConfigTests.test_init_from_config) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_global_config (test.test_embed.InitConfigTests.test_init_global_config) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_is_python_build_with_home (test.test_embed.InitConfigTests.test_init_is_python_build_with_home) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_isolated_config (test.test_embed.InitConfigTests.test_init_isolated_config) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_isolated_flag (test.test_embed.InitConfigTests.test_init_isolated_flag) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_main (test.test_embed.InitConfigTests.test_init_main) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_main_interpreter_settings (test.test_embed.InitConfigTests.test_init_main_interpreter_settings) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_parse_argv (test.test_embed.InitConfigTests.test_init_parse_argv) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_pybuilddir (test.test_embed.InitConfigTests.test_init_pybuilddir) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_pybuilddir_win32 (test.test_embed.InitConfigTests.test_init_pybuilddir_win32) ... skipped 'See test_init_pybuilddir' test_init_python_config (test.test_embed.InitConfigTests.test_init_python_config) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_python_env (test.test_embed.InitConfigTests.test_init_python_env) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_pyvenv_cfg (test.test_embed.InitConfigTests.test_init_pyvenv_cfg) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_read_set (test.test_embed.InitConfigTests.test_init_read_set) ... skipped 'as of 3.11 this test no longer works because path calculations do not occur on read' test_init_run_main (test.test_embed.InitConfigTests.test_init_run_main) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_set_config (test.test_embed.InitConfigTests.test_init_set_config) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_setpath (test.test_embed.InitConfigTests.test_init_setpath) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_setpath_config (test.test_embed.InitConfigTests.test_init_setpath_config) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_setpythonhome (test.test_embed.InitConfigTests.test_init_setpythonhome) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_sys_add (test.test_embed.InitConfigTests.test_init_sys_add) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_use_frozen_modules (test.test_embed.InitConfigTests.test_init_use_frozen_modules) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_init_warnoptions (test.test_embed.InitConfigTests.test_init_warnoptions) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_preinit_compat_config (test.test_embed.InitConfigTests.test_preinit_compat_config) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_preinit_dont_parse_argv (test.test_embed.InitConfigTests.test_preinit_dont_parse_argv) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_preinit_isolated1 (test.test_embed.InitConfigTests.test_preinit_isolated1) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_preinit_isolated2 (test.test_embed.InitConfigTests.test_preinit_isolated2) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_preinit_isolated_config (test.test_embed.InitConfigTests.test_preinit_isolated_config) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_preinit_parse_argv (test.test_embed.InitConfigTests.test_preinit_parse_argv) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_preinit_python_config (test.test_embed.InitConfigTests.test_preinit_python_config) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_frozenmain (test.test_embed.MiscTests.test_frozenmain) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_no_memleak (test.test_embed.MiscTests.test_no_memleak) ... skipped '-X showrefcount requires a Python debug build' test_unicode_id_init (test.test_embed.MiscTests.test_unicode_id_init) ... skipped "'/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/Programs/_testembed' doesn't exist" test_set_config (test.test_embed.SetConfigTests.test_set_config) ... Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/runpy.py", line 198, in _run_module_as_main return _run_code(code, main_globals, None, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/runpy.py", line 88, in _run_code exec(code, run_globals) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/_test_embed_set_config.py", line 8, in <module> import _testinternalcapi ModuleNotFoundError: No module named '_testinternalcapi' FAIL ====================================================================== FAIL: test_set_config (test.test_embed.SetConfigTests.test_set_config) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_embed.py", line 1757, in test_set_config self.assertEqual(proc.returncode, 0, ^^^^^^^^^^^ AssertionError: 1 != 0 : (1, '', 'Traceback (most recent call last):\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/runpy.py", line 198, in _run_module_as_main\n return _run_code(code, main_globals, None,\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/runpy.py", line 88, in _run_code\n exec(code, run_globals)\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/_test_embed_set_config.py", line 8, in <module>\n import _testinternalcapi\nModuleNotFoundError: No module named \'_testinternalcapi\'\n') ---------------------------------------------------------------------- Ran 71 tests in 0.066s FAILED (failures=1, skipped=70) 0:00:00 load avg: 0.90 [1/1/1] test_embed failed (1 failure) == Tests result: FAILURE == 1 test failed: test_embed Total duration: 152 ms Total tests: run=71 failures=1 skipped=70 Total test files: run=1/1 failed=1 Result: FAILURE test test_embed failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748968æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 4265020464 0:00:00 load avg: 0.91 Run 1 test sequentially in a single process 0:00:00 load avg: 0.91 [1/1] test_eof test_EOFS (test.test_eof.EOFTestCase.test_EOFS) ... FAIL test_EOFS_with_file (test.test_eof.EOFTestCase.test_EOFS_with_file) ... ok test_EOF_single_quote (test.test_eof.EOFTestCase.test_EOF_single_quote) ... ok test_eof_with_line_continuation (test.test_eof.EOFTestCase.test_eof_with_line_continuation) ... FAIL test_line_continuation_EOF (test.test_eof.EOFTestCase.test_line_continuation_EOF) A continuation at the end of input must be an error; bpo2180. ... FAIL test_line_continuation_EOF_from_file_bpo2180 (test.test_eof.EOFTestCase.test_line_continuation_EOF_from_file_bpo2180) Ensure tok_nextc() does not add too many ending newlines. ... FAIL ====================================================================== FAIL: test_EOFS (test.test_eof.EOFTestCase.test_EOFS) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_eof.py", line 25, in test_EOFS self.assertEqual(str(cm.exception), expect) ^^^^^^^^^^^ AssertionError: 'unte[18 chars]oted string literal (detected at line 3) (<string>, lines 1-3)' != 'unte[18 chars]oted string literal (detected at line 3) (<string>, line 1)' - unterminated triple-quoted string literal (detected at line 3) (<string>, lines 1-3) ? - -- + unterminated triple-quoted string literal (detected at line 3) (<string>, line 1) ====================================================================== FAIL: test_eof_with_line_continuation (test.test_eof.EOFTestCase.test_eof_with_line_continuation) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/warnings_helper.py", line 57, in wrapper return test(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_eof.py", line 91, in test_eof_with_line_continuation self.assertEqual(str(cm.exception), expect) ^^^^^^^^^^^ AssertionError: 'unexpected end of file (EOF) in multi-line statement (<string>, line 1)' != 'unexpected EOF while parsing (<string>, line 1)' - unexpected end of file (EOF) in multi-line statement (<string>, line 1) + unexpected EOF while parsing (<string>, line 1) ====================================================================== FAIL: test_line_continuation_EOF (test.test_eof.EOFTestCase.test_line_continuation_EOF) A continuation at the end of input must be an error; bpo2180. ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_eof.py", line 98, in test_line_continuation_EOF self.assertEqual(str(cm.exception), expect) ^^^^^^^^^^^ AssertionError: 'unexpected end of file (EOF) in multi-line statement (<string>, line 1)' != 'unexpected EOF while parsing (<string>, line 1)' - unexpected end of file (EOF) in multi-line statement (<string>, line 1) + unexpected EOF while parsing (<string>, line 1) ====================================================================== FAIL: test_line_continuation_EOF_from_file_bpo2180 (test.test_eof.EOFTestCase.test_line_continuation_EOF_from_file_bpo2180) Ensure tok_nextc() does not add too many ending newlines. ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_eof.py", line 132, in test_line_continuation_EOF_from_file_bpo2180 self.assertEqual(err[-2:], [ ^^^^^^^^^^^ AssertionError: Lists differ: [' ^', 'SyntaxError: unexpected end of file (EOF) in multi-line statement'] != [' \\', 'SyntaxError: unexpected EOF while parsing'] First differing element 0: ' ^' ' \\' - [' ^', 'SyntaxError: unexpected end of file (EOF) in multi-line statement'] + [' \\', 'SyntaxError: unexpected EOF while parsing'] ---------------------------------------------------------------------- Ran 6 tests in 0.291s FAILED (failures=4) 0:00:00 load avg: 0.91 [1/1/1] test_eof failed (4 failures) == Tests result: FAILURE == 1 test failed: test_eof Total duration: 384 ms Total tests: run=6 failures=4 Total test files: run=1/1 failed=1 Result: FAILURE test test_eof failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748989æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3763538973 0:00:00 load avg: 0.91 Run 1 test sequentially in a single process 0:00:00 load avg: 0.91 [1/1] test_except_star test_break_continue_in_except_star_block_valid (test.test_except_star.TestBreakContinueReturnInExceptStarBlock.test_break_continue_in_except_star_block_valid) ... ok test_break_in_except_star (test.test_except_star.TestBreakContinueReturnInExceptStarBlock.test_break_in_except_star) ... FAIL test_continue_in_except_star_block_invalid (test.test_except_star.TestBreakContinueReturnInExceptStarBlock.test_continue_in_except_star_block_invalid) ... FAIL test_return_in_except_star_block_invalid (test.test_except_star.TestBreakContinueReturnInExceptStarBlock.test_return_in_except_star_block_invalid) ... FAIL test_return_in_except_star_block_valid (test.test_except_star.TestBreakContinueReturnInExceptStarBlock.test_return_in_except_star_block_valid) ... ok test_sys_exception_restored (test.test_except_star.TestExceptStarCleanup.test_sys_exception_restored) ... ok test_except_star_EG_subclass (test.test_except_star.TestExceptStarExceptionGroupSubclass.test_except_star_EG_subclass) ... ok test_exception_group_subclass_with_bad_split_func (test.test_except_star.TestExceptStarExceptionGroupSubclass.test_exception_group_subclass_with_bad_split_func) ... ERROR test_falsy_exception_group_subclass (test.test_except_star.TestExceptStarExceptionGroupSubclass.test_falsy_exception_group_subclass) ... ok test_raise_handle_all_raise_one_named (test.test_except_star.TestExceptStarRaise.test_raise_handle_all_raise_one_named) ... ok test_raise_handle_all_raise_one_unnamed (test.test_except_star.TestExceptStarRaise.test_raise_handle_all_raise_one_unnamed) ... ok test_raise_handle_all_raise_two_named (test.test_except_star.TestExceptStarRaise.test_raise_handle_all_raise_two_named) ... ok test_raise_handle_all_raise_two_unnamed (test.test_except_star.TestExceptStarRaise.test_raise_handle_all_raise_two_unnamed) ... ok test_raise_named (test.test_except_star.TestExceptStarRaise.test_raise_named) ... ok test_raise_unnamed (test.test_except_star.TestExceptStarRaise.test_raise_unnamed) ... ok test_raise_handle_all_raise_one_named (test.test_except_star.TestExceptStarRaiseFrom.test_raise_handle_all_raise_one_named) ... ok test_raise_handle_all_raise_one_unnamed (test.test_except_star.TestExceptStarRaiseFrom.test_raise_handle_all_raise_one_unnamed) ... ok test_raise_handle_all_raise_two_named (test.test_except_star.TestExceptStarRaiseFrom.test_raise_handle_all_raise_two_named) ... ok test_raise_handle_all_raise_two_unnamed (test.test_except_star.TestExceptStarRaiseFrom.test_raise_handle_all_raise_two_unnamed) ... ok test_raise_named (test.test_except_star.TestExceptStarRaiseFrom.test_raise_named) ... ok test_raise_unnamed (test.test_except_star.TestExceptStarRaiseFrom.test_raise_unnamed) ... ok test_reraise_all_named (test.test_except_star.TestExceptStarReraise.test_reraise_all_named) ... ok test_reraise_all_unnamed (test.test_except_star.TestExceptStarReraise.test_reraise_all_unnamed) ... ok test_reraise_partial_handle_all_unnamed (test.test_except_star.TestExceptStarReraise.test_reraise_partial_handle_all_unnamed) ... ok test_reraise_partial_handle_some_named (test.test_except_star.TestExceptStarReraise.test_reraise_partial_handle_some_named) ... ok test_reraise_partial_handle_some_unnamed (test.test_except_star.TestExceptStarReraise.test_reraise_partial_handle_some_unnamed) ... ok test_reraise_plain_exception_named (test.test_except_star.TestExceptStarReraise.test_reraise_plain_exception_named) ... ok test_reraise_plain_exception_unnamed (test.test_except_star.TestExceptStarReraise.test_reraise_plain_exception_unnamed) ... ok test_reraise_some_handle_all_named (test.test_except_star.TestExceptStarReraise.test_reraise_some_handle_all_named) ... ok test_empty_groups_removed (test.test_except_star.TestExceptStarSplitSemantics.test_empty_groups_removed) ... ok test_exception_group_except_star_Exception_not_wrapped (test.test_except_star.TestExceptStarSplitSemantics.test_exception_group_except_star_Exception_not_wrapped) ... ok test_first_match_wins_named (test.test_except_star.TestExceptStarSplitSemantics.test_first_match_wins_named) ... ok test_first_match_wins_unnamed (test.test_except_star.TestExceptStarSplitSemantics.test_first_match_wins_unnamed) ... ok test_match__supertype (test.test_except_star.TestExceptStarSplitSemantics.test_match__supertype) ... ok test_match_single_type (test.test_except_star.TestExceptStarSplitSemantics.test_match_single_type) ... ok test_match_single_type_nested (test.test_except_star.TestExceptStarSplitSemantics.test_match_single_type_nested) ... ok test_match_single_type_partial_match (test.test_except_star.TestExceptStarSplitSemantics.test_match_single_type_partial_match) ... ok test_match_type_tuple_nested (test.test_except_star.TestExceptStarSplitSemantics.test_match_type_tuple_nested) ... ok test_multiple_matches_named (test.test_except_star.TestExceptStarSplitSemantics.test_multiple_matches_named) ... ok test_multiple_matches_unnamed (test.test_except_star.TestExceptStarSplitSemantics.test_multiple_matches_unnamed) ... ok test_naked_exception_matched_wrapped1 (test.test_except_star.TestExceptStarSplitSemantics.test_naked_exception_matched_wrapped1) ... ok test_naked_exception_matched_wrapped2 (test.test_except_star.TestExceptStarSplitSemantics.test_naked_exception_matched_wrapped2) ... ok test_nested_except_stars (test.test_except_star.TestExceptStarSplitSemantics.test_nested_except_stars) ... ok test_nested_in_loop (test.test_except_star.TestExceptStarSplitSemantics.test_nested_in_loop) ... ok test_no_match_single_type (test.test_except_star.TestExceptStarSplitSemantics.test_no_match_single_type) ... ok test_plain_exception_not_matched (test.test_except_star.TestExceptStarSplitSemantics.test_plain_exception_not_matched) ... ok test_singleton_groups_are_kept (test.test_except_star.TestExceptStarSplitSemantics.test_singleton_groups_are_kept) ... ok test_catch_all_unhashable_exception_group_subclass (test.test_except_star.TestExceptStar_WeirdExceptionGroupSubclass.test_catch_all_unhashable_exception_group_subclass) ... ok test_catch_none_unhashable_exception_group_subclass (test.test_except_star.TestExceptStar_WeirdExceptionGroupSubclass.test_catch_none_unhashable_exception_group_subclass) ... ok test_catch_some_unhashable_exception_group_subclass (test.test_except_star.TestExceptStar_WeirdExceptionGroupSubclass.test_catch_some_unhashable_exception_group_subclass) ... ok test_reraise_unhashable_eg (test.test_except_star.TestExceptStar_WeirdExceptionGroupSubclass.test_reraise_unhashable_eg) ... ok test_catch_everything_unhashable_leaf (test.test_except_star.TestExceptStar_WeirdLeafExceptions.test_catch_everything_unhashable_leaf) ... ok test_catch_nothing_unhashable_leaf (test.test_except_star.TestExceptStar_WeirdLeafExceptions.test_catch_nothing_unhashable_leaf) ... ok test_catch_unhashable_leaf_exception (test.test_except_star.TestExceptStar_WeirdLeafExceptions.test_catch_unhashable_leaf_exception) ... ok test_propagate_unhashable_leaf (test.test_except_star.TestExceptStar_WeirdLeafExceptions.test_propagate_unhashable_leaf) ... ok test_reraise_unhashable_leaf (test.test_except_star.TestExceptStar_WeirdLeafExceptions.test_reraise_unhashable_leaf) ... ok test_except_star_ExceptionGroup_is_runtime_error_single (test.test_except_star.TestInvalidExceptStar.test_except_star_ExceptionGroup_is_runtime_error_single) ... ok test_except_star_ExceptionGroup_is_runtime_error_tuple (test.test_except_star.TestInvalidExceptStar.test_except_star_ExceptionGroup_is_runtime_error_tuple) ... ok test_except_star_invalid_exception_type (test.test_except_star.TestInvalidExceptStar.test_except_star_invalid_exception_type) ... ok test_mixed_except_and_except_star_is_syntax_error (test.test_except_star.TestInvalidExceptStar.test_mixed_except_and_except_star_is_syntax_error) ... ok ====================================================================== ERROR: test_exception_group_subclass_with_bad_split_func (test.test_except_star.TestExceptStarExceptionGroupSubclass.test_exception_group_subclass_with_bad_split_func) ---------------------------------------------------------------------- + Exception Group Traceback (most recent call last): | File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_except_star.py", line 975, in test_exception_group_subclass_with_bad_split_func | raise eg_class | test.test_except_star.TestExceptStarExceptionGroupSubclass.test_exception_group_subclass_with_bad_split_func.<locals>.BadEG1: eg (2 sub-exceptions) +-+---------------- 1 ---------------- | OSError: 123 +---------------- 2 ---------------- | ValueError: 456 +------------------------------------ During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_except_star.py", line 976, in test_exception_group_subclass_with_bad_split_func except* ValueError: ValueError: too many values to unpack (expected 2) ====================================================================== FAIL: test_break_in_except_star (test.test_except_star.TestBreakContinueReturnInExceptStarBlock.test_break_in_except_star) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_except_star.py", line 57, in check_invalid compile(textwrap.dedent(src), "<string>", "exec") File "<string>", line 5 SyntaxError: 'break' cannot appear in an except* block During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_except_star.py", line 60, in test_break_in_except_star self.check_invalid( ^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_except_star.py", line 56, in check_invalid with self.assertRaisesRegex(SyntaxError, self.MSG): AssertionError: "'break', 'continue' and 'return' cannot appear in an except\* block" does not match "'break' cannot appear in an except* block (<string>, line 5)" ====================================================================== FAIL: test_continue_in_except_star_block_invalid (test.test_except_star.TestBreakContinueReturnInExceptStarBlock.test_continue_in_except_star_block_invalid) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_except_star.py", line 57, in check_invalid compile(textwrap.dedent(src), "<string>", "exec") File "<string>", line 6 SyntaxError: 'continue' cannot appear in an except* block During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_except_star.py", line 92, in test_continue_in_except_star_block_invalid self.check_invalid( ^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_except_star.py", line 56, in check_invalid with self.assertRaisesRegex(SyntaxError, self.MSG): AssertionError: "'break', 'continue' and 'return' cannot appear in an except\* block" does not match "'continue' cannot appear in an except* block (<string>, line 6)" ====================================================================== FAIL: test_return_in_except_star_block_invalid (test.test_except_star.TestBreakContinueReturnInExceptStarBlock.test_return_in_except_star_block_invalid) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_except_star.py", line 57, in check_invalid compile(textwrap.dedent(src), "<string>", "exec") File "<string>", line 6 SyntaxError: 'return' cannot appear in an except* block During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_except_star.py", line 124, in test_return_in_except_star_block_invalid self.check_invalid( ^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_except_star.py", line 56, in check_invalid with self.assertRaisesRegex(SyntaxError, self.MSG): AssertionError: "'break', 'continue' and 'return' cannot appear in an except\* block" does not match "'return' cannot appear in an except* block (<string>, line 6)" ---------------------------------------------------------------------- Ran 60 tests in 0.027s FAILED (failures=3, errors=1) 0:00:00 load avg: 0.91 [1/1/1] test_except_star failed (1 error, 3 failures) == Tests result: FAILURE == 1 test failed: test_except_star Total duration: 109 ms Total tests: run=60 failures=3 Total test files: run=1/1 failed=1 Result: FAILURE test test_except_star failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1748994æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 4077964039 0:00:00 load avg: 0.91 Run 1 test sequentially in a single process 0:00:00 load avg: 0.91 [1/1] test_exception_group test_bad_EG_construction__bad_excs_sequence (test.test_exception_group.BadConstructorArgs.test_bad_EG_construction__bad_excs_sequence) ... ok test_bad_EG_construction__bad_message (test.test_exception_group.BadConstructorArgs.test_bad_EG_construction__bad_message) ... ok test_bad_EG_construction__nested_non_exceptions (test.test_exception_group.BadConstructorArgs.test_bad_EG_construction__nested_non_exceptions) ... ok test_bad_EG_construction__too_many_args (test.test_exception_group.BadConstructorArgs.test_bad_EG_construction__too_many_args) ... FAIL test_deep_split (test.test_exception_group.DeepRecursionInSplitAndSubgroup.test_deep_split) ... ok test_deep_subgroup (test.test_exception_group.DeepRecursionInSplitAndSubgroup.test_deep_subgroup) ... ok test_basics_ExceptionGroup_fields (test.test_exception_group.ExceptionGroupFields.test_basics_ExceptionGroup_fields) ... ok test_fields_are_readonly (test.test_exception_group.ExceptionGroupFields.test_fields_are_readonly) ... ok test_basics_split_by_predicate__match (test.test_exception_group.ExceptionGroupSplitTests.test_basics_split_by_predicate__match) ... ok test_basics_split_by_predicate__no_match (test.test_exception_group.ExceptionGroupSplitTests.test_basics_split_by_predicate__no_match) ... ok test_basics_split_by_predicate__passthrough (test.test_exception_group.ExceptionGroupSplitTests.test_basics_split_by_predicate__passthrough) ... ok test_basics_split_by_type__match (test.test_exception_group.ExceptionGroupSplitTests.test_basics_split_by_type__match) ... ok test_basics_split_by_type__no_match (test.test_exception_group.ExceptionGroupSplitTests.test_basics_split_by_type__no_match) ... ok test_basics_split_by_type__passthrough (test.test_exception_group.ExceptionGroupSplitTests.test_basics_split_by_type__passthrough) ... ok test_basics_subgroup_by_predicate__match (test.test_exception_group.ExceptionGroupSubgroupTests.test_basics_subgroup_by_predicate__match) ... ok test_basics_subgroup_by_predicate__no_match (test.test_exception_group.ExceptionGroupSubgroupTests.test_basics_subgroup_by_predicate__no_match) ... ok test_basics_subgroup_by_predicate__passthrough (test.test_exception_group.ExceptionGroupSubgroupTests.test_basics_subgroup_by_predicate__passthrough) ... ok test_basics_subgroup_by_type__match (test.test_exception_group.ExceptionGroupSubgroupTests.test_basics_subgroup_by_type__match) ... ok test_basics_subgroup_by_type__no_match (test.test_exception_group.ExceptionGroupSubgroupTests.test_basics_subgroup_by_type__no_match) ... ok test_basics_subgroup_by_type__passthrough (test.test_exception_group.ExceptionGroupSubgroupTests.test_basics_subgroup_by_type__passthrough) ... ok test_basics_subgroup_split__bad_arg_type (test.test_exception_group.ExceptionGroupSubgroupTests.test_basics_subgroup_split__bad_arg_type) ... ok test_BEG_and_E_subclass_does_not_wrap_base_exceptions (test.test_exception_group.InstanceCreation.test_BEG_and_E_subclass_does_not_wrap_base_exceptions) ... ok test_BEG_and_specific_subclass_can_wrap_any_nonbase_exception (test.test_exception_group.InstanceCreation.test_BEG_and_specific_subclass_can_wrap_any_nonbase_exception) ... ok test_BEG_subclass_wraps_anything (test.test_exception_group.InstanceCreation.test_BEG_subclass_wraps_anything) ... ok test_BEG_wraps_BaseException__creates_BEG (test.test_exception_group.InstanceCreation.test_BEG_wraps_BaseException__creates_BEG) ... ok test_BEG_wraps_Exceptions__creates_EG (test.test_exception_group.InstanceCreation.test_BEG_wraps_Exceptions__creates_EG) ... ok test_EG_and_specific_subclass_can_wrap_any_nonbase_exception (test.test_exception_group.InstanceCreation.test_EG_and_specific_subclass_can_wrap_any_nonbase_exception) ... ok test_EG_subclass_does_not_wrap_base_exceptions (test.test_exception_group.InstanceCreation.test_EG_subclass_does_not_wrap_base_exceptions) ... ok test_EG_subclass_wraps_non_base_exceptions (test.test_exception_group.InstanceCreation.test_EG_subclass_wraps_non_base_exceptions) ... ok test_EG_wraps_BaseException__raises_TypeError (test.test_exception_group.InstanceCreation.test_EG_wraps_BaseException__raises_TypeError) ... ok test_EG_wraps_Exceptions__creates_EG (test.test_exception_group.InstanceCreation.test_EG_wraps_Exceptions__creates_EG) ... ok test_leaf_generator (test.test_exception_group.LeafGeneratorTest.test_leaf_generator) ... ok test_iteration_full_tracebacks (test.test_exception_group.NestedExceptionGroupBasicsTest.test_iteration_full_tracebacks) ... ok test_nested_exception_group_tracebacks (test.test_exception_group.NestedExceptionGroupBasicsTest.test_nested_exception_group_tracebacks) ... ok test_nested_group_chaining (test.test_exception_group.NestedExceptionGroupBasicsTest.test_nested_group_chaining) ... ok test_nested_group_matches_template (test.test_exception_group.NestedExceptionGroupBasicsTest.test_nested_group_matches_template) ... ok test_drive_invalid_return_value (test.test_exception_group.NestedExceptionGroupSplitTest.test_drive_invalid_return_value) ... ERROR test_split_BaseExceptionGroup (test.test_exception_group.NestedExceptionGroupSplitTest.test_split_BaseExceptionGroup) ... ok test_split_by_type (test.test_exception_group.NestedExceptionGroupSplitTest.test_split_by_type) ... ok test_split_copies_notes (test.test_exception_group.NestedExceptionGroupSplitTest.test_split_copies_notes) ... ok test_split_does_not_copy_non_sequence_notes (test.test_exception_group.NestedExceptionGroupSplitTest.test_split_does_not_copy_non_sequence_notes) ... ok test_split_BaseExceptionGroup_subclass_no_derive_new_override (test.test_exception_group.NestedExceptionGroupSubclassSplitTest.test_split_BaseExceptionGroup_subclass_no_derive_new_override) ... ok test_split_ExceptionGroup_subclass_derive_and_new_overrides (test.test_exception_group.NestedExceptionGroupSubclassSplitTest.test_split_ExceptionGroup_subclass_derive_and_new_overrides) ... ok test_split_ExceptionGroup_subclass_no_derive_no_new_override (test.test_exception_group.NestedExceptionGroupSubclassSplitTest.test_split_ExceptionGroup_subclass_no_derive_no_new_override) ... ok test_BaseExceptionGroup (test.test_exception_group.StrAndReprTests.test_BaseExceptionGroup) ... ok test_ExceptionGroup (test.test_exception_group.StrAndReprTests.test_ExceptionGroup) ... ok test_custom_exception (test.test_exception_group.StrAndReprTests.test_custom_exception) ... ok test_exception_group_is_generic_type (test.test_exception_group.TestExceptionGroupTypeHierarchy.test_exception_group_is_generic_type) ... ok test_exception_group_types (test.test_exception_group.TestExceptionGroupTypeHierarchy.test_exception_group_types) ... ok test_exception_is_not_generic_type (test.test_exception_group.TestExceptionGroupTypeHierarchy.test_exception_is_not_generic_type) ... ok ====================================================================== ERROR: test_drive_invalid_return_value (test.test_exception_group.NestedExceptionGroupSplitTest.test_drive_invalid_return_value) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_exception_group.py", line 797, in test_drive_invalid_return_value eg.split(TypeError) ^^^^^ AttributeError: 'int' object has no attribute '__cause__'. Did you mean: '__abs__'? ====================================================================== FAIL: test_bad_EG_construction__too_many_args (test.test_exception_group.BadConstructorArgs.test_bad_EG_construction__too_many_args) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_exception_group.py", line 26, in test_bad_EG_construction__too_many_args ExceptionGroup('no errors') TypeError: BaseExceptionGroup.__new__() missing 1 required positional argument: 'exceptions' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_exception_group.py", line 25, in test_bad_EG_construction__too_many_args with self.assertRaisesRegex(TypeError, MSG): AssertionError: "BaseExceptionGroup.__new__\(\) takes exactly 2 arguments" does not match "BaseExceptionGroup.__new__() missing 1 required positional argument: 'exceptions'" ---------------------------------------------------------------------- Ran 50 tests in 0.044s FAILED (failures=1, errors=1) 0:00:00 load avg: 0.91 [1/1/1] test_exception_group failed (1 error, 1 failure) == Tests result: FAILURE == 1 test failed: test_exception_group Total duration: 124 ms Total tests: run=50 failures=1 Total test files: run=1/1 failed=1 Result: FAILURE test test_exception_group failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1749034æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2942736791 0:00:00 load avg: 0.92 Run 1 test sequentially in a single process 0:00:00 load avg: 0.92 [1/1] test_extcall test_extcall (test) Doctest: test.test_extcall ... FAIL ====================================================================== FAIL: test_extcall (test) Doctest: test.test_extcall ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 2256, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for test.test_extcall File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_extcall.py", line 1, in test_extcall ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_extcall.py", line 256, in test.test_extcall Failed example: f(**{1:2}) Expected: Traceback (most recent call last): ... TypeError: keywords must be strings Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", File "<doctest test.test_extcall[73]>", line 1, in <module> f(**{1:2}) TypeError: test.test_extcall.f() keywords must be strings, not 'int' ---------------------------------------------------------------------- Ran 1 test in 0.053s FAILED (failures=1) 0:00:00 load avg: 0.92 [1/1/1] test_extcall failed (1 failure) == Tests result: FAILURE == 1 test failed: test_extcall Total duration: 152 ms Total tests: run=1 failures=1 Total test files: run=1/1 failed=1 Result: FAILURE test test_extcall failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1749039æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 276321769 0:00:00 load avg: 0.92 Run 1 test sequentially in a single process 0:00:00 load avg: 0.92 [1/1] test_faulthandler test_cancel_later_without_dump_traceback_later (test.test_faulthandler.FaultHandlerTests.test_cancel_later_without_dump_traceback_later) ... ok test_disable (test.test_faulthandler.FaultHandlerTests.test_disable) ... ok test_disable_windows_exc_handler (test.test_faulthandler.FaultHandlerTests.test_disable_windows_exc_handler) ... skipped 'specific to Windows' test_disabled_by_default (test.test_faulthandler.FaultHandlerTests.test_disabled_by_default) ... ok test_dump_ext_modules (test.test_faulthandler.FaultHandlerTests.test_dump_ext_modules) ... FAIL test_dump_traceback (test.test_faulthandler.FaultHandlerTests.test_dump_traceback) ... FAIL test_dump_traceback_fd (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_fd) ... FAIL test_dump_traceback_file (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_file) ... FAIL test_dump_traceback_later (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later) ... FAIL test_dump_traceback_later_cancel (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_cancel) ... ok test_dump_traceback_later_fd (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_fd) ... FAIL test_dump_traceback_later_file (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_file) ... FAIL test_dump_traceback_later_repeat (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_repeat) ... FAIL test_dump_traceback_later_twice (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_twice) ... skipped "resource 'walltime' is not enabled" test_dump_traceback_threads (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_threads) ... FAIL test_dump_traceback_threads_file (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_threads_file) ... FAIL test_enable_fd (test.test_faulthandler.FaultHandlerTests.test_enable_fd) ... FAIL test_enable_file (test.test_faulthandler.FaultHandlerTests.test_enable_file) ... FAIL test_enable_single_thread (test.test_faulthandler.FaultHandlerTests.test_enable_single_thread) ... FAIL test_env_var (test.test_faulthandler.FaultHandlerTests.test_env_var) ... ok test_fatal_error (test.test_faulthandler.FaultHandlerTests.test_fatal_error) ... FAIL test_fatal_error_c_thread (test.test_faulthandler.FaultHandlerTests.test_fatal_error_c_thread) ... FAIL test_fatal_error_without_gil (test.test_faulthandler.FaultHandlerTests.test_fatal_error_without_gil) ... FAIL test_gc (test.test_faulthandler.FaultHandlerTests.test_gc) ... FAIL test_gil_released (test.test_faulthandler.FaultHandlerTests.test_gil_released) ... FAIL test_ignore_exception (test.test_faulthandler.FaultHandlerTests.test_ignore_exception) ... skipped 'specific to Windows' test_is_enabled (test.test_faulthandler.FaultHandlerTests.test_is_enabled) ... ok test_raise_exception (test.test_faulthandler.FaultHandlerTests.test_raise_exception) ... skipped 'specific to Windows' test_raise_nonfatal_exception (test.test_faulthandler.FaultHandlerTests.test_raise_nonfatal_exception) ... skipped 'specific to Windows' test_read_null (test.test_faulthandler.FaultHandlerTests.test_read_null) ... FAIL test_register (test.test_faulthandler.FaultHandlerTests.test_register) ... FAIL test_register_chain (test.test_faulthandler.FaultHandlerTests.test_register_chain) ... FAIL test_register_fd (test.test_faulthandler.FaultHandlerTests.test_register_fd) ... FAIL test_register_file (test.test_faulthandler.FaultHandlerTests.test_register_file) ... FAIL test_register_threads (test.test_faulthandler.FaultHandlerTests.test_register_threads) ... FAIL test_sigabrt (test.test_faulthandler.FaultHandlerTests.test_sigabrt) ... FAIL test_sigbus (test.test_faulthandler.FaultHandlerTests.test_sigbus) ... FAIL test_sigfpe (test.test_faulthandler.FaultHandlerTests.test_sigfpe) ... FAIL test_sigill (test.test_faulthandler.FaultHandlerTests.test_sigill) ... FAIL test_sigsegv (test.test_faulthandler.FaultHandlerTests.test_sigsegv) ... FAIL test_stack_overflow (test.test_faulthandler.FaultHandlerTests.test_stack_overflow) ... FAIL test_stderr_None (test.test_faulthandler.FaultHandlerTests.test_stderr_None) ... ok test_sys_xoptions (test.test_faulthandler.FaultHandlerTests.test_sys_xoptions) ... ok test_truncate (test.test_faulthandler.FaultHandlerTests.test_truncate) ... FAIL test_unregister (test.test_faulthandler.FaultHandlerTests.test_unregister) ... ok ====================================================================== FAIL: test_dump_ext_modules (test.test_faulthandler.FaultHandlerTests.test_dump_ext_modules) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 382, in test_dump_ext_modules self.fail(f"Cannot find 'Extension modules:' in {stderr!r}") ^^^^ AssertionError: Cannot find 'Extension modules:' in 'Fatal Python error: Segmentation fault\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_dump_traceback (test.test_faulthandler.FaultHandlerTests.test_dump_traceback) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 497, in test_dump_traceback self.check_dump_traceback() ^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 493, in check_dump_traceback self.assertEqual(trace, expected) ^^^^^^^^^^^ AssertionError: Lists differ: ['Sta[21 chars]first, approximate line numbers):', ' File "<[340 chars]int'] != ['Sta[21 chars]first):', ' File "<string>", line 14 in funcB[78 chars]le>'] First differing element 0: 'Stack (most recent call first, approximate line numbers):' 'Stack (most recent call first):' First list contains 4 additional elements. First extra element 4: ' File "<builtin>/app_main.py", line 964 in run_it' Diff is 826 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_dump_traceback_fd (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_fd) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 507, in test_dump_traceback_fd self.check_dump_traceback(fd=fp.fileno()) ^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 493, in check_dump_traceback self.assertEqual(trace, expected) ^^^^^^^^^^^ AssertionError: Lists differ: ['Sta[21 chars]first, approximate line numbers):', ' File "<[340 chars]int'] != ['Sta[21 chars]first):', ' File "<string>", line 11 in funcB[78 chars]le>'] First differing element 0: 'Stack (most recent call first, approximate line numbers):' 'Stack (most recent call first):' First list contains 4 additional elements. First extra element 4: ' File "<builtin>/app_main.py", line 964 in run_it' Diff is 826 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_dump_traceback_file (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_file) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 501, in test_dump_traceback_file self.check_dump_traceback(filename=filename) ^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 493, in check_dump_traceback self.assertEqual(trace, expected) ^^^^^^^^^^^ AssertionError: Lists differ: ['Sta[21 chars]first, approximate line numbers):', ' File "<[340 chars]int'] != ['Sta[21 chars]first):', ' File "<string>", line 9 in funcB'[77 chars]le>'] First differing element 0: 'Stack (most recent call first, approximate line numbers):' 'Stack (most recent call first):' First list contains 4 additional elements. First extra element 4: ' File "<builtin>/app_main.py", line 964 in run_it' Diff is 824 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_dump_traceback_later (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 662, in test_dump_traceback_later self.check_dump_traceback_later() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 656, in check_dump_traceback_later self.assertRegex(trace, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '^Timeout \\(0:00:00.500000\\)!\\nThread 0x[0-9a-f]+ \\(most recent call first\\):\\n File "<string>", line 17 in func\n File "<string>", line 26 in <module>$' not found in 'Timeout (0:00:00.500000)!\nThread 0x7FC02283B780 (most recent call first, approximate line numbers):\n File "<string>", line 12 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_dump_traceback_later_fd (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_fd) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 678, in test_dump_traceback_later_fd self.check_dump_traceback_later(fd=fp.fileno()) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 656, in check_dump_traceback_later self.assertRegex(trace, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '^Timeout \\(0:00:00.500000\\)!\\nThread 0x[0-9a-f]+ \\(most recent call first\\):\\n File "<string>", line 17 in func\n File "<string>", line 26 in <module>$' not found in 'Timeout (0:00:00.500000)!\nThread 0x7FF6C83C7780 (most recent call first, approximate line numbers):\n File "<string>", line 12 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_dump_traceback_later_file (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_file) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 672, in test_dump_traceback_later_file self.check_dump_traceback_later(filename=filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 656, in check_dump_traceback_later self.assertRegex(trace, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '^Timeout \\(0:00:00.500000\\)!\\nThread 0x[0-9a-f]+ \\(most recent call first\\):\\n File "<string>", line 17 in func\n File "<string>", line 26 in <module>$' not found in 'Timeout (0:00:00.500000)!\nThread 0x7F9B8803B780 (most recent call first, approximate line numbers):\n File "<string>", line 12 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_dump_traceback_later_repeat (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_repeat) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 665, in test_dump_traceback_later_repeat self.check_dump_traceback_later(repeat=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 656, in check_dump_traceback_later self.assertRegex(trace, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '^Timeout \\(0:00:00.500000\\)!\\nThread 0x[0-9a-f]+ \\(most recent call first\\):\\n File "<string>", line 17 in func\n File "<string>", line 26 in <module>\nTimeout \\(0:00:00.500000\\)!\\nThread 0x[0-9a-f]+ \\(most recent call first\\):\\n File "<string>", line 17 in func\n File "<string>", line 26 in <module>' not found in 'Timeout (0:00:00.500000)!\nThread 0x7FD6EDE21780 (most recent call first, approximate line numbers):\n File "<string>", line 12 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point\nTimeout (0:00:00.500000)!\nThread 0x7FD6EDE21780 (most recent call first, approximate line numbers):\n File "<string>", line 12 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point\nTimeout (0:00:00.500000)!\nThread 0x7FD6EDE21780 (most recent call first, approximate line numbers):\n File "<string>", line 12 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point\nTimeout (0:00:00.500000)!\nThread 0x7FD6EDE21780 (most recent call first, approximate line numbers):\n File "<string>", line 12 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_dump_traceback_threads (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_threads) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 593, in test_dump_traceback_threads self.check_dump_traceback_threads(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 589, in check_dump_traceback_threads self.assertRegex(output, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '^Thread 0x[0-9a-f]+ \\(most recent call first\\):\n(?: File ".*threading.py", line [0-9]+ in [_a-z]+\n){1,3} File "<string>", line 23 in run\n File ".*threading.py", line [0-9]+ in _bootstrap_inner\n File ".*threading.py", line [0-9]+ in _bootstrap\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 10 in dump\n File "<string>", line 28 in <module>$' not found in 'Thread 0x7FB435D27700 (most recent call first, approximate line numbers):\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/threading.py", line 323 in wait\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/threading.py", line 637 in wait\n File "<string>", line 21 in run\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/threading.py", line 1058 in _bootstrap_inner\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/threading.py", line 1018 in _bootstrap\n\nCurrent thread 0x7FB43B88A780 (most recent call first, approximate line numbers):\n File "<string>", line 5 in dump\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_dump_traceback_threads_file (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_threads_file) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 597, in test_dump_traceback_threads_file self.check_dump_traceback_threads(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 589, in check_dump_traceback_threads self.assertRegex(output, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '^Thread 0x[0-9a-f]+ \\(most recent call first\\):\n(?: File ".*threading.py", line [0-9]+ in [_a-z]+\n){1,3} File "<string>", line 23 in run\n File ".*threading.py", line [0-9]+ in _bootstrap_inner\n File ".*threading.py", line [0-9]+ in _bootstrap\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 8 in dump\n File "<string>", line 28 in <module>$' not found in 'Thread 0x7F18763A8700 (most recent call first, approximate line numbers):\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/threading.py", line 323 in wait\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/threading.py", line 637 in wait\n File "<string>", line 21 in run\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/threading.py", line 1058 in _bootstrap_inner\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/threading.py", line 1018 in _bootstrap\n\nCurrent thread 0x7F187BED4780 (most recent call first, approximate line numbers):\n File "<string>", line 5 in dump\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_enable_fd (test.test_faulthandler.FaultHandlerTests.test_enable_fd) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 331, in test_enable_fd self.check_fatal_error(""" ^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error self.check_error(code, line_number, fatal_error, **kw) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error self.assertRegex(output, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '(?m)^Fatal Python error: Segmentation fault\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 4 in <module>' not found in 'Fatal Python error: Segmentation fault\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_enable_file (test.test_faulthandler.FaultHandlerTests.test_enable_file) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 315, in test_enable_file self.check_fatal_error(""" ^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error self.check_error(code, line_number, fatal_error, **kw) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error self.assertRegex(output, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '(?m)^Fatal Python error: Segmentation fault\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 4 in <module>' not found in 'Fatal Python error: Segmentation fault\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_enable_single_thread (test.test_faulthandler.FaultHandlerTests.test_enable_single_thread) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 343, in test_enable_single_thread self.check_fatal_error(""" ^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error self.check_error(code, line_number, fatal_error, **kw) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error self.assertRegex(output, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '(?m)^Fatal Python error: Segmentation fault\n\nStack \\(most recent call first\\):\n File "<string>", line 3 in <module>' not found in 'Fatal Python error: Segmentation fault\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_fatal_error (test.test_faulthandler.FaultHandlerTests.test_fatal_error) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 282, in test_fatal_error self.check_fatal_error_func(False) ^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 272, in check_fatal_error_func self.check_fatal_error(f""" ^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error self.check_error(code, line_number, fatal_error, **kw) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error self.assertRegex(output, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '(?m)^Fatal Python error: _testcapi_fatal_error_impl: xyz\nPython runtime state: initialized\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 2 in <module>' not found in 'Traceback (most recent call last):\n File "<string>", line 2, in <module>\nAttributeError: module \'_testcapi\' has no attribute \'fatal_error\'' ====================================================================== FAIL: test_fatal_error_c_thread (test.test_faulthandler.FaultHandlerTests.test_fatal_error_c_thread) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 210, in test_fatal_error_c_thread self.check_fatal_error(""" ^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error self.check_error(code, line_number, fatal_error, **kw) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error self.assertRegex(output, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '(?m)^Fatal Python error: faulthandler_fatal_error_thread: in new thread\nPython runtime state: initialized\n\nThread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 3 in <module>' not found in 'Traceback (most recent call last):\n File "<string>", line 3, in <module>\nAttributeError: module \'faulthandler\' has no attribute \'_fatal_error_c_thread\'' ====================================================================== FAIL: test_fatal_error_without_gil (test.test_faulthandler.FaultHandlerTests.test_fatal_error_without_gil) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 285, in test_fatal_error_without_gil self.check_fatal_error_func(True) ^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 272, in check_fatal_error_func self.check_fatal_error(f""" ^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error self.check_error(code, line_number, fatal_error, **kw) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error self.assertRegex(output, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '(?m)^Fatal Python error: _testcapi_fatal_error_impl: xyz\nPython runtime state: initialized\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 2 in <module>' not found in 'Traceback (most recent call last):\n File "<string>", line 2, in <module>\nAttributeError: module \'_testcapi\' has no attribute \'fatal_error\'' ====================================================================== FAIL: test_gc (test.test_faulthandler.FaultHandlerTests.test_gc) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 176, in test_gc self.check_fatal_error(""" ^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error self.check_error(code, line_number, fatal_error, **kw) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error self.assertRegex(output, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '(?m)^Fatal Python error: Segmentation fault\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n Garbage-collecting\n File "<string>", line 9 in __del__' not found in 'Fatal Python error: Segmentation fault\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 8 in __del__\n File "<frozen importlib._bootstrap>", line 445 in cb\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_gil_released (test.test_faulthandler.FaultHandlerTests.test_gil_released) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 304, in test_gil_released self.check_fatal_error(""" ^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error self.check_error(code, line_number, fatal_error, **kw) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error self.assertRegex(output, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '(?m)^Fatal Python error: Segmentation fault\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 3 in <module>' not found in 'Fatal Python error: Segmentation fault\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_read_null (test.test_faulthandler.FaultHandlerTests.test_read_null) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 144, in test_read_null self.check_fatal_error(""" ^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error self.check_error(code, line_number, fatal_error, **kw) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error self.assertRegex(output, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '(?m)^Fatal Python error: (?:Segmentation fault|Bus error|Illegal instruction)\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 3 in <module>' not found in 'Fatal Python error: Segmentation fault\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_register (test.test_faulthandler.FaultHandlerTests.test_register) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 768, in test_register self.check_register() ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 759, in check_register self.assertRegex(trace, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '^Stack \\(most recent call first\\):\\n File "<string>", line 14 in func\n File "<string>", line 32 in <module>$' not found in 'Stack (most recent call first, approximate line numbers):\n File "<string>", line 13 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_register_chain (test.test_faulthandler.FaultHandlerTests.test_register_chain) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 787, in test_register_chain self.check_register(chain=True) ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 759, in check_register self.assertRegex(trace, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '^Stack \\(most recent call first\\):\\n File "<string>", line 14 in func\n File "<string>", line 32 in <module>$' not found in 'Stack (most recent call first, approximate line numbers):\n File "<string>", line 13 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_register_fd (test.test_faulthandler.FaultHandlerTests.test_register_fd) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 781, in test_register_fd self.check_register(fd=fp.fileno()) ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 759, in check_register self.assertRegex(trace, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '^Stack \\(most recent call first\\):\\n File "<string>", line 14 in func\n File "<string>", line 32 in <module>$' not found in 'Stack (most recent call first, approximate line numbers):\n File "<string>", line 13 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_register_file (test.test_faulthandler.FaultHandlerTests.test_register_file) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 775, in test_register_file self.check_register(filename=filename) ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 759, in check_register self.assertRegex(trace, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '^Stack \\(most recent call first\\):\\n File "<string>", line 14 in func\n File "<string>", line 32 in <module>$' not found in 'Stack (most recent call first, approximate line numbers):\n File "<string>", line 13 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_register_threads (test.test_faulthandler.FaultHandlerTests.test_register_threads) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 784, in test_register_threads self.check_register(all_threads=True) ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 759, in check_register self.assertRegex(trace, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '^Current thread 0x[0-9a-f]+ \\(most recent call first\\):\\n File "<string>", line 14 in func\n File "<string>", line 32 in <module>$' not found in 'Current thread 0x7F9D985F9780 (most recent call first, approximate line numbers):\n File "<string>", line 13 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_sigabrt (test.test_faulthandler.FaultHandlerTests.test_sigabrt) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 222, in test_sigabrt self.check_fatal_error(""" ^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error self.check_error(code, line_number, fatal_error, **kw) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error self.assertRegex(output, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '(?m)^Fatal Python error: Aborted\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 3 in <module>' not found in 'Fatal Python error: Aborted\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_sigbus (test.test_faulthandler.FaultHandlerTests.test_sigbus) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 245, in test_sigbus self.check_fatal_error(""" ^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error self.check_error(code, line_number, fatal_error, **kw) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error self.assertRegex(output, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '(?m)^Fatal Python error: Bus error\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 5 in <module>' not found in 'Fatal Python error: Bus error\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_sigfpe (test.test_faulthandler.FaultHandlerTests.test_sigfpe) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 233, in test_sigfpe self.check_fatal_error(""" ^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error self.check_error(code, line_number, fatal_error, **kw) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error self.assertRegex(output, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '(?m)^Fatal Python error: Floating-point exception\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 3 in <module>' not found in 'Fatal Python error: Floating point exception\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_sigill (test.test_faulthandler.FaultHandlerTests.test_sigill) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 259, in test_sigill self.check_fatal_error(""" ^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error self.check_error(code, line_number, fatal_error, **kw) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error self.assertRegex(output, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '(?m)^Fatal Python error: Illegal instruction\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 5 in <module>' not found in 'Fatal Python error: Illegal instruction\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_sigsegv (test.test_faulthandler.FaultHandlerTests.test_sigsegv) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 165, in test_sigsegv self.check_fatal_error(""" ^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error self.check_error(code, line_number, fatal_error, **kw) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error self.assertRegex(output, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '(?m)^Fatal Python error: Segmentation fault\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 3 in <module>' not found in 'Fatal Python error: Segmentation fault\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_stack_overflow (test.test_faulthandler.FaultHandlerTests.test_stack_overflow) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 293, in test_stack_overflow self.check_fatal_error(""" ^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error self.check_error(code, line_number, fatal_error, **kw) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error self.assertRegex(output, regex) ^^^^^^^^^^^ AssertionError: Regex didn't match: '(?m)(?:^Fatal Python error: (?:Segmentation fault|Bus error)\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 3 in <module>|unable to raise a stack overflow)' not found in 'Fatal Python error: Segmentation fault\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point' ====================================================================== FAIL: test_truncate (test.test_faulthandler.FaultHandlerTests.test_truncate) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_faulthandler.py", line 530, in test_truncate self.assertEqual(trace, expected) ^^^^^^^^^^^ AssertionError: Lists differ: ['Sta[21 chars]first, approximate line numbers):', ' File "<[795 chars]int'] != ['Sta[21 chars]first):', ' File "<string>", line 4 in xxxxxx[535 chars]le>'] First differing element 0: 'Stack (most recent call first, approximate line numbers):' 'Stack (most recent call first):' First list contains 4 additional elements. First extra element 3: ' File "<builtin>/app_main.py", line 964 in run_it' Diff is 2187 characters long. Set self.maxDiff to None to see it. ---------------------------------------------------------------------- Ran 45 tests in 13.860s FAILED (failures=31, skipped=5) 0:00:13 load avg: 0.78 [1/1/1] test_faulthandler failed (31 failures) == Tests result: FAILURE == 1 test failed: test_faulthandler Total duration: 14.0 sec Total tests: run=45 failures=31 skipped=5 Total test files: run=1/1 failed=1 Result: FAILURE test test_faulthandler failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1749151æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3159905888 0:00:00 load avg: 0.79 Run 1 test sequentially in a single process 0:00:00 load avg: 0.79 [1/1] test_finalization test_heterogenous_resurrect_one (test.test_finalization.CycleChainFinalizationTest.test_heterogenous_resurrect_one) ... FAIL test_heterogenous_resurrect_three (test.test_finalization.CycleChainFinalizationTest.test_heterogenous_resurrect_three) ... FAIL test_heterogenous_resurrect_two (test.test_finalization.CycleChainFinalizationTest.test_heterogenous_resurrect_two) ... FAIL test_heterogenous_suicidal_one (test.test_finalization.CycleChainFinalizationTest.test_heterogenous_suicidal_one) ... FAIL test_heterogenous_suicidal_two (test.test_finalization.CycleChainFinalizationTest.test_heterogenous_suicidal_two) ... FAIL test_homogenous (test.test_finalization.CycleChainFinalizationTest.test_homogenous) ... FAIL test_homogenous_resurrect (test.test_finalization.CycleChainFinalizationTest.test_homogenous_resurrect) ... FAIL test_homogenous_suicidal (test.test_finalization.CycleChainFinalizationTest.test_homogenous_suicidal) ... FAIL test_legacy (test.test_finalization.LegacyFinalizationTest.test_legacy) ... skipped 'implementation detail specific to cpython' test_legacy_resurrect (test.test_finalization.LegacyFinalizationTest.test_legacy_resurrect) ... skipped 'implementation detail specific to cpython' test_legacy_self_cycle (test.test_finalization.LegacyFinalizationTest.test_legacy_self_cycle) ... skipped 'implementation detail specific to cpython' test_simple (test.test_finalization.SelfCycleFinalizationTest.test_simple) ... ok test_simple_resurrect (test.test_finalization.SelfCycleFinalizationTest.test_simple_resurrect) ... ok test_simple_suicide (test.test_finalization.SelfCycleFinalizationTest.test_simple_suicide) ... ok test_non_gc (test.test_finalization.SimpleFinalizationTest.test_non_gc) ... skipped 'implementation detail specific to cpython' test_non_gc_resurrect (test.test_finalization.SimpleFinalizationTest.test_non_gc_resurrect) ... skipped 'implementation detail specific to cpython' test_simple (test.test_finalization.SimpleFinalizationTest.test_simple) ... ok test_simple_resurrect (test.test_finalization.SimpleFinalizationTest.test_simple_resurrect) ... FAIL ====================================================================== FAIL: test_heterogenous_resurrect_one (test.test_finalization.CycleChainFinalizationTest.test_heterogenous_resurrect_one) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 415, in test_heterogenous_resurrect_one self.check_resurrecting_chain([ChainedResurrector, SimpleChained] * 2) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 389, in check_resurrecting_chain self.assert_del_calls(ids) ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 148, in assert_del_calls self.assertEqual(sorted(SimpleBase.del_calls), sorted(ids)) ^^^^^^^^^^^ AssertionError: Lists differ: [139880066263488] != [139880066263488, 139880066263544, 139880066263600, 139880066263656] Second list contains 3 additional elements. First extra element 1: 139880066263544 - [139880066263488] + [139880066263488, 139880066263544, 139880066263600, 139880066263656] ====================================================================== FAIL: test_heterogenous_resurrect_three (test.test_finalization.CycleChainFinalizationTest.test_heterogenous_resurrect_three) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 422, in test_heterogenous_resurrect_three self.check_resurrecting_chain( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 389, in check_resurrecting_chain self.assert_del_calls(ids) ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 148, in assert_del_calls self.assertEqual(sorted(SimpleBase.del_calls), sorted(ids)) ^^^^^^^^^^^ AssertionError: Lists differ: [139880063536112, 139880066263656] != [139880056999792, 139880056999848, 13988005699990[48 chars]6112] First differing element 0: 139880063536112 139880056999792 Second list contains 4 additional elements. First extra element 2: 139880056999904 - [139880063536112, 139880066263656] + [139880056999792, + 139880056999848, + 139880056999904, + 139880056999960, + 139880057000016, + 139880063536112] ====================================================================== FAIL: test_heterogenous_resurrect_two (test.test_finalization.CycleChainFinalizationTest.test_heterogenous_resurrect_two) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 418, in test_heterogenous_resurrect_two self.check_resurrecting_chain( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 389, in check_resurrecting_chain self.assert_del_calls(ids) ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 148, in assert_del_calls self.assertEqual(sorted(SimpleBase.del_calls), sorted(ids)) ^^^^^^^^^^^ AssertionError: Lists differ: [139880056999904, 139880157161304] != [139880065959768, 139880066674936, 13988006689162[48 chars]1416] First differing element 0: 139880056999904 139880065959768 Second list contains 4 additional elements. First extra element 2: 139880066891624 - [139880056999904, 139880157161304] + [139880065959768, + 139880066674936, + 139880066891624, + 139880066891680, + 139880157161304, + 139880157161416] ====================================================================== FAIL: test_heterogenous_suicidal_one (test.test_finalization.CycleChainFinalizationTest.test_heterogenous_suicidal_one) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 408, in test_heterogenous_suicidal_one self.check_non_resurrecting_chain([SuicidalChained, SimpleChained] * 2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 373, in check_non_resurrecting_chain self.assert_del_calls(ids) ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 148, in assert_del_calls self.assertEqual(sorted(SimpleBase.del_calls), sorted(ids)) ^^^^^^^^^^^ AssertionError: Lists differ: [139880056999736, 139880066891624] != [139880056999736, 139880057000352, 139880057000408, 139880057000464] First differing element 1: 139880066891624 139880057000352 Second list contains 2 additional elements. First extra element 2: 139880057000408 - [139880056999736, 139880066891624] + [139880056999736, 139880057000352, 139880057000408, 139880057000464] ====================================================================== FAIL: test_heterogenous_suicidal_two (test.test_finalization.CycleChainFinalizationTest.test_heterogenous_suicidal_two) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 411, in test_heterogenous_suicidal_two self.check_non_resurrecting_chain( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 373, in check_non_resurrecting_chain self.assert_del_calls(ids) ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 148, in assert_del_calls self.assertEqual(sorted(SimpleBase.del_calls), sorted(ids)) ^^^^^^^^^^^ AssertionError: Lists differ: [139880057000464, 139880065959880] != [139880065959880, 139880065959936, 139880065960216, 139880065961952] First differing element 0: 139880057000464 139880065959880 Second list contains 2 additional elements. First extra element 2: 139880065960216 - [139880057000464, 139880065959880] + [139880065959880, 139880065959936, 139880065960216, 139880065961952] ====================================================================== FAIL: test_homogenous (test.test_finalization.CycleChainFinalizationTest.test_homogenous) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 399, in test_homogenous self.check_non_resurrecting_chain([SimpleChained] * 3) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 373, in check_non_resurrecting_chain self.assert_del_calls(ids) ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 148, in assert_del_calls self.assertEqual(sorted(SimpleBase.del_calls), sorted(ids)) ^^^^^^^^^^^ AssertionError: Lists differ: [139880056999736, 139880065961952] != [139880056999736, 139880056999792, 139880056999848] First differing element 1: 139880065961952 139880056999792 Second list contains 1 additional elements. First extra element 2: 139880056999848 - [139880056999736, 139880065961952] + [139880056999736, 139880056999792, 139880056999848] ====================================================================== FAIL: test_homogenous_resurrect (test.test_finalization.CycleChainFinalizationTest.test_homogenous_resurrect) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 402, in test_homogenous_resurrect self.check_resurrecting_chain([ChainedResurrector] * 3) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 389, in check_resurrecting_chain self.assert_del_calls(ids) ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 148, in assert_del_calls self.assertEqual(sorted(SimpleBase.del_calls), sorted(ids)) ^^^^^^^^^^^ AssertionError: Lists differ: [139880157161304] != [139880063536112, 139880157161304, 139880157161416] First differing element 0: 139880157161304 139880063536112 Second list contains 2 additional elements. First extra element 1: 139880157161304 - [139880157161304] + [139880063536112, 139880157161304, 139880157161416] ====================================================================== FAIL: test_homogenous_suicidal (test.test_finalization.CycleChainFinalizationTest.test_homogenous_suicidal) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 405, in test_homogenous_suicidal self.check_non_resurrecting_chain([SuicidalChained] * 3) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 373, in check_non_resurrecting_chain self.assert_del_calls(ids) ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 148, in assert_del_calls self.assertEqual(sorted(SimpleBase.del_calls), sorted(ids)) ^^^^^^^^^^^ AssertionError: Lists differ: [139880056999736] != [139880056999736, 139880056999792, 139880056999848] Second list contains 2 additional elements. First extra element 1: 139880056999792 - [139880056999736] + [139880056999736, 139880056999792, 139880056999848] ====================================================================== FAIL: test_simple_resurrect (test.test_finalization.SimpleFinalizationTest.test_simple_resurrect) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_finalization.py", line 191, in test_simple_resurrect self.assertIsNot(wr(), None) ^^^^^^^^^^^ AssertionError: unexpectedly identical: None ---------------------------------------------------------------------- Ran 18 tests in 0.249s FAILED (failures=9, skipped=5) 0:00:00 load avg: 0.79 [1/1/1] test_finalization failed (9 failures) == Tests result: FAILURE == 1 test failed: test_finalization Total duration: 320 ms Total tests: run=18 failures=9 skipped=5 Total test files: run=1/1 failed=1 Result: FAILURE test test_finalization failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1749161æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3991409057 0:00:00 load avg: 0.81 Run 1 test sequentially in a single process 0:00:00 load avg: 0.81 [1/1] test_flufl test_barry_as_bdfl (test.test_flufl.FLUFLTests.test_barry_as_bdfl) ... ok test_barry_as_bdfl_look_ma_with_no_compiler_flags (test.test_flufl.FLUFLTests.test_barry_as_bdfl_look_ma_with_no_compiler_flags) ... ok test_barry_as_bdfl_relative_import (test.test_flufl.FLUFLTests.test_barry_as_bdfl_relative_import) ... ERROR test_guido_as_bdfl (test.test_flufl.FLUFLTests.test_guido_as_bdfl) ... ok ====================================================================== ERROR: test_barry_as_bdfl_relative_import (test.test_flufl.FLUFLTests.test_barry_as_bdfl_relative_import) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_flufl.py", line 52, in test_barry_as_bdfl_relative_import compile(code.format('!='), '<FLUFL test>', 'exec') File "<FLUFL test>", line 1 SyntaxError: __future__ statements must appear at beginning of file ---------------------------------------------------------------------- Ran 4 tests in 0.004s FAILED (errors=1) 0:00:00 load avg: 0.81 [1/1/1] test_flufl failed (1 error) == Tests result: FAILURE == 1 test failed: test_flufl Total duration: 70 ms Total tests: run=4 Total test files: run=1/1 failed=1 Result: FAILURE test test_flufl failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1749193æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3138886584 0:00:00 load avg: 0.75 Run 1 test sequentially in a single process 0:00:00 load avg: 0.75 [1/1] test_format test_better_error_message_format (test.test_format.FormatTest.test_better_error_message_format) ... ok test_bytes_and_bytearray_format (test.test_format.FormatTest.test_bytes_and_bytearray_format) ... b'%c' % (7,) =? b'\x07' ... yes bytearray(b'%c') % (7,) =? bytearray(b'\x07') ... yes b'%c' % (b'Z',) =? b'Z' ... yes bytearray(b'%c') % (b'Z',) =? bytearray(b'Z') ... yes b'%c' % (bytearray(b'Z'),) =? b'Z' ... yes bytearray(b'%c') % (bytearray(b'Z'),) =? bytearray(b'Z') ... yes b'%5c' % (65,) =? b' A' ... yes bytearray(b'%5c') % (65,) =? bytearray(b' A') ... yes b'%-5c' % (65,) =? b'A ' ... yes bytearray(b'%-5c') % (65,) =? bytearray(b'A ') ... yes b'%b' % (b'abc',) =? b'abc' ... yes bytearray(b'%b') % (b'abc',) =? bytearray(b'abc') ... yes b'%b' % (bytearray(b'def'),) =? b'def' ... yes bytearray(b'%b') % (bytearray(b'def'),) =? bytearray(b'def') ... yes b'%b' % (<test.test_format.FormatTest.test_bytes_and_bytearray_format.<locals>.FakeBytes object at 0x00007f1d9d49cec8>,) =? b'123' ... yes bytearray(b'%b') % (<test.test_format.FormatTest.test_bytes_and_bytearray_format.<locals>.FakeBytes object at 0x00007f1d9d49cec8>,) =? bytearray(b'123') ... yes b'%b' % (<memory at 0x00007f1d9d90aa70>,) =? b'abc' ... yes bytearray(b'%b') % (<memory at 0x00007f1d9d90aa70>,) =? bytearray(b'abc') ... yes b'%s' % (b'abc',) =? b'abc' ... yes bytearray(b'%s') % (b'abc',) =? bytearray(b'abc') ... yes b'%s' % (bytearray(b'def'),) =? b'def' ... yes bytearray(b'%s') % (bytearray(b'def'),) =? bytearray(b'def') ... yes b'%s' % (<test.test_format.FormatTest.test_bytes_and_bytearray_format.<locals>.FakeBytes object at 0x00007f1d9d49cec8>,) =? b'123' ... yes bytearray(b'%s') % (<test.test_format.FormatTest.test_bytes_and_bytearray_format.<locals>.FakeBytes object at 0x00007f1d9d49cec8>,) =? bytearray(b'123') ... yes b'%s' % (<memory at 0x00007f1d9d90aaa0>,) =? b'abc' ... yes bytearray(b'%s') % (<memory at 0x00007f1d9d90aaa0>,) =? bytearray(b'abc') ... yes b'%a' % (3.14,) =? b'3.14' ... yes bytearray(b'%a') % (3.14,) =? bytearray(b'3.14') ... yes b'%a' % (b'ghi',) =? b"b'ghi'" ... yes bytearray(b'%a') % (b'ghi',) =? bytearray(b"b\'ghi\'") ... yes b'%a' % ('jkl',) =? b"'jkl'" ... yes bytearray(b'%a') % ('jkl',) =? bytearray(b"\'jkl\'") ... yes b'%a' % ('\u0544',) =? b"'\\u0544'" ... yes bytearray(b'%a') % ('\u0544',) =? bytearray(b"\'\\u0544\'") ... yes b'%r' % (3.14,) =? b'3.14' ... yes bytearray(b'%r') % (3.14,) =? bytearray(b'3.14') ... yes b'%r' % (b'ghi',) =? b"b'ghi'" ... yes bytearray(b'%r') % (b'ghi',) =? bytearray(b"b\'ghi\'") ... yes b'%r' % ('jkl',) =? b"'jkl'" ... yes bytearray(b'%r') % ('jkl',) =? bytearray(b"\'jkl\'") ... yes b'%r' % ('\u0544',) =? b"'\\u0544'" ... yes bytearray(b'%r') % ('\u0544',) =? bytearray(b"\'\\u0544\'") ... yes Testing exceptions b'%g' % '1' works? ... no Unexpected <class 'TypeError'> : 'must be real number, not str' b'%g' % b'1' works? ... no Unexpected <class 'TypeError'> : 'must be real number, not bytes' b'no format' % 7 works? ... no Unexpected <class 'TypeError'> : 'not all arguments converted during string formatting' b'no format' % b'1' works? ... no Unexpected <class 'TypeError'> : 'not all arguments converted during string formatting' b'no format' % bytearray(b'1') works? ... no Unexpected <class 'TypeError'> : 'not all arguments converted during string formatting' b'%c' % -1 works? ... no Unexpected <class 'OverflowError'> : 'character code not in range(256)' b'%c' % 256 works? ... no Unexpected <class 'OverflowError'> : 'character code not in range(256)' b'%c' % 340282366920938463463374607431768211456 works? ... no Unexpected <class 'OverflowError'> : 'int too large to convert to int' b'%c' % b'Za' works? ... no Unexpected <class 'TypeError'> : '%c requires int or single byte' b'%c' % 'Y' works? ... no Unexpected <class 'TypeError'> : '%c requires int or single byte' b'%c' % 3.14 works? ... no Unexpected <class 'TypeError'> : '%c requires int or single byte' b'%b' % 'Xc' works? ... no Unexpected <class 'TypeError'> : "requires bytes, or an object that implements __bytes__, not 'str'" b'%s' % 'Wd' works? ... no Unexpected <class 'TypeError'> : "requires bytes, or an object that implements __bytes__, not 'str'" ok test_common_format (test.test_format.FormatTest.test_common_format) ... '%%' % () =? '%' ... yes b'%%' % () =? b'%' ... yes bytearray(b'%%') % () =? bytearray(b'%') ... yes '%.1d' % (1,) =? '1' ... yes b'%.1d' % (1,) =? b'1' ... yes bytearray(b'%.1d') % (1,) =? bytearray(b'1') ... yes '%.*d' % (9223372036854775807, 1) works? ... overflow (this is fine) b'%.*d' % (9223372036854775807, 1) works? ... overflow (this is fine) bytearray(b'%.*d') % (9223372036854775807, 1) works? ... overflow (this is fine) '%.100d' % (1,) =? '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001' ... yes b'%.100d' % (1,) =? b'0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001' ... yes bytearray(b'%.100d') % (1,) =? bytearray(b'0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001') ... yes '%#.117x' % (1,) =? '0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001' ... yes b'%#.117x' % (1,) =? b'0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001' ... yes bytearray(b'%#.117x') % (1,) =? bytearray(b'0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001') ... yes '%#.118x' % (1,) =? '0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001' ... yes b'%#.118x' % (1,) =? b'0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001' ... yes bytearray(b'%#.118x') % (1,) =? bytearray(b'0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001') ... yes '%f' % (1.0,) =? '1.000000' ... yes b'%f' % (1.0,) =? b'1.000000' ... yes bytearray(b'%f') % (1.0,) =? bytearray(b'1.000000') ... yes '%#.*g' % (109, -3.3333333333333334e+48) works? ... yes b'%#.*g' % (109, -3.3333333333333334e+48) works? ... yes bytearray(b'%#.*g') % (109, -3.3333333333333334e+48) works? ... yes '%#.*g' % (110, -3.3333333333333334e+48) works? ... yes b'%#.*g' % (110, -3.3333333333333334e+48) works? ... yes bytearray(b'%#.*g') % (110, -3.3333333333333334e+48) works? ... yes '%#.*g' % (110, -3.333333333333333e+99) works? ... yes b'%#.*g' % (110, -3.333333333333333e+99) works? ... yes bytearray(b'%#.*g') % (110, -3.333333333333333e+99) works? ... yes '%12.*f' % (123456, 1.0) works? ... yes b'%12.*f' % (123456, 1.0) works? ... yes bytearray(b'%12.*f') % (123456, 1.0) works? ... yes '%#.*g' % (110, -3.333333333333333e+99) works? ... yes b'%#.*g' % (110, -3.333333333333333e+99) works? ... yes bytearray(b'%#.*g') % (110, -3.333333333333333e+99) works? ... yes '%#.*G' % (110, -3.333333333333333e+99) works? ... yes b'%#.*G' % (110, -3.333333333333333e+99) works? ... yes bytearray(b'%#.*G') % (110, -3.333333333333333e+99) works? ... yes '%#.*f' % (110, -3.333333333333333e+99) works? ... yes b'%#.*f' % (110, -3.333333333333333e+99) works? ... yes bytearray(b'%#.*f') % (110, -3.333333333333333e+99) works? ... yes '%#.*F' % (110, -3.333333333333333e+99) works? ... yes b'%#.*F' % (110, -3.333333333333333e+99) works? ... yes bytearray(b'%#.*F') % (110, -3.333333333333333e+99) works? ... yes '%x' % 10 =? 'a' ... yes b'%x' % (10,) =? b'a' ... yes bytearray(b'%x') % (10,) =? bytearray(b'a') ... yes '%x' % 100000000000 =? '174876e800' ... yes b'%x' % (100000000000,) =? b'174876e800' ... yes bytearray(b'%x') % (100000000000,) =? bytearray(b'174876e800') ... yes '%o' % 10 =? '12' ... yes b'%o' % (10,) =? b'12' ... yes bytearray(b'%o') % (10,) =? bytearray(b'12') ... yes '%o' % 100000000000 =? '1351035564000' ... yes b'%o' % (100000000000,) =? b'1351035564000' ... yes bytearray(b'%o') % (100000000000,) =? bytearray(b'1351035564000') ... yes '%d' % 10 =? '10' ... yes b'%d' % (10,) =? b'10' ... yes bytearray(b'%d') % (10,) =? bytearray(b'10') ... yes '%d' % 100000000000 =? '100000000000' ... yes b'%d' % (100000000000,) =? b'100000000000' ... yes bytearray(b'%d') % (100000000000,) =? bytearray(b'100000000000') ... yes '%d' % 123456789012345678901234567890 =? '123456789012345678901234567890' ... yes b'%d' % (123456789012345678901234567890,) =? b'123456789012345678901234567890' ... yes bytearray(b'%d') % (123456789012345678901234567890,) =? bytearray(b'123456789012345678901234567890') ... yes '%d' % -123456789012345678901234567890 =? '-123456789012345678901234567890' ... yes b'%d' % (-123456789012345678901234567890,) =? b'-123456789012345678901234567890' ... yes bytearray(b'%d') % (-123456789012345678901234567890,) =? bytearray(b'-123456789012345678901234567890') ... yes '%5d' % -123456789012345678901234567890 =? '-123456789012345678901234567890' ... yes b'%5d' % (-123456789012345678901234567890,) =? b'-123456789012345678901234567890' ... yes bytearray(b'%5d') % (-123456789012345678901234567890,) =? bytearray(b'-123456789012345678901234567890') ... yes '%31d' % -123456789012345678901234567890 =? '-123456789012345678901234567890' ... yes b'%31d' % (-123456789012345678901234567890,) =? b'-123456789012345678901234567890' ... yes bytearray(b'%31d') % (-123456789012345678901234567890,) =? bytearray(b'-123456789012345678901234567890') ... yes '%32d' % -123456789012345678901234567890 =? ' -123456789012345678901234567890' ... yes b'%32d' % (-123456789012345678901234567890,) =? b' -123456789012345678901234567890' ... yes bytearray(b'%32d') % (-123456789012345678901234567890,) =? bytearray(b' -123456789012345678901234567890') ... yes '%-32d' % -123456789012345678901234567890 =? '-123456789012345678901234567890 ' ... yes b'%-32d' % (-123456789012345678901234567890,) =? b'-123456789012345678901234567890 ' ... yes bytearray(b'%-32d') % (-123456789012345678901234567890,) =? bytearray(b'-123456789012345678901234567890 ') ... yes '%032d' % -123456789012345678901234567890 =? '-0123456789012345678901234567890' ... yes b'%032d' % (-123456789012345678901234567890,) =? b'-0123456789012345678901234567890' ... yes bytearray(b'%032d') % (-123456789012345678901234567890,) =? bytearray(b'-0123456789012345678901234567890') ... yes '%-032d' % -123456789012345678901234567890 =? '-123456789012345678901234567890 ' ... yes b'%-032d' % (-123456789012345678901234567890,) =? b'-123456789012345678901234567890 ' ... yes bytearray(b'%-032d') % (-123456789012345678901234567890,) =? bytearray(b'-123456789012345678901234567890 ') ... yes '%034d' % -123456789012345678901234567890 =? '-000123456789012345678901234567890' ... yes b'%034d' % (-123456789012345678901234567890,) =? b'-000123456789012345678901234567890' ... yes bytearray(b'%034d') % (-123456789012345678901234567890,) =? bytearray(b'-000123456789012345678901234567890') ... yes '%034d' % 123456789012345678901234567890 =? '0000123456789012345678901234567890' ... yes b'%034d' % (123456789012345678901234567890,) =? b'0000123456789012345678901234567890' ... yes bytearray(b'%034d') % (123456789012345678901234567890,) =? bytearray(b'0000123456789012345678901234567890') ... yes '%0+34d' % 123456789012345678901234567890 =? '+000123456789012345678901234567890' ... yes b'%0+34d' % (123456789012345678901234567890,) =? b'+000123456789012345678901234567890' ... yes bytearray(b'%0+34d') % (123456789012345678901234567890,) =? bytearray(b'+000123456789012345678901234567890') ... yes '%+34d' % 123456789012345678901234567890 =? ' +123456789012345678901234567890' ... yes b'%+34d' % (123456789012345678901234567890,) =? b' +123456789012345678901234567890' ... yes bytearray(b'%+34d') % (123456789012345678901234567890,) =? bytearray(b' +123456789012345678901234567890') ... yes '%34d' % 123456789012345678901234567890 =? ' 123456789012345678901234567890' ... yes b'%34d' % (123456789012345678901234567890,) =? b' 123456789012345678901234567890' ... yes bytearray(b'%34d') % (123456789012345678901234567890,) =? bytearray(b' 123456789012345678901234567890') ... yes '%.2d' % 123456789012345678901234567890 =? '123456789012345678901234567890' ... yes b'%.2d' % (123456789012345678901234567890,) =? b'123456789012345678901234567890' ... yes bytearray(b'%.2d') % (123456789012345678901234567890,) =? bytearray(b'123456789012345678901234567890') ... yes '%.30d' % 123456789012345678901234567890 =? '123456789012345678901234567890' ... yes b'%.30d' % (123456789012345678901234567890,) =? b'123456789012345678901234567890' ... yes bytearray(b'%.30d') % (123456789012345678901234567890,) =? bytearray(b'123456789012345678901234567890') ... yes '%.31d' % 123456789012345678901234567890 =? '0123456789012345678901234567890' ... yes b'%.31d' % (123456789012345678901234567890,) =? b'0123456789012345678901234567890' ... yes bytearray(b'%.31d') % (123456789012345678901234567890,) =? bytearray(b'0123456789012345678901234567890') ... yes '%32.31d' % 123456789012345678901234567890 =? ' 0123456789012345678901234567890' ... yes b'%32.31d' % (123456789012345678901234567890,) =? b' 0123456789012345678901234567890' ... yes bytearray(b'%32.31d') % (123456789012345678901234567890,) =? bytearray(b' 0123456789012345678901234567890') ... yes '%d' % 1.2345678901234568e+29 =? '123456________________________' ... yes b'%d' % (1.2345678901234568e+29,) =? b'123456________________________' ... yes bytearray(b'%d') % (1.2345678901234568e+29,) =? bytearray(b'123456________________________') ... yes '%x' % 1375488932362216742658885 =? '1234567890abcdef12345' ... yes b'%x' % (1375488932362216742658885,) =? b'1234567890abcdef12345' ... yes bytearray(b'%x') % (1375488932362216742658885,) =? bytearray(b'1234567890abcdef12345') ... yes '%x' % -1375488932362216742658885 =? '-1234567890abcdef12345' ... yes b'%x' % (-1375488932362216742658885,) =? b'-1234567890abcdef12345' ... yes bytearray(b'%x') % (-1375488932362216742658885,) =? bytearray(b'-1234567890abcdef12345') ... yes '%5x' % -1375488932362216742658885 =? '-1234567890abcdef12345' ... yes b'%5x' % (-1375488932362216742658885,) =? b'-1234567890abcdef12345' ... yes bytearray(b'%5x') % (-1375488932362216742658885,) =? bytearray(b'-1234567890abcdef12345') ... yes '%22x' % -1375488932362216742658885 =? '-1234567890abcdef12345' ... yes b'%22x' % (-1375488932362216742658885,) =? b'-1234567890abcdef12345' ... yes bytearray(b'%22x') % (-1375488932362216742658885,) =? bytearray(b'-1234567890abcdef12345') ... yes '%23x' % -1375488932362216742658885 =? ' -1234567890abcdef12345' ... yes b'%23x' % (-1375488932362216742658885,) =? b' -1234567890abcdef12345' ... yes bytearray(b'%23x') % (-1375488932362216742658885,) =? bytearray(b' -1234567890abcdef12345') ... yes '%-23x' % -1375488932362216742658885 =? '-1234567890abcdef12345 ' ... yes b'%-23x' % (-1375488932362216742658885,) =? b'-1234567890abcdef12345 ' ... yes bytearray(b'%-23x') % (-1375488932362216742658885,) =? bytearray(b'-1234567890abcdef12345 ') ... yes '%023x' % -1375488932362216742658885 =? '-01234567890abcdef12345' ... yes b'%023x' % (-1375488932362216742658885,) =? b'-01234567890abcdef12345' ... yes bytearray(b'%023x') % (-1375488932362216742658885,) =? bytearray(b'-01234567890abcdef12345') ... yes '%-023x' % -1375488932362216742658885 =? '-1234567890abcdef12345 ' ... yes b'%-023x' % (-1375488932362216742658885,) =? b'-1234567890abcdef12345 ' ... yes bytearray(b'%-023x') % (-1375488932362216742658885,) =? bytearray(b'-1234567890abcdef12345 ') ... yes '%025x' % -1375488932362216742658885 =? '-0001234567890abcdef12345' ... yes b'%025x' % (-1375488932362216742658885,) =? b'-0001234567890abcdef12345' ... yes bytearray(b'%025x') % (-1375488932362216742658885,) =? bytearray(b'-0001234567890abcdef12345') ... yes '%025x' % 1375488932362216742658885 =? '00001234567890abcdef12345' ... yes b'%025x' % (1375488932362216742658885,) =? b'00001234567890abcdef12345' ... yes bytearray(b'%025x') % (1375488932362216742658885,) =? bytearray(b'00001234567890abcdef12345') ... yes '%0+25x' % 1375488932362216742658885 =? '+0001234567890abcdef12345' ... yes b'%0+25x' % (1375488932362216742658885,) =? b'+0001234567890abcdef12345' ... yes bytearray(b'%0+25x') % (1375488932362216742658885,) =? bytearray(b'+0001234567890abcdef12345') ... yes '%+25x' % 1375488932362216742658885 =? ' +1234567890abcdef12345' ... yes b'%+25x' % (1375488932362216742658885,) =? b' +1234567890abcdef12345' ... yes bytearray(b'%+25x') % (1375488932362216742658885,) =? bytearray(b' +1234567890abcdef12345') ... yes '%25x' % 1375488932362216742658885 =? ' 1234567890abcdef12345' ... yes b'%25x' % (1375488932362216742658885,) =? b' 1234567890abcdef12345' ... yes bytearray(b'%25x') % (1375488932362216742658885,) =? bytearray(b' 1234567890abcdef12345') ... yes '%.2x' % 1375488932362216742658885 =? '1234567890abcdef12345' ... yes b'%.2x' % (1375488932362216742658885,) =? b'1234567890abcdef12345' ... yes bytearray(b'%.2x') % (1375488932362216742658885,) =? bytearray(b'1234567890abcdef12345') ... yes '%.21x' % 1375488932362216742658885 =? '1234567890abcdef12345' ... yes b'%.21x' % (1375488932362216742658885,) =? b'1234567890abcdef12345' ... yes bytearray(b'%.21x') % (1375488932362216742658885,) =? bytearray(b'1234567890abcdef12345') ... yes '%.22x' % 1375488932362216742658885 =? '01234567890abcdef12345' ... yes b'%.22x' % (1375488932362216742658885,) =? b'01234567890abcdef12345' ... yes bytearray(b'%.22x') % (1375488932362216742658885,) =? bytearray(b'01234567890abcdef12345') ... yes '%23.22x' % 1375488932362216742658885 =? ' 01234567890abcdef12345' ... yes b'%23.22x' % (1375488932362216742658885,) =? b' 01234567890abcdef12345' ... yes bytearray(b'%23.22x') % (1375488932362216742658885,) =? bytearray(b' 01234567890abcdef12345') ... yes '%-23.22x' % 1375488932362216742658885 =? '01234567890abcdef12345 ' ... yes b'%-23.22x' % (1375488932362216742658885,) =? b'01234567890abcdef12345 ' ... yes bytearray(b'%-23.22x') % (1375488932362216742658885,) =? bytearray(b'01234567890abcdef12345 ') ... yes '%X' % 1375488932362216742658885 =? '1234567890ABCDEF12345' ... yes b'%X' % (1375488932362216742658885,) =? b'1234567890ABCDEF12345' ... yes bytearray(b'%X') % (1375488932362216742658885,) =? bytearray(b'1234567890ABCDEF12345') ... yes '%#X' % 1375488932362216742658885 =? '0X1234567890ABCDEF12345' ... yes b'%#X' % (1375488932362216742658885,) =? b'0X1234567890ABCDEF12345' ... yes bytearray(b'%#X') % (1375488932362216742658885,) =? bytearray(b'0X1234567890ABCDEF12345') ... yes '%#x' % 1375488932362216742658885 =? '0x1234567890abcdef12345' ... yes b'%#x' % (1375488932362216742658885,) =? b'0x1234567890abcdef12345' ... yes bytearray(b'%#x') % (1375488932362216742658885,) =? bytearray(b'0x1234567890abcdef12345') ... yes '%#x' % -1375488932362216742658885 =? '-0x1234567890abcdef12345' ... yes b'%#x' % (-1375488932362216742658885,) =? b'-0x1234567890abcdef12345' ... yes bytearray(b'%#x') % (-1375488932362216742658885,) =? bytearray(b'-0x1234567890abcdef12345') ... yes '%#27x' % 1375488932362216742658885 =? ' 0x1234567890abcdef12345' ... yes b'%#27x' % (1375488932362216742658885,) =? b' 0x1234567890abcdef12345' ... yes bytearray(b'%#27x') % (1375488932362216742658885,) =? bytearray(b' 0x1234567890abcdef12345') ... yes '%#-27x' % 1375488932362216742658885 =? '0x1234567890abcdef12345 ' ... yes b'%#-27x' % (1375488932362216742658885,) =? b'0x1234567890abcdef12345 ' ... yes bytearray(b'%#-27x') % (1375488932362216742658885,) =? bytearray(b'0x1234567890abcdef12345 ') ... yes '%#027x' % 1375488932362216742658885 =? '0x00001234567890abcdef12345' ... yes b'%#027x' % (1375488932362216742658885,) =? b'0x00001234567890abcdef12345' ... yes bytearray(b'%#027x') % (1375488932362216742658885,) =? bytearray(b'0x00001234567890abcdef12345') ... yes '%#.23x' % 1375488932362216742658885 =? '0x001234567890abcdef12345' ... yes b'%#.23x' % (1375488932362216742658885,) =? b'0x001234567890abcdef12345' ... yes bytearray(b'%#.23x') % (1375488932362216742658885,) =? bytearray(b'0x001234567890abcdef12345') ... yes '%#.23x' % -1375488932362216742658885 =? '-0x001234567890abcdef12345' ... yes b'%#.23x' % (-1375488932362216742658885,) =? b'-0x001234567890abcdef12345' ... yes bytearray(b'%#.23x') % (-1375488932362216742658885,) =? bytearray(b'-0x001234567890abcdef12345') ... yes '%#27.23x' % 1375488932362216742658885 =? ' 0x001234567890abcdef12345' ... yes b'%#27.23x' % (1375488932362216742658885,) =? b' 0x001234567890abcdef12345' ... yes bytearray(b'%#27.23x') % (1375488932362216742658885,) =? bytearray(b' 0x001234567890abcdef12345') ... yes '%#-27.23x' % 1375488932362216742658885 =? '0x001234567890abcdef12345 ' ... yes b'%#-27.23x' % (1375488932362216742658885,) =? b'0x001234567890abcdef12345 ' ... yes bytearray(b'%#-27.23x') % (1375488932362216742658885,) =? bytearray(b'0x001234567890abcdef12345 ') ... yes '%#027.23x' % 1375488932362216742658885 =? '0x00001234567890abcdef12345' ... yes b'%#027.23x' % (1375488932362216742658885,) =? b'0x00001234567890abcdef12345' ... yes bytearray(b'%#027.23x') % (1375488932362216742658885,) =? bytearray(b'0x00001234567890abcdef12345') ... yes '%#+.23x' % 1375488932362216742658885 =? '+0x001234567890abcdef12345' ... yes b'%#+.23x' % (1375488932362216742658885,) =? b'+0x001234567890abcdef12345' ... yes bytearray(b'%#+.23x') % (1375488932362216742658885,) =? bytearray(b'+0x001234567890abcdef12345') ... yes '%# .23x' % 1375488932362216742658885 =? ' 0x001234567890abcdef12345' ... yes b'%# .23x' % (1375488932362216742658885,) =? b' 0x001234567890abcdef12345' ... yes bytearray(b'%# .23x') % (1375488932362216742658885,) =? bytearray(b' 0x001234567890abcdef12345') ... yes '%#+.23X' % 1375488932362216742658885 =? '+0X001234567890ABCDEF12345' ... yes b'%#+.23X' % (1375488932362216742658885,) =? b'+0X001234567890ABCDEF12345' ... yes bytearray(b'%#+.23X') % (1375488932362216742658885,) =? bytearray(b'+0X001234567890ABCDEF12345') ... yes '%#+027.23X' % 1375488932362216742658885 =? '+0X0001234567890ABCDEF12345' ... yes b'%#+027.23X' % (1375488932362216742658885,) =? b'+0X0001234567890ABCDEF12345' ... yes bytearray(b'%#+027.23X') % (1375488932362216742658885,) =? bytearray(b'+0X0001234567890ABCDEF12345') ... yes '%# 027.23X' % 1375488932362216742658885 =? ' 0X0001234567890ABCDEF12345' ... yes b'%# 027.23X' % (1375488932362216742658885,) =? b' 0X0001234567890ABCDEF12345' ... yes bytearray(b'%# 027.23X') % (1375488932362216742658885,) =? bytearray(b' 0X0001234567890ABCDEF12345') ... yes '%#+27.23X' % 1375488932362216742658885 =? ' +0X001234567890ABCDEF12345' ... yes b'%#+27.23X' % (1375488932362216742658885,) =? b' +0X001234567890ABCDEF12345' ... yes bytearray(b'%#+27.23X') % (1375488932362216742658885,) =? bytearray(b' +0X001234567890ABCDEF12345') ... yes '%#-+27.23x' % 1375488932362216742658885 =? '+0x001234567890abcdef12345 ' ... yes b'%#-+27.23x' % (1375488932362216742658885,) =? b'+0x001234567890abcdef12345 ' ... yes bytearray(b'%#-+27.23x') % (1375488932362216742658885,) =? bytearray(b'+0x001234567890abcdef12345 ') ... yes '%#- 27.23x' % 1375488932362216742658885 =? ' 0x001234567890abcdef12345 ' ... yes b'%#- 27.23x' % (1375488932362216742658885,) =? b' 0x001234567890abcdef12345 ' ... yes bytearray(b'%#- 27.23x') % (1375488932362216742658885,) =? bytearray(b' 0x001234567890abcdef12345 ') ... yes '%o' % 12935167030485801517351291832 =? '12345670123456701234567012345670' ... yes b'%o' % (12935167030485801517351291832,) =? b'12345670123456701234567012345670' ... yes bytearray(b'%o') % (12935167030485801517351291832,) =? bytearray(b'12345670123456701234567012345670') ... yes '%o' % -12935167030485801517351291832 =? '-12345670123456701234567012345670' ... yes b'%o' % (-12935167030485801517351291832,) =? b'-12345670123456701234567012345670' ... yes bytearray(b'%o') % (-12935167030485801517351291832,) =? bytearray(b'-12345670123456701234567012345670') ... yes '%5o' % -12935167030485801517351291832 =? '-12345670123456701234567012345670' ... yes b'%5o' % (-12935167030485801517351291832,) =? b'-12345670123456701234567012345670' ... yes bytearray(b'%5o') % (-12935167030485801517351291832,) =? bytearray(b'-12345670123456701234567012345670') ... yes '%33o' % -12935167030485801517351291832 =? '-12345670123456701234567012345670' ... yes b'%33o' % (-12935167030485801517351291832,) =? b'-12345670123456701234567012345670' ... yes bytearray(b'%33o') % (-12935167030485801517351291832,) =? bytearray(b'-12345670123456701234567012345670') ... yes '%34o' % -12935167030485801517351291832 =? ' -12345670123456701234567012345670' ... yes b'%34o' % (-12935167030485801517351291832,) =? b' -12345670123456701234567012345670' ... yes bytearray(b'%34o') % (-12935167030485801517351291832,) =? bytearray(b' -12345670123456701234567012345670') ... yes '%-34o' % -12935167030485801517351291832 =? '-12345670123456701234567012345670 ' ... yes b'%-34o' % (-12935167030485801517351291832,) =? b'-12345670123456701234567012345670 ' ... yes bytearray(b'%-34o') % (-12935167030485801517351291832,) =? bytearray(b'-12345670123456701234567012345670 ') ... yes '%034o' % -12935167030485801517351291832 =? '-012345670123456701234567012345670' ... yes b'%034o' % (-12935167030485801517351291832,) =? b'-012345670123456701234567012345670' ... yes bytearray(b'%034o') % (-12935167030485801517351291832,) =? bytearray(b'-012345670123456701234567012345670') ... yes '%-034o' % -12935167030485801517351291832 =? '-12345670123456701234567012345670 ' ... yes b'%-034o' % (-12935167030485801517351291832,) =? b'-12345670123456701234567012345670 ' ... yes bytearray(b'%-034o') % (-12935167030485801517351291832,) =? bytearray(b'-12345670123456701234567012345670 ') ... yes '%036o' % -12935167030485801517351291832 =? '-00012345670123456701234567012345670' ... yes b'%036o' % (-12935167030485801517351291832,) =? b'-00012345670123456701234567012345670' ... yes bytearray(b'%036o') % (-12935167030485801517351291832,) =? bytearray(b'-00012345670123456701234567012345670') ... yes '%036o' % 12935167030485801517351291832 =? '000012345670123456701234567012345670' ... yes b'%036o' % (12935167030485801517351291832,) =? b'000012345670123456701234567012345670' ... yes bytearray(b'%036o') % (12935167030485801517351291832,) =? bytearray(b'000012345670123456701234567012345670') ... yes '%0+36o' % 12935167030485801517351291832 =? '+00012345670123456701234567012345670' ... yes b'%0+36o' % (12935167030485801517351291832,) =? b'+00012345670123456701234567012345670' ... yes bytearray(b'%0+36o') % (12935167030485801517351291832,) =? bytearray(b'+00012345670123456701234567012345670') ... yes '%+36o' % 12935167030485801517351291832 =? ' +12345670123456701234567012345670' ... yes b'%+36o' % (12935167030485801517351291832,) =? b' +12345670123456701234567012345670' ... yes bytearray(b'%+36o') % (12935167030485801517351291832,) =? bytearray(b' +12345670123456701234567012345670') ... yes '%36o' % 12935167030485801517351291832 =? ' 12345670123456701234567012345670' ... yes b'%36o' % (12935167030485801517351291832,) =? b' 12345670123456701234567012345670' ... yes bytearray(b'%36o') % (12935167030485801517351291832,) =? bytearray(b' 12345670123456701234567012345670') ... yes '%.2o' % 12935167030485801517351291832 =? '12345670123456701234567012345670' ... yes b'%.2o' % (12935167030485801517351291832,) =? b'12345670123456701234567012345670' ... yes bytearray(b'%.2o') % (12935167030485801517351291832,) =? bytearray(b'12345670123456701234567012345670') ... yes '%.32o' % 12935167030485801517351291832 =? '12345670123456701234567012345670' ... yes b'%.32o' % (12935167030485801517351291832,) =? b'12345670123456701234567012345670' ... yes bytearray(b'%.32o') % (12935167030485801517351291832,) =? bytearray(b'12345670123456701234567012345670') ... yes '%.33o' % 12935167030485801517351291832 =? '012345670123456701234567012345670' ... yes b'%.33o' % (12935167030485801517351291832,) =? b'012345670123456701234567012345670' ... yes bytearray(b'%.33o') % (12935167030485801517351291832,) =? bytearray(b'012345670123456701234567012345670') ... yes '%34.33o' % 12935167030485801517351291832 =? ' 012345670123456701234567012345670' ... yes b'%34.33o' % (12935167030485801517351291832,) =? b' 012345670123456701234567012345670' ... yes bytearray(b'%34.33o') % (12935167030485801517351291832,) =? bytearray(b' 012345670123456701234567012345670') ... yes '%-34.33o' % 12935167030485801517351291832 =? '012345670123456701234567012345670 ' ... yes b'%-34.33o' % (12935167030485801517351291832,) =? b'012345670123456701234567012345670 ' ... yes bytearray(b'%-34.33o') % (12935167030485801517351291832,) =? bytearray(b'012345670123456701234567012345670 ') ... yes '%o' % 12935167030485801517351291832 =? '12345670123456701234567012345670' ... yes b'%o' % (12935167030485801517351291832,) =? b'12345670123456701234567012345670' ... yes bytearray(b'%o') % (12935167030485801517351291832,) =? bytearray(b'12345670123456701234567012345670') ... yes '%#o' % 12935167030485801517351291832 =? '0o12345670123456701234567012345670' ... yes b'%#o' % (12935167030485801517351291832,) =? b'0o12345670123456701234567012345670' ... yes bytearray(b'%#o') % (12935167030485801517351291832,) =? bytearray(b'0o12345670123456701234567012345670') ... yes '%#o' % -12935167030485801517351291832 =? '-0o12345670123456701234567012345670' ... yes b'%#o' % (-12935167030485801517351291832,) =? b'-0o12345670123456701234567012345670' ... yes bytearray(b'%#o') % (-12935167030485801517351291832,) =? bytearray(b'-0o12345670123456701234567012345670') ... yes '%#38o' % 12935167030485801517351291832 =? ' 0o12345670123456701234567012345670' ... yes b'%#38o' % (12935167030485801517351291832,) =? b' 0o12345670123456701234567012345670' ... yes bytearray(b'%#38o') % (12935167030485801517351291832,) =? bytearray(b' 0o12345670123456701234567012345670') ... yes '%#-38o' % 12935167030485801517351291832 =? '0o12345670123456701234567012345670 ' ... yes b'%#-38o' % (12935167030485801517351291832,) =? b'0o12345670123456701234567012345670 ' ... yes bytearray(b'%#-38o') % (12935167030485801517351291832,) =? bytearray(b'0o12345670123456701234567012345670 ') ... yes '%#038o' % 12935167030485801517351291832 =? '0o000012345670123456701234567012345670' ... yes b'%#038o' % (12935167030485801517351291832,) =? b'0o000012345670123456701234567012345670' ... yes bytearray(b'%#038o') % (12935167030485801517351291832,) =? bytearray(b'0o000012345670123456701234567012345670') ... yes '%#.34o' % 12935167030485801517351291832 =? '0o0012345670123456701234567012345670' ... yes b'%#.34o' % (12935167030485801517351291832,) =? b'0o0012345670123456701234567012345670' ... yes bytearray(b'%#.34o') % (12935167030485801517351291832,) =? bytearray(b'0o0012345670123456701234567012345670') ... yes '%#.34o' % -12935167030485801517351291832 =? '-0o0012345670123456701234567012345670' ... yes b'%#.34o' % (-12935167030485801517351291832,) =? b'-0o0012345670123456701234567012345670' ... yes bytearray(b'%#.34o') % (-12935167030485801517351291832,) =? bytearray(b'-0o0012345670123456701234567012345670') ... yes '%#38.34o' % 12935167030485801517351291832 =? ' 0o0012345670123456701234567012345670' ... yes b'%#38.34o' % (12935167030485801517351291832,) =? b' 0o0012345670123456701234567012345670' ... yes bytearray(b'%#38.34o') % (12935167030485801517351291832,) =? bytearray(b' 0o0012345670123456701234567012345670') ... yes '%#-38.34o' % 12935167030485801517351291832 =? '0o0012345670123456701234567012345670 ' ... yes b'%#-38.34o' % (12935167030485801517351291832,) =? b'0o0012345670123456701234567012345670 ' ... yes bytearray(b'%#-38.34o') % (12935167030485801517351291832,) =? bytearray(b'0o0012345670123456701234567012345670 ') ... yes '%#038.34o' % 12935167030485801517351291832 =? '0o000012345670123456701234567012345670' ... yes b'%#038.34o' % (12935167030485801517351291832,) =? b'0o000012345670123456701234567012345670' ... yes bytearray(b'%#038.34o') % (12935167030485801517351291832,) =? bytearray(b'0o000012345670123456701234567012345670') ... yes '%#+.34o' % 12935167030485801517351291832 =? '+0o0012345670123456701234567012345670' ... yes b'%#+.34o' % (12935167030485801517351291832,) =? b'+0o0012345670123456701234567012345670' ... yes bytearray(b'%#+.34o') % (12935167030485801517351291832,) =? bytearray(b'+0o0012345670123456701234567012345670') ... yes '%# .34o' % 12935167030485801517351291832 =? ' 0o0012345670123456701234567012345670' ... yes b'%# .34o' % (12935167030485801517351291832,) =? b' 0o0012345670123456701234567012345670' ... yes bytearray(b'%# .34o') % (12935167030485801517351291832,) =? bytearray(b' 0o0012345670123456701234567012345670') ... yes '%#+38.34o' % 12935167030485801517351291832 =? ' +0o0012345670123456701234567012345670' ... yes b'%#+38.34o' % (12935167030485801517351291832,) =? b' +0o0012345670123456701234567012345670' ... yes bytearray(b'%#+38.34o') % (12935167030485801517351291832,) =? bytearray(b' +0o0012345670123456701234567012345670') ... yes '%#-+38.34o' % 12935167030485801517351291832 =? '+0o0012345670123456701234567012345670 ' ... yes b'%#-+38.34o' % (12935167030485801517351291832,) =? b'+0o0012345670123456701234567012345670 ' ... yes bytearray(b'%#-+38.34o') % (12935167030485801517351291832,) =? bytearray(b'+0o0012345670123456701234567012345670 ') ... yes '%#- 38.34o' % 12935167030485801517351291832 =? ' 0o0012345670123456701234567012345670 ' ... yes b'%#- 38.34o' % (12935167030485801517351291832,) =? b' 0o0012345670123456701234567012345670 ' ... yes bytearray(b'%#- 38.34o') % (12935167030485801517351291832,) =? bytearray(b' 0o0012345670123456701234567012345670 ') ... yes '%#+038.34o' % 12935167030485801517351291832 =? '+0o00012345670123456701234567012345670' ... yes b'%#+038.34o' % (12935167030485801517351291832,) =? b'+0o00012345670123456701234567012345670' ... yes bytearray(b'%#+038.34o') % (12935167030485801517351291832,) =? bytearray(b'+0o00012345670123456701234567012345670') ... yes '%# 038.34o' % 12935167030485801517351291832 =? ' 0o00012345670123456701234567012345670' ... yes b'%# 038.34o' % (12935167030485801517351291832,) =? b' 0o00012345670123456701234567012345670' ... yes bytearray(b'%# 038.34o') % (12935167030485801517351291832,) =? bytearray(b' 0o00012345670123456701234567012345670') ... yes '%.33o' % 12935167030485801517351291832 =? '012345670123456701234567012345670' ... yes b'%.33o' % (12935167030485801517351291832,) =? b'012345670123456701234567012345670' ... yes bytearray(b'%.33o') % (12935167030485801517351291832,) =? bytearray(b'012345670123456701234567012345670') ... yes '%#.33o' % 12935167030485801517351291832 =? '0o012345670123456701234567012345670' ... yes b'%#.33o' % (12935167030485801517351291832,) =? b'0o012345670123456701234567012345670' ... yes bytearray(b'%#.33o') % (12935167030485801517351291832,) =? bytearray(b'0o012345670123456701234567012345670') ... yes '%#.32o' % 12935167030485801517351291832 =? '0o12345670123456701234567012345670' ... yes b'%#.32o' % (12935167030485801517351291832,) =? b'0o12345670123456701234567012345670' ... yes bytearray(b'%#.32o') % (12935167030485801517351291832,) =? bytearray(b'0o12345670123456701234567012345670') ... yes '%035.33o' % 12935167030485801517351291832 =? '00012345670123456701234567012345670' ... yes b'%035.33o' % (12935167030485801517351291832,) =? b'00012345670123456701234567012345670' ... yes bytearray(b'%035.33o') % (12935167030485801517351291832,) =? bytearray(b'00012345670123456701234567012345670') ... yes '%0#35.33o' % 12935167030485801517351291832 =? '0o012345670123456701234567012345670' ... yes b'%0#35.33o' % (12935167030485801517351291832,) =? b'0o012345670123456701234567012345670' ... yes bytearray(b'%0#35.33o') % (12935167030485801517351291832,) =? bytearray(b'0o012345670123456701234567012345670') ... yes '%d' % 42 =? '42' ... yes b'%d' % (42,) =? b'42' ... yes bytearray(b'%d') % (42,) =? bytearray(b'42') ... yes '%d' % -42 =? '-42' ... yes b'%d' % (-42,) =? b'-42' ... yes bytearray(b'%d') % (-42,) =? bytearray(b'-42') ... yes '%d' % 42.0 =? '42' ... yes b'%d' % (42.0,) =? b'42' ... yes bytearray(b'%d') % (42.0,) =? bytearray(b'42') ... yes '%#x' % 1 =? '0x1' ... yes b'%#x' % (1,) =? b'0x1' ... yes bytearray(b'%#x') % (1,) =? bytearray(b'0x1') ... yes '%#X' % 1 =? '0X1' ... yes b'%#X' % (1,) =? b'0X1' ... yes bytearray(b'%#X') % (1,) =? bytearray(b'0X1') ... yes '%#o' % 1 =? '0o1' ... yes b'%#o' % (1,) =? b'0o1' ... yes bytearray(b'%#o') % (1,) =? bytearray(b'0o1') ... yes '%#o' % 0 =? '0o0' ... yes b'%#o' % (0,) =? b'0o0' ... yes bytearray(b'%#o') % (0,) =? bytearray(b'0o0') ... yes '%o' % 0 =? '0' ... yes b'%o' % (0,) =? b'0' ... yes bytearray(b'%o') % (0,) =? bytearray(b'0') ... yes '%d' % 0 =? '0' ... yes b'%d' % (0,) =? b'0' ... yes bytearray(b'%d') % (0,) =? bytearray(b'0') ... yes '%#x' % 0 =? '0x0' ... yes b'%#x' % (0,) =? b'0x0' ... yes bytearray(b'%#x') % (0,) =? bytearray(b'0x0') ... yes '%#X' % 0 =? '0X0' ... yes b'%#X' % (0,) =? b'0X0' ... yes bytearray(b'%#X') % (0,) =? bytearray(b'0X0') ... yes '%x' % 66 =? '42' ... yes b'%x' % (66,) =? b'42' ... yes bytearray(b'%x') % (66,) =? bytearray(b'42') ... yes '%x' % -66 =? '-42' ... yes b'%x' % (-66,) =? b'-42' ... yes bytearray(b'%x') % (-66,) =? bytearray(b'-42') ... yes '%o' % 34 =? '42' ... yes b'%o' % (34,) =? b'42' ... yes bytearray(b'%o') % (34,) =? bytearray(b'42') ... yes '%o' % -34 =? '-42' ... yes b'%o' % (-34,) =? b'-42' ... yes bytearray(b'%o') % (-34,) =? bytearray(b'-42') ... yes '%g' % 1.1 =? '1.1' ... yes b'%g' % (1.1,) =? b'1.1' ... yes bytearray(b'%g') % (1.1,) =? bytearray(b'1.1') ... yes '%#g' % 1.1 =? '1.10000' ... yes b'%#g' % (1.1,) =? b'1.10000' ... yes bytearray(b'%#g') % (1.1,) =? bytearray(b'1.10000') ... yes Testing exceptions '%' % () works? ... yes b'%' % () works? ... yes '% %s' % 1 works? ... no Unexpected <class 'ValueError'> : "extra character ' ' (0x20) before escaped '%' at index 1, use '%%'" b'% %s' % 1 works? ... no Unexpected <class 'ValueError'> : "extra character b' ' (0x20) before escaped '%' at index 1, use '%%'" '%d' % '1' works? ... yes b'%d' % '1' works? ... yes '%d' % b'1' works? ... yes b'%d' % b'1' works? ... yes '%x' % '1' works? ... yes b'%x' % '1' works? ... yes '%x' % 3.14 works? ... yes b'%x' % 3.14 works? ... yes ok test_g_format_has_no_trailing_zeros (test.test_format.FormatTest.test_g_format_has_no_trailing_zeros) ... ok test_locale (test.test_format.FormatTest.test_locale) ... ok test_negative_zero (test.test_format.FormatTest.test_negative_zero) ... ok test_non_ascii (test.test_format.FormatTest.test_non_ascii) ... '\u20ac=%f' % (1.0,) =? '\u20ac=1.000000' ... yes ok test_nul (test.test_format.FormatTest.test_nul) ... 'a\x00b' % () =? 'a\x00b' ... yes b'a\x00b' % () =? b'a\x00b' ... yes bytearray(b'a\x00b') % () =? bytearray(b'a\x00b') ... yes 'a%cb' % (0,) =? 'a\x00b' ... yes b'a%cb' % (0,) =? b'a\x00b' ... yes bytearray(b'a%cb') % (0,) =? bytearray(b'a\x00b') ... yes 'a%sb' % ('c\x00d',) =? 'ac\x00db' ... yes b'a%sb' % (b'c\x00d',) =? b'ac\x00db' ... yes bytearray(b'a%sb') % (b'c\x00d',) =? bytearray(b'ac\x00db') ... yes ok test_optimisations (test.test_format.FormatTest.test_optimisations) ... skipped 'implementation detail specific to cpython' test_precision (test.test_format.FormatTest.test_precision) ... ok test_precision_c_limits (test.test_format.FormatTest.test_precision_c_limits) ... skipped 'implementation detail specific to cpython' test_specifier_z_error (test.test_format.FormatTest.test_specifier_z_error) ... FAIL test_str_format (test.test_format.FormatTest.test_str_format) ... '%r' % '\u0378' =? "'\\u0378'" ... yes '%a' % '\u0378' =? "'\\u0378'" ... yes '%r' % '\u0374' =? "'\u0374'" ... yes '%a' % '\u0374' =? "'\\u0374'" ... yes Testing exceptions 'abc %b' % 1 works? ... yes '%g' % '1' works? ... yes 'no format' % '1' works? ... yes '%c' % -1 works? ... no Unexpected <class 'OverflowError'> : 'unicode character code out of range' '%c' % 1114112 works? ... no Unexpected <class 'OverflowError'> : 'unicode character code out of range' '%c' % 3.14 works? ... yes '%c' % 'ab' works? ... yes '%c' % b'x' works? ... yes ok test_unicode_in_error_message (test.test_format.FormatTest.test_unicode_in_error_message) ... ok test_with_a_commas_and_an_underscore_in_format_specifier (test.test_format.FormatTest.test_with_a_commas_and_an_underscore_in_format_specifier) ... ok test_with_an_underscore_and_a_comma_in_format_specifier (test.test_format.FormatTest.test_with_an_underscore_and_a_comma_in_format_specifier) ... ok test_with_two_commas_in_format_specifier (test.test_format.FormatTest.test_with_two_commas_in_format_specifier) ... ok test_with_two_underscore_in_format_specifier (test.test_format.FormatTest.test_with_two_underscore_in_format_specifier) ... ok ====================================================================== FAIL: test_specifier_z_error (test.test_format.FormatTest.test_specifier_z_error) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_format.py", line 623, in test_specifier_z_error b"%z.1f" % 0 ~~~~~~~~~^~~ ValueError: unsupported format character b'z' (0x7a) at index 1 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_format.py", line 622, in test_specifier_z_error with self.assertRaisesRegex(ValueError, error_msg): AssertionError: "unsupported\ format\ character\ 'z'" does not match "unsupported format character b'z' (0x7a) at index 1" ---------------------------------------------------------------------- Ran 18 tests in 0.021s FAILED (failures=1, skipped=2) 0:00:00 load avg: 0.75 [1/1/1] test_format failed (1 failure) == Tests result: FAILURE == 1 test failed: test_format Total duration: 95 ms Total tests: run=18 failures=1 skipped=2 Total test files: run=1/1 failed=1 Result: FAILURE test test_format failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1749198æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2074972698 0:00:00 load avg: 0.75 Run 1 test sequentially in a single process 0:00:00 load avg: 0.75 [1/1] test_fractions testApproximateCos1 (test.test_fractions.FractionTest.testApproximateCos1) ... ok testApproximatePi (test.test_fractions.FractionTest.testApproximatePi) ... ok testArithmetic (test.test_fractions.FractionTest.testArithmetic) ... ok testBigComplexComparisons (test.test_fractions.FractionTest.testBigComplexComparisons) ... ok testBigFloatComparisons (test.test_fractions.FractionTest.testBigFloatComparisons) ... ok testBoolGuarateesBoolReturn (test.test_fractions.FractionTest.testBoolGuarateesBoolReturn) ... ok testComparisons (test.test_fractions.FractionTest.testComparisons) ... ok testComparisonsDummyFloat (test.test_fractions.FractionTest.testComparisonsDummyFloat) ... ok testComparisonsDummyRational (test.test_fractions.FractionTest.testComparisonsDummyRational) ... ok testConversions (test.test_fractions.FractionTest.testConversions) ... ok testFromDecimal (test.test_fractions.FractionTest.testFromDecimal) ... ok testFromFloat (test.test_fractions.FractionTest.testFromFloat) ... ok testFromString (test.test_fractions.FractionTest.testFromString) ... ok testHash (test.test_fractions.FractionTest.testHash) ... ok testImmutable (test.test_fractions.FractionTest.testImmutable) ... ok testInit (test.test_fractions.FractionTest.testInit) ... ok testInitFromDecimal (test.test_fractions.FractionTest.testInitFromDecimal) ... ok testInitFromFloat (test.test_fractions.FractionTest.testInitFromFloat) ... ok testIntGuaranteesIntReturn (test.test_fractions.FractionTest.testIntGuaranteesIntReturn) ... ok testLargeArithmetic (test.test_fractions.FractionTest.testLargeArithmetic) ... ok testLimitDenominator (test.test_fractions.FractionTest.testLimitDenominator) ... ok testMixedArithmetic (test.test_fractions.FractionTest.testMixedArithmetic) ... ok testMixedDivision (test.test_fractions.FractionTest.testMixedDivision) ... ok testMixedEqual (test.test_fractions.FractionTest.testMixedEqual) ... ok testMixedIntegerDivision (test.test_fractions.FractionTest.testMixedIntegerDivision) ... ok testMixedLess (test.test_fractions.FractionTest.testMixedLess) ... ok testMixedLessEqual (test.test_fractions.FractionTest.testMixedLessEqual) ... ok testMixedMultiplication (test.test_fractions.FractionTest.testMixedMultiplication) ... ok testMixedPower (test.test_fractions.FractionTest.testMixedPower) ... ok testMixingWithDecimal (test.test_fractions.FractionTest.testMixingWithDecimal) ... ok testRound (test.test_fractions.FractionTest.testRound) ... ok testStringification (test.test_fractions.FractionTest.testStringification) ... ok testSupportsInt (test.test_fractions.FractionTest.testSupportsInt) ... ok test_as_integer_ratio (test.test_fractions.FractionTest.test_as_integer_ratio) ... ok test_copy_deepcopy_pickle (test.test_fractions.FractionTest.test_copy_deepcopy_pickle) ... ok test_float_format_testfile (test.test_fractions.FractionTest.test_float_format_testfile) ... ok test_format_e_presentation_type (test.test_fractions.FractionTest.test_format_e_presentation_type) ... ok test_format_f_presentation_type (test.test_fractions.FractionTest.test_format_f_presentation_type) ... ok test_format_g_presentation_type (test.test_fractions.FractionTest.test_format_g_presentation_type) ... ok test_format_no_presentation_type (test.test_fractions.FractionTest.test_format_no_presentation_type) ... ok test_int_subclass (test.test_fractions.FractionTest.test_int_subclass) ... ok test_invalid_formats (test.test_fractions.FractionTest.test_invalid_formats) ... FAIL test_is_integer (test.test_fractions.FractionTest.test_is_integer) ... ok test_slots (test.test_fractions.FractionTest.test_slots) ... ok ====================================================================== FAIL: test_invalid_formats (test.test_fractions.FractionTest.test_invalid_formats) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_fractions.py", line 1501, in test_invalid_formats with self.assertRaises(TypeError): AssertionError: TypeError not raised ---------------------------------------------------------------------- Ran 44 tests in 0.067s FAILED (failures=1) 0:00:00 load avg: 0.75 [1/1/1] test_fractions failed (1 failure) == Tests result: FAILURE == 1 test failed: test_fractions Total duration: 175 ms Total tests: run=44 failures=1 Total test files: run=1/1 failed=1 Result: FAILURE test test_fractions failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1749203æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 270337039 0:00:00 load avg: 0.75 Run 1 test sequentially in a single process 0:00:00 load avg: 0.75 [1/1] test_frame test_clear_does_not_clear_specials (test.test_frame.ClearTest.test_clear_does_not_clear_specials) ... ok test_clear_executing (test.test_frame.ClearTest.test_clear_executing) ... ok test_clear_executing_generator (test.test_frame.ClearTest.test_clear_executing_generator) ... ok test_clear_generator (test.test_frame.ClearTest.test_clear_generator) ... ok test_clear_locals (test.test_frame.ClearTest.test_clear_locals) ... ok test_clear_refcycles (test.test_frame.ClearTest.test_clear_refcycles) ... skipped 'implementation detail specific to cpython' test_lineno_with_tracing (test.test_frame.ClearTest.test_lineno_with_tracing) ... ok test_clear_locals (test.test_frame.FrameAttrsTest.test_clear_locals) ... ok test_f_lineno_del_segfault (test.test_frame.FrameAttrsTest.test_f_lineno_del_segfault) ... ok test_locals (test.test_frame.FrameAttrsTest.test_locals) ... ok test_locals_clear_locals (test.test_frame.FrameAttrsTest.test_locals_clear_locals) ... ok test_repr (test.test_frame.ReprTest.test_repr) ... ok test_frame_fback_api (test.test_frame.TestCAPI.test_frame_fback_api) Test that accessing `f_back` does not cause a segmentation fault on ... ok test_frame_get_generator (test.test_frame.TestCAPI.test_frame_get_generator) ... ok test_frame_getters (test.test_frame.TestCAPI.test_frame_getters) ... ok test_getvar (test.test_frame.TestCAPI.test_getvar) ... ok test_entry_frames_are_invisible_during_teardown (test.test_frame.TestIncompleteFrameAreInvisible.test_entry_frames_are_invisible_during_teardown) ... ERROR test_issue95818 (test.test_frame.TestIncompleteFrameAreInvisible.test_issue95818) ... FAIL test_sneaky_frame_object (test.test_frame.TestIncompleteFrameAreInvisible.test_sneaky_frame_object) ... skipped 'implementation detail specific to cpython' test_sneaky_frame_object_teardown (test.test_frame.TestIncompleteFrameAreInvisible.test_sneaky_frame_object_teardown) ... skipped 'implementation detail specific to cpython' ====================================================================== ERROR: test_entry_frames_are_invisible_during_teardown (test.test_frame.TestIncompleteFrameAreInvisible.test_entry_frames_are_invisible_during_teardown) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_frame.py", line 393, in test_entry_frames_are_invisible_during_teardown self.assertIs(catcher.unraisable.exc_type, TypeError) ^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'exc_type' ====================================================================== FAIL: test_issue95818 (test.test_frame.TestIncompleteFrameAreInvisible.test_issue95818) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_frame.py", line 270, in test_issue95818 assert_python_ok("-c", code) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/pypy3.12-c', '-X', 'faulthandler', '-I', '-c', '\nimport gc\n\ngc.set_threshold(1,1,1)\nclass GCHello:\n def __del__(self):\n print("Destroyed from gc")\n\ndef gen():\n yield\n\nfd = open(\'/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_frame.py\')\nl = [fd, GCHello()]\nl.append(l)\ndel fd\ndel l\ngen()\n'] stdout: --- --- stderr: --- Traceback (most recent call last): File "<string>", line 4, in <module> AttributeError: module 'gc' has no attribute 'set_threshold' --- ---------------------------------------------------------------------- Ran 20 tests in 0.122s FAILED (failures=1, errors=1, skipped=3) 0:00:00 load avg: 0.75 [1/1/1] test_frame failed (1 error, 1 failure) == Tests result: FAILURE == 1 test failed: test_frame Total duration: 211 ms Total tests: run=20 failures=1 skipped=3 Total test files: run=1/1 failed=1 Result: FAILURE test test_frame failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1749320æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 442293025 0:00:00 load avg: 0.71 Run 1 test sequentially in a single process 0:00:00 load avg: 0.71 [1/1] test_funcattrs test_delete_unknown_attr (test.test_funcattrs.ArbitraryFunctionAttrTest.test_delete_unknown_attr) ... ok test_set_attr (test.test_funcattrs.ArbitraryFunctionAttrTest.test_set_attr) ... ok test_unset_attr (test.test_funcattrs.ArbitraryFunctionAttrTest.test_unset_attr) ... ok test_builtin__qualname__ (test.test_funcattrs.BuiltinFunctionPropertiesTest.test_builtin__qualname__) ... ok test_comparison (test.test_funcattrs.CellTest.test_comparison) ... ok test_delete___dict__ (test.test_funcattrs.FunctionDictsTest.test_delete___dict__) ... ERROR test_func_as_dict_key (test.test_funcattrs.FunctionDictsTest.test_func_as_dict_key) ... ok test_setting_dict_to_invalid (test.test_funcattrs.FunctionDictsTest.test_setting_dict_to_invalid) ... ERROR test_setting_dict_to_valid (test.test_funcattrs.FunctionDictsTest.test_setting_dict_to_valid) ... ok test_unassigned_dict (test.test_funcattrs.FunctionDictsTest.test_unassigned_dict) ... ok test_delete_docstring (test.test_funcattrs.FunctionDocstringTest.test_delete_docstring) ... ok test_set_docstring_attr (test.test_funcattrs.FunctionDocstringTest.test_set_docstring_attr) ... ok test___builtins__ (test.test_funcattrs.FunctionPropertiesTest.test___builtins__) ... ERROR test___closure__ (test.test_funcattrs.FunctionPropertiesTest.test___closure__) ... ok test___code__ (test.test_funcattrs.FunctionPropertiesTest.test___code__) ... ok test___globals__ (test.test_funcattrs.FunctionPropertiesTest.test___globals__) ... ok test___name__ (test.test_funcattrs.FunctionPropertiesTest.test___name__) ... ERROR test___qualname__ (test.test_funcattrs.FunctionPropertiesTest.test___qualname__) ... ERROR test___type_params__ (test.test_funcattrs.FunctionPropertiesTest.test___type_params__) ... test___type_params__ (test.test_funcattrs.FunctionPropertiesTest.test___type_params__) (func=<function FunctionPropertiesTest.test___type_params__.<locals>.not_generic at 0x00007fc2f1a86408>) ... ERROR test___type_params__ (test.test_funcattrs.FunctionPropertiesTest.test___type_params__) (func=<function FunctionPropertiesTest.test___type_params__.<locals>.<lambda> at 0x00007fc2f19b96c8>) ... ERROR test_blank_func_defaults (test.test_funcattrs.FunctionPropertiesTest.test_blank_func_defaults) ... ok test_cell_new (test.test_funcattrs.FunctionPropertiesTest.test_cell_new) ... ok test_copying___code__ (test.test_funcattrs.FunctionPropertiesTest.test_copying___code__) ... ok test_dir_includes_correct_attrs (test.test_funcattrs.FunctionPropertiesTest.test_dir_includes_correct_attrs) ... ok test_duplicate_function_equality (test.test_funcattrs.FunctionPropertiesTest.test_duplicate_function_equality) ... ok test_empty_cell (test.test_funcattrs.FunctionPropertiesTest.test_empty_cell) ... ok test_func_default_args (test.test_funcattrs.FunctionPropertiesTest.test_func_default_args) ... ok test_module (test.test_funcattrs.FunctionPropertiesTest.test_module) ... ok test_set_cell (test.test_funcattrs.FunctionPropertiesTest.test_set_cell) ... ok test___class__ (test.test_funcattrs.InstancemethodAttrTest.test___class__) ... ERROR test___func__ (test.test_funcattrs.InstancemethodAttrTest.test___func__) ... ok test___func___non_method (test.test_funcattrs.InstancemethodAttrTest.test___func___non_method) ... ok test___self__ (test.test_funcattrs.InstancemethodAttrTest.test___self__) ... ok test_func_attribute (test.test_funcattrs.StaticMethodAttrsTest.test_func_attribute) ... ok ====================================================================== ERROR: test_delete___dict__ (test.test_funcattrs.FunctionDictsTest.test_delete___dict__) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_funcattrs.py", line 359, in test_delete___dict__ del self.b.__dict__ ^^^^^^^^ AttributeError: cannot delete '__dict__' attribute of immutable type 'b' ====================================================================== ERROR: test_setting_dict_to_invalid (test.test_funcattrs.FunctionDictsTest.test_setting_dict_to_invalid) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_funcattrs.py", line 336, in test_setting_dict_to_invalid self.cannot_set_attr(self.b, '__dict__', None, TypeError) ^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_funcattrs.py", line 39, in cannot_set_attr delattr(obj, name) AttributeError: cannot delete '__dict__' attribute of immutable type 'b' ====================================================================== ERROR: test___builtins__ (test.test_funcattrs.FunctionPropertiesTest.test___builtins__) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_funcattrs.py", line 84, in test___builtins__ self.assertIs(self.b.__builtins__, builtins_dict) ^^^^^^^^^^^^ AttributeError: 'function' object has no attribute '__builtins__' ====================================================================== ERROR: test___name__ (test.test_funcattrs.FunctionPropertiesTest.test___name__) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_funcattrs.py", line 170, in test___name__ self.cannot_set_attr(self.b, '__name__', 7, TypeError) ^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_funcattrs.py", line 39, in cannot_set_attr delattr(obj, name) AttributeError: cannot delete '__name__' attribute of immutable type 'd' ====================================================================== ERROR: test___qualname__ (test.test_funcattrs.FunctionPropertiesTest.test___qualname__) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_funcattrs.py", line 197, in test___qualname__ self.cannot_set_attr(self.b, '__qualname__', 7, TypeError) ^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_funcattrs.py", line 39, in cannot_set_attr delattr(obj, name) AttributeError: cannot delete '__qualname__' attribute of immutable type 'b' ====================================================================== ERROR: test___type_params__ (test.test_funcattrs.FunctionPropertiesTest.test___type_params__) (func=<function FunctionPropertiesTest.test___type_params__.<locals>.not_generic at 0x00007fc2f1a86408>) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_funcattrs.py", line 210, in test___type_params__ del func.__type_params__ ^^^^^^^^^^^^^^^ AttributeError: cannot delete '__type_params__' attribute of immutable type 'not_generic' ====================================================================== ERROR: test___type_params__ (test.test_funcattrs.FunctionPropertiesTest.test___type_params__) (func=<function FunctionPropertiesTest.test___type_params__.<locals>.<lambda> at 0x00007fc2f19b96c8>) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_funcattrs.py", line 210, in test___type_params__ del func.__type_params__ ^^^^^^^^^^^^^^^ AttributeError: cannot delete '__type_params__' attribute of immutable type '<lambda>' ====================================================================== ERROR: test___class__ (test.test_funcattrs.InstancemethodAttrTest.test___class__) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_funcattrs.py", line 278, in test___class__ self.cannot_set_attr(self.fi.a, "__class__", self.F, TypeError) ^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_funcattrs.py", line 39, in cannot_set_attr delattr(obj, name) AttributeError: cannot delete '__class__' attribute of immutable type 'a' ---------------------------------------------------------------------- Ran 33 tests in 0.017s FAILED (errors=8) 0:00:00 load avg: 0.71 [1/1/1] test_funcattrs failed (8 errors) == Tests result: FAILURE == 1 test failed: test_funcattrs Total duration: 88 ms Total tests: run=33 Total test files: run=1/1 failed=1 Result: FAILURE test test_funcattrs failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1749325æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1926753189 0:00:00 load avg: 0.71 Run 1 test sequentially in a single process 0:00:00 load avg: 0.71 [1/1] test_functools test_cache (test.test_functools.TestCacheC.test_cache) ... skipped 'requires the C _functools module' test_cache (test.test_functools.TestCachePy.test_cache) ... ok test_access_from_class (test.test_functools.TestCachedProperty.test_access_from_class) ... ok test_cached (test.test_functools.TestCachedProperty.test_cached) ... ok test_cached_attribute_name_differs_from_func_name (test.test_functools.TestCachedProperty.test_cached_attribute_name_differs_from_func_name) ... ok test_doc (test.test_functools.TestCachedProperty.test_doc) ... ok test_immutable_dict (test.test_functools.TestCachedProperty.test_immutable_dict) ... ok test_object_with_slots (test.test_functools.TestCachedProperty.test_object_with_slots) ... ok test_reuse_different_names (test.test_functools.TestCachedProperty.test_reuse_different_names) Disallow this case because decorated function a would not be cached. ... ok test_reuse_same_name (test.test_functools.TestCachedProperty.test_reuse_same_name) Reusing a cached_property on different classes under the same name is OK. ... ok test_set_name_not_called (test.test_functools.TestCachedProperty.test_set_name_not_called) ... ok test_subclass_with___set__ (test.test_functools.TestCachedProperty.test_subclass_with___set__) Caching still works for a subclass defining __set__. ... ok test_bad_cmp (test.test_functools.TestCmpToKeyC.test_bad_cmp) ... skipped 'requires the C _functools module' test_cmp_to_key (test.test_functools.TestCmpToKeyC.test_cmp_to_key) ... skipped 'requires the C _functools module' test_cmp_to_key_arguments (test.test_functools.TestCmpToKeyC.test_cmp_to_key_arguments) ... skipped 'requires the C _functools module' test_cmp_to_signature (test.test_functools.TestCmpToKeyC.test_cmp_to_signature) ... skipped 'requires the C _functools module' test_disallow_instantiation (test.test_functools.TestCmpToKeyC.test_disallow_instantiation) ... skipped 'requires the C _functools module' test_hash (test.test_functools.TestCmpToKeyC.test_hash) ... skipped 'requires the C _functools module' test_obj_field (test.test_functools.TestCmpToKeyC.test_obj_field) ... skipped 'requires the C _functools module' test_sort_int (test.test_functools.TestCmpToKeyC.test_sort_int) ... skipped 'requires the C _functools module' test_sort_int_str (test.test_functools.TestCmpToKeyC.test_sort_int_str) ... skipped 'requires the C _functools module' test_bad_cmp (test.test_functools.TestCmpToKeyPy.test_bad_cmp) ... ok test_cmp_to_key (test.test_functools.TestCmpToKeyPy.test_cmp_to_key) ... ok test_cmp_to_key_arguments (test.test_functools.TestCmpToKeyPy.test_cmp_to_key_arguments) ... ok test_cmp_to_signature (test.test_functools.TestCmpToKeyPy.test_cmp_to_signature) ... ok test_hash (test.test_functools.TestCmpToKeyPy.test_hash) ... ok test_obj_field (test.test_functools.TestCmpToKeyPy.test_obj_field) ... ok test_sort_int (test.test_functools.TestCmpToKeyPy.test_sort_int) ... ok test_sort_int_str (test.test_functools.TestCmpToKeyPy.test_sort_int_str) ... ok test_common_signatures (test.test_functools.TestLRUC.test_common_signatures) ... skipped 'requires the C _functools module' test_copy (test.test_functools.TestLRUC.test_copy) ... skipped 'requires the C _functools module' test_deepcopy (test.test_functools.TestLRUC.test_deepcopy) ... skipped 'requires the C _functools module' test_kwargs_order (test.test_functools.TestLRUC.test_kwargs_order) ... skipped 'requires the C _functools module' test_lru (test.test_functools.TestLRUC.test_lru) ... skipped 'requires the C _functools module' test_lru_bug_35780 (test.test_functools.TestLRUC.test_lru_bug_35780) ... skipped 'requires the C _functools module' test_lru_bug_36650 (test.test_functools.TestLRUC.test_lru_bug_36650) ... skipped 'requires the C _functools module' test_lru_cache_decoration (test.test_functools.TestLRUC.test_lru_cache_decoration) ... skipped 'requires the C _functools module' test_lru_cache_parameters (test.test_functools.TestLRUC.test_lru_cache_parameters) ... skipped 'requires the C _functools module' test_lru_cache_threaded (test.test_functools.TestLRUC.test_lru_cache_threaded) ... skipped 'requires the C _functools module' test_lru_cache_threaded2 (test.test_functools.TestLRUC.test_lru_cache_threaded2) ... skipped 'requires the C _functools module' test_lru_cache_threaded3 (test.test_functools.TestLRUC.test_lru_cache_threaded3) ... skipped 'requires the C _functools module' test_lru_cache_typed_is_not_recursive (test.test_functools.TestLRUC.test_lru_cache_typed_is_not_recursive) ... skipped 'requires the C _functools module' test_lru_cache_weakrefable (test.test_functools.TestLRUC.test_lru_cache_weakrefable) ... skipped 'requires the C _functools module' test_lru_hash_only_once (test.test_functools.TestLRUC.test_lru_hash_only_once) ... skipped 'requires the C _functools module' test_lru_method (test.test_functools.TestLRUC.test_lru_method) ... skipped 'requires the C _functools module' test_lru_no_args (test.test_functools.TestLRUC.test_lru_no_args) ... skipped 'requires the C _functools module' test_lru_reentrancy_with_len (test.test_functools.TestLRUC.test_lru_reentrancy_with_len) ... skipped 'requires the C _functools module' test_lru_star_arg_handling (test.test_functools.TestLRUC.test_lru_star_arg_handling) ... skipped 'requires the C _functools module' test_lru_type_error (test.test_functools.TestLRUC.test_lru_type_error) ... skipped 'requires the C _functools module' test_lru_with_exceptions (test.test_functools.TestLRUC.test_lru_with_exceptions) ... skipped 'requires the C _functools module' test_lru_with_keyword_args (test.test_functools.TestLRUC.test_lru_with_keyword_args) ... skipped 'requires the C _functools module' test_lru_with_keyword_args_maxsize_none (test.test_functools.TestLRUC.test_lru_with_keyword_args_maxsize_none) ... skipped 'requires the C _functools module' test_lru_with_maxsize_negative (test.test_functools.TestLRUC.test_lru_with_maxsize_negative) ... skipped 'requires the C _functools module' test_lru_with_maxsize_none (test.test_functools.TestLRUC.test_lru_with_maxsize_none) ... skipped 'requires the C _functools module' test_lru_with_types (test.test_functools.TestLRUC.test_lru_with_types) ... skipped 'requires the C _functools module' test_need_for_rlock (test.test_functools.TestLRUC.test_need_for_rlock) ... skipped 'requires the C _functools module' test_pickle (test.test_functools.TestLRUC.test_pickle) ... skipped 'requires the C _functools module' test_common_signatures (test.test_functools.TestLRUPy.test_common_signatures) ... ok test_copy (test.test_functools.TestLRUPy.test_copy) ... ok test_deepcopy (test.test_functools.TestLRUPy.test_deepcopy) ... ok test_kwargs_order (test.test_functools.TestLRUPy.test_kwargs_order) ... ok test_lru (test.test_functools.TestLRUPy.test_lru) ... ok test_lru_bug_35780 (test.test_functools.TestLRUPy.test_lru_bug_35780) ... ok test_lru_bug_36650 (test.test_functools.TestLRUPy.test_lru_bug_36650) ... ok test_lru_cache_decoration (test.test_functools.TestLRUPy.test_lru_cache_decoration) ... ok test_lru_cache_parameters (test.test_functools.TestLRUPy.test_lru_cache_parameters) ... ok test_lru_cache_threaded (test.test_functools.TestLRUPy.test_lru_cache_threaded) ... ok test_lru_cache_threaded2 (test.test_functools.TestLRUPy.test_lru_cache_threaded2) ... ok test_lru_cache_threaded3 (test.test_functools.TestLRUPy.test_lru_cache_threaded3) ... ok test_lru_cache_typed_is_not_recursive (test.test_functools.TestLRUPy.test_lru_cache_typed_is_not_recursive) ... ok test_lru_cache_weakrefable (test.test_functools.TestLRUPy.test_lru_cache_weakrefable) ... ok test_lru_hash_only_once (test.test_functools.TestLRUPy.test_lru_hash_only_once) ... ok test_lru_method (test.test_functools.TestLRUPy.test_lru_method) ... ok test_lru_no_args (test.test_functools.TestLRUPy.test_lru_no_args) ... ok test_lru_reentrancy_with_len (test.test_functools.TestLRUPy.test_lru_reentrancy_with_len) ... ok test_lru_star_arg_handling (test.test_functools.TestLRUPy.test_lru_star_arg_handling) ... ok test_lru_type_error (test.test_functools.TestLRUPy.test_lru_type_error) ... ok test_lru_with_exceptions (test.test_functools.TestLRUPy.test_lru_with_exceptions) ... ok test_lru_with_keyword_args (test.test_functools.TestLRUPy.test_lru_with_keyword_args) ... ok test_lru_with_keyword_args_maxsize_none (test.test_functools.TestLRUPy.test_lru_with_keyword_args_maxsize_none) ... ok test_lru_with_maxsize_negative (test.test_functools.TestLRUPy.test_lru_with_maxsize_negative) ... ok test_lru_with_maxsize_none (test.test_functools.TestLRUPy.test_lru_with_maxsize_none) ... ok test_lru_with_types (test.test_functools.TestLRUPy.test_lru_with_types) ... ok test_need_for_rlock (test.test_functools.TestLRUPy.test_need_for_rlock) ... ok test_pickle (test.test_functools.TestLRUPy.test_pickle) ... ok test_arg_combinations (test.test_functools.TestPartialC.test_arg_combinations) ... skipped 'requires the C _functools module' test_argument_checking (test.test_functools.TestPartialC.test_argument_checking) ... skipped 'requires the C _functools module' test_attributes (test.test_functools.TestPartialC.test_attributes) ... skipped 'requires the C _functools module' test_attributes_unwritable (test.test_functools.TestPartialC.test_attributes_unwritable) ... skipped 'requires the C _functools module' test_basic_examples (test.test_functools.TestPartialC.test_basic_examples) ... skipped 'requires the C _functools module' test_copy (test.test_functools.TestPartialC.test_copy) ... skipped 'requires the C _functools module' test_deepcopy (test.test_functools.TestPartialC.test_deepcopy) ... skipped 'requires the C _functools module' test_error_propagation (test.test_functools.TestPartialC.test_error_propagation) ... skipped 'requires the C _functools module' test_keystr_replaces_value (test.test_functools.TestPartialC.test_keystr_replaces_value) ... skipped 'requires the C _functools module' test_keyword (test.test_functools.TestPartialC.test_keyword) ... skipped 'requires the C _functools module' test_kw_combinations (test.test_functools.TestPartialC.test_kw_combinations) ... skipped 'requires the C _functools module' test_kwargs_copy (test.test_functools.TestPartialC.test_kwargs_copy) ... skipped 'requires the C _functools module' test_manually_adding_non_string_keyword (test.test_functools.TestPartialC.test_manually_adding_non_string_keyword) ... skipped 'requires the C _functools module' test_nested_optimization (test.test_functools.TestPartialC.test_nested_optimization) ... skipped 'requires the C _functools module' test_nested_partial_with_attribute (test.test_functools.TestPartialC.test_nested_partial_with_attribute) ... skipped 'requires the C _functools module' test_no_side_effects (test.test_functools.TestPartialC.test_no_side_effects) ... skipped 'requires the C _functools module' test_partial_genericalias (test.test_functools.TestPartialC.test_partial_genericalias) ... skipped 'requires the C _functools module' test_pickle (test.test_functools.TestPartialC.test_pickle) ... skipped 'requires the C _functools module' test_positional (test.test_functools.TestPartialC.test_positional) ... skipped 'requires the C _functools module' test_protection_of_callers_dict_argument (test.test_functools.TestPartialC.test_protection_of_callers_dict_argument) ... skipped 'requires the C _functools module' test_recursive_pickle (test.test_functools.TestPartialC.test_recursive_pickle) ... skipped 'requires the C _functools module' test_recursive_repr (test.test_functools.TestPartialC.test_recursive_repr) ... skipped 'requires the C _functools module' test_repr (test.test_functools.TestPartialC.test_repr) ... skipped 'requires the C _functools module' test_setstate (test.test_functools.TestPartialC.test_setstate) ... skipped 'requires the C _functools module' test_setstate_errors (test.test_functools.TestPartialC.test_setstate_errors) ... skipped 'requires the C _functools module' test_setstate_refcount (test.test_functools.TestPartialC.test_setstate_refcount) ... skipped 'requires the C _functools module' test_setstate_subclasses (test.test_functools.TestPartialC.test_setstate_subclasses) ... skipped 'requires the C _functools module' test_weakref (test.test_functools.TestPartialC.test_weakref) ... skipped 'requires the C _functools module' test_with_bound_and_unbound_methods (test.test_functools.TestPartialC.test_with_bound_and_unbound_methods) ... skipped 'requires the C _functools module' test_arg_combinations (test.test_functools.TestPartialCSubclass.test_arg_combinations) ... skipped 'requires the C _functools module' test_argument_checking (test.test_functools.TestPartialCSubclass.test_argument_checking) ... skipped 'requires the C _functools module' test_attributes (test.test_functools.TestPartialCSubclass.test_attributes) ... skipped 'requires the C _functools module' test_attributes_unwritable (test.test_functools.TestPartialCSubclass.test_attributes_unwritable) ... skipped 'requires the C _functools module' test_basic_examples (test.test_functools.TestPartialCSubclass.test_basic_examples) ... skipped 'requires the C _functools module' test_copy (test.test_functools.TestPartialCSubclass.test_copy) ... skipped 'requires the C _functools module' test_deepcopy (test.test_functools.TestPartialCSubclass.test_deepcopy) ... skipped 'requires the C _functools module' test_error_propagation (test.test_functools.TestPartialCSubclass.test_error_propagation) ... skipped 'requires the C _functools module' test_keystr_replaces_value (test.test_functools.TestPartialCSubclass.test_keystr_replaces_value) ... skipped 'requires the C _functools module' test_keyword (test.test_functools.TestPartialCSubclass.test_keyword) ... skipped 'requires the C _functools module' test_kw_combinations (test.test_functools.TestPartialCSubclass.test_kw_combinations) ... skipped 'requires the C _functools module' test_kwargs_copy (test.test_functools.TestPartialCSubclass.test_kwargs_copy) ... skipped 'requires the C _functools module' test_manually_adding_non_string_keyword (test.test_functools.TestPartialCSubclass.test_manually_adding_non_string_keyword) ... skipped 'requires the C _functools module' test_nested_partial_with_attribute (test.test_functools.TestPartialCSubclass.test_nested_partial_with_attribute) ... skipped 'requires the C _functools module' test_no_side_effects (test.test_functools.TestPartialCSubclass.test_no_side_effects) ... skipped 'requires the C _functools module' test_partial_genericalias (test.test_functools.TestPartialCSubclass.test_partial_genericalias) ... skipped 'requires the C _functools module' test_pickle (test.test_functools.TestPartialCSubclass.test_pickle) ... skipped 'requires the C _functools module' test_positional (test.test_functools.TestPartialCSubclass.test_positional) ... skipped 'requires the C _functools module' test_protection_of_callers_dict_argument (test.test_functools.TestPartialCSubclass.test_protection_of_callers_dict_argument) ... skipped 'requires the C _functools module' test_recursive_pickle (test.test_functools.TestPartialCSubclass.test_recursive_pickle) ... skipped 'requires the C _functools module' test_recursive_repr (test.test_functools.TestPartialCSubclass.test_recursive_repr) ... skipped 'requires the C _functools module' test_repr (test.test_functools.TestPartialCSubclass.test_repr) ... skipped 'requires the C _functools module' test_setstate (test.test_functools.TestPartialCSubclass.test_setstate) ... skipped 'requires the C _functools module' test_setstate_errors (test.test_functools.TestPartialCSubclass.test_setstate_errors) ... skipped 'requires the C _functools module' test_setstate_refcount (test.test_functools.TestPartialCSubclass.test_setstate_refcount) ... skipped 'requires the C _functools module' test_setstate_subclasses (test.test_functools.TestPartialCSubclass.test_setstate_subclasses) ... skipped 'requires the C _functools module' test_weakref (test.test_functools.TestPartialCSubclass.test_weakref) ... skipped 'requires the C _functools module' test_with_bound_and_unbound_methods (test.test_functools.TestPartialCSubclass.test_with_bound_and_unbound_methods) ... skipped 'requires the C _functools module' test_abstract (test.test_functools.TestPartialMethod.test_abstract) ... ok test_arg_combinations (test.test_functools.TestPartialMethod.test_arg_combinations) ... ok test_bound_method_introspection (test.test_functools.TestPartialMethod.test_bound_method_introspection) ... ok test_descriptors (test.test_functools.TestPartialMethod.test_descriptors) ... ok test_invalid_args (test.test_functools.TestPartialMethod.test_invalid_args) ... ok test_nested (test.test_functools.TestPartialMethod.test_nested) ... ok test_over_partial (test.test_functools.TestPartialMethod.test_over_partial) ... ok test_overriding_keywords (test.test_functools.TestPartialMethod.test_overriding_keywords) ... ok test_positional_only (test.test_functools.TestPartialMethod.test_positional_only) ... ok test_repr (test.test_functools.TestPartialMethod.test_repr) ... ok test_unbound_method_retrieval (test.test_functools.TestPartialMethod.test_unbound_method_retrieval) ... ok test_arg_combinations (test.test_functools.TestPartialPy.test_arg_combinations) ... ok test_argument_checking (test.test_functools.TestPartialPy.test_argument_checking) ... ok test_attributes (test.test_functools.TestPartialPy.test_attributes) ... ok test_basic_examples (test.test_functools.TestPartialPy.test_basic_examples) ... ok test_copy (test.test_functools.TestPartialPy.test_copy) ... ok test_deepcopy (test.test_functools.TestPartialPy.test_deepcopy) ... ok test_error_propagation (test.test_functools.TestPartialPy.test_error_propagation) ... ok test_keyword (test.test_functools.TestPartialPy.test_keyword) ... ok test_kw_combinations (test.test_functools.TestPartialPy.test_kw_combinations) ... ok test_kwargs_copy (test.test_functools.TestPartialPy.test_kwargs_copy) ... ok test_nested_optimization (test.test_functools.TestPartialPy.test_nested_optimization) ... ok test_nested_partial_with_attribute (test.test_functools.TestPartialPy.test_nested_partial_with_attribute) ... ok test_no_side_effects (test.test_functools.TestPartialPy.test_no_side_effects) ... ok test_partial_genericalias (test.test_functools.TestPartialPy.test_partial_genericalias) ... ok test_pickle (test.test_functools.TestPartialPy.test_pickle) ... ok test_positional (test.test_functools.TestPartialPy.test_positional) ... ok test_protection_of_callers_dict_argument (test.test_functools.TestPartialPy.test_protection_of_callers_dict_argument) ... ok test_recursive_pickle (test.test_functools.TestPartialPy.test_recursive_pickle) ... ok test_recursive_repr (test.test_functools.TestPartialPy.test_recursive_repr) ... ok test_repr (test.test_functools.TestPartialPy.test_repr) ... ok test_setstate (test.test_functools.TestPartialPy.test_setstate) ... ok test_setstate_errors (test.test_functools.TestPartialPy.test_setstate_errors) ... ok test_setstate_refcount (test.test_functools.TestPartialPy.test_setstate_refcount) ... ok test_setstate_subclasses (test.test_functools.TestPartialPy.test_setstate_subclasses) ... ok test_weakref (test.test_functools.TestPartialPy.test_weakref) ... ok test_with_bound_and_unbound_methods (test.test_functools.TestPartialPy.test_with_bound_and_unbound_methods) ... ok test_arg_combinations (test.test_functools.TestPartialPySubclass.test_arg_combinations) ... ok test_argument_checking (test.test_functools.TestPartialPySubclass.test_argument_checking) ... ok test_attributes (test.test_functools.TestPartialPySubclass.test_attributes) ... ok test_basic_examples (test.test_functools.TestPartialPySubclass.test_basic_examples) ... ok test_copy (test.test_functools.TestPartialPySubclass.test_copy) ... ok test_deepcopy (test.test_functools.TestPartialPySubclass.test_deepcopy) ... ok test_error_propagation (test.test_functools.TestPartialPySubclass.test_error_propagation) ... ok test_keyword (test.test_functools.TestPartialPySubclass.test_keyword) ... ok test_kw_combinations (test.test_functools.TestPartialPySubclass.test_kw_combinations) ... ok test_kwargs_copy (test.test_functools.TestPartialPySubclass.test_kwargs_copy) ... ok test_nested_optimization (test.test_functools.TestPartialPySubclass.test_nested_optimization) ... ok test_nested_partial_with_attribute (test.test_functools.TestPartialPySubclass.test_nested_partial_with_attribute) ... ok test_no_side_effects (test.test_functools.TestPartialPySubclass.test_no_side_effects) ... ok test_partial_genericalias (test.test_functools.TestPartialPySubclass.test_partial_genericalias) ... ok test_pickle (test.test_functools.TestPartialPySubclass.test_pickle) ... ok test_positional (test.test_functools.TestPartialPySubclass.test_positional) ... ok test_protection_of_callers_dict_argument (test.test_functools.TestPartialPySubclass.test_protection_of_callers_dict_argument) ... ok test_recursive_pickle (test.test_functools.TestPartialPySubclass.test_recursive_pickle) ... ok test_recursive_repr (test.test_functools.TestPartialPySubclass.test_recursive_repr) ... ok test_repr (test.test_functools.TestPartialPySubclass.test_repr) ... ok test_setstate (test.test_functools.TestPartialPySubclass.test_setstate) ... ok test_setstate_errors (test.test_functools.TestPartialPySubclass.test_setstate_errors) ... ok test_setstate_refcount (test.test_functools.TestPartialPySubclass.test_setstate_refcount) ... ok test_setstate_subclasses (test.test_functools.TestPartialPySubclass.test_setstate_subclasses) ... ok test_weakref (test.test_functools.TestPartialPySubclass.test_weakref) ... ok test_with_bound_and_unbound_methods (test.test_functools.TestPartialPySubclass.test_with_bound_and_unbound_methods) ... ok test_iterator_usage (test.test_functools.TestReduceC.test_iterator_usage) ... skipped 'requires the C _functools module' test_reduce (test.test_functools.TestReduceC.test_reduce) ... skipped 'requires the C _functools module' test_iterator_usage (test.test_functools.TestReducePy.test_iterator_usage) ... ok test_reduce (test.test_functools.TestReducePy.test_reduce) ... ok test_abstractmethod_register (test.test_functools.TestSingleDispatch.test_abstractmethod_register) ... ok test_annotations (test.test_functools.TestSingleDispatch.test_annotations) ... ok test_c3_abc (test.test_functools.TestSingleDispatch.test_c3_abc) ... ok test_c_classes (test.test_functools.TestSingleDispatch.test_c_classes) ... skipped 'requires _decimal' test_cache_invalidation (test.test_functools.TestSingleDispatch.test_cache_invalidation) ... ok test_callable_register (test.test_functools.TestSingleDispatch.test_callable_register) ... ok test_classmethod_register (test.test_functools.TestSingleDispatch.test_classmethod_register) ... ok test_classmethod_type_ann_register (test.test_functools.TestSingleDispatch.test_classmethod_type_ann_register) ... ok test_compose_mro (test.test_functools.TestSingleDispatch.test_compose_mro) ... ok test_double_wrapped_methods (test.test_functools.TestSingleDispatch.test_double_wrapped_methods) ... ok test_false_meta (test.test_functools.TestSingleDispatch.test_false_meta) ... ok test_invalid_positional_argument (test.test_functools.TestSingleDispatch.test_invalid_positional_argument) ... ok test_invalid_registrations (test.test_functools.TestSingleDispatch.test_invalid_registrations) ... ok test_method_bad_hash (test.test_functools.TestSingleDispatch.test_method_bad_hash) ... ok test_method_equal_instances (test.test_functools.TestSingleDispatch.test_method_equal_instances) ... ok test_method_no_reference_loops (test.test_functools.TestSingleDispatch.test_method_no_reference_loops) ... ok test_method_register (test.test_functools.TestSingleDispatch.test_method_register) ... ok test_method_signatures (test.test_functools.TestSingleDispatch.test_method_signatures) ... ok test_method_wrapping_attributes (test.test_functools.TestSingleDispatch.test_method_wrapping_attributes) ... ok test_mro (test.test_functools.TestSingleDispatch.test_mro) ... ok test_mro_conflicts (test.test_functools.TestSingleDispatch.test_mro_conflicts) ... ok test_register_abc (test.test_functools.TestSingleDispatch.test_register_abc) ... ok test_register_decorator (test.test_functools.TestSingleDispatch.test_register_decorator) ... ok test_register_genericalias (test.test_functools.TestSingleDispatch.test_register_genericalias) ... ok test_register_genericalias_annotation (test.test_functools.TestSingleDispatch.test_register_genericalias_annotation) ... ok test_register_genericalias_decorator (test.test_functools.TestSingleDispatch.test_register_genericalias_decorator) ... ok test_signatures (test.test_functools.TestSingleDispatch.test_signatures) ... ok test_simple_overloads (test.test_functools.TestSingleDispatch.test_simple_overloads) ... ok test_staticmethod_register (test.test_functools.TestSingleDispatch.test_staticmethod_register) ... ok test_staticmethod_type_ann_register (test.test_functools.TestSingleDispatch.test_staticmethod_type_ann_register) ... ok test_type_ann_register (test.test_functools.TestSingleDispatch.test_type_ann_register) ... ok test_union (test.test_functools.TestSingleDispatch.test_union) ... ok test_union_None (test.test_functools.TestSingleDispatch.test_union_None) ... ok test_union_conflict (test.test_functools.TestSingleDispatch.test_union_conflict) ... ok test_wrapping_attributes (test.test_functools.TestSingleDispatch.test_wrapping_attributes) ... ok test_no_operations_defined (test.test_functools.TestTotalOrdering.test_no_operations_defined) ... ok test_notimplemented (test.test_functools.TestTotalOrdering.test_notimplemented) ... ok test_pickle (test.test_functools.TestTotalOrdering.test_pickle) ... ok test_total_ordering_for_metaclasses_issue_44605 (test.test_functools.TestTotalOrdering.test_total_ordering_for_metaclasses_issue_44605) ... ok test_total_ordering_ge (test.test_functools.TestTotalOrdering.test_total_ordering_ge) ... ok test_total_ordering_gt (test.test_functools.TestTotalOrdering.test_total_ordering_gt) ... ok test_total_ordering_le (test.test_functools.TestTotalOrdering.test_total_ordering_le) ... ok test_total_ordering_lt (test.test_functools.TestTotalOrdering.test_total_ordering_lt) ... ok test_total_ordering_no_overwrite (test.test_functools.TestTotalOrdering.test_total_ordering_no_overwrite) ... ok test_type_error_when_not_implemented (test.test_functools.TestTotalOrdering.test_type_error_when_not_implemented) ... ok test_builtin_update (test.test_functools.TestUpdateWrapper.test_builtin_update) ... ok test_default_update (test.test_functools.TestUpdateWrapper.test_default_update) ... ok test_default_update_doc (test.test_functools.TestUpdateWrapper.test_default_update_doc) ... ok test_missing_attributes (test.test_functools.TestUpdateWrapper.test_missing_attributes) ... ok test_no_update (test.test_functools.TestUpdateWrapper.test_no_update) ... ok test_selective_update (test.test_functools.TestUpdateWrapper.test_selective_update) ... ok test_update_type_wrapper (test.test_functools.TestUpdateWrapper.test_update_type_wrapper) ... ERROR test_builtin_update (test.test_functools.TestWraps.test_builtin_update) ... ok test_default_update (test.test_functools.TestWraps.test_default_update) ... ok test_default_update_doc (test.test_functools.TestWraps.test_default_update_doc) ... ok test_missing_attributes (test.test_functools.TestWraps.test_missing_attributes) ... ok test_no_update (test.test_functools.TestWraps.test_no_update) ... ok test_selective_update (test.test_functools.TestWraps.test_selective_update) ... ok test_update_type_wrapper (test.test_functools.TestWraps.test_update_type_wrapper) ... ERROR ====================================================================== ERROR: test_update_type_wrapper (test.test_functools.TestUpdateWrapper.test_update_type_wrapper) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_functools.py", line 726, in test_update_type_wrapper functools.update_wrapper(wrapper, type) ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/functools.py", line 56, in update_wrapper setattr(wrapper, attr, value) TypeError: __annotations__ must be a dict ====================================================================== ERROR: test_update_type_wrapper (test.test_functools.TestWraps.test_update_type_wrapper) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_functools.py", line 726, in test_update_type_wrapper functools.update_wrapper(wrapper, type) ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/functools.py", line 56, in update_wrapper setattr(wrapper, attr, value) TypeError: __annotations__ must be a dict ---------------------------------------------------------------------- Ran 268 tests in 0.374s FAILED (errors=2, skipped=98) 0:00:00 load avg: 0.71 [1/1/1] test_functools failed (2 errors) == Tests result: FAILURE == 1 test failed: test_functools Total duration: 583 ms Total tests: run=268 skipped=98 Total test files: run=1/1 failed=1 Result: FAILURE test test_functools failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1749356æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 790757124 0:00:00 load avg: 0.71 Run 1 test sequentially in a single process 0:00:00 load avg: 0.71 [1/1] test_generators test_except_gen_except (test.test_generators.ExceptionTest.test_except_gen_except) ... ok test_except_next (test.test_generators.ExceptionTest.test_except_next) ... ok test_except_throw (test.test_generators.ExceptionTest.test_except_throw) ... ok test_except_throw_bad_exception (test.test_generators.ExceptionTest.test_except_throw_bad_exception) ... ok test_except_throw_exception_context (test.test_generators.ExceptionTest.test_except_throw_exception_context) ... ok test_gen_3_arg_deprecation_warning (test.test_generators.ExceptionTest.test_gen_3_arg_deprecation_warning) ... FAIL test_nested_gen_except_loop (test.test_generators.ExceptionTest.test_nested_gen_except_loop) ... ok test_return_stopiteration (test.test_generators.ExceptionTest.test_return_stopiteration) ... ok test_return_tuple (test.test_generators.ExceptionTest.test_return_tuple) ... ok test_stopiteration_error (test.test_generators.ExceptionTest.test_stopiteration_error) ... ok test_tutorial_stopiteration (test.test_generators.ExceptionTest.test_tutorial_stopiteration) ... ok test_frame_resurrect (test.test_generators.FinalizationTest.test_frame_resurrect) ... ok test_lambda_generator (test.test_generators.FinalizationTest.test_lambda_generator) ... ok test_refcycle (test.test_generators.FinalizationTest.test_refcycle) ... ERROR test_send_with_yield_from (test.test_generators.GeneratorStackTraceTest.test_send_with_yield_from) ... ok test_throw_with_yield_from (test.test_generators.GeneratorStackTraceTest.test_throw_with_yield_from) ... ok test_ag_frame_f_back (test.test_generators.GeneratorTest.test_ag_frame_f_back) ... ok test_copy (test.test_generators.GeneratorTest.test_copy) ... ok test_cr_frame_f_back (test.test_generators.GeneratorTest.test_cr_frame_f_back) ... ok test_gi_frame_f_back (test.test_generators.GeneratorTest.test_gi_frame_f_back) ... ok test_handle_frame_object_in_creation (test.test_generators.GeneratorTest.test_handle_frame_object_in_creation) ... ERROR test_issue103488 (test.test_generators.GeneratorTest.test_issue103488) ... ok test_name (test.test_generators.GeneratorTest.test_name) ... ERROR test_pickle (test.test_generators.GeneratorTest.test_pickle) ... ok test_send_non_none_to_new_gen (test.test_generators.GeneratorTest.test_send_non_none_to_new_gen) ... ok test_exception_context_with_yield (test.test_generators.GeneratorThrowTest.test_exception_context_with_yield) ... ok test_exception_context_with_yield_from (test.test_generators.GeneratorThrowTest.test_exception_context_with_yield_from) ... ok test_exception_context_with_yield_from_with_context_cycle (test.test_generators.GeneratorThrowTest.test_exception_context_with_yield_from_with_context_cycle) ... ok test_exception_context_with_yield_inside_generator (test.test_generators.GeneratorThrowTest.test_exception_context_with_yield_inside_generator) ... ok test_throw_after_none_exc_type (test.test_generators.GeneratorThrowTest.test_throw_after_none_exc_type) ... ok test_raise_and_yield_from (test.test_generators.SignalAndYieldFromTest.test_raise_and_yield_from) ... ok test_generator_gi_yieldfrom (test.test_generators.YieldFromTests.test_generator_gi_yieldfrom) ... ok conjoin (test.test_generators.__test__) Doctest: test.test_generators.__test__.conjoin ... ok coroutine (test.test_generators.__test__) Doctest: test.test_generators.__test__.coroutine ... FAIL email (test.test_generators.__test__) Doctest: test.test_generators.__test__.email ... FAIL fun (test.test_generators.__test__) Doctest: test.test_generators.__test__.fun ... ok pep (test.test_generators.__test__) Doctest: test.test_generators.__test__.pep ... ok refleaks (test.test_generators.__test__) Doctest: test.test_generators.__test__.refleaks ... FAIL syntax (test.test_generators.__test__) Doctest: test.test_generators.__test__.syntax ... ok tut (test.test_generators.__test__) Doctest: test.test_generators.__test__.tut ... ok weakref (test.test_generators.__test__) Doctest: test.test_generators.__test__.weakref ... ok ====================================================================== ERROR: test_refcycle (test.test_generators.FinalizationTest.test_refcycle) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_generators.py", line 85, in test_refcycle self.assertGreater(sys.getrefcount(g), 2) ^^^^^^^^^^^ AttributeError: module 'sys' has no attribute 'getrefcount' ====================================================================== ERROR: test_handle_frame_object_in_creation (test.test_generators.GeneratorTest.test_handle_frame_object_in_creation) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_generators.py", line 188, in test_handle_frame_object_in_creation thresholds = gc.get_threshold() ^^^^^^^^^^^^^ AttributeError: module 'gc' has no attribute 'get_threshold' ====================================================================== ERROR: test_name (test.test_generators.GeneratorTest.test_name) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_generators.py", line 137, in test_name self.assertRaises(TypeError, delattr, gen, '__name__') ^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/case.py", line 778, in assertRaises return context.handle('assertRaises', args, kwargs) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/case.py", line 238, in handle callable_obj(*args, **kwargs) AttributeError: cannot delete '__name__' attribute of immutable type 'name' ====================================================================== FAIL: test_gen_3_arg_deprecation_warning (test.test_generators.ExceptionTest.test_gen_3_arg_deprecation_warning) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_generators.py", line 408, in test_gen_3_arg_deprecation_warning with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: coroutine (test.test_generators.__test__) Doctest: test.test_generators.__test__.coroutine ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 2256, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for test.test_generators.__test__.coroutine File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_generators.py", line unknown line number, in coroutine ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_generators.py", line ?, in test.test_generators.__test__.coroutine Failed example: f=lambda: (yield from (1,2)), (yield from (3,4)) Expected: Traceback (most recent call last): ... SyntaxError: 'yield from' outside function Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_generators.__test__.coroutine[22]>", line 1 SyntaxError: 'yield' outside function ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_generators.py", line ?, in test.test_generators.__test__.coroutine Failed example: yield from [1,2] Expected: Traceback (most recent call last): ... SyntaxError: 'yield from' outside function Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_generators.__test__.coroutine[23]>", line 1 SyntaxError: 'yield' outside function ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_generators.py", line ?, in test.test_generators.__test__.coroutine Failed example: with support.catch_unraisable_exception() as cm: g = f() next(g) del g cm.unraisable.exc_type == RuntimeError "generator ignored GeneratorExit" in str(cm.unraisable.exc_value) cm.unraisable.exc_traceback is not None Exception raised: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", File "<doctest test.test_generators.__test__.coroutine[83]>", line 6, in <module> cm.unraisable.exc_type == RuntimeError ^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'exc_type' ====================================================================== FAIL: email (test.test_generators.__test__) Doctest: test.test_generators.__test__.email ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 2256, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for test.test_generators.__test__.email File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_generators.py", line unknown line number, in email ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_generators.py", line ?, in test.test_generators.__test__.email Failed example: i.gi_running = 42 Expected: Traceback (most recent call last): ... AttributeError: attribute 'gi_running' of 'generator' objects is not writable Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", File "<doctest test.test_generators.__test__.email[19]>", line 1, in <module> i.gi_running = 42 ^^^^^^^^^^ AttributeError: readonly attribute 'gi_running' ====================================================================== FAIL: refleaks (test.test_generators.__test__) Doctest: test.test_generators.__test__.refleaks ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 2256, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for test.test_generators.__test__.refleaks File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_generators.py", line unknown line number, in refleaks ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_generators.py", line ?, in test.test_generators.__test__.refleaks Failed example: with support.catch_unraisable_exception() as cm: l = Leaker() del l cm.unraisable.object == Leaker.__del__ cm.unraisable.exc_type == RuntimeError str(cm.unraisable.exc_value) == "del failed" cm.unraisable.exc_traceback is not None Exception raised: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", File "<doctest test.test_generators.__test__.refleaks[8]>", line 5, in <module> cm.unraisable.object == Leaker.__del__ ^^^^^^ AttributeError: 'NoneType' object has no attribute 'object' ---------------------------------------------------------------------- Ran 41 tests in 0.171s FAILED (failures=4, errors=3) 0:00:00 load avg: 0.71 [1/1/1] test_generators failed (3 errors, 4 failures) == Tests result: FAILURE == 1 test failed: test_generators Total duration: 298 ms Total tests: run=41 failures=4 Total test files: run=1/1 failed=1 Result: FAILURE Warning -- Unraisable exception Exception ignored in: <function Leaker.__del__ at 0x00007f6746422ef8> Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 138, in _load_run_test regrtest_runner(result, test_func, runtests) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 91, in regrtest_runner test_result = test_func() ^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 135, in test_func return run_unittest(test_mod) ^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 37, in run_unittest return _run_suite(tests) ^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 78, in _run_suite raise support.TestFailedWithDetails(err, errors, failures, stats=stats) test.support.TestFailedWithDetails: multiple errors occurred During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<doctest test.test_generators.__test__.refleaks[7]>", line 5, in __del__ File "<doctest test.test_generators.__test__.refleaks[7]>", line 4, in invoke RuntimeError: del failed Warning -- Unraisable exception Exception ignored in: finalizer of <generator object f at 0x00007f6746e59cd0> Traceback (most recent call last): File "<doctest test.test_generators.__test__.coroutine[78]>", line 4, in f RuntimeError: generator ignored GeneratorExit test test_generators failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1749361æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2569615649 0:00:00 load avg: 0.71 Run 1 test sequentially in a single process 0:00:00 load avg: 0.71 [1/1] test_genericalias test_calling_next_twice_raises_stopiteration (test.test_genericalias.BaseTest.test_calling_next_twice_raises_stopiteration) ... ok test_class_methods (test.test_genericalias.BaseTest.test_class_methods) ... ok test_copy (test.test_genericalias.BaseTest.test_copy) ... ok test_del_iter (test.test_genericalias.BaseTest.test_del_iter) ... ok test_dir (test.test_genericalias.BaseTest.test_dir) ... ok test_equality (test.test_genericalias.BaseTest.test_equality) ... ok test_exposed_type (test.test_genericalias.BaseTest.test_exposed_type) ... ok test_generic_subclass (test.test_genericalias.BaseTest.test_generic_subclass) ... ok test_instantiate (test.test_genericalias.BaseTest.test_instantiate) ... ok test_isinstance (test.test_genericalias.BaseTest.test_isinstance) ... ok test_issubclass (test.test_genericalias.BaseTest.test_issubclass) ... ok test_iter_creates_starred_tuple (test.test_genericalias.BaseTest.test_iter_creates_starred_tuple) ... ok test_no_chaining (test.test_genericalias.BaseTest.test_no_chaining) ... ok test_no_kwargs (test.test_genericalias.BaseTest.test_no_kwargs) ... ok test_parameter_chaining (test.test_genericalias.BaseTest.test_parameter_chaining) ... ok test_parameters (test.test_genericalias.BaseTest.test_parameters) ... ok test_pickle (test.test_genericalias.BaseTest.test_pickle) ... ok test_repr (test.test_genericalias.BaseTest.test_repr) ... FAIL test_subclassing (test.test_genericalias.BaseTest.test_subclassing) ... ok test_subclassing_types_genericalias (test.test_genericalias.BaseTest.test_subclassing_types_genericalias) ... ok test_subscriptable (test.test_genericalias.BaseTest.test_subscriptable) ... test_subscriptable (test.test_genericalias.BaseTest.test_subscriptable) [Testing array] ... ERROR test_type_generic (test.test_genericalias.BaseTest.test_type_generic) ... ok test_type_subclass_generic (test.test_genericalias.BaseTest.test_type_subclass_generic) ... ok test_unbound_methods (test.test_genericalias.BaseTest.test_unbound_methods) ... ok test_union (test.test_genericalias.BaseTest.test_union) ... ok test_union_generic (test.test_genericalias.BaseTest.test_union_generic) ... ok test_unpack (test.test_genericalias.BaseTest.test_unpack) ... ok test_unsubscriptable (test.test_genericalias.BaseTest.test_unsubscriptable) ... ok test_weakref (test.test_genericalias.BaseTest.test_weakref) ... test_weakref (test.test_genericalias.BaseTest.test_weakref) [Testing array] ... ERROR test_cannot_iterate (test.test_genericalias.TypeIterationTests.test_cannot_iterate) ... ok test_is_not_instance_of_iterable (test.test_genericalias.TypeIterationTests.test_is_not_instance_of_iterable) ... ok ====================================================================== ERROR: test_subscriptable (test.test_genericalias.BaseTest.test_subscriptable) [Testing array] ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_genericalias.py", line 146, in test_subscriptable alias = t[int] ~^^^^^ TypeError: type 'array.array' is not subscriptable (key <class 'int'>) ====================================================================== ERROR: test_weakref (test.test_genericalias.BaseTest.test_weakref) [Testing array] ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_genericalias.py", line 431, in test_weakref alias = t[int] ~^^^^^ TypeError: type 'array.array' is not subscriptable (key <class 'int'>) ====================================================================== FAIL: test_repr (test.test_genericalias.BaseTest.test_repr) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_genericalias.py", line 230, in test_repr self.assertTrue(repr(MyGeneric[[int, str]]).endswith('MyGeneric[[int, str]]')) ^^^^^^^^^^ AssertionError: False is not true ---------------------------------------------------------------------- Ran 31 tests in 0.074s FAILED (failures=1, errors=2) 0:00:00 load avg: 0.71 [1/1/1] test_genericalias failed (2 errors, 1 failure) == Tests result: FAILURE == 1 test failed: test_genericalias Total duration: 257 ms Total tests: run=31 failures=1 Total test files: run=1/1 failed=1 Result: FAILURE test test_genericalias failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1749376æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3666213113 0:00:00 load avg: 0.71 Run 1 test sequentially in a single process 0:00:00 load avg: 0.71 [1/1] test_genexps doctests (test.test_genexps.__test__) Doctest: test.test_genexps.__test__.doctests ... FAIL ====================================================================== FAIL: doctests (test.test_genexps.__test__) Doctest: test.test_genexps.__test__.doctests ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 2256, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for test.test_genexps.__test__.doctests File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_genexps.py", line unknown line number, in doctests ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_genexps.py", line ?, in test.test_genexps.__test__.doctests Failed example: int(max(tupleids) - min(tupleids)) Expected: 0 Got: 216 ---------------------------------------------------------------------- Ran 1 test in 0.037s FAILED (failures=1) 0:00:00 load avg: 0.71 [1/1/1] test_genexps failed (1 failure) == Tests result: FAILURE == 1 test failed: test_genexps Total duration: 132 ms Total tests: run=1 failures=1 Total test files: run=1/1 failed=1 Result: FAILURE test test_genexps failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1749391æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 555503572 0:00:00 load avg: 0.73 Run 1 test sequentially in a single process 0:00:00 load avg: 0.73 [1/1] test_gettext test_expand_lang (test.test_gettext.ExpandLangTestCase.test_expand_lang) ... ok test_find_all (test.test_gettext.FindTestCase.test_find_all) ... ok test_find_deduplication (test.test_gettext.FindTestCase.test_find_deduplication) ... ok test_find_with_c (test.test_gettext.FindTestCase.test_find_with_c) ... ok test_find_with_env_vars (test.test_gettext.FindTestCase.test_find_with_env_vars) ... ok test_find_with_languages (test.test_gettext.FindTestCase.test_find_with_languages) ... ok test_find_with_no_lang (test.test_gettext.FindTestCase.test_find_with_no_lang) ... ok test_ignore_comments_in_headers_issue36239 (test.test_gettext.GNUTranslationParsingTest.test_ignore_comments_in_headers_issue36239) Checks that comments like: ... ok test_plural_form_error_issue17898 (test.test_gettext.GNUTranslationParsingTest.test_plural_form_error_issue17898) ... ok test_plural_context_forms (test.test_gettext.GNUTranslationsClassPluralFormsTestCase.test_plural_context_forms) ... FAIL test_plural_context_forms_null_translations (test.test_gettext.GNUTranslationsClassPluralFormsTestCase.test_plural_context_forms_null_translations) ... ok test_plural_forms (test.test_gettext.GNUTranslationsClassPluralFormsTestCase.test_plural_forms) ... ok test_plural_forms_null_translations (test.test_gettext.GNUTranslationsClassPluralFormsTestCase.test_plural_forms_null_translations) ... ok test_plural_wrong_context_forms (test.test_gettext.GNUTranslationsClassPluralFormsTestCase.test_plural_wrong_context_forms) ... FAIL test_plural_context_forms (test.test_gettext.GNUTranslationsPluralFormsTestCase.test_plural_context_forms) ... FAIL test_plural_forms (test.test_gettext.GNUTranslationsPluralFormsTestCase.test_plural_forms) ... ok test_plural_wrong_context_forms (test.test_gettext.GNUTranslationsPluralFormsTestCase.test_plural_wrong_context_forms) ... FAIL test_plural_context_forms (test.test_gettext.GNUTranslationsWithDomainPluralFormsTestCase.test_plural_context_forms) ... FAIL test_plural_context_forms_wrong_domain (test.test_gettext.GNUTranslationsWithDomainPluralFormsTestCase.test_plural_context_forms_wrong_domain) ... ok test_plural_forms (test.test_gettext.GNUTranslationsWithDomainPluralFormsTestCase.test_plural_forms) ... FAIL test_plural_forms_wrong_domain (test.test_gettext.GNUTranslationsWithDomainPluralFormsTestCase.test_plural_forms_wrong_domain) ... ok test_plural_wrong_context_forms (test.test_gettext.GNUTranslationsWithDomainPluralFormsTestCase.test_plural_wrong_context_forms) ... FAIL test_cache (test.test_gettext.GettextCacheTestCase.test_cache) ... ok test_double_quotes (test.test_gettext.GettextTestCase1.test_double_quotes) ... ok test_multiline_strings (test.test_gettext.GettextTestCase1.test_multiline_strings) ... ok test_some_translations (test.test_gettext.GettextTestCase1.test_some_translations) ... ok test_some_translations_with_context (test.test_gettext.GettextTestCase1.test_some_translations_with_context) ... ok test_the_alternative_interface (test.test_gettext.GettextTestCase1.test_the_alternative_interface) ... ok test_triple_double_quotes (test.test_gettext.GettextTestCase1.test_triple_double_quotes) ... ok test_triple_single_quotes (test.test_gettext.GettextTestCase1.test_triple_single_quotes) ... ok test_bad_magic_number (test.test_gettext.GettextTestCase2.test_bad_magic_number) ... ok test_bad_major_version (test.test_gettext.GettextTestCase2.test_bad_major_version) ... ok test_bad_minor_version (test.test_gettext.GettextTestCase2.test_bad_minor_version) ... ok test_bindtextdomain (test.test_gettext.GettextTestCase2.test_bindtextdomain) ... ok test_corrupt_file (test.test_gettext.GettextTestCase2.test_corrupt_file) ... ok test_double_quotes (test.test_gettext.GettextTestCase2.test_double_quotes) ... ok test_multiline_strings (test.test_gettext.GettextTestCase2.test_multiline_strings) ... ok test_some_translations (test.test_gettext.GettextTestCase2.test_some_translations) ... ok test_some_translations_with_context (test.test_gettext.GettextTestCase2.test_some_translations_with_context) ... ok test_some_translations_with_context_and_domain (test.test_gettext.GettextTestCase2.test_some_translations_with_context_and_domain) ... ok test_textdomain (test.test_gettext.GettextTestCase2.test_textdomain) ... ok test_triple_double_quotes (test.test_gettext.GettextTestCase2.test_triple_double_quotes) ... ok test_triple_single_quotes (test.test_gettext.GettextTestCase2.test_triple_single_quotes) ... ok test__all__ (test.test_gettext.MiscTestCase.test__all__) ... ok test_ar (test.test_gettext.PluralFormsInternalTestCase.test_ar) ... ok test_chained_comparison (test.test_gettext.PluralFormsInternalTestCase.test_chained_comparison) ... ok test_cs (test.test_gettext.PluralFormsInternalTestCase.test_cs) ... ok test_de (test.test_gettext.PluralFormsInternalTestCase.test_de) ... ok test_decimal_number (test.test_gettext.PluralFormsInternalTestCase.test_decimal_number) ... ok test_division (test.test_gettext.PluralFormsInternalTestCase.test_division) ... ok test_fr (test.test_gettext.PluralFormsInternalTestCase.test_fr) ... ok test_gd (test.test_gettext.PluralFormsInternalTestCase.test_gd) ... ok test_gd2 (test.test_gettext.PluralFormsInternalTestCase.test_gd2) ... ok test_invalid_syntax (test.test_gettext.PluralFormsInternalTestCase.test_invalid_syntax) ... ok test_ja (test.test_gettext.PluralFormsInternalTestCase.test_ja) ... ok test_lt (test.test_gettext.PluralFormsInternalTestCase.test_lt) ... ok test_lv (test.test_gettext.PluralFormsInternalTestCase.test_lv) ... ok test_negation (test.test_gettext.PluralFormsInternalTestCase.test_negation) ... ok test_nested_condition_operator (test.test_gettext.PluralFormsInternalTestCase.test_nested_condition_operator) ... ok test_pl (test.test_gettext.PluralFormsInternalTestCase.test_pl) ... ok test_plural_number (test.test_gettext.PluralFormsInternalTestCase.test_plural_number) ... ok test_ro (test.test_gettext.PluralFormsInternalTestCase.test_ro) ... ok test_ru (test.test_gettext.PluralFormsInternalTestCase.test_ru) ... ok test_security (test.test_gettext.PluralFormsInternalTestCase.test_security) ... ok test_sl (test.test_gettext.PluralFormsInternalTestCase.test_sl) ... ok test_unicode_context_msgid (test.test_gettext.UnicodeTranslationsPluralTest.test_unicode_context_msgid) ... ok test_unicode_msgid (test.test_gettext.UnicodeTranslationsPluralTest.test_unicode_msgid) ... ok test_unicode_msgstr (test.test_gettext.UnicodeTranslationsPluralTest.test_unicode_msgstr) ... ok test_unicode_msgstr_with_context (test.test_gettext.UnicodeTranslationsPluralTest.test_unicode_msgstr_with_context) ... ok test_unicode_context_msgstr (test.test_gettext.UnicodeTranslationsTest.test_unicode_context_msgstr) ... ok test_unicode_msgid (test.test_gettext.UnicodeTranslationsTest.test_unicode_msgid) ... ok test_unicode_msgstr (test.test_gettext.UnicodeTranslationsTest.test_unicode_msgstr) ... ok test_weird_metadata (test.test_gettext.WeirdMetadataTest.test_weird_metadata) ... ok ====================================================================== FAIL: test_plural_context_forms (test.test_gettext.GNUTranslationsClassPluralFormsTestCase.test_plural_context_forms) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py", line 422, in test_plural_context_forms self._test_plural_forms( ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py", line 395, in _test_plural_forms self.assertEqual(cm.filename, __file__) ^^^^^^^^^^^ AssertionError: '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/functools.py' != '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py' - /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/functools.py ? ---- ^^^ + /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py ? ^ ++++++++++++++ ====================================================================== FAIL: test_plural_wrong_context_forms (test.test_gettext.GNUTranslationsClassPluralFormsTestCase.test_plural_wrong_context_forms) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py", line 432, in test_plural_wrong_context_forms self._test_plural_forms( ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py", line 395, in _test_plural_forms self.assertEqual(cm.filename, __file__) ^^^^^^^^^^^ AssertionError: '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/functools.py' != '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py' - /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/functools.py ? ---- ^^^ + /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py ? ^ ++++++++++++++ ====================================================================== FAIL: test_plural_context_forms (test.test_gettext.GNUTranslationsPluralFormsTestCase.test_plural_context_forms) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py", line 422, in test_plural_context_forms self._test_plural_forms( ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py", line 395, in _test_plural_forms self.assertEqual(cm.filename, __file__) ^^^^^^^^^^^ AssertionError: '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/functools.py' != '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py' - /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/functools.py ? ---- ^^^ + /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py ? ^ ++++++++++++++ ====================================================================== FAIL: test_plural_wrong_context_forms (test.test_gettext.GNUTranslationsPluralFormsTestCase.test_plural_wrong_context_forms) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py", line 432, in test_plural_wrong_context_forms self._test_plural_forms( ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py", line 395, in _test_plural_forms self.assertEqual(cm.filename, __file__) ^^^^^^^^^^^ AssertionError: '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/functools.py' != '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py' - /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/functools.py ? ---- ^^^ + /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py ? ^ ++++++++++++++ ====================================================================== FAIL: test_plural_context_forms (test.test_gettext.GNUTranslationsWithDomainPluralFormsTestCase.test_plural_context_forms) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py", line 422, in test_plural_context_forms self._test_plural_forms( ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py", line 395, in _test_plural_forms self.assertEqual(cm.filename, __file__) ^^^^^^^^^^^ AssertionError: '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/functools.py' != '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py' - /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/functools.py ? ---- ^^^ + /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py ? ^ ++++++++++++++ ====================================================================== FAIL: test_plural_forms (test.test_gettext.GNUTranslationsWithDomainPluralFormsTestCase.test_plural_forms) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py", line 410, in test_plural_forms self._test_plural_forms( ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py", line 395, in _test_plural_forms self.assertEqual(cm.filename, __file__) ^^^^^^^^^^^ AssertionError: '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/functools.py' != '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py' - /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/functools.py ? ---- ^^^ + /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py ? ^ ++++++++++++++ ====================================================================== FAIL: test_plural_wrong_context_forms (test.test_gettext.GNUTranslationsWithDomainPluralFormsTestCase.test_plural_wrong_context_forms) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py", line 432, in test_plural_wrong_context_forms self._test_plural_forms( ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py", line 395, in _test_plural_forms self.assertEqual(cm.filename, __file__) ^^^^^^^^^^^ AssertionError: '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/functools.py' != '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py' - /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/functools.py ? ---- ^^^ + /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gettext.py ? ^ ++++++++++++++ ---------------------------------------------------------------------- Ran 73 tests in 0.085s FAILED (failures=7) 0:00:00 load avg: 0.73 [1/1/1] test_gettext failed (7 failures) == Tests result: FAILURE == 1 test failed: test_gettext Total duration: 247 ms Total tests: run=73 failures=7 Total test files: run=1/1 failed=1 Result: FAILURE test test_gettext failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1749406æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2775566263 0:00:00 load avg: 0.73 Run 1 test sequentially in a single process 0:00:00 load avg: 0.73 [1/1] test_grammar test_additive_ops (test.test_grammar.GrammarTests.test_additive_ops) ... ok test_annotations_inheritance (test.test_grammar.GrammarTests.test_annotations_inheritance) ... ok test_assert (test.test_grammar.GrammarTests.test_assert) ... ok test_assert_failures (test.test_grammar.GrammarTests.test_assert_failures) ... ok test_assert_syntax_warnings (test.test_grammar.GrammarTests.test_assert_syntax_warnings) ... ok test_assert_warning_promotes_to_syntax_error (test.test_grammar.GrammarTests.test_assert_warning_promotes_to_syntax_error) ... ok test_async_await (test.test_grammar.GrammarTests.test_async_await) ... ok test_async_for (test.test_grammar.GrammarTests.test_async_for) ... ok test_async_with (test.test_grammar.GrammarTests.test_async_with) ... ok test_atoms (test.test_grammar.GrammarTests.test_atoms) ... ok test_binary_mask_ops (test.test_grammar.GrammarTests.test_binary_mask_ops) ... ok test_break_continue_loop (test.test_grammar.GrammarTests.test_break_continue_loop) ... ok test_break_in_finally (test.test_grammar.GrammarTests.test_break_in_finally) ... ok test_break_in_finally_after_return (test.test_grammar.GrammarTests.test_break_in_finally_after_return) ... ok test_break_stmt (test.test_grammar.GrammarTests.test_break_stmt) ... ok test_classdef (test.test_grammar.GrammarTests.test_classdef) ... ok test_comparison (test.test_grammar.GrammarTests.test_comparison) ... ok test_comparison_is_literal (test.test_grammar.GrammarTests.test_comparison_is_literal) ... FAIL test_complex_lambda (test.test_grammar.GrammarTests.test_complex_lambda) ... ok test_comprehension_specials (test.test_grammar.GrammarTests.test_comprehension_specials) ... ok test_continue_in_finally (test.test_grammar.GrammarTests.test_continue_in_finally) ... ok test_continue_in_finally_after_return (test.test_grammar.GrammarTests.test_continue_in_finally_after_return) ... ok test_continue_stmt (test.test_grammar.GrammarTests.test_continue_stmt) ... ok test_del_stmt (test.test_grammar.GrammarTests.test_del_stmt) ... ok test_dictcomps (test.test_grammar.GrammarTests.test_dictcomps) ... ok test_eval_input (test.test_grammar.GrammarTests.test_eval_input) ... ok test_expr_stmt (test.test_grammar.GrammarTests.test_expr_stmt) ... ok test_for (test.test_grammar.GrammarTests.test_for) ... ok test_former_statements_refer_to_builtins (test.test_grammar.GrammarTests.test_former_statements_refer_to_builtins) ... ok test_funcdef (test.test_grammar.GrammarTests.test_funcdef) ... ok test_genexps (test.test_grammar.GrammarTests.test_genexps) ... ok test_global (test.test_grammar.GrammarTests.test_global) ... ok test_if (test.test_grammar.GrammarTests.test_if) ... ok test_if_else_expr (test.test_grammar.GrammarTests.test_if_else_expr) ... ok test_import (test.test_grammar.GrammarTests.test_import) ... ok test_lambdef (test.test_grammar.GrammarTests.test_lambdef) ... ok test_listcomps (test.test_grammar.GrammarTests.test_listcomps) ... ok test_matrix_mul (test.test_grammar.GrammarTests.test_matrix_mul) ... ok test_multiplicative_ops (test.test_grammar.GrammarTests.test_multiplicative_ops) ... ok test_nonlocal (test.test_grammar.GrammarTests.test_nonlocal) ... ok test_paren_evaluation (test.test_grammar.GrammarTests.test_paren_evaluation) ... ok test_pass_stmt (test.test_grammar.GrammarTests.test_pass_stmt) ... ok test_raise (test.test_grammar.GrammarTests.test_raise) ... ok test_return (test.test_grammar.GrammarTests.test_return) ... ok test_return_in_finally (test.test_grammar.GrammarTests.test_return_in_finally) ... ok test_selectors (test.test_grammar.GrammarTests.test_selectors) ... ok test_shift_ops (test.test_grammar.GrammarTests.test_shift_ops) ... ok test_simple_stmt (test.test_grammar.GrammarTests.test_simple_stmt) ... ok test_suite (test.test_grammar.GrammarTests.test_suite) ... ok test_test (test.test_grammar.GrammarTests.test_test) ... ok test_try (test.test_grammar.GrammarTests.test_try) ... ok test_try_star (test.test_grammar.GrammarTests.test_try_star) ... ok test_unary_ops (test.test_grammar.GrammarTests.test_unary_ops) ... ok test_var_annot_basic_semantics (test.test_grammar.GrammarTests.test_var_annot_basic_semantics) ... ok test_var_annot_basics (test.test_grammar.GrammarTests.test_var_annot_basics) ... ok test_var_annot_custom_maps (test.test_grammar.GrammarTests.test_var_annot_custom_maps) ... ok test_var_annot_in_module (test.test_grammar.GrammarTests.test_var_annot_in_module) ... ok test_var_annot_metaclass_semantics (test.test_grammar.GrammarTests.test_var_annot_metaclass_semantics) ... ok test_var_annot_module_semantics (test.test_grammar.GrammarTests.test_var_annot_module_semantics) ... ok test_var_annot_refleak (test.test_grammar.GrammarTests.test_var_annot_refleak) ... ok test_var_annot_rhs (test.test_grammar.GrammarTests.test_var_annot_rhs) ... ok test_var_annot_simple_exec (test.test_grammar.GrammarTests.test_var_annot_simple_exec) ... ok test_var_annot_syntax_errors (test.test_grammar.GrammarTests.test_var_annot_syntax_errors) ... ok test_warn_missed_comma (test.test_grammar.GrammarTests.test_warn_missed_comma) ... FAIL test_while (test.test_grammar.GrammarTests.test_while) ... ok test_with_statement (test.test_grammar.GrammarTests.test_with_statement) ... ok test_yield (test.test_grammar.GrammarTests.test_yield) ... ok test_yield_in_comprehensions (test.test_grammar.GrammarTests.test_yield_in_comprehensions) ... ok test_backslash (test.test_grammar.TokenTests.test_backslash) ... ok test_bad_numerical_literals (test.test_grammar.TokenTests.test_bad_numerical_literals) ... ok test_ellipsis (test.test_grammar.TokenTests.test_ellipsis) ... ok test_end_of_numerical_literals (test.test_grammar.TokenTests.test_end_of_numerical_literals) ... test_end_of_numerical_literals (test.test_grammar.TokenTests.test_end_of_numerical_literals) (expr='x if 9else y') ... ERROR test_end_of_numerical_literals (test.test_grammar.TokenTests.test_end_of_numerical_literals) (expr='x if 0else y') ... ERROR test_eof_error (test.test_grammar.TokenTests.test_eof_error) ... ok test_float_exponent_tokenization (test.test_grammar.TokenTests.test_float_exponent_tokenization) ... ERROR test_floats (test.test_grammar.TokenTests.test_floats) ... ok test_long_integers (test.test_grammar.TokenTests.test_long_integers) ... ok test_plain_integers (test.test_grammar.TokenTests.test_plain_integers) ... ok test_string_literals (test.test_grammar.TokenTests.test_string_literals) ... ok test_underscore_literals (test.test_grammar.TokenTests.test_underscore_literals) ... ok ====================================================================== ERROR: test_end_of_numerical_literals (test.test_grammar.TokenTests.test_end_of_numerical_literals) (expr='x if 9else y') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_grammar.py", line 225, in check self.check_syntax_warning(test, ^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/warnings_helper.py", line 22, in check_syntax_warning compile(statement, '<testcase>', 'exec') File "<testcase>", line 1 x if 9else y ^ SyntaxError: invalid decimal literal ====================================================================== ERROR: test_end_of_numerical_literals (test.test_grammar.TokenTests.test_end_of_numerical_literals) (expr='x if 0else y') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_grammar.py", line 225, in check self.check_syntax_warning(test, ^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/warnings_helper.py", line 22, in check_syntax_warning compile(statement, '<testcase>', 'exec') File "<testcase>", line 1 x if 0else y ^ SyntaxError: invalid decimal literal ====================================================================== ERROR: test_float_exponent_tokenization (test.test_grammar.TokenTests.test_float_exponent_tokenization) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_grammar.py", line 181, in test_float_exponent_tokenization self.assertEqual(eval("1 if 1else 0"), 1) ^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1 1 if 1else 0 ^ SyntaxError: invalid decimal literal ====================================================================== FAIL: test_comparison_is_literal (test.test_grammar.GrammarTests.test_comparison_is_literal) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_grammar.py", line 1485, in test_comparison_is_literal check('x is 1', '"is" with \'int\' literal') File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_grammar.py", line 1483, in check self.check_syntax_warning(test, msg) ^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/warnings_helper.py", line 29, in check_syntax_warning testcase.assertRegex(str(warn.message), errtext) ^^^^^^^^^^^ AssertionError: Regex didn't match: '"is" with \'int\' literal' not found in '"is" with a literal. Did you mean "=="?' ====================================================================== FAIL: test_warn_missed_comma (test.test_grammar.GrammarTests.test_warn_missed_comma) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_grammar.py", line 1571, in test_warn_missed_comma check('[[1, 2] [(lambda x, y: x)]]') File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_grammar.py", line 1512, in check self.check_syntax_warning(test, msg) ^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/warnings_helper.py", line 23, in check_syntax_warning testcase.assertEqual(len(warns), 1, warns) ^^^^^^^^^^^ AssertionError: 0 != 1 : [] ---------------------------------------------------------------------- Ran 79 tests in 0.056s FAILED (failures=2, errors=3) 0:00:00 load avg: 0.73 [1/1/1] test_grammar failed (3 errors, 2 failures) == Tests result: FAILURE == 1 test failed: test_grammar Total duration: 128 ms Total tests: run=79 failures=2 Total test files: run=1/1 failed=1 Result: FAILURE test test_grammar failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1749439æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 306643418 0:00:00 load avg: 0.73 Run 1 test sequentially in a single process 0:00:00 load avg: 0.73 [1/1] test_hash test_empty_string (test.test_hash.BytesHashRandomizationTests.test_empty_string) ... FAIL test_fixed_hash (test.test_hash.BytesHashRandomizationTests.test_fixed_hash) ... ok test_long_fixed_hash (test.test_hash.BytesHashRandomizationTests.test_long_fixed_hash) ... ok test_null_hash (test.test_hash.BytesHashRandomizationTests.test_null_hash) ... ok test_randomized_hash (test.test_hash.BytesHashRandomizationTests.test_randomized_hash) ... ok test_randomized_hash (test.test_hash.DatetimeDateTests.test_randomized_hash) ... ok test_randomized_hash (test.test_hash.DatetimeDatetimeTests.test_randomized_hash) ... ok test_randomized_hash (test.test_hash.DatetimeTimeTests.test_randomized_hash) ... ok test_hashes (test.test_hash.HashBuiltinsTestCase.test_hashes) ... ok test_hash_distribution (test.test_hash.HashDistributionTestCase.test_hash_distribution) ... ok test_coerced_floats (test.test_hash.HashEqualityTestCase.test_coerced_floats) ... ok test_coerced_integers (test.test_hash.HashEqualityTestCase.test_coerced_integers) ... ok test_numeric_literals (test.test_hash.HashEqualityTestCase.test_numeric_literals) ... ok test_unaligned_buffers (test.test_hash.HashEqualityTestCase.test_unaligned_buffers) ... ok test_default_hash (test.test_hash.HashInheritanceTestCase.test_default_hash) ... ok test_error_hash (test.test_hash.HashInheritanceTestCase.test_error_hash) ... ok test_fixed_hash (test.test_hash.HashInheritanceTestCase.test_fixed_hash) ... ok test_hashable (test.test_hash.HashInheritanceTestCase.test_hashable) ... ok test_not_hashable (test.test_hash.HashInheritanceTestCase.test_not_hashable) ... ok test_empty_string (test.test_hash.MemoryviewHashRandomizationTests.test_empty_string) ... FAIL test_fixed_hash (test.test_hash.MemoryviewHashRandomizationTests.test_fixed_hash) ... ok test_long_fixed_hash (test.test_hash.MemoryviewHashRandomizationTests.test_long_fixed_hash) ... ok test_null_hash (test.test_hash.MemoryviewHashRandomizationTests.test_null_hash) ... ok test_randomized_hash (test.test_hash.MemoryviewHashRandomizationTests.test_randomized_hash) ... ok test_empty_string (test.test_hash.StrHashRandomizationTests.test_empty_string) ... FAIL test_fixed_hash (test.test_hash.StrHashRandomizationTests.test_fixed_hash) ... ok test_long_fixed_hash (test.test_hash.StrHashRandomizationTests.test_long_fixed_hash) ... ok test_null_hash (test.test_hash.StrHashRandomizationTests.test_null_hash) ... ok test_randomized_hash (test.test_hash.StrHashRandomizationTests.test_randomized_hash) ... ok test_ucs2_string (test.test_hash.StrHashRandomizationTests.test_ucs2_string) ... FAIL ====================================================================== FAIL: test_empty_string (test.test_hash.BytesHashRandomizationTests.test_empty_string) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_hash.py", line 315, in test_empty_string self.assertEqual(hash(b""), 0) ^^^^^^^^^^^ AssertionError: -7460031023199765865 != 0 ====================================================================== FAIL: test_empty_string (test.test_hash.MemoryviewHashRandomizationTests.test_empty_string) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_hash.py", line 324, in test_empty_string self.assertEqual(hash(memoryview(b"")), 0) ^^^^^^^^^^^ AssertionError: -7460031023199765865 != 0 ====================================================================== FAIL: test_empty_string (test.test_hash.StrHashRandomizationTests.test_empty_string) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_hash.py", line 299, in test_empty_string self.assertEqual(hash(""), 0) ^^^^^^^^^^^ AssertionError: -7460031023199765865 != 0 ====================================================================== FAIL: test_ucs2_string (test.test_hash.StrHashRandomizationTests.test_ucs2_string) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_hash.py", line 304, in test_ucs2_string self.assertEqual(self.get_hash(self.repr_ucs2, seed=0), h) ^^^^^^^^^^^ AssertionError: 6366690566833080022 != 5749986484189612790 ---------------------------------------------------------------------- Ran 30 tests in 0.699s FAILED (failures=4) 0:00:00 load avg: 0.73 [1/1/1] test_hash failed (4 failures) == Tests result: FAILURE == 1 test failed: test_hash Total duration: 792 ms Total tests: run=30 failures=4 Total test files: run=1/1 failed=1 Result: FAILURE test test_hash failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1749648æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3155394710 0:00:00 load avg: 0.67 Run 1 test sequentially in a single process 0:00:00 load avg: 0.67 [1/1] test_idle setUpClass (idlelib.idle_test.test_autocomplete.AutoCompleteTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_autocomplete_w.AutoCompleteWindowTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_autoexpand.AutoExpandTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_geticonname (idlelib.idle_test.test_browser.ChildBrowserTreeItemTest.test_geticonname) ... ok test_getsublist (idlelib.idle_test.test_browser.ChildBrowserTreeItemTest.test_getsublist) ... ok test_gettext (idlelib.idle_test.test_browser.ChildBrowserTreeItemTest.test_gettext) ... ok test_init (idlelib.idle_test.test_browser.ChildBrowserTreeItemTest.test_init) ... ok test_isexpandable (idlelib.idle_test.test_browser.ChildBrowserTreeItemTest.test_isexpandable) ... ok test_ondoubleclick (idlelib.idle_test.test_browser.ChildBrowserTreeItemTest.test_ondoubleclick) ... ok setUpClass (idlelib.idle_test.test_browser.ModuleBrowserTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_geticonname (idlelib.idle_test.test_browser.ModuleBrowserTreeItemTest.test_geticonname) ... ok test_getsublist (idlelib.idle_test.test_browser.ModuleBrowserTreeItemTest.test_getsublist) ... ok test_gettext (idlelib.idle_test.test_browser.ModuleBrowserTreeItemTest.test_gettext) ... ok test_init (idlelib.idle_test.test_browser.ModuleBrowserTreeItemTest.test_init) ... ok test_isexpandable (idlelib.idle_test.test_browser.ModuleBrowserTreeItemTest.test_isexpandable) ... ok test_listchildren (idlelib.idle_test.test_browser.ModuleBrowserTreeItemTest.test_listchildren) ... ok test_ondoubleclick (idlelib.idle_test.test_browser.ModuleBrowserTreeItemTest.test_ondoubleclick) ... ok test_nested (idlelib.idle_test.test_browser.NestedChildrenTest.test_nested) ... ok test_transform_module_children (idlelib.idle_test.test_browser.TransformChildrenTest.test_transform_module_children) ... ok test_transform_node_children (idlelib.idle_test.test_browser.TransformChildrenTest.test_transform_node_children) ... ok test_comment_parens (idlelib.idle_test.test_calltip.CalltipTest.test_comment_parens) ... ok test_open_close (idlelib.idle_test.test_calltip.CalltipTest.test_open_close) ... ok test_repeated_force (idlelib.idle_test.test_calltip.CalltipTest.test_repeated_force) ... ok test_repeated_parens (idlelib.idle_test.test_calltip.CalltipTest.test_repeated_parens) ... ok test_bound_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_bound_methods) ... test_bound_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_bound_methods) (meth=<bound method TC.t1 of <idlelib.idle_test.test_calltip.TC object at 0x00007f22b256cde8>>, mtip='()') ... FAIL test_bound_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_bound_methods) (meth=<bound method TC.t4 of <idlelib.idle_test.test_calltip.TC object at 0x00007f22b256cde8>>, mtip='(*args)') ... FAIL test_bound_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_bound_methods) (meth=<bound method TC.t6 of <idlelib.idle_test.test_calltip.TC object at 0x00007f22b256cde8>>, mtip='(self)') ... FAIL test_bound_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_bound_methods) (meth=<bound method TC.__call__ of <idlelib.idle_test.test_calltip.TC object at 0x00007f22b256cde8>>, mtip='(ci)') ... FAIL test_bound_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_bound_methods) (meth=<bound method TC.cm of <class 'idlelib.idle_test.test_calltip.TC'>>, mtip='(a)') ... FAIL test_buggy_getattr_class (idlelib.idle_test.test_calltip.Get_argspecTest.test_buggy_getattr_class) ... test_buggy_getattr_class (idlelib.idle_test.test_calltip.Get_argspecTest.test_buggy_getattr_class) (meth=<class 'idlelib.idle_test.test_calltip.Get_argspecTest.test_buggy_getattr_class.<locals>.NoCall'>, mtip='See source or doc') ... FAIL test_builtins (idlelib.idle_test.test_calltip.Get_argspecTest.test_builtins) ... FAIL test_docline_truncation (idlelib.idle_test.test_calltip.Get_argspecTest.test_docline_truncation) ... FAIL test_functions (idlelib.idle_test.test_calltip.Get_argspecTest.test_functions) ... test_functions (idlelib.idle_test.test_calltip.Get_argspecTest.test_functions) (func=<function Get_argspecTest.test_functions.<locals>.t1 at 0x00007f22b2c148b8>) ... FAIL test_functions (idlelib.idle_test.test_calltip.Get_argspecTest.test_functions) (func=<function Get_argspecTest.test_functions.<locals>.t2 at 0x00007f22b2c14980>) ... FAIL test_functions (idlelib.idle_test.test_calltip.Get_argspecTest.test_functions) (func=<function Get_argspecTest.test_functions.<locals>.t3 at 0x00007f22b2c14a48>) ... FAIL test_functions (idlelib.idle_test.test_calltip.Get_argspecTest.test_functions) (func=<function Get_argspecTest.test_functions.<locals>.t4 at 0x00007f22b2c14b10>) ... FAIL test_functions (idlelib.idle_test.test_calltip.Get_argspecTest.test_functions) (func=<function Get_argspecTest.test_functions.<locals>.t5 at 0x00007f22b2c14bd8>) ... FAIL test_invalid_method_get_spec (idlelib.idle_test.test_calltip.Get_argspecTest.test_invalid_method_get_spec) ... FAIL test_metaclass_class (idlelib.idle_test.test_calltip.Get_argspecTest.test_metaclass_class) ... test_metaclass_class (idlelib.idle_test.test_calltip.Get_argspecTest.test_metaclass_class) (meth=<class 'idlelib.idle_test.test_calltip.Get_argspecTest.test_metaclass_class.<locals>.Object'>, mtip='See source or doc') ... FAIL test_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_methods) ... test_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_methods) (meth=<function TC.t1 at 0x00007f22b2b2b600>) ... FAIL test_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_methods) (meth=<function TC.t2 at 0x00007f22b2b2b6c8>) ... FAIL test_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_methods) (meth=<function TC.t3 at 0x00007f22b2b2b790>) ... FAIL test_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_methods) (meth=<function TC.t4 at 0x00007f22b2b2b858>) ... FAIL test_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_methods) (meth=<function TC.t5 at 0x00007f22b2b2b920>) ... FAIL test_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_methods) (meth=<function TC.t6 at 0x00007f22b2b2b9e8>) ... FAIL test_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_methods) (meth=<function TC.__call__ at 0x00007f22b2b2bab0>) ... FAIL test_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_methods) ... FAIL test_multiline_docstring (idlelib.idle_test.test_calltip.Get_argspecTest.test_multiline_docstring) ... FAIL test_multiline_docstring_2 (idlelib.idle_test.test_calltip.Get_argspecTest.test_multiline_docstring_2) ... FAIL test_no_docstring (idlelib.idle_test.test_calltip.Get_argspecTest.test_no_docstring) ... test_no_docstring (idlelib.idle_test.test_calltip.Get_argspecTest.test_no_docstring) (meth=<function TC.nd at 0x00007f22b2b2bb78>, mtip='(self)') ... FAIL test_no_docstring (idlelib.idle_test.test_calltip.Get_argspecTest.test_no_docstring) (meth=<bound method TC.nd of <idlelib.idle_test.test_calltip.TC object at 0x00007f22b256cde8>>, mtip='()') ... FAIL test_non_ascii_name (idlelib.idle_test.test_calltip.Get_argspecTest.test_non_ascii_name) ... ok test_non_callables (idlelib.idle_test.test_calltip.Get_argspecTest.test_non_callables) ... ok test_properly_formatted (idlelib.idle_test.test_calltip.Get_argspecTest.test_properly_formatted) ... test_properly_formatted (idlelib.idle_test.test_calltip.Get_argspecTest.test_properly_formatted) (func=<function Get_argspecTest.test_properly_formatted.<locals>.foo at 0x00007f22b2c14ef8>, doc="(s='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n aaaaaaaaaaaaaaaaaaa')") ... FAIL test_properly_formatted (idlelib.idle_test.test_calltip.Get_argspecTest.test_properly_formatted) (func=<function Get_argspecTest.test_properly_formatted.<locals>.bar at 0x00007f22b2c14fc0>, doc="(s='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n aaaaaaaaaaaaaaaaaaa')\nHello Guido") ... FAIL test_properly_formatted (idlelib.idle_test.test_calltip.Get_argspecTest.test_properly_formatted) (func=<function Get_argspecTest.test_properly_formatted.<locals>.baz at 0x00007f22b2c15088>, doc="(s='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n aaaaaaaaaaaaaaaaaaa', z='bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\n bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb')") ... FAIL test_signature_wrap (idlelib.idle_test.test_calltip.Get_argspecTest.test_signature_wrap) ... FAIL test_starred_parameter (idlelib.idle_test.test_calltip.Get_argspecTest.test_starred_parameter) ... test_starred_parameter (idlelib.idle_test.test_calltip.Get_argspecTest.test_starred_parameter) (meth=<function Get_argspecTest.test_starred_parameter.<locals>.C.m1 at 0x00007f22b2c15150>, mtip='(*args)') ... FAIL test_starred_parameter (idlelib.idle_test.test_calltip.Get_argspecTest.test_starred_parameter) (meth=<bound method Get_argspecTest.test_starred_parameter.<locals>.C.m1 of <idlelib.idle_test.test_calltip.Get_argspecTest.test_starred_parameter.<locals>.C object at 0x00007f22b2b5d328>>, mtip='(*args)') ... FAIL test_bad_entity (idlelib.idle_test.test_calltip.Get_entityTest.test_bad_entity) ... ok test_good_entity (idlelib.idle_test.test_calltip.Get_entityTest.test_good_entity) ... ok setUpClass (idlelib.idle_test.test_calltip_w.CallTipWindowTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_codecontext.CodeContextTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_get_line_info (idlelib.idle_test.test_codecontext.HelperFunctionText.test_get_line_info) ... ok test_get_spaces_firstword (idlelib.idle_test.test_codecontext.HelperFunctionText.test_get_spaces_firstword) ... ok setUpClass (idlelib.idle_test.test_colorizer.ColorConfigTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_colorizer.ColorDelegatorInstantiationTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_colorizer.ColorDelegatorTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_any (idlelib.idle_test.test_colorizer.FunctionTest.test_any) ... ok test_idprog (idlelib.idle_test.test_colorizer.FunctionTest.test_idprog) ... ok test_make_pat (idlelib.idle_test.test_colorizer.FunctionTest.test_make_pat) ... ok test_prog (idlelib.idle_test.test_colorizer.FunctionTest.test_prog) ... ok test_add_option (idlelib.idle_test.test_config.ChangesTest.test_add_option) ... ok test_clear (idlelib.idle_test.test_config.ChangesTest.test_clear) ... ok test_delete_section (idlelib.idle_test.test_config.ChangesTest.test_delete_section) ... ok test_init (idlelib.idle_test.test_config.ChangesTest.test_init) ... ok test_save_added (idlelib.idle_test.test_config.ChangesTest.test_save_added) ... ok test_save_default (idlelib.idle_test.test_config.ChangesTest.test_save_default) ... ok test_save_help (idlelib.idle_test.test_config.ChangesTest.test_save_help) ... ok test_save_option (idlelib.idle_test.test_config.ChangesTest.test_save_option) ... ok test_new_builtin_keys (idlelib.idle_test.test_config.CurrentColorKeysTest.test_new_builtin_keys) ... ok test_new_builtin_theme (idlelib.idle_test.test_config.CurrentColorKeysTest.test_new_builtin_theme) ... ok test_old_builtin_keys (idlelib.idle_test.test_config.CurrentColorKeysTest.test_old_builtin_keys) ... ok test_old_builtin_theme (idlelib.idle_test.test_config.CurrentColorKeysTest.test_old_builtin_theme) ... ok test_user_override_keys (idlelib.idle_test.test_config.CurrentColorKeysTest.test_user_override_keys) ... ok test_user_override_theme (idlelib.idle_test.test_config.CurrentColorKeysTest.test_user_override_theme) ... ok test_get (idlelib.idle_test.test_config.IdleConfParserTest.test_get) ... ok test_get_option_list (idlelib.idle_test.test_config.IdleConfParserTest.test_get_option_list) ... ok test_load_file (idlelib.idle_test.test_config.IdleConfParserTest.test_load_file) ... ok test_load_nothing (idlelib.idle_test.test_config.IdleConfParserTest.test_load_nothing) ... ok test_create_config_handlers (idlelib.idle_test.test_config.IdleConfTest.test_create_config_handlers) ... ok test_current_colors_and_keys (idlelib.idle_test.test_config.IdleConfTest.test_current_colors_and_keys) ... ok test_default_keys (idlelib.idle_test.test_config.IdleConfTest.test_default_keys) ... ok test_extra_help_source_list (idlelib.idle_test.test_config.IdleConfTest.test_extra_help_source_list) ... ok test_get_core_keys (idlelib.idle_test.test_config.IdleConfTest.test_get_core_keys) ... ok test_get_current_keyset (idlelib.idle_test.test_config.IdleConfTest.test_get_current_keyset) ... ok test_get_current_theme_and_keys (idlelib.idle_test.test_config.IdleConfTest.test_get_current_theme_and_keys) ... ok test_get_extension_bindings (idlelib.idle_test.test_config.IdleConfTest.test_get_extension_bindings) ... ok test_get_extension_keys (idlelib.idle_test.test_config.IdleConfTest.test_get_extension_keys) ... ok test_get_extensions (idlelib.idle_test.test_config.IdleConfTest.test_get_extensions) ... ok test_get_extn_name_for_event (idlelib.idle_test.test_config.IdleConfTest.test_get_extn_name_for_event) ... ok test_get_font (idlelib.idle_test.test_config.IdleConfTest.test_get_font) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_get_highlight (idlelib.idle_test.test_config.IdleConfTest.test_get_highlight) ... ok test_get_keybinding (idlelib.idle_test.test_config.IdleConfTest.test_get_keybinding) ... ok test_get_keyset (idlelib.idle_test.test_config.IdleConfTest.test_get_keyset) ... ok test_get_option (idlelib.idle_test.test_config.IdleConfTest.test_get_option) ... ok test_get_section_list (idlelib.idle_test.test_config.IdleConfTest.test_get_section_list) ... ok test_get_theme_dict (idlelib.idle_test.test_config.IdleConfTest.test_get_theme_dict) ... ok test_get_user_cfg_dir_unix (idlelib.idle_test.test_config.IdleConfTest.test_get_user_cfg_dir_unix) ... ok test_get_user_cfg_dir_windows (idlelib.idle_test.test_config.IdleConfTest.test_get_user_cfg_dir_windows) ... skipped 'this is test for Windows system' test_is_core_binding (idlelib.idle_test.test_config.IdleConfTest.test_is_core_binding) ... ok test_load_cfg_files (idlelib.idle_test.test_config.IdleConfTest.test_load_cfg_files) ... ok test_remove_key_bind_names (idlelib.idle_test.test_config.IdleConfTest.test_remove_key_bind_names) ... ok test_save_user_cfg_files (idlelib.idle_test.test_config.IdleConfTest.test_save_user_cfg_files) ... ok test_set_option (idlelib.idle_test.test_config.IdleConfTest.test_set_option) ... ok test_add_section (idlelib.idle_test.test_config.IdleUserConfParserTest.test_add_section) ... ok test_is_empty (idlelib.idle_test.test_config.IdleUserConfParserTest.test_is_empty) ... ok test_remove_empty_sections (idlelib.idle_test.test_config.IdleUserConfParserTest.test_remove_empty_sections) ... ok test_remove_option (idlelib.idle_test.test_config.IdleUserConfParserTest.test_remove_option) ... ok test_save (idlelib.idle_test.test_config.IdleUserConfParserTest.test_save) ... ok test_set_option (idlelib.idle_test.test_config.IdleUserConfParserTest.test_set_option) ... ok test_warn (idlelib.idle_test.test_config.WarningTest.test_warn) ... ok setUpClass (idlelib.idle_test.test_config_key.CancelWindowTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_translate_key (idlelib.idle_test.test_config_key.HelperTest.test_translate_key) ... ok setUpClass (idlelib.idle_test.test_config_key.KeySelectionTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_config_key.OKWindowTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_config_key.ToggleLevelTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_config_key.ValidationTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_config_key.WindowResultTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' idlelib.idle_test.test_configdialog (unittest.loader.ModuleSkipped.idlelib.idle_test.test_configdialog) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_debugger.DebuggerGuiTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_clear_breakpoint (idlelib.idle_test.test_debugger.DebuggerTest.test_clear_breakpoint) ... ok test_clear_file_breaks (idlelib.idle_test.test_debugger.DebuggerTest.test_clear_file_breaks) ... ok test_cont (idlelib.idle_test.test_debugger.DebuggerTest.test_cont) ... ok test_next (idlelib.idle_test.test_debugger.DebuggerTest.test_next) ... ok test_quit (idlelib.idle_test.test_debugger.DebuggerTest.test_quit) ... ok test_ret (idlelib.idle_test.test_debugger.DebuggerTest.test_ret) ... ok test_set_load_breakpoints (idlelib.idle_test.test_debugger.DebuggerTest.test_set_load_breakpoints) ... ok test_step (idlelib.idle_test.test_debugger.DebuggerTest.test_step) ... ok test_sync_source_line (idlelib.idle_test.test_debugger.DebuggerTest.test_sync_source_line) ... ok test_functions (idlelib.idle_test.test_debugger.FunctionTest.test_functions) ... ok test_init (idlelib.idle_test.test_debugger.IdbTest.test_init) ... ok test_user_exception (idlelib.idle_test.test_debugger.IdbTest.test_user_exception) ... ok test_user_line (idlelib.idle_test.test_debugger.IdbTest.test_user_line) ... ok setUpClass (idlelib.idle_test.test_debugger.NameSpaceTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_debugger.StackViewerTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_dict_item_noattr (idlelib.idle_test.test_debugger_r.IdbAdapterTest.test_dict_item_noattr) ... ok test_isexpandable (idlelib.idle_test.test_debugobj.AtomicObjectTreeItemTest.test_isexpandable) ... ok test_isexpandable (idlelib.idle_test.test_debugobj.ClassTreeItemTest.test_isexpandable) ... ok test_isexpandable (idlelib.idle_test.test_debugobj.DictTreeItemTest.test_isexpandable) ... ok test_keys (idlelib.idle_test.test_debugobj.DictTreeItemTest.test_keys) ... ok test_init (idlelib.idle_test.test_debugobj.ObjectTreeItemTest.test_init) ... ok test_isexpandable (idlelib.idle_test.test_debugobj.SequenceTreeItemTest.test_isexpandable) ... ok test_keys (idlelib.idle_test.test_debugobj.SequenceTreeItemTest.test_keys) ... ok test_init (idlelib.idle_test.test_debugobj_r.StubObjectTreeItemTest.test_init) ... ok test_getattr (idlelib.idle_test.test_debugobj_r.WrappedObjectTreeItemTest.test_getattr) ... ok test_mydel (idlelib.idle_test.test_delegator.DelegatorTest.test_mydel) ... ok idlelib.idle_test.test_editmenu (unittest.loader.ModuleSkipped.idlelib.idle_test.test_editmenu) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_editor.EditorWindowTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_empty_lines (idlelib.idle_test.test_editor.GetLineIndentTest.test_empty_lines) ... ok test_tabwidth_4 (idlelib.idle_test.test_editor.GetLineIndentTest.test_tabwidth_4) ... ok test_tabwidth_8 (idlelib.idle_test.test_editor.GetLineIndentTest.test_tabwidth_8) ... ok setUpClass (idlelib.idle_test.test_editor.IndentAndNewlineTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_editor.IndentSearcherTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_editor.RMenuTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_filelist.FileListTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_find_comment (idlelib.idle_test.test_format.FindTest.test_find_comment) ... ok test_find_paragraph (idlelib.idle_test.test_format.FindTest.test_find_paragraph) ... ok test_init_close (idlelib.idle_test.test_format.FormatClassTest.test_init_close) ... ok setUpClass (idlelib.idle_test.test_format.FormatEventTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_format.FormatRegionTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_change_indentwidth (idlelib.idle_test.test_format.IndentsTest.test_change_indentwidth) ... ok test_toggle_tabs (idlelib.idle_test.test_format.IndentsTest.test_toggle_tabs) ... ok test_get_comment_header (idlelib.idle_test.test_format.Is_Get_Test.test_get_comment_header) ... ok test_get_indent (idlelib.idle_test.test_format.Is_Get_Test.test_get_indent) ... ok test_is_all_white (idlelib.idle_test.test_format.Is_Get_Test.test_is_all_white) ... ok test_reformat_comment (idlelib.idle_test.test_format.ReformatCommentTest.test_reformat_comment) ... ok test_reformat_paragraph (idlelib.idle_test.test_format.ReformatFunctionTest.test_reformat_paragraph) ... ok setUpClass (idlelib.idle_test.test_format.RstripTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_base (idlelib.idle_test.test_grep.FindfilesTest.test_base) ... ok test_curdir (idlelib.idle_test.test_grep.FindfilesTest.test_curdir) ... ok test_invaliddir (idlelib.idle_test.test_grep.FindfilesTest.test_invaliddir) ... ok test_recurse (idlelib.idle_test.test_grep.FindfilesTest.test_recurse) ... ok test_found (idlelib.idle_test.test_grep.Grep_itTest.test_found) ... ok test_unfound (idlelib.idle_test.test_grep.Grep_itTest.test_unfound) ... ok idlelib.idle_test.test_help (unittest.loader.ModuleSkipped.idlelib.idle_test.test_help) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_help_about.CloseTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_help_about.DefaultTitleTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_file_display (idlelib.idle_test.test_help_about.DisplayFileTest.test_file_display) ... ok setUpClass (idlelib.idle_test.test_help_about.LiveDialogTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_history.FetchTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_init (idlelib.idle_test.test_history.StoreTest.test_init) ... ok test_store_dup (idlelib.idle_test.test_history.StoreTest.test_store_dup) ... ok test_store_reset (idlelib.idle_test.test_history.StoreTest.test_store_reset) ... ok test_store_short (idlelib.idle_test.test_history.StoreTest.test_store_short) ... ok setUpClass (idlelib.idle_test.test_hyperparser.HyperParserTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_all_files (idlelib.idle_test.test_iomenu.FiletypesTest.test_all_files) ... ok test_python_source_files (idlelib.idle_test.test_iomenu.FiletypesTest.test_python_source_files) ... ok test_text_files (idlelib.idle_test.test_iomenu.FiletypesTest.test_text_files) ... ok setUpClass (idlelib.idle_test.test_iomenu.IOBindingTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_macosx.InitTktypeTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_is_calls_init (idlelib.idle_test.test_macosx.IsTypeTkTest.test_is_calls_init) Test that each isTypeTk calls _init_tk_type when _tk_type is None. ... ok test_isfuncs (idlelib.idle_test.test_macosx.IsTypeTkTest.test_isfuncs) Test that each isTypeTk return correct bool. ... ok setUpClass (idlelib.idle_test.test_macosx.SetupTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_default_keydefs (idlelib.idle_test.test_mainmenu.MainMenuTest.test_default_keydefs) ... ok test_menudefs (idlelib.idle_test.test_mainmenu.MainMenuTest.test_menudefs) ... ok test_tcl_indexes (idlelib.idle_test.test_mainmenu.MainMenuTest.test_tcl_indexes) ... ok setUpClass (idlelib.idle_test.test_multicall.MultiCallTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_compile_progs (idlelib.idle_test.test_outwin.ModuleFunctionTest.test_compile_progs) ... ok test_file_line_helper (idlelib.idle_test.test_outwin.ModuleFunctionTest.test_file_line_helper) ... ok setUpClass (idlelib.idle_test.test_outwin.OutputWindowTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' idlelib.idle_test.test_parenmatch (unittest.loader.ModuleSkipped.idlelib.idle_test.test_parenmatch) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_DirBrowserTreeItem (idlelib.idle_test.test_pathbrowser.DirBrowserTreeItemTest.test_DirBrowserTreeItem) ... ok setUpClass (idlelib.idle_test.test_pathbrowser.PathBrowserTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_PathBrowserTreeItem (idlelib.idle_test.test_pathbrowser.PathBrowserTreeItemTest.test_PathBrowserTreeItem) ... ok idlelib.idle_test.test_percolator (unittest.loader.ModuleSkipped.idlelib.idle_test.test_percolator) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_parsemap (idlelib.idle_test.test_pyparse.ParseMapTest.test_parsemap) ... ok test_trans (idlelib.idle_test.test_pyparse.ParseMapTest.test_trans) ... ok test_compute_backslash_indent (idlelib.idle_test.test_pyparse.PyParseTest.test_compute_backslash_indent) ... ok test_compute_bracket_indent (idlelib.idle_test.test_pyparse.PyParseTest.test_compute_bracket_indent) ... ok test_find_good_parse_start (idlelib.idle_test.test_pyparse.PyParseTest.test_find_good_parse_start) ... ok test_get_base_indent_string (idlelib.idle_test.test_pyparse.PyParseTest.test_get_base_indent_string) ... ok test_get_continuation_type (idlelib.idle_test.test_pyparse.PyParseTest.test_get_continuation_type) ... ok test_get_last_stmt_bracketing (idlelib.idle_test.test_pyparse.PyParseTest.test_get_last_stmt_bracketing) ... ok test_get_num_lines_in_stmt (idlelib.idle_test.test_pyparse.PyParseTest.test_get_num_lines_in_stmt) ... ok test_init (idlelib.idle_test.test_pyparse.PyParseTest.test_init) ... ok test_is_block_closer (idlelib.idle_test.test_pyparse.PyParseTest.test_is_block_closer) ... ok test_is_block_opener (idlelib.idle_test.test_pyparse.PyParseTest.test_is_block_opener) ... ok test_set_code (idlelib.idle_test.test_pyparse.PyParseTest.test_set_code) ... ok test_set_lo (idlelib.idle_test.test_pyparse.PyParseTest.test_set_lo) ... ok test_study1 (idlelib.idle_test.test_pyparse.PyParseTest.test_study1) ... ok test_study2 (idlelib.idle_test.test_pyparse.PyParseTest.test_study2) ... ok test_restart_line_narrow (idlelib.idle_test.test_pyshell.FunctionTest.test_restart_line_narrow) ... ok test_restart_line_wide (idlelib.idle_test.test_pyshell.FunctionTest.test_restart_line_wide) ... ok setUpClass (idlelib.idle_test.test_pyshell.PyShellFileListTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_empty (idlelib.idle_test.test_pyshell.PyShellRemoveLastNewlineAndSurroundingWhitespaceTest.test_empty) ... ok test_multiple_newlines (idlelib.idle_test.test_pyshell.PyShellRemoveLastNewlineAndSurroundingWhitespaceTest.test_multiple_newlines) ... ok test_newline (idlelib.idle_test.test_pyshell.PyShellRemoveLastNewlineAndSurroundingWhitespaceTest.test_newline) ... ok test_newline_with_whitespace (idlelib.idle_test.test_pyshell.PyShellRemoveLastNewlineAndSurroundingWhitespaceTest.test_newline_with_whitespace) ... ok test_non_whitespace (idlelib.idle_test.test_pyshell.PyShellRemoveLastNewlineAndSurroundingWhitespaceTest.test_non_whitespace) ... ok test_unsupported_whitespace (idlelib.idle_test.test_pyshell.PyShellRemoveLastNewlineAndSurroundingWhitespaceTest.test_unsupported_whitespace) ... ok test_whitespace_no_newline (idlelib.idle_test.test_pyshell.PyShellRemoveLastNewlineAndSurroundingWhitespaceTest.test_whitespace_no_newline) ... ok test_blank_args (idlelib.idle_test.test_query.CustomRunCLIargsokTest.test_blank_args) ... ok test_good_args (idlelib.idle_test.test_query.CustomRunCLIargsokTest.test_good_args) ... ok test_invalid_args (idlelib.idle_test.test_query.CustomRunCLIargsokTest.test_invalid_args) ... ok test_entry_ok_customrun (idlelib.idle_test.test_query.CustomRunEntryokTest.test_entry_ok_customrun) ... ok setUpClass (idlelib.idle_test.test_query.CustomRunGuiTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_query.GotoGuiTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_bad_goto (idlelib.idle_test.test_query.GotoTest.test_bad_goto) ... ok test_bogus_goto (idlelib.idle_test.test_query.GotoTest.test_bogus_goto) ... ok test_good_goto (idlelib.idle_test.test_query.GotoTest.test_good_goto) ... ok test_file_replaces_path (idlelib.idle_test.test_query.HelpsourceBrowsefileTest.test_file_replaces_path) ... ok test_entry_ok_helpsource (idlelib.idle_test.test_query.HelpsourceEntryokTest.test_entry_ok_helpsource) ... ok setUpClass (idlelib.idle_test.test_query.HelpsourceGuiTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_path_ok_bad (idlelib.idle_test.test_query.HelpsourcePathokTest.test_path_ok_bad) ... ok test_path_ok_blank (idlelib.idle_test.test_query.HelpsourcePathokTest.test_path_ok_blank) ... ok test_path_ok_file (idlelib.idle_test.test_query.HelpsourcePathokTest.test_path_ok_file) ... ok test_path_ok_web (idlelib.idle_test.test_query.HelpsourcePathokTest.test_path_ok_web) ... ok test_blank_module_name (idlelib.idle_test.test_query.ModuleNameTest.test_blank_module_name) ... ok test_bogus_module_name (idlelib.idle_test.test_query.ModuleNameTest.test_bogus_module_name) ... ok test_c_source_name (idlelib.idle_test.test_query.ModuleNameTest.test_c_source_name) ... ok test_good_module_name (idlelib.idle_test.test_query.ModuleNameTest.test_good_module_name) ... ok setUpClass (idlelib.idle_test.test_query.ModulenameGuiTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_query.QueryGuiTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_cancel (idlelib.idle_test.test_query.QueryTest.test_cancel) ... ok test_entry_ok_blank (idlelib.idle_test.test_query.QueryTest.test_entry_ok_blank) ... ok test_entry_ok_good (idlelib.idle_test.test_query.QueryTest.test_entry_ok_good) ... ok test_ok_blank (idlelib.idle_test.test_query.QueryTest.test_ok_blank) ... ok test_ok_good (idlelib.idle_test.test_query.QueryTest.test_ok_good) ... ok test_blank_section_name (idlelib.idle_test.test_query.SectionNameTest.test_blank_section_name) ... ok test_good_section_name (idlelib.idle_test.test_query.SectionNameTest.test_good_section_name) ... ok test_long_section_name (idlelib.idle_test.test_query.SectionNameTest.test_long_section_name) ... ok test_used_section_name (idlelib.idle_test.test_query.SectionNameTest.test_used_section_name) ... ok setUpClass (idlelib.idle_test.test_query.SectionnameGuiTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_redirector.InitCloseTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_redirector.WidgetRedirectorTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' idlelib.idle_test.test_replace (unittest.loader.ModuleSkipped.idlelib.idle_test.test_replace) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_code_pickler (idlelib.idle_test.test_rpc.CodePicklerTest.test_code_pickler) ... ok test_dumps (idlelib.idle_test.test_rpc.CodePicklerTest.test_dumps) ... ok test_pickle_unpickle (idlelib.idle_test.test_rpc.CodePicklerTest.test_pickle_unpickle) ... ok test_get_message (idlelib.idle_test.test_run.ExceptionTest.test_get_message) ... test_get_message (idlelib.idle_test.test_run.ExceptionTest.test_get_message) (code='abc') ... FAIL test_get_multiple_message (idlelib.idle_test.test_run.ExceptionTest.test_get_multiple_message) ... test_get_multiple_message (idlelib.idle_test.test_run.ExceptionTest.test_get_multiple_message) (codes=('1/0', 'abc')) ... FAIL test_get_multiple_message (idlelib.idle_test.test_run.ExceptionTest.test_get_multiple_message) (codes=('abc', 'int.reel')) ... FAIL test_get_multiple_message (idlelib.idle_test.test_run.ExceptionTest.test_get_multiple_message) ... FAIL test_print_exception_unhashable (idlelib.idle_test.test_run.ExceptionTest.test_print_exception_unhashable) ... ok test_exceptions (idlelib.idle_test.test_run.ExecRuncodeTest.test_exceptions) ... ok test_fatal_error (idlelib.idle_test.test_run.HandleErrorTest.test_fatal_error) ... ok test_bad_setrecursionlimit_calls (idlelib.idle_test.test_run.RecursionLimitTest.test_bad_setrecursionlimit_calls) ... ok test_default_recursion_limit_preserved (idlelib.idle_test.test_run.RecursionLimitTest.test_default_recursion_limit_preserved) ... ok test_fixdoc (idlelib.idle_test.test_run.RecursionLimitTest.test_fixdoc) ... ok test_roundtrip (idlelib.idle_test.test_run.RecursionLimitTest.test_roundtrip) ... ok test_close (idlelib.idle_test.test_run.StdInputFilesTest.test_close) ... ok test_misc (idlelib.idle_test.test_run.StdInputFilesTest.test_misc) ... ok test_read (idlelib.idle_test.test_run.StdInputFilesTest.test_read) ... ok test_readline (idlelib.idle_test.test_run.StdInputFilesTest.test_readline) ... ok test_readlines (idlelib.idle_test.test_run.StdInputFilesTest.test_readlines) ... ok test_unsupported (idlelib.idle_test.test_run.StdInputFilesTest.test_unsupported) ... ok test_close (idlelib.idle_test.test_run.StdOutputFilesTest.test_close) ... ok test_misc (idlelib.idle_test.test_run.StdOutputFilesTest.test_misc) ... ok test_unsupported (idlelib.idle_test.test_run.StdOutputFilesTest.test_unsupported) ... ok test_write (idlelib.idle_test.test_run.StdOutputFilesTest.test_write) ... ok test_write_stderr_nonencodable (idlelib.idle_test.test_run.StdOutputFilesTest.test_write_stderr_nonencodable) ... ERROR test_writelines (idlelib.idle_test.test_run.StdOutputFilesTest.test_writelines) ... ok setUpClass (idlelib.idle_test.test_runscript.ScriptBindingTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' idlelib.idle_test.test_scrolledlist (unittest.loader.ModuleSkipped.idlelib.idle_test.test_scrolledlist) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' idlelib.idle_test.test_search (unittest.loader.ModuleSkipped.idlelib.idle_test.test_search) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_searchbase.SearchDialogBaseTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_search_backward (idlelib.idle_test.test_searchengine.ForwardBackwardTest.test_search_backward) ... ok test_search_forward (idlelib.idle_test.test_searchengine.ForwardBackwardTest.test_search_forward) ... ok test_get_line_col (idlelib.idle_test.test_searchengine.GetLineColTest.test_get_line_col) ... ok test_get_selection (idlelib.idle_test.test_searchengine.GetSelectionTest.test_get_selection) ... ok test_get (idlelib.idle_test.test_searchengine.GetTest.test_get) ... ok test_search_reverse (idlelib.idle_test.test_searchengine.ReverseSearchTest.test_search_reverse) ... ok test_getcookedpat (idlelib.idle_test.test_searchengine.SearchEngineTest.test_getcookedpat) ... ok test_getprog (idlelib.idle_test.test_searchengine.SearchEngineTest.test_getprog) ... ok test_is_get (idlelib.idle_test.test_searchengine.SearchEngineTest.test_is_get) ... ok test_report_error (idlelib.idle_test.test_searchengine.SearchEngineTest.test_report_error) ... ok test_setcookedpat (idlelib.idle_test.test_searchengine.SearchEngineTest.test_setcookedpat) ... ok test_search (idlelib.idle_test.test_searchengine.SearchTest.test_search) ... ok setUpClass (idlelib.idle_test.test_sidebar.LineNumbersTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_sidebar.ShellSidebarTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_count_begins_with_empty_line (idlelib.idle_test.test_squeezer.CountLinesTest.test_count_begins_with_empty_line) Test with a string which begins with a newline. ... ok test_count_empty (idlelib.idle_test.test_squeezer.CountLinesTest.test_count_empty) Test with an empty string. ... ok test_count_ends_with_empty_line (idlelib.idle_test.test_squeezer.CountLinesTest.test_count_ends_with_empty_line) Test with a string which ends with a newline. ... ok test_count_several_lines (idlelib.idle_test.test_squeezer.CountLinesTest.test_count_several_lines) Test with several lines of text. ... ok test_empty_lines (idlelib.idle_test.test_squeezer.CountLinesTest.test_empty_lines) ... ok test_long_line (idlelib.idle_test.test_squeezer.CountLinesTest.test_long_line) ... ok test_several_lines_different_lengths (idlelib.idle_test.test_squeezer.CountLinesTest.test_several_lines_different_lengths) ... ok test_copy (idlelib.idle_test.test_squeezer.ExpandingButtonTest.test_copy) Test the copy event. ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_expand (idlelib.idle_test.test_squeezer.ExpandingButtonTest.test_expand) Test the expand event. ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_expand_dangerous_oupput (idlelib.idle_test.test_squeezer.ExpandingButtonTest.test_expand_dangerous_oupput) Test that expanding very long output asks user for confirmation. ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_init (idlelib.idle_test.test_squeezer.ExpandingButtonTest.test_init) Test the simplest creation of an ExpandingButton. ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_rmenu (idlelib.idle_test.test_squeezer.ExpandingButtonTest.test_rmenu) Test the context menu. ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_view (idlelib.idle_test.test_squeezer.ExpandingButtonTest.test_view) Test the view event. ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_auto_squeeze (idlelib.idle_test.test_squeezer.SqueezerTest.test_auto_squeeze) Test that the auto-squeezing creates an ExpandingButton properly. ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_count_lines (idlelib.idle_test.test_squeezer.SqueezerTest.test_count_lines) Test Squeezer.count_lines() with various inputs. ... ok test_init (idlelib.idle_test.test_squeezer.SqueezerTest.test_init) Test the creation of Squeezer instances. ... ok test_reload (idlelib.idle_test.test_squeezer.SqueezerTest.test_reload) Test the reload() class-method. ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_reload_no_squeezer_instances (idlelib.idle_test.test_squeezer.SqueezerTest.test_reload_no_squeezer_instances) Test that Squeezer.reload() runs without any instances existing. ... ok test_squeeze_current_text (idlelib.idle_test.test_squeezer.SqueezerTest.test_squeeze_current_text) Test the squeeze_current_text method. ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_squeeze_current_text_no_allowed_tags (idlelib.idle_test.test_squeezer.SqueezerTest.test_squeeze_current_text_no_allowed_tags) Test that the event doesn't squeeze text without a relevant tag. ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_squeeze_text_before_existing_squeezed_text (idlelib.idle_test.test_squeezer.SqueezerTest.test_squeeze_text_before_existing_squeezed_text) Test squeezing text before existing squeezed text. ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_write_no_tags (idlelib.idle_test.test_squeezer.SqueezerTest.test_write_no_tags) Test Squeezer's overriding of the EditorWindow's write() method. ... ok test_write_not_stdout (idlelib.idle_test.test_squeezer.SqueezerTest.test_write_not_stdout) Test Squeezer's overriding of the EditorWindow's write() method. ... ok test_write_stdout (idlelib.idle_test.test_squeezer.SqueezerTest.test_write_stdout) Test Squeezer's overriding of the EditorWindow's write() method. ... ok setUpClass (idlelib.idle_test.test_stackviewer.StackBrowserTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_statusbar.Test) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_compare (idlelib.idle_test.test_text.MockTextTest.test_compare) ... ok test_decode (idlelib.idle_test.test_text.MockTextTest.test_decode) ... ok test_delete_char (idlelib.idle_test.test_text.MockTextTest.test_delete_char) ... ok test_delete_slice (idlelib.idle_test.test_text.MockTextTest.test_delete_slice) ... ok test_get (idlelib.idle_test.test_text.MockTextTest.test_get) ... ok test_index_data (idlelib.idle_test.test_text.MockTextTest.test_index_data) ... ok test_index_empty (idlelib.idle_test.test_text.MockTextTest.test_index_empty) ... ok test_init (idlelib.idle_test.test_text.MockTextTest.test_init) ... ok test_insert (idlelib.idle_test.test_text.MockTextTest.test_insert) ... ok test_multiple_lines (idlelib.idle_test.test_text.MockTextTest.test_multiple_lines) ... ok test_no_delete (idlelib.idle_test.test_text.MockTextTest.test_no_delete) ... ok setUpClass (idlelib.idle_test.test_text.TkTextTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' idlelib.idle_test.test_textview (unittest.loader.ModuleSkipped.idlelib.idle_test.test_textview) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' idlelib.idle_test.test_tooltip (unittest.loader.ModuleSkipped.idlelib.idle_test.test_tooltip) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' idlelib.idle_test.test_tree (unittest.loader.ModuleSkipped.idlelib.idle_test.test_tree) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' idlelib.idle_test.test_undo (unittest.loader.ModuleSkipped.idlelib.idle_test.test_undo) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_extensions (idlelib.idle_test.test_util.UtilTest.test_extensions) ... ok test_run_show (idlelib.idle_test.test_warning.RunWarnTest.test_run_show) ... ok test_showwarnings (idlelib.idle_test.test_warning.RunWarnTest.test_showwarnings) ... ok test_idle_formatter (idlelib.idle_test.test_warning.ShellWarnTest.test_idle_formatter) ... ok test_shell_show (idlelib.idle_test.test_warning.ShellWarnTest.test_shell_show) ... ok test_showwarnings (idlelib.idle_test.test_warning.ShellWarnTest.test_showwarnings) ... ok setUpClass (idlelib.idle_test.test_window.ListedToplevelTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' test_init (idlelib.idle_test.test_window.WindowListTest.test_init) ... ok setUpClass (idlelib.idle_test.test_zoomheight.Test) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' setUpClass (idlelib.idle_test.test_zzdummy.ZZDummyTest) ... skipped 'Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]' ====================================================================== ERROR: test_write_stderr_nonencodable (idlelib.idle_test.test_run.StdOutputFilesTest.test_write_stderr_nonencodable) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/encodings/iso8859_15.py", line 12, in encode return codecs.charmap_encode(input,errors,encoding_table) ^^^^^^^^^^^^^^ IndexError: position 5 from error handler out of bounds The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_run.py", line 272, in test_write_stderr_nonencodable f.write(S('t\xe8\u015b\U0001d599\xa4')) ^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/run.py", line 470, in write s = str.encode(s, self.encoding, self.errors).decode(self.encoding, self.errors) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/encodings/iso8859_15.py", line 12, in encode return codecs.charmap_encode(input,errors,encoding_table) ^^^^^^^^^^^^^^ IndexError: encoding with 'iso-8859-15' codec failed (IndexError: position 5 from error handler out of bounds) ====================================================================== FAIL: test_bound_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_bound_methods) (meth=<bound method TC.t1 of <idlelib.idle_test.test_calltip.TC object at 0x00007f22b256cde8>>, mtip='()') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 204, in test_bound_methods self.assertEqual(get_spec(meth), mtip + doc) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\ndoc' != '()\ndoc' - (*args, **keywords) + () doc ====================================================================== FAIL: test_bound_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_bound_methods) (meth=<bound method TC.t4 of <idlelib.idle_test.test_calltip.TC object at 0x00007f22b256cde8>>, mtip='(*args)') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 204, in test_bound_methods self.assertEqual(get_spec(meth), mtip + doc) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\ndoc' != '(*args)\ndoc' - (*args, **keywords) + (*args) doc ====================================================================== FAIL: test_bound_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_bound_methods) (meth=<bound method TC.t6 of <idlelib.idle_test.test_calltip.TC object at 0x00007f22b256cde8>>, mtip='(self)') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 204, in test_bound_methods self.assertEqual(get_spec(meth), mtip + doc) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\ndoc' != '(self)\ndoc' - (*args, **keywords) + (self) doc ====================================================================== FAIL: test_bound_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_bound_methods) (meth=<bound method TC.__call__ of <idlelib.idle_test.test_calltip.TC object at 0x00007f22b256cde8>>, mtip='(ci)') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 204, in test_bound_methods self.assertEqual(get_spec(meth), mtip + doc) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\ndoc' != '(ci)\ndoc' - (*args, **keywords) + (ci) doc ====================================================================== FAIL: test_bound_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_bound_methods) (meth=<bound method TC.cm of <class 'idlelib.idle_test.test_calltip.TC'>>, mtip='(a)') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 204, in test_bound_methods self.assertEqual(get_spec(meth), mtip + doc) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\ndoc' != '(a)\ndoc' - (*args, **keywords) + (a) doc ====================================================================== FAIL: test_buggy_getattr_class (idlelib.idle_test.test_calltip.Get_argspecTest.test_buggy_getattr_class) (meth=<class 'idlelib.idle_test.test_calltip.Get_argspecTest.test_buggy_getattr_class.<locals>.NoCall'>, mtip='See source or doc') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 251, in test_buggy_getattr_class self.assertEqual(get_spec(meth), mtip) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)' != 'See source or doc' - (*args, **keywords) + See source or doc ====================================================================== FAIL: test_builtins (idlelib.idle_test.test_calltip.Get_argspecTest.test_builtins) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 68, in test_builtins tiptest(List, File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 59, in tiptest self.assertEqual(get_spec(obj), out) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\nList() doc' != '(iterable=(), /)\nList() doc' - (*args, **keywords) + (iterable=(), /) List() doc ====================================================================== FAIL: test_docline_truncation (idlelib.idle_test.test_calltip.Get_argspecTest.test_docline_truncation) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 148, in test_docline_truncation self.assertEqual(get_spec(f), f"()\n{'a'*(calltip._MAX_COLS-3) + '...'}") ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\naaaaaaaaaaaaaaaaaaaaa[60 chars]a...' != '()\naaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[43 chars]a...' - (*args, **keywords) + () aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa... ====================================================================== FAIL: test_functions (idlelib.idle_test.test_calltip.Get_argspecTest.test_functions) (func=<function Get_argspecTest.test_functions.<locals>.t1 at 0x00007f22b2c148b8>) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 187, in test_functions self.assertEqual(get_spec(func), func.tip + doc) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\ndoc' != '()\ndoc' - (*args, **keywords) + () doc ====================================================================== FAIL: test_functions (idlelib.idle_test.test_calltip.Get_argspecTest.test_functions) (func=<function Get_argspecTest.test_functions.<locals>.t2 at 0x00007f22b2c14980>) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 187, in test_functions self.assertEqual(get_spec(func), func.tip + doc) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\ndoc' != '(a, b=None)\ndoc' - (*args, **keywords) + (a, b=None) doc ====================================================================== FAIL: test_functions (idlelib.idle_test.test_calltip.Get_argspecTest.test_functions) (func=<function Get_argspecTest.test_functions.<locals>.t3 at 0x00007f22b2c14a48>) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 187, in test_functions self.assertEqual(get_spec(func), func.tip + doc) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\ndoc' != '(a, *args)\ndoc' - (*args, **keywords) + (a, *args) doc ====================================================================== FAIL: test_functions (idlelib.idle_test.test_calltip.Get_argspecTest.test_functions) (func=<function Get_argspecTest.test_functions.<locals>.t4 at 0x00007f22b2c14b10>) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 187, in test_functions self.assertEqual(get_spec(func), func.tip + doc) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\ndoc' != '(*args)\ndoc' - (*args, **keywords) + (*args) doc ====================================================================== FAIL: test_functions (idlelib.idle_test.test_calltip.Get_argspecTest.test_functions) (func=<function Get_argspecTest.test_functions.<locals>.t5 at 0x00007f22b2c14bd8>) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 187, in test_functions self.assertEqual(get_spec(func), func.tip + doc) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\ndoc' != '(a, b=None, *args, **kw)\ndoc' - (*args, **keywords) + (a, b=None, *args, **kw) doc ====================================================================== FAIL: test_invalid_method_get_spec (idlelib.idle_test.test_calltip.Get_argspecTest.test_invalid_method_get_spec) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 222, in test_invalid_method_get_spec self.assertEqual(get_spec(C().m2), mtip) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)' != 'invalid method signature' - (*args, **keywords) + invalid method signature ====================================================================== FAIL: test_metaclass_class (idlelib.idle_test.test_calltip.Get_argspecTest.test_metaclass_class) (meth=<class 'idlelib.idle_test.test_calltip.Get_argspecTest.test_metaclass_class.<locals>.Object'>, mtip='See source or doc') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 261, in test_metaclass_class self.assertEqual(get_spec(meth), mtip) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)' != 'See source or doc' - (*args, **keywords) + See source or doc ====================================================================== FAIL: test_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_methods) (meth=<function TC.t1 at 0x00007f22b2b2b600>) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 193, in test_methods self.assertEqual(get_spec(meth), meth.tip + doc) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\ndoc' != '(self)\ndoc' - (*args, **keywords) + (self) doc ====================================================================== FAIL: test_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_methods) (meth=<function TC.t2 at 0x00007f22b2b2b6c8>) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 193, in test_methods self.assertEqual(get_spec(meth), meth.tip + doc) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\ndoc' != '(self, ai, b=None)\ndoc' - (*args, **keywords) + (self, ai, b=None) doc ====================================================================== FAIL: test_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_methods) (meth=<function TC.t3 at 0x00007f22b2b2b790>) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 193, in test_methods self.assertEqual(get_spec(meth), meth.tip + doc) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\ndoc' != '(self, ai, *args)\ndoc' - (*args, **keywords) + (self, ai, *args) doc ====================================================================== FAIL: test_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_methods) (meth=<function TC.t4 at 0x00007f22b2b2b858>) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 193, in test_methods self.assertEqual(get_spec(meth), meth.tip + doc) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\ndoc' != '(self, *args)\ndoc' - (*args, **keywords) + (self, *args) doc ====================================================================== FAIL: test_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_methods) (meth=<function TC.t5 at 0x00007f22b2b2b920>) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 193, in test_methods self.assertEqual(get_spec(meth), meth.tip + doc) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\ndoc' != '(self, ai, b=None, *args, **kw)\ndoc' - (*args, **keywords) + (self, ai, b=None, *args, **kw) doc ====================================================================== FAIL: test_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_methods) (meth=<function TC.t6 at 0x00007f22b2b2b9e8>) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 193, in test_methods self.assertEqual(get_spec(meth), meth.tip + doc) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\ndoc' != '(no, self)\ndoc' - (*args, **keywords) + (no, self) doc ====================================================================== FAIL: test_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_methods) (meth=<function TC.__call__ at 0x00007f22b2b2bab0>) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 193, in test_methods self.assertEqual(get_spec(meth), meth.tip + doc) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\ndoc' != '(self, ci)\ndoc' - (*args, **keywords) + (self, ci) doc ====================================================================== FAIL: test_methods (idlelib.idle_test.test_calltip.Get_argspecTest.test_methods) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 194, in test_methods self.assertEqual(get_spec(TC.cm), "(a)" + doc) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\ndoc' != '(a)\ndoc' - (*args, **keywords) + (a) doc ====================================================================== FAIL: test_multiline_docstring (idlelib.idle_test.test_calltip.Get_argspecTest.test_multiline_docstring) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 154, in test_multiline_docstring self.assertEqual(get_spec(range), ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\nrange(stop) -> range[47 chars]ject' != 'range(stop) -> range object\nrange(start,[26 chars]ject' - (*args, **keywords) range(stop) -> range object range(start, stop[, step]) -> range object ====================================================================== FAIL: test_multiline_docstring_2 (idlelib.idle_test.test_calltip.Get_argspecTest.test_multiline_docstring_2) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 170, in test_multiline_docstring_2 self.assertEqual(get_spec(f), '()' + '\na' * calltip._MAX_LINES) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\na\na\na\na\na' != '()\na\na\na\na\na' - (*args, **keywords) + () a a a a a ====================================================================== FAIL: test_no_docstring (idlelib.idle_test.test_calltip.Get_argspecTest.test_no_docstring) (meth=<function TC.nd at 0x00007f22b2b2bb78>, mtip='(self)') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 234, in test_no_docstring self.assertEqual(get_spec(meth), mtip) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)' != '(self)' - (*args, **keywords) + (self) ====================================================================== FAIL: test_no_docstring (idlelib.idle_test.test_calltip.Get_argspecTest.test_no_docstring) (meth=<bound method TC.nd of <idlelib.idle_test.test_calltip.TC object at 0x00007f22b256cde8>>, mtip='()') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 234, in test_no_docstring self.assertEqual(get_spec(meth), mtip) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)' != '()' - (*args, **keywords) + () ====================================================================== FAIL: test_properly_formatted (idlelib.idle_test.test_calltip.Get_argspecTest.test_properly_formatted) (func=<function Get_argspecTest.test_properly_formatted.<locals>.foo at 0x00007f22b2c14ef8>, doc="(s='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n aaaaaaaaaaaaaaaaaaa')") ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 143, in test_properly_formatted self.assertEqual(get_spec(func), doc) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)' != "(s='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[68 chars]aa')" - (*args, **keywords) + (s='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + aaaaaaaaaaaaaaaaaaa') ====================================================================== FAIL: test_properly_formatted (idlelib.idle_test.test_calltip.Get_argspecTest.test_properly_formatted) (func=<function Get_argspecTest.test_properly_formatted.<locals>.bar at 0x00007f22b2c14fc0>, doc="(s='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n aaaaaaaaaaaaaaaaaaa')\nHello Guido") ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 143, in test_properly_formatted self.assertEqual(get_spec(func), doc) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)\nHello Guido' != "(s='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[81 chars]uido" - (*args, **keywords) + (s='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + aaaaaaaaaaaaaaaaaaa') Hello Guido ====================================================================== FAIL: test_properly_formatted (idlelib.idle_test.test_calltip.Get_argspecTest.test_properly_formatted) (func=<function Get_argspecTest.test_properly_formatted.<locals>.baz at 0x00007f22b2c15088>, doc="(s='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n aaaaaaaaaaaaaaaaaaa', z='bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\n bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb')") ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 143, in test_properly_formatted self.assertEqual(get_spec(func), doc) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)' != "(s='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[180 chars]bb')" - (*args, **keywords) + (s='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + aaaaaaaaaaaaaaaaaaa', z='bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb + bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb') ====================================================================== FAIL: test_signature_wrap (idlelib.idle_test.test_calltip.Get_argspecTest.test_signature_wrap) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 104, in test_signature_wrap self.assertEqual(get_spec(textwrap.TextWrapper), '''\ ^^^^^^^^^^^ AssertionError: "(*args, **keywords)\nObject for wrapping/f[290 chars]s()." != "(width=70, initial_indent='', subsequent_i[528 chars]s()." - (*args, **keywords) + (width=70, initial_indent='', subsequent_indent='', expand_tabs=True, + replace_whitespace=True, fix_sentence_endings=False, break_long_words=True, + drop_whitespace=True, break_on_hyphens=True, tabsize=8, *, max_lines=None, + placeholder=' [...]') Object for wrapping/filling text. The public interface consists of the wrap() and fill() methods; the other methods are just there for subclasses to override in order to tweak the default behaviour. If you want to completely replace the main wrapping algorithm, you'll probably have to override _wrap_chunks(). ====================================================================== FAIL: test_starred_parameter (idlelib.idle_test.test_calltip.Get_argspecTest.test_starred_parameter) (meth=<function Get_argspecTest.test_starred_parameter.<locals>.C.m1 at 0x00007f22b2c15150>, mtip='(*args)') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 213, in test_starred_parameter self.assertEqual(get_spec(meth), mtip) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)' != '(*args)' - (*args, **keywords) + (*args) ====================================================================== FAIL: test_starred_parameter (idlelib.idle_test.test_calltip.Get_argspecTest.test_starred_parameter) (meth=<bound method Get_argspecTest.test_starred_parameter.<locals>.C.m1 of <idlelib.idle_test.test_calltip.Get_argspecTest.test_starred_parameter.<locals>.C object at 0x00007f22b2b5d328>>, mtip='(*args)') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_calltip.py", line 213, in test_starred_parameter self.assertEqual(get_spec(meth), mtip) ^^^^^^^^^^^ AssertionError: '(*args, **keywords)' != '(*args)' - (*args, **keywords) + (*args) ====================================================================== FAIL: test_get_message (idlelib.idle_test.test_run.ExceptionTest.test_get_message) (code='abc') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_run.py", line 53, in test_get_message eval(compile(code, '', 'eval')) File "", line 1, in <module> NameError: name 'abc' is not defined. Did you mean: 'abs'? Or did you forget to import 'abc' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_run.py", line 58, in test_get_message self.assertEqual(actual, expect) ^^^^^^^^^^^ AssertionError: "Name[29 chars]ned. Did you mean: 'abs'? Or did you forget to import 'abc'\n" != "Name[29 chars]ned. Did you mean: 'abs'? Or did you forget to import 'abc'?\n" - NameError: name 'abc' is not defined. Did you mean: 'abs'? Or did you forget to import 'abc' + NameError: name 'abc' is not defined. Did you mean: 'abs'? Or did you forget to import 'abc'? ? + ====================================================================== FAIL: test_get_multiple_message (idlelib.idle_test.test_run.ExceptionTest.test_get_multiple_message) (codes=('1/0', 'abc')) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_run.py", line 69, in test_get_multiple_message eval(compile(code1, '', 'eval')) File "", line 1, in <module> ZeroDivisionError: division by zero During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_run.py", line 72, in test_get_multiple_message eval(compile(code2, '', 'eval')) File "", line 1, in <module> NameError: name 'abc' is not defined. Did you mean: 'abs'? Or did you forget to import 'abc' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_run.py", line 78, in test_get_multiple_message self.assertIn(msg2, actual) ^^^^^^^^ AssertionError: "name 'abc' is not defined. Did you mean: 'abs'? Or did you forget to import 'abc'?\n" not found in 'Traceback (most recent call last):\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_run.py", line 69, in test_get_multiple_message\n eval(compile(code1, \'\', \'eval\'))\n File "", line 1, in <module>\nZeroDivisionError: division by zero\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_run.py", line 72, in test_get_multiple_message\n eval(compile(code2, \'\', \'eval\'))\n File "", line 1, in <module>\nNameError: name \'abc\' is not defined. Did you mean: \'abs\'? Or did you forget to import \'abc\'\n' ====================================================================== FAIL: test_get_multiple_message (idlelib.idle_test.test_run.ExceptionTest.test_get_multiple_message) (codes=('abc', 'int.reel')) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_run.py", line 69, in test_get_multiple_message eval(compile(code1, '', 'eval')) File "", line 1, in <module> NameError: name 'abc' is not defined. Did you mean: 'abs'? Or did you forget to import 'abc' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_run.py", line 72, in test_get_multiple_message eval(compile(code2, '', 'eval')) File "", line 1, in <module> AttributeError: type object 'int' has no attribute 'reel'. Did you mean: 'real'? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_run.py", line 77, in test_get_multiple_message self.assertIn(msg1, actual) ^^^^^^^^ AssertionError: "name 'abc' is not defined. Did you mean: 'abs'? Or did you forget to import 'abc'?\n" not found in 'Traceback (most recent call last):\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_run.py", line 69, in test_get_multiple_message\n eval(compile(code1, \'\', \'eval\'))\n File "", line 1, in <module>\nNameError: name \'abc\' is not defined. Did you mean: \'abs\'? Or did you forget to import \'abc\'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_run.py", line 72, in test_get_multiple_message\n eval(compile(code2, \'\', \'eval\'))\n File "", line 1, in <module>\nAttributeError: type object \'int\' has no attribute \'reel\'. Did you mean: \'real\'?\n' ====================================================================== FAIL: test_get_multiple_message (idlelib.idle_test.test_run.ExceptionTest.test_get_multiple_message) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/mock.py", line 1396, in patched return func(*newargs, **newkeywargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/idlelib/idle_test/test_run.py", line 80, in test_get_multiple_message self.assertEqual(subtests, len(data2)) # All subtests ran? ^^^^^^^^^^^ AssertionError: 1 != 3 ---------------------------------------------------------------------- Ran 296 tests in 0.379s FAILED (failures=37, errors=1, skipped=81) 0:00:01 load avg: 0.67 [1/1/1] test_idle failed (1 error, 37 failures) == Tests result: FAILURE == 1 test failed: test_idle Total duration: 1.1 sec Total tests: run=296 failures=37 skipped=81 Total test files: run=1/1 failed=1 Result: FAILURE test test_idle failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1749859æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 37945150 0:00:00 load avg: 0.52 Run 1 test sequentially in a single process 0:00:00 load avg: 0.52 [1/1] test_int test_denial_of_service_prevented_int_to_str (test.test_int.IntStrDigitLimitsTests.test_denial_of_service_prevented_int_to_str) Regression test: ensure we fail before performing O(N**2) work. ... FAIL test_denial_of_service_prevented_str_to_int (test.test_int.IntStrDigitLimitsTests.test_denial_of_service_prevented_str_to_int) Regression test: ensure we fail before performing O(N**2) work. ... skipped '"slow" conversion took only 0.010175533999999986 seconds.' test_disabled_limit (test.test_int.IntStrDigitLimitsTests.test_disabled_limit) ... ok test_int_from_other_bases (test.test_int.IntStrDigitLimitsTests.test_int_from_other_bases) ... ok test_int_max_str_digits_is_per_interpreter (test.test_int.IntStrDigitLimitsTests.test_int_max_str_digits_is_per_interpreter) ... ERROR test_max_str_digits (test.test_int.IntStrDigitLimitsTests.test_max_str_digits) ... ok test_max_str_digits_edge_cases (test.test_int.IntStrDigitLimitsTests.test_max_str_digits_edge_cases) Ignore the +/- sign and space padding. ... ok test_power_of_two_bases_unlimited (test.test_int.IntStrDigitLimitsTests.test_power_of_two_bases_unlimited) The limit does not apply to power of 2 bases. ... ok test_sign_not_counted (test.test_int.IntStrDigitLimitsTests.test_sign_not_counted) ... ok test_underscores_ignored (test.test_int.IntStrDigitLimitsTests.test_underscores_ignored) ... ok test_denial_of_service_prevented_int_to_str (test.test_int.IntSubclassStrDigitLimitsTests.test_denial_of_service_prevented_int_to_str) Regression test: ensure we fail before performing O(N**2) work. ... skipped '"slow" conversion took only 0.013787664000000033 seconds.' test_denial_of_service_prevented_str_to_int (test.test_int.IntSubclassStrDigitLimitsTests.test_denial_of_service_prevented_str_to_int) Regression test: ensure we fail before performing O(N**2) work. ... skipped '"slow" conversion took only 0.009738642999999991 seconds.' test_disabled_limit (test.test_int.IntSubclassStrDigitLimitsTests.test_disabled_limit) ... ok test_int_from_other_bases (test.test_int.IntSubclassStrDigitLimitsTests.test_int_from_other_bases) ... ok test_int_max_str_digits_is_per_interpreter (test.test_int.IntSubclassStrDigitLimitsTests.test_int_max_str_digits_is_per_interpreter) ... ERROR test_max_str_digits (test.test_int.IntSubclassStrDigitLimitsTests.test_max_str_digits) ... ok test_max_str_digits_edge_cases (test.test_int.IntSubclassStrDigitLimitsTests.test_max_str_digits_edge_cases) Ignore the +/- sign and space padding. ... ok test_power_of_two_bases_unlimited (test.test_int.IntSubclassStrDigitLimitsTests.test_power_of_two_bases_unlimited) The limit does not apply to power of 2 bases. ... ok test_sign_not_counted (test.test_int.IntSubclassStrDigitLimitsTests.test_sign_not_counted) ... ok test_underscores_ignored (test.test_int.IntSubclassStrDigitLimitsTests.test_underscores_ignored) ... ok test_basic (test.test_int.IntTestCases.test_basic) ... ok test_error_message (test.test_int.IntTestCases.test_error_message) ... ok test_int_base_bad_types (test.test_int.IntTestCases.test_int_base_bad_types) Not integer types are not valid bases; issue16772. ... ok test_int_base_indexable (test.test_int.IntTestCases.test_int_base_indexable) ... ok test_int_base_limits (test.test_int.IntTestCases.test_int_base_limits) Testing the supported limits of the int() base parameter. ... ok test_int_memoryview (test.test_int.IntTestCases.test_int_memoryview) ... ok test_int_returns_int_subclass (test.test_int.IntTestCases.test_int_returns_int_subclass) ... ok test_int_subclass_with_index (test.test_int.IntTestCases.test_int_subclass_with_index) ... ok test_int_subclass_with_int (test.test_int.IntTestCases.test_int_subclass_with_int) ... ok test_intconversion (test.test_int.IntTestCases.test_intconversion) ... FAIL test_invalid_signs (test.test_int.IntTestCases.test_invalid_signs) ... ok test_issue31619 (test.test_int.IntTestCases.test_issue31619) ... ok test_keyword_args (test.test_int.IntTestCases.test_keyword_args) ... ok test_no_args (test.test_int.IntTestCases.test_no_args) ... ok test_non_numeric_input_types (test.test_int.IntTestCases.test_non_numeric_input_types) ... ok test_small_ints (test.test_int.IntTestCases.test_small_ints) ... skipped 'implementation detail specific to cpython' test_string_float (test.test_int.IntTestCases.test_string_float) ... ok test_underscores (test.test_int.IntTestCases.test_underscores) ... ok test_unicode (test.test_int.IntTestCases.test_unicode) ... ok test_pylong_int_divmod (test.test_int.PyLongModuleTests.test_pylong_int_divmod) ... ok test_pylong_int_to_decimal (test.test_int.PyLongModuleTests.test_pylong_int_to_decimal) ... ok test_pylong_int_to_decimal_2 (test.test_int.PyLongModuleTests.test_pylong_int_to_decimal_2) ... skipped "resource 'cpu' is not enabled" test_pylong_misbehavior_error_path_from_str (test.test_int.PyLongModuleTests.test_pylong_misbehavior_error_path_from_str) ... skipped 'implementation detail specific to cpython' test_pylong_misbehavior_error_path_to_str (test.test_int.PyLongModuleTests.test_pylong_misbehavior_error_path_to_str) ... skipped 'implementation detail specific to cpython' test_pylong_str_to_int (test.test_int.PyLongModuleTests.test_pylong_str_to_int) ... ok ====================================================================== ERROR: test_int_max_str_digits_is_per_interpreter (test.test_int.IntStrDigitLimitsTests.test_int_max_str_digits_is_per_interpreter) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_int.py", line 814, in test_int_max_str_digits_is_per_interpreter self.assertEqual(support.run_in_subinterp(code), 0, ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py", line 1785, in run_in_subinterp return _testcapi.run_in_subinterp(code) ^^^^^^^^^^^^^^^^ RuntimeError: sub-interpreter creation failed ====================================================================== ERROR: test_int_max_str_digits_is_per_interpreter (test.test_int.IntSubclassStrDigitLimitsTests.test_int_max_str_digits_is_per_interpreter) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_int.py", line 814, in test_int_max_str_digits_is_per_interpreter self.assertEqual(support.run_in_subinterp(code), 0, ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py", line 1785, in run_in_subinterp return _testcapi.run_in_subinterp(code) ^^^^^^^^^^^^^^^^ RuntimeError: sub-interpreter creation failed ====================================================================== FAIL: test_denial_of_service_prevented_int_to_str (test.test_int.IntStrDigitLimitsTests.test_denial_of_service_prevented_int_to_str) Regression test: ensure we fail before performing O(N**2) work. ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_int.py", line 692, in test_denial_of_service_prevented_int_to_str self.assertLessEqual(seconds_to_fail_huge, seconds_to_convert/2) ^^^^^^^^^^^^^^^ AssertionError: 0.013374584000000023 not less than or equal to 0.0091541765 ====================================================================== FAIL: test_intconversion (test.test_int.IntTestCases.test_intconversion) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_int.py", line 440, in test_intconversion int(TruncReturnsNonIntegral()) TypeError: __trunc__ returned non-Integral (type 'NonIntegral') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_int.py", line 442, in test_intconversion self.assertEqual(str(e), ^^^^^^^^^^^ AssertionError: "__trunc__ returned non-Integral (type 'NonIntegral')" != '__trunc__ returned non-Integral (type NonIntegral)' - __trunc__ returned non-Integral (type 'NonIntegral') ? - - + __trunc__ returned non-Integral (type NonIntegral) ---------------------------------------------------------------------- Ran 45 tests in 0.159s FAILED (failures=2, errors=2, skipped=7) 0:00:00 load avg: 0.52 [1/1/1] test_int failed (2 errors, 2 failures) == Tests result: FAILURE == 1 test failed: test_int Total duration: 351 ms Total tests: run=45 failures=2 skipped=7 Total test files: run=1/1 failed=1 Result: FAILURE test test_int failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1749874æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1827663741 0:00:00 load avg: 0.52 Run 1 test sequentially in a single process 0:00:00 load avg: 0.52 [1/1] test_io test_BufferedIOBase_destructor (test.test_io.CIOTest.test_BufferedIOBase_destructor) ... ok test_BufferedIOBase_readinto (test.test_io.CIOTest.test_BufferedIOBase_readinto) ... ok test_IOBase_destructor (test.test_io.CIOTest.test_IOBase_destructor) ... ok test_IOBase_finalize (test.test_io.CIOTest.test_IOBase_finalize) ... ok test_RawIOBase_destructor (test.test_io.CIOTest.test_RawIOBase_destructor) ... ok test_RawIOBase_read (test.test_io.CIOTest.test_RawIOBase_read) ... ok test_RawIOBase_readall (test.test_io.CIOTest.test_RawIOBase_readall) ... ok test_TextIOBase_destructor (test.test_io.CIOTest.test_TextIOBase_destructor) ... ok test_append_mode_tell (test.test_io.CIOTest.test_append_mode_tell) ... ok test_array_writes (test.test_io.CIOTest.test_array_writes) ... ok test_bad_opener_negative_1 (test.test_io.CIOTest.test_bad_opener_negative_1) ... ok test_bad_opener_other_negative (test.test_io.CIOTest.test_bad_opener_other_negative) ... ok test_buffered_file_io (test.test_io.CIOTest.test_buffered_file_io) ... ok test_buffered_readinto_mixin (test.test_io.CIOTest.test_buffered_readinto_mixin) ... ok test_close_assert (test.test_io.CIOTest.test_close_assert) ... ok test_close_flushes (test.test_io.CIOTest.test_close_flushes) ... ok test_closefd (test.test_io.CIOTest.test_closefd) ... ok test_closefd_attr (test.test_io.CIOTest.test_closefd_attr) ... ok test_destructor (test.test_io.CIOTest.test_destructor) ... ok test_fileio_closefd (test.test_io.CIOTest.test_fileio_closefd) ... ok test_flush_error_on_close (test.test_io.CIOTest.test_flush_error_on_close) ... ok test_fspath_support (test.test_io.CIOTest.test_fspath_support) ... ok test_garbage_collection (test.test_io.CIOTest.test_garbage_collection) ... ok test_invalid_newline (test.test_io.CIOTest.test_invalid_newline) ... ok test_invalid_operations (test.test_io.CIOTest.test_invalid_operations) ... ok test_large_file_ops (test.test_io.CIOTest.test_large_file_ops) ... ok test_multi_close (test.test_io.CIOTest.test_multi_close) ... ok test_next_nonsizeable (test.test_io.CIOTest.test_next_nonsizeable) ... ok test_no_closefd_with_filename (test.test_io.CIOTest.test_no_closefd_with_filename) ... ok test_nonbuffered_textio (test.test_io.CIOTest.test_nonbuffered_textio) ... ok test_open_handles_NUL_chars (test.test_io.CIOTest.test_open_handles_NUL_chars) ... ok test_opener (test.test_io.CIOTest.test_opener) ... ok test_opener_invalid_fd (test.test_io.CIOTest.test_opener_invalid_fd) ... ok test_optional_abilities (test.test_io.CIOTest.test_optional_abilities) ... ok test_raw_bytes_io (test.test_io.CIOTest.test_raw_bytes_io) ... ok test_raw_file_io (test.test_io.CIOTest.test_raw_file_io) ... ok test_read_closed (test.test_io.CIOTest.test_read_closed) ... ok test_readline (test.test_io.CIOTest.test_readline) ... ok test_readline_nonsizeable (test.test_io.CIOTest.test_readline_nonsizeable) ... ok test_types_have_dict (test.test_io.CIOTest.test_types_have_dict) ... ok test_unbounded_file (test.test_io.CIOTest.test_unbounded_file) ... skipped 'test can only run in a 32-bit address space' test_with_open (test.test_io.CIOTest.test_with_open) ... ok test_BufferedIOBase_destructor (test.test_io.PyIOTest.test_BufferedIOBase_destructor) ... ok test_BufferedIOBase_readinto (test.test_io.PyIOTest.test_BufferedIOBase_readinto) ... ok test_IOBase_destructor (test.test_io.PyIOTest.test_IOBase_destructor) ... ok test_RawIOBase_destructor (test.test_io.PyIOTest.test_RawIOBase_destructor) ... ok test_RawIOBase_read (test.test_io.PyIOTest.test_RawIOBase_read) ... ok test_RawIOBase_readall (test.test_io.PyIOTest.test_RawIOBase_readall) ... ok test_TextIOBase_destructor (test.test_io.PyIOTest.test_TextIOBase_destructor) ... ok test_append_mode_tell (test.test_io.PyIOTest.test_append_mode_tell) ... ok test_array_writes (test.test_io.PyIOTest.test_array_writes) ... ok test_bad_opener_negative_1 (test.test_io.PyIOTest.test_bad_opener_negative_1) ... ok test_bad_opener_other_negative (test.test_io.PyIOTest.test_bad_opener_other_negative) ... ok test_buffered_file_io (test.test_io.PyIOTest.test_buffered_file_io) ... ok test_buffered_readinto_mixin (test.test_io.PyIOTest.test_buffered_readinto_mixin) ... ok test_close_assert (test.test_io.PyIOTest.test_close_assert) ... ok test_close_flushes (test.test_io.PyIOTest.test_close_flushes) ... ok test_closefd (test.test_io.PyIOTest.test_closefd) ... ok test_closefd_attr (test.test_io.PyIOTest.test_closefd_attr) ... ok test_destructor (test.test_io.PyIOTest.test_destructor) ... ok test_fileio_closefd (test.test_io.PyIOTest.test_fileio_closefd) ... ok test_flush_error_on_close (test.test_io.PyIOTest.test_flush_error_on_close) ... ok test_fspath_support (test.test_io.PyIOTest.test_fspath_support) ... ok test_garbage_collection (test.test_io.PyIOTest.test_garbage_collection) ... ok test_invalid_newline (test.test_io.PyIOTest.test_invalid_newline) ... ok test_invalid_operations (test.test_io.PyIOTest.test_invalid_operations) ... ok test_large_file_ops (test.test_io.PyIOTest.test_large_file_ops) ... ok test_multi_close (test.test_io.PyIOTest.test_multi_close) ... ok test_next_nonsizeable (test.test_io.PyIOTest.test_next_nonsizeable) ... ok test_no_closefd_with_filename (test.test_io.PyIOTest.test_no_closefd_with_filename) ... ok test_nonbuffered_textio (test.test_io.PyIOTest.test_nonbuffered_textio) ... ok test_open_handles_NUL_chars (test.test_io.PyIOTest.test_open_handles_NUL_chars) ... ok test_opener (test.test_io.PyIOTest.test_opener) ... ok test_opener_invalid_fd (test.test_io.PyIOTest.test_opener_invalid_fd) ... ok test_optional_abilities (test.test_io.PyIOTest.test_optional_abilities) ... ok test_raw_bytes_io (test.test_io.PyIOTest.test_raw_bytes_io) ... ok test_raw_file_io (test.test_io.PyIOTest.test_raw_file_io) ... ok test_read_closed (test.test_io.PyIOTest.test_read_closed) ... ok test_readline (test.test_io.PyIOTest.test_readline) ... ok test_readline_nonsizeable (test.test_io.PyIOTest.test_readline_nonsizeable) ... ok test_types_have_dict (test.test_io.PyIOTest.test_types_have_dict) ... ok test_unbounded_file (test.test_io.PyIOTest.test_unbounded_file) ... skipped 'test can only run in a 32-bit address space' test_with_open (test.test_io.PyIOTest.test_with_open) ... ok test_RawIOBase_io_in_pyio_match (test.test_io.APIMismatchTest.test_RawIOBase_io_in_pyio_match) Test that pyio RawIOBase class has all c RawIOBase methods ... skipped 'implementation detail specific to cpython' test_RawIOBase_pyio_in_io_match (test.test_io.APIMismatchTest.test_RawIOBase_pyio_in_io_match) Test that c RawIOBase class has all pyio RawIOBase methods ... skipped 'implementation detail specific to cpython' test_args_error (test.test_io.CBufferedReaderTest.test_args_error) ... ok test_bad_readinto_type (test.test_io.CBufferedReaderTest.test_bad_readinto_type) ... ERROR test_bad_readinto_value (test.test_io.CBufferedReaderTest.test_bad_readinto_value) ... ok test_buffer_freeing (test.test_io.CBufferedReaderTest.test_buffer_freeing) ... skipped 'implementation detail specific to cpython' test_buffering (test.test_io.CBufferedReaderTest.test_buffering) ... ok test_close_error_on_close (test.test_io.CBufferedReaderTest.test_close_error_on_close) ... ok test_constructor (test.test_io.CBufferedReaderTest.test_constructor) ... ok test_context_manager (test.test_io.CBufferedReaderTest.test_context_manager) ... ok test_detach (test.test_io.CBufferedReaderTest.test_detach) ... ok test_error_through_destructor (test.test_io.CBufferedReaderTest.test_error_through_destructor) ... ok test_fileno (test.test_io.CBufferedReaderTest.test_fileno) ... ok test_flush_error_on_close (test.test_io.CBufferedReaderTest.test_flush_error_on_close) ... ok test_garbage_collection (test.test_io.CBufferedReaderTest.test_garbage_collection) ... ok test_initialization (test.test_io.CBufferedReaderTest.test_initialization) ... ok test_invalid_args (test.test_io.CBufferedReaderTest.test_invalid_args) ... ok test_misbehaved_io (test.test_io.CBufferedReaderTest.test_misbehaved_io) ... ok test_misbehaved_io_read (test.test_io.CBufferedReaderTest.test_misbehaved_io_read) ... ok test_multi_close (test.test_io.CBufferedReaderTest.test_multi_close) ... ok test_no_extraneous_read (test.test_io.CBufferedReaderTest.test_no_extraneous_read) ... ok test_nonnormalized_close_error_on_close (test.test_io.CBufferedReaderTest.test_nonnormalized_close_error_on_close) ... ok test_override_destructor (test.test_io.CBufferedReaderTest.test_override_destructor) ... ok test_read (test.test_io.CBufferedReaderTest.test_read) ... ok test_read1 (test.test_io.CBufferedReaderTest.test_read1) ... ok test_read1_arbitrary (test.test_io.CBufferedReaderTest.test_read1_arbitrary) ... ok test_read_all (test.test_io.CBufferedReaderTest.test_read_all) ... ok test_read_non_blocking (test.test_io.CBufferedReaderTest.test_read_non_blocking) ... ok test_read_on_closed (test.test_io.CBufferedReaderTest.test_read_on_closed) ... test_read_on_closed (test.test_io.CBufferedReaderTest.test_read_on_closed) [flush] ... FAIL test_read_past_eof (test.test_io.CBufferedReaderTest.test_read_past_eof) ... ok test_readinto (test.test_io.CBufferedReaderTest.test_readinto) ... ok test_readinto1 (test.test_io.CBufferedReaderTest.test_readinto1) ... ok test_readinto1_array (test.test_io.CBufferedReaderTest.test_readinto1_array) ... ok test_readinto_array (test.test_io.CBufferedReaderTest.test_readinto_array) ... ok test_readlines (test.test_io.CBufferedReaderTest.test_readlines) ... ok test_readonly_attributes (test.test_io.CBufferedReaderTest.test_readonly_attributes) ... ok test_recursive_repr (test.test_io.CBufferedReaderTest.test_recursive_repr) ... ok test_repr (test.test_io.CBufferedReaderTest.test_repr) ... ok test_seek_character_device_file (test.test_io.CBufferedReaderTest.test_seek_character_device_file) ... ok test_sizeof (test.test_io.CBufferedReaderTest.test_sizeof) ... skipped 'implementation detail specific to cpython' test_tell_character_device_file (test.test_io.CBufferedReaderTest.test_tell_character_device_file) ... ok test_threads (test.test_io.CBufferedReaderTest.test_threads) ... skipped "resource 'cpu' is not enabled" test_truncate_on_read_only (test.test_io.CBufferedReaderTest.test_truncate_on_read_only) ... ok test_uninitialized (test.test_io.CBufferedReaderTest.test_uninitialized) ... ok test_unseekable (test.test_io.CBufferedReaderTest.test_unseekable) ... ok test_buffering (test.test_io.PyBufferedReaderTest.test_buffering) ... ok test_close_error_on_close (test.test_io.PyBufferedReaderTest.test_close_error_on_close) ... ok test_constructor (test.test_io.PyBufferedReaderTest.test_constructor) ... ok test_context_manager (test.test_io.PyBufferedReaderTest.test_context_manager) ... ok test_detach (test.test_io.PyBufferedReaderTest.test_detach) ... ok test_error_through_destructor (test.test_io.PyBufferedReaderTest.test_error_through_destructor) ... ok test_fileno (test.test_io.PyBufferedReaderTest.test_fileno) ... ok test_flush_error_on_close (test.test_io.PyBufferedReaderTest.test_flush_error_on_close) ... ok test_invalid_args (test.test_io.PyBufferedReaderTest.test_invalid_args) ... ok test_misbehaved_io (test.test_io.PyBufferedReaderTest.test_misbehaved_io) ... ok test_multi_close (test.test_io.PyBufferedReaderTest.test_multi_close) ... ok test_no_extraneous_read (test.test_io.PyBufferedReaderTest.test_no_extraneous_read) ... ok test_nonnormalized_close_error_on_close (test.test_io.PyBufferedReaderTest.test_nonnormalized_close_error_on_close) ... ok test_override_destructor (test.test_io.PyBufferedReaderTest.test_override_destructor) ... ok test_read (test.test_io.PyBufferedReaderTest.test_read) ... ok test_read1 (test.test_io.PyBufferedReaderTest.test_read1) ... ok test_read1_arbitrary (test.test_io.PyBufferedReaderTest.test_read1_arbitrary) ... ok test_read_all (test.test_io.PyBufferedReaderTest.test_read_all) ... ok test_read_non_blocking (test.test_io.PyBufferedReaderTest.test_read_non_blocking) ... ok test_read_on_closed (test.test_io.PyBufferedReaderTest.test_read_on_closed) ... ok test_read_past_eof (test.test_io.PyBufferedReaderTest.test_read_past_eof) ... ok test_readinto (test.test_io.PyBufferedReaderTest.test_readinto) ... ok test_readinto1 (test.test_io.PyBufferedReaderTest.test_readinto1) ... ok test_readinto1_array (test.test_io.PyBufferedReaderTest.test_readinto1_array) ... ok test_readinto_array (test.test_io.PyBufferedReaderTest.test_readinto_array) ... ok test_readlines (test.test_io.PyBufferedReaderTest.test_readlines) ... ok test_readonly_attributes (test.test_io.PyBufferedReaderTest.test_readonly_attributes) ... ok test_recursive_repr (test.test_io.PyBufferedReaderTest.test_recursive_repr) ... ok test_repr (test.test_io.PyBufferedReaderTest.test_repr) ... ok test_seek_character_device_file (test.test_io.PyBufferedReaderTest.test_seek_character_device_file) ... ok test_tell_character_device_file (test.test_io.PyBufferedReaderTest.test_tell_character_device_file) ... ok test_threads (test.test_io.PyBufferedReaderTest.test_threads) ... skipped "resource 'cpu' is not enabled" test_truncate_on_read_only (test.test_io.PyBufferedReaderTest.test_truncate_on_read_only) ... ok test_uninitialized (test.test_io.PyBufferedReaderTest.test_uninitialized) ... ok test_unseekable (test.test_io.PyBufferedReaderTest.test_unseekable) ... ok test_args_error (test.test_io.CBufferedWriterTest.test_args_error) ... ok test_buffer_freeing (test.test_io.CBufferedWriterTest.test_buffer_freeing) ... skipped 'implementation detail specific to cpython' test_close_error_on_close (test.test_io.CBufferedWriterTest.test_close_error_on_close) ... ok test_constructor (test.test_io.CBufferedWriterTest.test_constructor) ... ok test_context_manager (test.test_io.CBufferedWriterTest.test_context_manager) ... ok test_destructor (test.test_io.CBufferedWriterTest.test_destructor) ... ok test_detach (test.test_io.CBufferedWriterTest.test_detach) ... ok test_detach_flush (test.test_io.CBufferedWriterTest.test_detach_flush) ... ok test_error_through_destructor (test.test_io.CBufferedWriterTest.test_error_through_destructor) ... ok test_fileno (test.test_io.CBufferedWriterTest.test_fileno) ... ok test_flush (test.test_io.CBufferedWriterTest.test_flush) ... ok test_flush_error_on_close (test.test_io.CBufferedWriterTest.test_flush_error_on_close) ... ok test_garbage_collection (test.test_io.CBufferedWriterTest.test_garbage_collection) ... ok test_initialization (test.test_io.CBufferedWriterTest.test_initialization) ... ok test_invalid_args (test.test_io.CBufferedWriterTest.test_invalid_args) ... ok test_max_buffer_size_removal (test.test_io.CBufferedWriterTest.test_max_buffer_size_removal) ... ok test_misbehaved_io (test.test_io.CBufferedWriterTest.test_misbehaved_io) ... ok test_multi_close (test.test_io.CBufferedWriterTest.test_multi_close) ... ok test_nonnormalized_close_error_on_close (test.test_io.CBufferedWriterTest.test_nonnormalized_close_error_on_close) ... ok test_override_destructor (test.test_io.CBufferedWriterTest.test_override_destructor) ... ok test_readonly_attributes (test.test_io.CBufferedWriterTest.test_readonly_attributes) ... ok test_recursive_repr (test.test_io.CBufferedWriterTest.test_recursive_repr) ... ok test_repr (test.test_io.CBufferedWriterTest.test_repr) ... ok test_sizeof (test.test_io.CBufferedWriterTest.test_sizeof) ... skipped 'implementation detail specific to cpython' test_slow_close_from_thread (test.test_io.CBufferedWriterTest.test_slow_close_from_thread) ... ok test_threads (test.test_io.CBufferedWriterTest.test_threads) ... skipped "resource 'cpu' is not enabled" test_truncate (test.test_io.CBufferedWriterTest.test_truncate) ... ok test_truncate_after_write (test.test_io.CBufferedWriterTest.test_truncate_after_write) ... ok test_uninitialized (test.test_io.CBufferedWriterTest.test_uninitialized) ... ok test_unseekable (test.test_io.CBufferedWriterTest.test_unseekable) ... ok test_write (test.test_io.CBufferedWriterTest.test_write) ... ok test_write_and_rewind (test.test_io.CBufferedWriterTest.test_write_and_rewind) ... ok test_write_error_on_close (test.test_io.CBufferedWriterTest.test_write_error_on_close) ... ok test_write_non_blocking (test.test_io.CBufferedWriterTest.test_write_non_blocking) ... ok test_write_overflow (test.test_io.CBufferedWriterTest.test_write_overflow) ... ok test_writelines (test.test_io.CBufferedWriterTest.test_writelines) ... ok test_writelines_error (test.test_io.CBufferedWriterTest.test_writelines_error) ... ok test_writelines_userlist (test.test_io.CBufferedWriterTest.test_writelines_userlist) ... ok test_writes (test.test_io.CBufferedWriterTest.test_writes) ... ok test_writes_and_flushes (test.test_io.CBufferedWriterTest.test_writes_and_flushes) ... ok test_writes_and_seeks (test.test_io.CBufferedWriterTest.test_writes_and_seeks) ... ok test_writes_and_truncates (test.test_io.CBufferedWriterTest.test_writes_and_truncates) ... ok test_close_error_on_close (test.test_io.PyBufferedWriterTest.test_close_error_on_close) ... ok test_constructor (test.test_io.PyBufferedWriterTest.test_constructor) ... ok test_context_manager (test.test_io.PyBufferedWriterTest.test_context_manager) ... ok test_destructor (test.test_io.PyBufferedWriterTest.test_destructor) ... ok test_detach (test.test_io.PyBufferedWriterTest.test_detach) ... ok test_detach_flush (test.test_io.PyBufferedWriterTest.test_detach_flush) ... ok test_error_through_destructor (test.test_io.PyBufferedWriterTest.test_error_through_destructor) ... ok test_fileno (test.test_io.PyBufferedWriterTest.test_fileno) ... ok test_flush (test.test_io.PyBufferedWriterTest.test_flush) ... ok test_flush_error_on_close (test.test_io.PyBufferedWriterTest.test_flush_error_on_close) ... ok test_invalid_args (test.test_io.PyBufferedWriterTest.test_invalid_args) ... ok test_max_buffer_size_removal (test.test_io.PyBufferedWriterTest.test_max_buffer_size_removal) ... ok test_misbehaved_io (test.test_io.PyBufferedWriterTest.test_misbehaved_io) ... ok test_multi_close (test.test_io.PyBufferedWriterTest.test_multi_close) ... ok test_nonnormalized_close_error_on_close (test.test_io.PyBufferedWriterTest.test_nonnormalized_close_error_on_close) ... ok test_override_destructor (test.test_io.PyBufferedWriterTest.test_override_destructor) ... ok test_readonly_attributes (test.test_io.PyBufferedWriterTest.test_readonly_attributes) ... ok test_recursive_repr (test.test_io.PyBufferedWriterTest.test_recursive_repr) ... ok test_repr (test.test_io.PyBufferedWriterTest.test_repr) ... ok test_slow_close_from_thread (test.test_io.PyBufferedWriterTest.test_slow_close_from_thread) ... ok test_threads (test.test_io.PyBufferedWriterTest.test_threads) ... skipped "resource 'cpu' is not enabled" test_truncate (test.test_io.PyBufferedWriterTest.test_truncate) ... ok test_truncate_after_write (test.test_io.PyBufferedWriterTest.test_truncate_after_write) ... ok test_uninitialized (test.test_io.PyBufferedWriterTest.test_uninitialized) ... ok test_unseekable (test.test_io.PyBufferedWriterTest.test_unseekable) ... ok test_write (test.test_io.PyBufferedWriterTest.test_write) ... ok test_write_and_rewind (test.test_io.PyBufferedWriterTest.test_write_and_rewind) ... ok test_write_error_on_close (test.test_io.PyBufferedWriterTest.test_write_error_on_close) ... ok test_write_non_blocking (test.test_io.PyBufferedWriterTest.test_write_non_blocking) ... ok test_write_overflow (test.test_io.PyBufferedWriterTest.test_write_overflow) ... ok test_writelines (test.test_io.PyBufferedWriterTest.test_writelines) ... ok test_writelines_error (test.test_io.PyBufferedWriterTest.test_writelines_error) ... ok test_writelines_userlist (test.test_io.PyBufferedWriterTest.test_writelines_userlist) ... ok test_writes (test.test_io.PyBufferedWriterTest.test_writes) ... ok test_writes_and_flushes (test.test_io.PyBufferedWriterTest.test_writes_and_flushes) ... ok test_writes_and_seeks (test.test_io.PyBufferedWriterTest.test_writes_and_seeks) ... ok test_writes_and_truncates (test.test_io.PyBufferedWriterTest.test_writes_and_truncates) ... ok test_close_and_closed (test.test_io.CBufferedRWPairTest.test_close_and_closed) ... ok test_constructor (test.test_io.CBufferedRWPairTest.test_constructor) ... ok test_constructor_max_buffer_size_removal (test.test_io.CBufferedRWPairTest.test_constructor_max_buffer_size_removal) ... ok test_constructor_with_not_readable (test.test_io.CBufferedRWPairTest.test_constructor_with_not_readable) ... ok test_constructor_with_not_writeable (test.test_io.CBufferedRWPairTest.test_constructor_with_not_writeable) ... ok test_detach (test.test_io.CBufferedRWPairTest.test_detach) ... ok test_isatty (test.test_io.CBufferedRWPairTest.test_isatty) ... ok test_peek (test.test_io.CBufferedRWPairTest.test_peek) ... ok test_read (test.test_io.CBufferedRWPairTest.test_read) ... ok test_read1 (test.test_io.CBufferedRWPairTest.test_read1) ... ok test_readable (test.test_io.CBufferedRWPairTest.test_readable) ... ok test_reader_close_error_on_close (test.test_io.CBufferedRWPairTest.test_reader_close_error_on_close) ... ok test_reader_writer_close_error_on_close (test.test_io.CBufferedRWPairTest.test_reader_writer_close_error_on_close) ... ok test_readinto (test.test_io.CBufferedRWPairTest.test_readinto) ... ok test_readlines (test.test_io.CBufferedRWPairTest.test_readlines) ... ok test_seekable (test.test_io.CBufferedRWPairTest.test_seekable) ... ok test_uninitialized (test.test_io.CBufferedRWPairTest.test_uninitialized) ... ok test_weakref_clearing (test.test_io.CBufferedRWPairTest.test_weakref_clearing) ... ok test_write (test.test_io.CBufferedRWPairTest.test_write) ... ok test_writeable (test.test_io.CBufferedRWPairTest.test_writeable) ... ok test_writer_close_error_on_close (test.test_io.CBufferedRWPairTest.test_writer_close_error_on_close) ... ok test_close_and_closed (test.test_io.PyBufferedRWPairTest.test_close_and_closed) ... ok test_constructor (test.test_io.PyBufferedRWPairTest.test_constructor) ... ok test_constructor_max_buffer_size_removal (test.test_io.PyBufferedRWPairTest.test_constructor_max_buffer_size_removal) ... ok test_constructor_with_not_readable (test.test_io.PyBufferedRWPairTest.test_constructor_with_not_readable) ... ok test_constructor_with_not_writeable (test.test_io.PyBufferedRWPairTest.test_constructor_with_not_writeable) ... ok test_detach (test.test_io.PyBufferedRWPairTest.test_detach) ... ok test_isatty (test.test_io.PyBufferedRWPairTest.test_isatty) ... ok test_peek (test.test_io.PyBufferedRWPairTest.test_peek) ... ok test_read (test.test_io.PyBufferedRWPairTest.test_read) ... ok test_read1 (test.test_io.PyBufferedRWPairTest.test_read1) ... ok test_readable (test.test_io.PyBufferedRWPairTest.test_readable) ... ok test_reader_close_error_on_close (test.test_io.PyBufferedRWPairTest.test_reader_close_error_on_close) ... ok test_reader_writer_close_error_on_close (test.test_io.PyBufferedRWPairTest.test_reader_writer_close_error_on_close) ... ok test_readinto (test.test_io.PyBufferedRWPairTest.test_readinto) ... ok test_readlines (test.test_io.PyBufferedRWPairTest.test_readlines) ... ok test_seekable (test.test_io.PyBufferedRWPairTest.test_seekable) ... ok test_uninitialized (test.test_io.PyBufferedRWPairTest.test_uninitialized) ... ok test_weakref_clearing (test.test_io.PyBufferedRWPairTest.test_weakref_clearing) ... ok test_write (test.test_io.PyBufferedRWPairTest.test_write) ... ok test_writeable (test.test_io.PyBufferedRWPairTest.test_writeable) ... ok test_writer_close_error_on_close (test.test_io.PyBufferedRWPairTest.test_writer_close_error_on_close) ... ok test_args_error (test.test_io.CBufferedRandomTest.test_args_error) ... ok test_buffer_freeing (test.test_io.CBufferedRandomTest.test_buffer_freeing) ... skipped 'implementation detail specific to cpython' test_buffering (test.test_io.CBufferedRandomTest.test_buffering) ... ok test_close_error_on_close (test.test_io.CBufferedRandomTest.test_close_error_on_close) ... ok test_constructor (test.test_io.CBufferedRandomTest.test_constructor) ... ok test_context_manager (test.test_io.CBufferedRandomTest.test_context_manager) ... ok test_destructor (test.test_io.CBufferedRandomTest.test_destructor) ... ok test_detach (test.test_io.CBufferedRandomTest.test_detach) ... ok test_detach_flush (test.test_io.CBufferedRandomTest.test_detach_flush) ... ok test_error_through_destructor (test.test_io.CBufferedRandomTest.test_error_through_destructor) ... ok test_fileno (test.test_io.CBufferedRandomTest.test_fileno) ... ok test_flush (test.test_io.CBufferedRandomTest.test_flush) ... ok test_flush_and_peek (test.test_io.CBufferedRandomTest.test_flush_and_peek) ... ok test_flush_and_read (test.test_io.CBufferedRandomTest.test_flush_and_read) ... ok test_flush_and_readinto (test.test_io.CBufferedRandomTest.test_flush_and_readinto) ... ok test_flush_and_write (test.test_io.CBufferedRandomTest.test_flush_and_write) ... ok test_flush_error_on_close (test.test_io.CBufferedRandomTest.test_flush_error_on_close) ... ok test_garbage_collection (test.test_io.CBufferedRandomTest.test_garbage_collection) ... ok test_interleaved_read_write (test.test_io.CBufferedRandomTest.test_interleaved_read_write) ... ok test_interleaved_readline_write (test.test_io.CBufferedRandomTest.test_interleaved_readline_write) ... ok test_invalid_args (test.test_io.CBufferedRandomTest.test_invalid_args) ... ok test_max_buffer_size_removal (test.test_io.CBufferedRandomTest.test_max_buffer_size_removal) ... ok test_misbehaved_io (test.test_io.CBufferedRandomTest.test_misbehaved_io) ... ok test_multi_close (test.test_io.CBufferedRandomTest.test_multi_close) ... ok test_no_extraneous_read (test.test_io.CBufferedRandomTest.test_no_extraneous_read) ... ok test_nonnormalized_close_error_on_close (test.test_io.CBufferedRandomTest.test_nonnormalized_close_error_on_close) ... ok test_override_destructor (test.test_io.CBufferedRandomTest.test_override_destructor) ... ok test_read (test.test_io.CBufferedRandomTest.test_read) ... ok test_read1 (test.test_io.CBufferedRandomTest.test_read1) ... ok test_read1_after_write (test.test_io.CBufferedRandomTest.test_read1_after_write) ... ok test_read1_arbitrary (test.test_io.CBufferedRandomTest.test_read1_arbitrary) ... ok test_read_all (test.test_io.CBufferedRandomTest.test_read_all) ... ok test_read_and_write (test.test_io.CBufferedRandomTest.test_read_and_write) ... ok test_read_non_blocking (test.test_io.CBufferedRandomTest.test_read_non_blocking) ... ok test_read_on_closed (test.test_io.CBufferedRandomTest.test_read_on_closed) ... test_read_on_closed (test.test_io.CBufferedRandomTest.test_read_on_closed) [flush] ... FAIL test_read_past_eof (test.test_io.CBufferedRandomTest.test_read_past_eof) ... ok test_readinto (test.test_io.CBufferedRandomTest.test_readinto) ... ok test_readinto1 (test.test_io.CBufferedRandomTest.test_readinto1) ... ok test_readinto1_array (test.test_io.CBufferedRandomTest.test_readinto1_array) ... ok test_readinto_array (test.test_io.CBufferedRandomTest.test_readinto_array) ... ok test_readlines (test.test_io.CBufferedRandomTest.test_readlines) ... ok test_readonly_attributes (test.test_io.CBufferedRandomTest.test_readonly_attributes) ... ok test_recursive_repr (test.test_io.CBufferedRandomTest.test_recursive_repr) ... ok test_repr (test.test_io.CBufferedRandomTest.test_repr) ... ok test_seek_and_tell (test.test_io.CBufferedRandomTest.test_seek_and_tell) ... ok test_seek_character_device_file (test.test_io.CBufferedRandomTest.test_seek_character_device_file) ... ok test_sizeof (test.test_io.CBufferedRandomTest.test_sizeof) ... skipped 'implementation detail specific to cpython' test_slow_close_from_thread (test.test_io.CBufferedRandomTest.test_slow_close_from_thread) ... ok test_tell_character_device_file (test.test_io.CBufferedRandomTest.test_tell_character_device_file) ... ok test_threads (test.test_io.CBufferedRandomTest.test_threads) ... skipped "resource 'cpu' is not enabled" test_truncate (test.test_io.CBufferedRandomTest.test_truncate) ... ok test_truncate_after_read_or_write (test.test_io.CBufferedRandomTest.test_truncate_after_read_or_write) ... ok test_truncate_after_write (test.test_io.CBufferedRandomTest.test_truncate_after_write) ... ok test_uninitialized (test.test_io.CBufferedRandomTest.test_uninitialized) ... ok test_write (test.test_io.CBufferedRandomTest.test_write) ... ok test_write_after_readahead (test.test_io.CBufferedRandomTest.test_write_after_readahead) ... ok test_write_and_rewind (test.test_io.CBufferedRandomTest.test_write_and_rewind) ... ok test_write_error_on_close (test.test_io.CBufferedRandomTest.test_write_error_on_close) ... ok test_write_non_blocking (test.test_io.CBufferedRandomTest.test_write_non_blocking) ... ok test_write_overflow (test.test_io.CBufferedRandomTest.test_write_overflow) ... ok test_write_rewind_write (test.test_io.CBufferedRandomTest.test_write_rewind_write) ... ok test_writelines (test.test_io.CBufferedRandomTest.test_writelines) ... ok test_writelines_error (test.test_io.CBufferedRandomTest.test_writelines_error) ... ok test_writelines_userlist (test.test_io.CBufferedRandomTest.test_writelines_userlist) ... ok test_writes (test.test_io.CBufferedRandomTest.test_writes) ... ok test_writes_and_flushes (test.test_io.CBufferedRandomTest.test_writes_and_flushes) ... ok test_writes_and_peek (test.test_io.CBufferedRandomTest.test_writes_and_peek) ... ok test_writes_and_read1s (test.test_io.CBufferedRandomTest.test_writes_and_read1s) ... ok test_writes_and_readintos (test.test_io.CBufferedRandomTest.test_writes_and_readintos) ... ok test_writes_and_reads (test.test_io.CBufferedRandomTest.test_writes_and_reads) ... ok test_writes_and_seeks (test.test_io.CBufferedRandomTest.test_writes_and_seeks) ... ok test_writes_and_truncates (test.test_io.CBufferedRandomTest.test_writes_and_truncates) ... ok test_buffering (test.test_io.PyBufferedRandomTest.test_buffering) ... ok test_close_error_on_close (test.test_io.PyBufferedRandomTest.test_close_error_on_close) ... ok test_constructor (test.test_io.PyBufferedRandomTest.test_constructor) ... ok test_context_manager (test.test_io.PyBufferedRandomTest.test_context_manager) ... ok test_destructor (test.test_io.PyBufferedRandomTest.test_destructor) ... ok test_detach (test.test_io.PyBufferedRandomTest.test_detach) ... ok test_detach_flush (test.test_io.PyBufferedRandomTest.test_detach_flush) ... ok test_error_through_destructor (test.test_io.PyBufferedRandomTest.test_error_through_destructor) ... ok test_fileno (test.test_io.PyBufferedRandomTest.test_fileno) ... ok test_flush (test.test_io.PyBufferedRandomTest.test_flush) ... ok test_flush_and_peek (test.test_io.PyBufferedRandomTest.test_flush_and_peek) ... ok test_flush_and_read (test.test_io.PyBufferedRandomTest.test_flush_and_read) ... ok test_flush_and_readinto (test.test_io.PyBufferedRandomTest.test_flush_and_readinto) ... ok test_flush_and_write (test.test_io.PyBufferedRandomTest.test_flush_and_write) ... ok test_flush_error_on_close (test.test_io.PyBufferedRandomTest.test_flush_error_on_close) ... ok test_interleaved_read_write (test.test_io.PyBufferedRandomTest.test_interleaved_read_write) ... ok test_interleaved_readline_write (test.test_io.PyBufferedRandomTest.test_interleaved_readline_write) ... ok test_invalid_args (test.test_io.PyBufferedRandomTest.test_invalid_args) ... ok test_max_buffer_size_removal (test.test_io.PyBufferedRandomTest.test_max_buffer_size_removal) ... ok test_misbehaved_io (test.test_io.PyBufferedRandomTest.test_misbehaved_io) ... ok test_multi_close (test.test_io.PyBufferedRandomTest.test_multi_close) ... ok test_no_extraneous_read (test.test_io.PyBufferedRandomTest.test_no_extraneous_read) ... ok test_nonnormalized_close_error_on_close (test.test_io.PyBufferedRandomTest.test_nonnormalized_close_error_on_close) ... ok test_override_destructor (test.test_io.PyBufferedRandomTest.test_override_destructor) ... ok test_read (test.test_io.PyBufferedRandomTest.test_read) ... ok test_read1 (test.test_io.PyBufferedRandomTest.test_read1) ... ok test_read1_after_write (test.test_io.PyBufferedRandomTest.test_read1_after_write) ... ok test_read1_arbitrary (test.test_io.PyBufferedRandomTest.test_read1_arbitrary) ... ok test_read_all (test.test_io.PyBufferedRandomTest.test_read_all) ... ok test_read_and_write (test.test_io.PyBufferedRandomTest.test_read_and_write) ... ok test_read_non_blocking (test.test_io.PyBufferedRandomTest.test_read_non_blocking) ... ok test_read_on_closed (test.test_io.PyBufferedRandomTest.test_read_on_closed) ... ok test_read_past_eof (test.test_io.PyBufferedRandomTest.test_read_past_eof) ... ok test_readinto (test.test_io.PyBufferedRandomTest.test_readinto) ... ok test_readinto1 (test.test_io.PyBufferedRandomTest.test_readinto1) ... ok test_readinto1_array (test.test_io.PyBufferedRandomTest.test_readinto1_array) ... ok test_readinto_array (test.test_io.PyBufferedRandomTest.test_readinto_array) ... ok test_readlines (test.test_io.PyBufferedRandomTest.test_readlines) ... ok test_readonly_attributes (test.test_io.PyBufferedRandomTest.test_readonly_attributes) ... ok test_recursive_repr (test.test_io.PyBufferedRandomTest.test_recursive_repr) ... ok test_repr (test.test_io.PyBufferedRandomTest.test_repr) ... ok test_seek_and_tell (test.test_io.PyBufferedRandomTest.test_seek_and_tell) ... ok test_seek_character_device_file (test.test_io.PyBufferedRandomTest.test_seek_character_device_file) ... ok test_slow_close_from_thread (test.test_io.PyBufferedRandomTest.test_slow_close_from_thread) ... ok test_tell_character_device_file (test.test_io.PyBufferedRandomTest.test_tell_character_device_file) ... ok test_threads (test.test_io.PyBufferedRandomTest.test_threads) ... skipped "resource 'cpu' is not enabled" test_truncate (test.test_io.PyBufferedRandomTest.test_truncate) ... ok test_truncate_after_read_or_write (test.test_io.PyBufferedRandomTest.test_truncate_after_read_or_write) ... ok test_truncate_after_write (test.test_io.PyBufferedRandomTest.test_truncate_after_write) ... ok test_uninitialized (test.test_io.PyBufferedRandomTest.test_uninitialized) ... ok test_write (test.test_io.PyBufferedRandomTest.test_write) ... ok test_write_after_readahead (test.test_io.PyBufferedRandomTest.test_write_after_readahead) ... ok test_write_and_rewind (test.test_io.PyBufferedRandomTest.test_write_and_rewind) ... ok test_write_error_on_close (test.test_io.PyBufferedRandomTest.test_write_error_on_close) ... ok test_write_non_blocking (test.test_io.PyBufferedRandomTest.test_write_non_blocking) ... ok test_write_overflow (test.test_io.PyBufferedRandomTest.test_write_overflow) ... ok test_write_rewind_write (test.test_io.PyBufferedRandomTest.test_write_rewind_write) ... ok test_writelines (test.test_io.PyBufferedRandomTest.test_writelines) ... ok test_writelines_error (test.test_io.PyBufferedRandomTest.test_writelines_error) ... ok test_writelines_userlist (test.test_io.PyBufferedRandomTest.test_writelines_userlist) ... ok test_writes (test.test_io.PyBufferedRandomTest.test_writes) ... ok test_writes_and_flushes (test.test_io.PyBufferedRandomTest.test_writes_and_flushes) ... ok test_writes_and_peek (test.test_io.PyBufferedRandomTest.test_writes_and_peek) ... ok test_writes_and_read1s (test.test_io.PyBufferedRandomTest.test_writes_and_read1s) ... ok test_writes_and_readintos (test.test_io.PyBufferedRandomTest.test_writes_and_readintos) ... ok test_writes_and_reads (test.test_io.PyBufferedRandomTest.test_writes_and_reads) ... ok test_writes_and_seeks (test.test_io.PyBufferedRandomTest.test_writes_and_seeks) ... ok test_writes_and_truncates (test.test_io.PyBufferedRandomTest.test_writes_and_truncates) ... ok test_decoder (test.test_io.StatefulIncrementalDecoderTest.test_decoder) ... ok test_newline_bytes (test.test_io.CIncrementalNewlineDecoderTest.test_newline_bytes) ... ok test_newline_decoder (test.test_io.CIncrementalNewlineDecoderTest.test_newline_decoder) ... ok test_translate (test.test_io.CIncrementalNewlineDecoderTest.test_translate) ... ok test_uninitialized (test.test_io.CIncrementalNewlineDecoderTest.test_uninitialized) ... skipped 'implementation detail specific to cpython' test_newline_bytes (test.test_io.PyIncrementalNewlineDecoderTest.test_newline_bytes) ... ok test_newline_decoder (test.test_io.PyIncrementalNewlineDecoderTest.test_newline_decoder) ... ok test_translate (test.test_io.PyIncrementalNewlineDecoderTest.test_translate) ... ok test_append_bom (test.test_io.CTextIOWrapperTest.test_append_bom) ... ok test_basic_io (test.test_io.CTextIOWrapperTest.test_basic_io) ... ok test_bufio_write_through (test.test_io.CTextIOWrapperTest.test_bufio_write_through) ... ok test_close_error_on_close (test.test_io.CTextIOWrapperTest.test_close_error_on_close) ... ok test_constructor (test.test_io.CTextIOWrapperTest.test_constructor) ... ERROR test_create_at_shutdown_with_encoding (test.test_io.CTextIOWrapperTest.test_create_at_shutdown_with_encoding) ... FAIL test_create_at_shutdown_without_encoding (test.test_io.CTextIOWrapperTest.test_create_at_shutdown_without_encoding) ... FAIL test_default_encoding (test.test_io.CTextIOWrapperTest.test_default_encoding) ... ok test_del__CHUNK_SIZE_SystemError (test.test_io.CTextIOWrapperTest.test_del__CHUNK_SIZE_SystemError) ... ok test_destructor (test.test_io.CTextIOWrapperTest.test_destructor) ... ok test_detach (test.test_io.CTextIOWrapperTest.test_detach) ... ok test_encoded_writes (test.test_io.CTextIOWrapperTest.test_encoded_writes) ... ok test_encoding (test.test_io.CTextIOWrapperTest.test_encoding) ... ok test_encoding_errors_reading (test.test_io.CTextIOWrapperTest.test_encoding_errors_reading) ... ok test_encoding_errors_writing (test.test_io.CTextIOWrapperTest.test_encoding_errors_writing) ... ok test_error_through_destructor (test.test_io.CTextIOWrapperTest.test_error_through_destructor) ... ok test_errors_property (test.test_io.CTextIOWrapperTest.test_errors_property) ... ok test_flush_error_on_close (test.test_io.CTextIOWrapperTest.test_flush_error_on_close) ... ok test_garbage_collection (test.test_io.CTextIOWrapperTest.test_garbage_collection) ... ok test_illegal_decoder (test.test_io.CTextIOWrapperTest.test_illegal_decoder) ... ok test_illegal_encoder (test.test_io.CTextIOWrapperTest.test_illegal_encoder) ... ok test_initialization (test.test_io.CTextIOWrapperTest.test_initialization) ... ok test_internal_buffer_size (test.test_io.CTextIOWrapperTest.test_internal_buffer_size) ... ok test_issue119506 (test.test_io.CTextIOWrapperTest.test_issue119506) ... ok test_issue1395_1 (test.test_io.CTextIOWrapperTest.test_issue1395_1) ... ok test_issue1395_2 (test.test_io.CTextIOWrapperTest.test_issue1395_2) ... ok test_issue1395_3 (test.test_io.CTextIOWrapperTest.test_issue1395_3) ... ok test_issue1395_4 (test.test_io.CTextIOWrapperTest.test_issue1395_4) ... ok test_issue1395_5 (test.test_io.CTextIOWrapperTest.test_issue1395_5) ... ok test_issue2282 (test.test_io.CTextIOWrapperTest.test_issue2282) ... ok test_issue22849 (test.test_io.CTextIOWrapperTest.test_issue22849) ... ok test_issue25862 (test.test_io.CTextIOWrapperTest.test_issue25862) ... ok test_issue35928 (test.test_io.CTextIOWrapperTest.test_issue35928) ... ok test_line_buffering (test.test_io.CTextIOWrapperTest.test_line_buffering) ... ok test_multi_close (test.test_io.CTextIOWrapperTest.test_multi_close) ... ok test_multibyte_seek_and_tell (test.test_io.CTextIOWrapperTest.test_multibyte_seek_and_tell) ... ok test_newlines (test.test_io.CTextIOWrapperTest.test_newlines) ... ok test_newlines_input (test.test_io.CTextIOWrapperTest.test_newlines_input) ... ok test_newlines_output (test.test_io.CTextIOWrapperTest.test_newlines_output) ... ok test_non_text_encoding_codecs_are_rejected (test.test_io.CTextIOWrapperTest.test_non_text_encoding_codecs_are_rejected) ... ok test_nonnormalized_close_error_on_close (test.test_io.CTextIOWrapperTest.test_nonnormalized_close_error_on_close) ... ok test_override_destructor (test.test_io.CTextIOWrapperTest.test_override_destructor) ... ok test_rawio (test.test_io.CTextIOWrapperTest.test_rawio) ... ok test_rawio_write_through (test.test_io.CTextIOWrapperTest.test_rawio_write_through) ... ok test_read_by_chunk (test.test_io.CTextIOWrapperTest.test_read_by_chunk) ... ok test_read_byteslike (test.test_io.CTextIOWrapperTest.test_read_byteslike) ... ok test_read_nonbytes (test.test_io.CTextIOWrapperTest.test_read_nonbytes) ... ok test_read_one_by_one (test.test_io.CTextIOWrapperTest.test_read_one_by_one) ... ok test_readlines (test.test_io.CTextIOWrapperTest.test_readlines) ... ok test_readonly_attributes (test.test_io.CTextIOWrapperTest.test_readonly_attributes) ... ok test_reconfigure_defaults (test.test_io.CTextIOWrapperTest.test_reconfigure_defaults) ... ok test_reconfigure_encoding_read (test.test_io.CTextIOWrapperTest.test_reconfigure_encoding_read) ... ok test_reconfigure_errors (test.test_io.CTextIOWrapperTest.test_reconfigure_errors) ... ERROR test_reconfigure_line_buffering (test.test_io.CTextIOWrapperTest.test_reconfigure_line_buffering) ... ok test_reconfigure_locale (test.test_io.CTextIOWrapperTest.test_reconfigure_locale) ... ok test_reconfigure_newline (test.test_io.CTextIOWrapperTest.test_reconfigure_newline) ... ok test_reconfigure_write (test.test_io.CTextIOWrapperTest.test_reconfigure_write) ... ok test_reconfigure_write_fromascii (test.test_io.CTextIOWrapperTest.test_reconfigure_write_fromascii) ... ok test_reconfigure_write_non_seekable (test.test_io.CTextIOWrapperTest.test_reconfigure_write_non_seekable) ... ok test_reconfigure_write_through (test.test_io.CTextIOWrapperTest.test_reconfigure_write_through) ... ok test_recursive_repr (test.test_io.CTextIOWrapperTest.test_recursive_repr) ... ok test_repr (test.test_io.CTextIOWrapperTest.test_repr) ... ok test_rwpair_cleared_before_textio (test.test_io.CTextIOWrapperTest.test_rwpair_cleared_before_textio) ... ok test_seek_and_tell (test.test_io.CTextIOWrapperTest.test_seek_and_tell) ... ok test_seek_append_bom (test.test_io.CTextIOWrapperTest.test_seek_append_bom) ... ok test_seek_bom (test.test_io.CTextIOWrapperTest.test_seek_bom) ... ok test_seek_with_encoder_state (test.test_io.CTextIOWrapperTest.test_seek_with_encoder_state) ... ok test_seeking (test.test_io.CTextIOWrapperTest.test_seeking) ... ok test_seeking_too (test.test_io.CTextIOWrapperTest.test_seeking_too) ... ok test_telling (test.test_io.CTextIOWrapperTest.test_telling) ... ok test_threads_write (test.test_io.CTextIOWrapperTest.test_threads_write) ... ok test_uninitialized (test.test_io.CTextIOWrapperTest.test_uninitialized) ... ok test_unreadable (test.test_io.CTextIOWrapperTest.test_unreadable) ... ok test_unseekable (test.test_io.CTextIOWrapperTest.test_unseekable) ... ok test_writelines (test.test_io.CTextIOWrapperTest.test_writelines) ... ok test_writelines_error (test.test_io.CTextIOWrapperTest.test_writelines_error) ... ok test_writelines_userlist (test.test_io.CTextIOWrapperTest.test_writelines_userlist) ... ok test_append_bom (test.test_io.PyTextIOWrapperTest.test_append_bom) ... ok test_basic_io (test.test_io.PyTextIOWrapperTest.test_basic_io) ... ok test_bufio_write_through (test.test_io.PyTextIOWrapperTest.test_bufio_write_through) ... ok test_close_error_on_close (test.test_io.PyTextIOWrapperTest.test_close_error_on_close) ... ok test_constructor (test.test_io.PyTextIOWrapperTest.test_constructor) ... ERROR test_create_at_shutdown_with_encoding (test.test_io.PyTextIOWrapperTest.test_create_at_shutdown_with_encoding) ... FAIL test_create_at_shutdown_without_encoding (test.test_io.PyTextIOWrapperTest.test_create_at_shutdown_without_encoding) ... FAIL test_default_encoding (test.test_io.PyTextIOWrapperTest.test_default_encoding) ... ok test_destructor (test.test_io.PyTextIOWrapperTest.test_destructor) ... ok test_detach (test.test_io.PyTextIOWrapperTest.test_detach) ... ok test_encoded_writes (test.test_io.PyTextIOWrapperTest.test_encoded_writes) ... ok test_encoding (test.test_io.PyTextIOWrapperTest.test_encoding) ... ok test_encoding_errors_reading (test.test_io.PyTextIOWrapperTest.test_encoding_errors_reading) ... ok test_encoding_errors_writing (test.test_io.PyTextIOWrapperTest.test_encoding_errors_writing) ... ok test_error_through_destructor (test.test_io.PyTextIOWrapperTest.test_error_through_destructor) ... ok test_errors_property (test.test_io.PyTextIOWrapperTest.test_errors_property) ... ok test_flush_error_on_close (test.test_io.PyTextIOWrapperTest.test_flush_error_on_close) ... ok test_illegal_decoder (test.test_io.PyTextIOWrapperTest.test_illegal_decoder) ... ok test_illegal_encoder (test.test_io.PyTextIOWrapperTest.test_illegal_encoder) ... ok test_issue1395_1 (test.test_io.PyTextIOWrapperTest.test_issue1395_1) ... ok test_issue1395_2 (test.test_io.PyTextIOWrapperTest.test_issue1395_2) ... ok test_issue1395_3 (test.test_io.PyTextIOWrapperTest.test_issue1395_3) ... ok test_issue1395_4 (test.test_io.PyTextIOWrapperTest.test_issue1395_4) ... ok test_issue1395_5 (test.test_io.PyTextIOWrapperTest.test_issue1395_5) ... ok test_issue2282 (test.test_io.PyTextIOWrapperTest.test_issue2282) ... ok test_issue22849 (test.test_io.PyTextIOWrapperTest.test_issue22849) ... ok test_issue25862 (test.test_io.PyTextIOWrapperTest.test_issue25862) ... ok test_issue35928 (test.test_io.PyTextIOWrapperTest.test_issue35928) ... ok test_line_buffering (test.test_io.PyTextIOWrapperTest.test_line_buffering) ... ok test_multi_close (test.test_io.PyTextIOWrapperTest.test_multi_close) ... ok test_multibyte_seek_and_tell (test.test_io.PyTextIOWrapperTest.test_multibyte_seek_and_tell) ... ok test_newlines (test.test_io.PyTextIOWrapperTest.test_newlines) ... ok test_newlines_input (test.test_io.PyTextIOWrapperTest.test_newlines_input) ... ok test_newlines_output (test.test_io.PyTextIOWrapperTest.test_newlines_output) ... ok test_non_text_encoding_codecs_are_rejected (test.test_io.PyTextIOWrapperTest.test_non_text_encoding_codecs_are_rejected) ... ok test_nonnormalized_close_error_on_close (test.test_io.PyTextIOWrapperTest.test_nonnormalized_close_error_on_close) ... ok test_override_destructor (test.test_io.PyTextIOWrapperTest.test_override_destructor) ... ok test_rawio (test.test_io.PyTextIOWrapperTest.test_rawio) ... ok test_rawio_write_through (test.test_io.PyTextIOWrapperTest.test_rawio_write_through) ... ok test_read_by_chunk (test.test_io.PyTextIOWrapperTest.test_read_by_chunk) ... ok test_read_byteslike (test.test_io.PyTextIOWrapperTest.test_read_byteslike) ... ok test_read_nonbytes (test.test_io.PyTextIOWrapperTest.test_read_nonbytes) ... ok test_read_one_by_one (test.test_io.PyTextIOWrapperTest.test_read_one_by_one) ... ok test_readlines (test.test_io.PyTextIOWrapperTest.test_readlines) ... ok test_readonly_attributes (test.test_io.PyTextIOWrapperTest.test_readonly_attributes) ... ok test_reconfigure_defaults (test.test_io.PyTextIOWrapperTest.test_reconfigure_defaults) ... ok test_reconfigure_encoding_read (test.test_io.PyTextIOWrapperTest.test_reconfigure_encoding_read) ... ok test_reconfigure_errors (test.test_io.PyTextIOWrapperTest.test_reconfigure_errors) ... ok test_reconfigure_line_buffering (test.test_io.PyTextIOWrapperTest.test_reconfigure_line_buffering) ... ok test_reconfigure_locale (test.test_io.PyTextIOWrapperTest.test_reconfigure_locale) ... ok test_reconfigure_newline (test.test_io.PyTextIOWrapperTest.test_reconfigure_newline) ... ok test_reconfigure_write (test.test_io.PyTextIOWrapperTest.test_reconfigure_write) ... ok test_reconfigure_write_fromascii (test.test_io.PyTextIOWrapperTest.test_reconfigure_write_fromascii) ... ok test_reconfigure_write_non_seekable (test.test_io.PyTextIOWrapperTest.test_reconfigure_write_non_seekable) ... ok test_reconfigure_write_through (test.test_io.PyTextIOWrapperTest.test_reconfigure_write_through) ... ok test_recursive_repr (test.test_io.PyTextIOWrapperTest.test_recursive_repr) ... ok test_repr (test.test_io.PyTextIOWrapperTest.test_repr) ... ok test_seek_and_tell (test.test_io.PyTextIOWrapperTest.test_seek_and_tell) ... ok test_seek_append_bom (test.test_io.PyTextIOWrapperTest.test_seek_append_bom) ... ok test_seek_bom (test.test_io.PyTextIOWrapperTest.test_seek_bom) ... ok test_seek_with_encoder_state (test.test_io.PyTextIOWrapperTest.test_seek_with_encoder_state) ... ok test_seeking (test.test_io.PyTextIOWrapperTest.test_seeking) ... ok test_seeking_too (test.test_io.PyTextIOWrapperTest.test_seeking_too) ... ok test_telling (test.test_io.PyTextIOWrapperTest.test_telling) ... ok test_threads_write (test.test_io.PyTextIOWrapperTest.test_threads_write) ... ok test_uninitialized (test.test_io.PyTextIOWrapperTest.test_uninitialized) ... ok test_unreadable (test.test_io.PyTextIOWrapperTest.test_unreadable) ... ok test_unseekable (test.test_io.PyTextIOWrapperTest.test_unseekable) ... ok test_writelines (test.test_io.PyTextIOWrapperTest.test_writelines) ... ok test_writelines_error (test.test_io.PyTextIOWrapperTest.test_writelines_error) ... ok test_writelines_userlist (test.test_io.PyTextIOWrapperTest.test_writelines_userlist) ... ok test___all__ (test.test_io.CMiscIOTest.test___all__) ... ok test_abc_inheritance (test.test_io.CMiscIOTest.test_abc_inheritance) ... ok test_abc_inheritance_official (test.test_io.CMiscIOTest.test_abc_inheritance_official) ... ok test_abcs (test.test_io.CMiscIOTest.test_abcs) ... ok test_attributes (test.test_io.CMiscIOTest.test_attributes) ... ok test_blockingioerror (test.test_io.CMiscIOTest.test_blockingioerror) ... ok test_check_encoding_errors (test.test_io.CMiscIOTest.test_check_encoding_errors) ... ok test_check_encoding_warning (test.test_io.CMiscIOTest.test_check_encoding_warning) ... ok test_create_fail (test.test_io.CMiscIOTest.test_create_fail) ... ok test_create_writes (test.test_io.CMiscIOTest.test_create_writes) ... ok test_daemon_threads_shutdown_stderr_deadlock (test.test_io.CMiscIOTest.test_daemon_threads_shutdown_stderr_deadlock) ... skipped "resource 'walltime' is not enabled" test_daemon_threads_shutdown_stdout_deadlock (test.test_io.CMiscIOTest.test_daemon_threads_shutdown_stdout_deadlock) ... skipped "resource 'walltime' is not enabled" test_io_after_close (test.test_io.CMiscIOTest.test_io_after_close) ... ok test_nonblock_pipe_write_bigbuf (test.test_io.CMiscIOTest.test_nonblock_pipe_write_bigbuf) ... ok test_nonblock_pipe_write_smallbuf (test.test_io.CMiscIOTest.test_nonblock_pipe_write_smallbuf) ... ok test_open_allargs (test.test_io.CMiscIOTest.test_open_allargs) ... ok test_open_pipe_with_append (test.test_io.CMiscIOTest.test_open_pipe_with_append) ... ok test_pickling (test.test_io.CMiscIOTest.test_pickling) ... ok test_readinto_buffer_overflow (test.test_io.CMiscIOTest.test_readinto_buffer_overflow) ... ok test_removed_u_mode (test.test_io.CMiscIOTest.test_removed_u_mode) ... ok test_text_encoding (test.test_io.CMiscIOTest.test_text_encoding) ... ok test_warn_on_dealloc (test.test_io.CMiscIOTest.test_warn_on_dealloc) ... ok test_warn_on_dealloc_fd (test.test_io.CMiscIOTest.test_warn_on_dealloc_fd) ... ok test___all__ (test.test_io.PyMiscIOTest.test___all__) ... ok test_abc_inheritance (test.test_io.PyMiscIOTest.test_abc_inheritance) ... ok test_abc_inheritance_official (test.test_io.PyMiscIOTest.test_abc_inheritance_official) ... ok test_abcs (test.test_io.PyMiscIOTest.test_abcs) ... ok test_attributes (test.test_io.PyMiscIOTest.test_attributes) ... ok test_blockingioerror (test.test_io.PyMiscIOTest.test_blockingioerror) ... ok test_check_encoding_errors (test.test_io.PyMiscIOTest.test_check_encoding_errors) ... ok test_check_encoding_warning (test.test_io.PyMiscIOTest.test_check_encoding_warning) ... ok test_create_fail (test.test_io.PyMiscIOTest.test_create_fail) ... ok test_create_writes (test.test_io.PyMiscIOTest.test_create_writes) ... ok test_io_after_close (test.test_io.PyMiscIOTest.test_io_after_close) ... ok test_nonblock_pipe_write_bigbuf (test.test_io.PyMiscIOTest.test_nonblock_pipe_write_bigbuf) ... ok test_nonblock_pipe_write_smallbuf (test.test_io.PyMiscIOTest.test_nonblock_pipe_write_smallbuf) ... ok test_open_allargs (test.test_io.PyMiscIOTest.test_open_allargs) ... ok test_open_pipe_with_append (test.test_io.PyMiscIOTest.test_open_pipe_with_append) ... ok test_pickling (test.test_io.PyMiscIOTest.test_pickling) ... ok test_removed_u_mode (test.test_io.PyMiscIOTest.test_removed_u_mode) ... ok test_text_encoding (test.test_io.PyMiscIOTest.test_text_encoding) ... ok test_warn_on_dealloc (test.test_io.PyMiscIOTest.test_warn_on_dealloc) ... ok test_warn_on_dealloc_fd (test.test_io.PyMiscIOTest.test_warn_on_dealloc_fd) ... ok test_interrupted_read_retry_buffered (test.test_io.CSignalsTest.test_interrupted_read_retry_buffered) ... skipped "resource 'walltime' is not enabled" test_interrupted_read_retry_text (test.test_io.CSignalsTest.test_interrupted_read_retry_text) ... skipped "resource 'walltime' is not enabled" test_interrupted_write_buffered (test.test_io.CSignalsTest.test_interrupted_write_buffered) ... ok test_interrupted_write_retry_buffered (test.test_io.CSignalsTest.test_interrupted_write_retry_buffered) ... skipped "resource 'walltime' is not enabled" test_interrupted_write_retry_text (test.test_io.CSignalsTest.test_interrupted_write_retry_text) ... skipped "resource 'walltime' is not enabled" test_interrupted_write_text (test.test_io.CSignalsTest.test_interrupted_write_text) ... ok test_interrupted_write_unbuffered (test.test_io.CSignalsTest.test_interrupted_write_unbuffered) ... ok test_reentrant_write_buffered (test.test_io.CSignalsTest.test_reentrant_write_buffered) ... ok test_reentrant_write_text (test.test_io.CSignalsTest.test_reentrant_write_text) ... ok test_interrupted_read_retry_buffered (test.test_io.PySignalsTest.test_interrupted_read_retry_buffered) ... skipped "resource 'walltime' is not enabled" test_interrupted_read_retry_text (test.test_io.PySignalsTest.test_interrupted_read_retry_text) ... skipped "resource 'walltime' is not enabled" test_interrupted_write_buffered (test.test_io.PySignalsTest.test_interrupted_write_buffered) ... ok test_interrupted_write_retry_buffered (test.test_io.PySignalsTest.test_interrupted_write_retry_buffered) ... skipped "resource 'walltime' is not enabled" test_interrupted_write_retry_text (test.test_io.PySignalsTest.test_interrupted_write_retry_text) ... skipped "resource 'walltime' is not enabled" test_interrupted_write_text (test.test_io.PySignalsTest.test_interrupted_write_text) ... ok test_interrupted_write_unbuffered (test.test_io.PySignalsTest.test_interrupted_write_unbuffered) ... ok test_class_hierarchy (test.test_io.TestIOCTypes.test_class_hierarchy) ... skipped 'implementation detail specific to cpython' test_disallow_instantiation (test.test_io.TestIOCTypes.test_disallow_instantiation) ... skipped 'implementation detail specific to cpython' test_immutable_types (test.test_io.TestIOCTypes.test_immutable_types) ... skipped 'implementation detail specific to cpython' test_stringio_setstate (test.test_io.TestIOCTypes.test_stringio_setstate) ... skipped 'implementation detail specific to cpython' test_subclassing (test.test_io.TestIOCTypes.test_subclassing) ... skipped 'implementation detail specific to cpython' ====================================================================== ERROR: test_bad_readinto_type (test.test_io.CBufferedReaderTest.test_bad_readinto_type) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_io.py", line 1787, in test_bad_readinto_type bufio.readline() ^^^^^^^^ TypeError: expected integer, got bytes object ====================================================================== ERROR: test_constructor (test.test_io.CTextIOWrapperTest.test_constructor) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_io.py", line 2812, in test_constructor t.__init__(b, encoding='\udcfe') ^^^^^^^^ LookupError: unknown encoding: \udcfe ====================================================================== ERROR: test_reconfigure_errors (test.test_io.CTextIOWrapperTest.test_reconfigure_errors) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_io.py", line 3885, in test_reconfigure_errors txt.reconfigure(encoding='\udcfe') ^^^^^^^^^^^ LookupError: unknown encoding: \udcfe ====================================================================== ERROR: test_constructor (test.test_io.PyTextIOWrapperTest.test_constructor) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_io.py", line 2812, in test_constructor t.__init__(b, encoding='\udcfe') ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/_pyio.py", line 2017, in __init__ if not codecs.lookup(encoding)._is_text_encoding: ^^^^^^ LookupError: unknown encoding: \udcfe ====================================================================== FAIL: test_read_on_closed (test.test_io.CBufferedReaderTest.test_read_on_closed) [flush] ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_io.py", line 1685, in test_read_on_closed self.assertRaises(ValueError, b.flush) ^^^^^^^^^^^^ AssertionError: ValueError not raised by flush ====================================================================== FAIL: test_read_on_closed (test.test_io.CBufferedRandomTest.test_read_on_closed) [flush] ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_io.py", line 1685, in test_read_on_closed self.assertRaises(ValueError, b.flush) ^^^^^^^^^^^^ AssertionError: ValueError not raised by flush ====================================================================== FAIL: test_create_at_shutdown_with_encoding (test.test_io.CTextIOWrapperTest.test_create_at_shutdown_with_encoding) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_io.py", line 3766, in test_create_at_shutdown_with_encoding self.assertEqual("ok", out.decode().strip()) ^^^^^^^^^^^ AssertionError: 'ok' != '' - ok ====================================================================== FAIL: test_create_at_shutdown_without_encoding (test.test_io.CTextIOWrapperTest.test_create_at_shutdown_without_encoding) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_io.py", line 3760, in test_create_at_shutdown_without_encoding self.assertEqual("ok", out.decode().strip()) ^^^^^^^^^^^ AssertionError: 'ok' != '' - ok ====================================================================== FAIL: test_create_at_shutdown_with_encoding (test.test_io.PyTextIOWrapperTest.test_create_at_shutdown_with_encoding) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_io.py", line 3766, in test_create_at_shutdown_with_encoding self.assertEqual("ok", out.decode().strip()) ^^^^^^^^^^^ AssertionError: 'ok' != '' - ok ====================================================================== FAIL: test_create_at_shutdown_without_encoding (test.test_io.PyTextIOWrapperTest.test_create_at_shutdown_without_encoding) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_io.py", line 3760, in test_create_at_shutdown_without_encoding self.assertEqual("ok", out.decode().strip()) ^^^^^^^^^^^ AssertionError: 'ok' != '' - ok ---------------------------------------------------------------------- Ran 644 tests in 14.730s FAILED (failures=6, errors=4, skipped=32) 0:00:14 load avg: 0.41 [1/1/1] test_io failed (4 errors, 6 failures) == Tests result: FAILURE == 1 test failed: test_io Total duration: 14.9 sec Total tests: run=644 failures=6 skipped=32 Total test files: run=1/1 failed=1 Result: FAILURE test test_io failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1749959æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2024426294 0:00:00 load avg: 0.41 Run 1 test sequentially in a single process 0:00:00 load avg: 0.41 [1/1] test_iter test_3720 (test.test_iter.TestCase.test_3720) ... ok test_builtin_filter (test.test_iter.TestCase.test_builtin_filter) ... ok test_builtin_list (test.test_iter.TestCase.test_builtin_list) ... ok test_builtin_map (test.test_iter.TestCase.test_builtin_map) ... ok test_builtin_max_min (test.test_iter.TestCase.test_builtin_max_min) ... ok test_builtin_tuple (test.test_iter.TestCase.test_builtin_tuple) ... ok test_builtin_zip (test.test_iter.TestCase.test_builtin_zip) ... ok test_countOf (test.test_iter.TestCase.test_countOf) ... ok test_error_iter (test.test_iter.TestCase.test_error_iter) ... ok test_exception_function (test.test_iter.TestCase.test_exception_function) ... ok test_exception_locations (test.test_iter.TestCase.test_exception_locations) ... test_exception_locations (test.test_iter.TestCase.test_exception_locations) [<function TestCase.test_exception_locations.<locals>.next_raises at 0x00007fc2257761b0>] ... FAIL test_exception_locations (test.test_iter.TestCase.test_exception_locations) [<function TestCase.test_exception_locations.<locals>.iter_raises at 0x00007fc225776278>] ... FAIL test_exception_sequence (test.test_iter.TestCase.test_exception_sequence) ... ok test_extending_list_with_iterator_does_not_segfault (test.test_iter.TestCase.test_extending_list_with_iterator_does_not_segfault) ... ok test_free_after_iterating (test.test_iter.TestCase.test_free_after_iterating) ... ok test_in_and_not_in (test.test_iter.TestCase.test_in_and_not_in) ... ok test_indexOf (test.test_iter.TestCase.test_indexOf) ... ok test_iter_basic (test.test_iter.TestCase.test_iter_basic) ... ok test_iter_big_range (test.test_iter.TestCase.test_iter_big_range) ... ok test_iter_callable (test.test_iter.TestCase.test_iter_callable) ... ERROR test_iter_class_for (test.test_iter.TestCase.test_iter_class_for) ... ok test_iter_class_iter (test.test_iter.TestCase.test_iter_class_iter) ... ok test_iter_dict (test.test_iter.TestCase.test_iter_dict) ... ok test_iter_empty (test.test_iter.TestCase.test_iter_empty) ... ok test_iter_file (test.test_iter.TestCase.test_iter_file) ... ok test_iter_for_loop (test.test_iter.TestCase.test_iter_for_loop) ... ok test_iter_function (test.test_iter.TestCase.test_iter_function) ... ok test_iter_function_concealing_reentrant_exhaustion (test.test_iter.TestCase.test_iter_function_concealing_reentrant_exhaustion) ... ok test_iter_function_stop (test.test_iter.TestCase.test_iter_function_stop) ... ok test_iter_idempotency (test.test_iter.TestCase.test_iter_idempotency) ... ok test_iter_independence (test.test_iter.TestCase.test_iter_independence) ... ok test_iter_neg_setstate (test.test_iter.TestCase.test_iter_neg_setstate) ... ok test_iter_overflow (test.test_iter.TestCase.test_iter_overflow) ... skipped 'implementation detail specific to cpython' test_iter_range (test.test_iter.TestCase.test_iter_range) ... ok test_iter_string (test.test_iter.TestCase.test_iter_string) ... ok test_iter_tuple (test.test_iter.TestCase.test_iter_tuple) ... ok test_mutating_seq_class_exhausted_iter (test.test_iter.TestCase.test_mutating_seq_class_exhausted_iter) ... ok test_mutating_seq_class_iter_pickle (test.test_iter.TestCase.test_mutating_seq_class_iter_pickle) ... ok test_nested_comprehensions_for (test.test_iter.TestCase.test_nested_comprehensions_for) ... ok test_nested_comprehensions_iter (test.test_iter.TestCase.test_nested_comprehensions_iter) ... ok test_new_style_iter_class (test.test_iter.TestCase.test_new_style_iter_class) ... ok test_reduce_mutating_builtins_iter (test.test_iter.TestCase.test_reduce_mutating_builtins_iter) ... FAIL test_ref_counting_behavior (test.test_iter.TestCase.test_ref_counting_behavior) ... skipped 'implementation detail specific to cpython' test_seq_class_for (test.test_iter.TestCase.test_seq_class_for) ... ok test_seq_class_iter (test.test_iter.TestCase.test_seq_class_iter) ... ok test_sinkstate_callable (test.test_iter.TestCase.test_sinkstate_callable) ... ok test_sinkstate_dict (test.test_iter.TestCase.test_sinkstate_dict) ... ok test_sinkstate_enumerate (test.test_iter.TestCase.test_sinkstate_enumerate) ... ok test_sinkstate_list (test.test_iter.TestCase.test_sinkstate_list) ... ok test_sinkstate_range (test.test_iter.TestCase.test_sinkstate_range) ... ok test_sinkstate_sequence (test.test_iter.TestCase.test_sinkstate_sequence) ... ok test_sinkstate_string (test.test_iter.TestCase.test_sinkstate_string) ... ok test_sinkstate_tuple (test.test_iter.TestCase.test_sinkstate_tuple) ... ok test_sinkstate_yield (test.test_iter.TestCase.test_sinkstate_yield) ... ok test_stop_sequence (test.test_iter.TestCase.test_stop_sequence) ... ok test_unicode_join_endcase (test.test_iter.TestCase.test_unicode_join_endcase) ... ok test_unpack_iter (test.test_iter.TestCase.test_unpack_iter) ... ok test_writelines (test.test_iter.TestCase.test_writelines) ... ok ====================================================================== ERROR: test_iter_callable (test.test_iter.TestCase.test_iter_callable) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_iter.py", line 333, in test_iter_callable self.check_iterator(iter(CallableIterClass(), 10), list(range(10)), pickle=True) ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_iter.py", line 112, in check_iterator self.check_pickle(it, seq) ^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_iter.py", line 134, in check_pickle d = pickle.dumps(itorg, proto) ^^^^^ _pickle.PicklingError: Can't pickle <class '__builtin__._CallableIterator'>: it's not found as __builtin__._CallableIterator ====================================================================== FAIL: test_exception_locations (test.test_iter.TestCase.test_exception_locations) [<function TestCase.test_exception_locations.<locals>.next_raises at 0x00007fc2257761b0>] ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_iter.py", line 1183, in test_exception_locations self.assertEqual(f.end_lineno, co.co_firstlineno + 2) ^^^^^^^^^^^ AssertionError: 1162 != 1161 ====================================================================== FAIL: test_exception_locations (test.test_iter.TestCase.test_exception_locations) [<function TestCase.test_exception_locations.<locals>.iter_raises at 0x00007fc225776278>] ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_iter.py", line 1183, in test_exception_locations self.assertEqual(f.end_lineno, co.co_firstlineno + 2) ^^^^^^^^^^^ AssertionError: 1169 != 1168 ====================================================================== FAIL: test_reduce_mutating_builtins_iter (test.test_iter.TestCase.test_reduce_mutating_builtins_iter) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_iter.py", line 300, in test_reduce_mutating_builtins_iter self.assertEqual(run_iter("xyz"), (orig["iter"], ("",))) ^^^^^^^^^^^ AssertionError: Tuples differ: (<built-in function iter>, ('xyz',), 3) != (<built-in function iter>, ('',)) First differing element 1: ('xyz',) ('',) First tuple contains 1 additional elements. First extra element 2: 3 - (<built-in function iter>, ('xyz',), 3) ? --- --- + (<built-in function iter>, ('',)) ---------------------------------------------------------------------- Ran 57 tests in 0.051s FAILED (failures=3, errors=1, skipped=2) 0:00:00 load avg: 0.41 [1/1/1] test_iter failed (1 error, 3 failures) == Tests result: FAILURE == 1 test failed: test_iter Total duration: 135 ms Total tests: run=57 failures=3 skipped=2 Total test files: run=1/1 failed=1 Result: FAILURE test test_iter failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1749969æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1589582307 0:00:00 load avg: 0.41 Run 1 test sequentially in a single process 0:00:00 load avg: 0.41 [1/1] test_itertools test_repeat (test.test_itertools.LengthTransparency.test_repeat) ... ok test_repeat_with_negative_times (test.test_itertools.LengthTransparency.test_repeat_with_negative_times) ... ok test_issue30347_1 (test.test_itertools.RegressionTests.test_issue30347_1) ... ok test_issue30347_2 (test.test_itertools.RegressionTests.test_issue30347_2) ... ok test_long_chain_of_empty_iterables (test.test_itertools.RegressionTests.test_long_chain_of_empty_iterables) ... skipped "resource 'cpu' is not enabled" test_sf_793826 (test.test_itertools.RegressionTests.test_sf_793826) ... ok test_sf_950057 (test.test_itertools.RegressionTests.test_sf_950057) ... ok test_combinations_sizeof (test.test_itertools.SizeofTest.test_combinations_sizeof) ... skipped 'implementation detail specific to cpython' test_combinations_with_replacement_sizeof (test.test_itertools.SizeofTest.test_combinations_with_replacement_sizeof) ... skipped 'implementation detail specific to cpython' test_permutations_sizeof (test.test_itertools.SizeofTest.test_permutations_sizeof) ... skipped 'implementation detail specific to cpython' test_product_sizeof (test.test_itertools.SizeofTest.test_product_sizeof) ... skipped 'implementation detail specific to cpython' test_keywords_in_subclass (test.test_itertools.SubclassWithKwargsTest.test_keywords_in_subclass) ... ok test_StopIteration (test.test_itertools.TestBasicOps.test_StopIteration) ... ok test_accumulate (test.test_itertools.TestBasicOps.test_accumulate) ... FAIL test_batched (test.test_itertools.TestBasicOps.test_batched) ... ok test_bug_7244 (test.test_itertools.TestBasicOps.test_bug_7244) ... ok test_chain (test.test_itertools.TestBasicOps.test_chain) ... ok test_chain_from_iterable (test.test_itertools.TestBasicOps.test_chain_from_iterable) ... ok test_chain_reducible (test.test_itertools.TestBasicOps.test_chain_reducible) ... FAIL test_chain_setstate (test.test_itertools.TestBasicOps.test_chain_setstate) ... FAIL test_combinations (test.test_itertools.TestBasicOps.test_combinations) ... FAIL test_combinations_overflow (test.test_itertools.TestBasicOps.test_combinations_overflow) ... skipped 'not enough memory: 8589934592.0G minimum needed' test_combinations_result_gc (test.test_itertools.TestBasicOps.test_combinations_result_gc) ... skipped 'implementation detail specific to cpython' test_combinations_tuple_reuse (test.test_itertools.TestBasicOps.test_combinations_tuple_reuse) ... skipped 'tuple reuse is specific to CPython' test_combinations_with_replacement (test.test_itertools.TestBasicOps.test_combinations_with_replacement) ... FAIL test_combinations_with_replacement_overflow (test.test_itertools.TestBasicOps.test_combinations_with_replacement_overflow) ... skipped 'not enough memory: 8589934592.0G minimum needed' test_combinations_with_replacement_result_gc (test.test_itertools.TestBasicOps.test_combinations_with_replacement_result_gc) ... skipped 'implementation detail specific to cpython' test_combinations_with_replacement_tuple_reuse (test.test_itertools.TestBasicOps.test_combinations_with_replacement_tuple_reuse) ... skipped 'tuple reuse is specific to CPython' test_combinatorics (test.test_itertools.TestBasicOps.test_combinatorics) ... ok test_compress (test.test_itertools.TestBasicOps.test_compress) ... FAIL test_count (test.test_itertools.TestBasicOps.test_count) ... FAIL test_count_with_stride (test.test_itertools.TestBasicOps.test_count_with_stride) ... FAIL test_cycle (test.test_itertools.TestBasicOps.test_cycle) ... ok test_cycle_copy_pickle (test.test_itertools.TestBasicOps.test_cycle_copy_pickle) ... FAIL test_cycle_setstate (test.test_itertools.TestBasicOps.test_cycle_setstate) ... FAIL test_cycle_unpickle_compat (test.test_itertools.TestBasicOps.test_cycle_unpickle_compat) ... FAIL test_dropwhile (test.test_itertools.TestBasicOps.test_dropwhile) ... FAIL test_filter (test.test_itertools.TestBasicOps.test_filter) ... ok test_filterfalse (test.test_itertools.TestBasicOps.test_filterfalse) ... FAIL test_groupby (test.test_itertools.TestBasicOps.test_groupby) ... FAIL test_immutable_types (test.test_itertools.TestBasicOps.test_immutable_types) ... skipped 'implementation detail specific to cpython' test_islice (test.test_itertools.TestBasicOps.test_islice) ... FAIL test_map (test.test_itertools.TestBasicOps.test_map) ... FAIL test_pairwise (test.test_itertools.TestBasicOps.test_pairwise) ... ok test_pairwise_reenter (test.test_itertools.TestBasicOps.test_pairwise_reenter) ... ok test_pairwise_reenter2 (test.test_itertools.TestBasicOps.test_pairwise_reenter2) ... ok test_permutations (test.test_itertools.TestBasicOps.test_permutations) ... FAIL test_permutations_overflow (test.test_itertools.TestBasicOps.test_permutations_overflow) ... skipped 'not enough memory: 8589934592.0G minimum needed' test_permutations_result_gc (test.test_itertools.TestBasicOps.test_permutations_result_gc) ... skipped 'implementation detail specific to cpython' test_permutations_tuple_reuse (test.test_itertools.TestBasicOps.test_permutations_tuple_reuse) ... skipped 'tuple reuse is specific to CPython' test_product (test.test_itertools.TestBasicOps.test_product) ... ok test_product_issue_25021 (test.test_itertools.TestBasicOps.test_product_issue_25021) ... FAIL test_product_overflow (test.test_itertools.TestBasicOps.test_product_overflow) ... skipped 'not enough memory: 8589934592.0G minimum needed' test_product_pickling (test.test_itertools.TestBasicOps.test_product_pickling) ... FAIL test_product_result_gc (test.test_itertools.TestBasicOps.test_product_result_gc) ... skipped 'implementation detail specific to cpython' test_product_tuple_reuse (test.test_itertools.TestBasicOps.test_product_tuple_reuse) ... skipped 'tuple reuse is specific to CPython' test_repeat (test.test_itertools.TestBasicOps.test_repeat) ... FAIL test_repeat_with_negative_times (test.test_itertools.TestBasicOps.test_repeat_with_negative_times) ... ok test_starmap (test.test_itertools.TestBasicOps.test_starmap) ... FAIL test_takewhile (test.test_itertools.TestBasicOps.test_takewhile) ... FAIL test_tee (test.test_itertools.TestBasicOps.test_tee) ... FAIL test_tee_concurrent (test.test_itertools.TestBasicOps.test_tee_concurrent) ... ok test_tee_dealloc_segfault (test.test_itertools.TestBasicOps.test_tee_dealloc_segfault) ... ok test_tee_del_backward (test.test_itertools.TestBasicOps.test_tee_del_backward) ... ok test_tee_reenter (test.test_itertools.TestBasicOps.test_tee_reenter) ... ok test_zip (test.test_itertools.TestBasicOps.test_zip) ... ok test_zip_longest_bad_iterable (test.test_itertools.TestBasicOps.test_zip_longest_bad_iterable) ... ok test_zip_longest_pickling (test.test_itertools.TestBasicOps.test_zip_longest_pickling) ... FAIL test_zip_longest_result_gc (test.test_itertools.TestBasicOps.test_zip_longest_result_gc) ... skipped 'implementation detail specific to cpython' test_zip_longest_tuple_reuse (test.test_itertools.TestBasicOps.test_zip_longest_tuple_reuse) ... skipped 'tuple reuse is specific to CPython' test_zip_tuple_reuse (test.test_itertools.TestBasicOps.test_zip_tuple_reuse) ... skipped 'tuple reuse is specific to CPython' test_ziplongest (test.test_itertools.TestBasicOps.test_ziplongest) ... ok test_accumulate (test.test_itertools.TestExamples.test_accumulate) ... ok test_accumulate_reducible (test.test_itertools.TestExamples.test_accumulate_reducible) ... FAIL test_accumulate_reducible_none (test.test_itertools.TestExamples.test_accumulate_reducible_none) ... FAIL test_chain (test.test_itertools.TestExamples.test_chain) ... ok test_chain_from_iterable (test.test_itertools.TestExamples.test_chain_from_iterable) ... ok test_combinations (test.test_itertools.TestExamples.test_combinations) ... ok test_combinations_with_replacement (test.test_itertools.TestExamples.test_combinations_with_replacement) ... ok test_compress (test.test_itertools.TestExamples.test_compress) ... ok test_count (test.test_itertools.TestExamples.test_count) ... ok test_cycle (test.test_itertools.TestExamples.test_cycle) ... ok test_dropwhile (test.test_itertools.TestExamples.test_dropwhile) ... ok test_filter (test.test_itertools.TestExamples.test_filter) ... ok test_filterfalse (test.test_itertools.TestExamples.test_filterfalse) ... ok test_groupby (test.test_itertools.TestExamples.test_groupby) ... ok test_islice (test.test_itertools.TestExamples.test_islice) ... ok test_map (test.test_itertools.TestExamples.test_map) ... ok test_permutations (test.test_itertools.TestExamples.test_permutations) ... ok test_product (test.test_itertools.TestExamples.test_product) ... ok test_repeat (test.test_itertools.TestExamples.test_repeat) ... ok test_stapmap (test.test_itertools.TestExamples.test_stapmap) ... ok test_takewhile (test.test_itertools.TestExamples.test_takewhile) ... ok test_zip (test.test_itertools.TestExamples.test_zip) ... ok test_zip_longest (test.test_itertools.TestExamples.test_zip_longest) ... ok test_accumulate (test.test_itertools.TestGC.test_accumulate) ... ok test_batched (test.test_itertools.TestGC.test_batched) ... ok test_chain (test.test_itertools.TestGC.test_chain) ... ok test_chain_from_iterable (test.test_itertools.TestGC.test_chain_from_iterable) ... ok test_combinations (test.test_itertools.TestGC.test_combinations) ... ok test_combinations_with_replacement (test.test_itertools.TestGC.test_combinations_with_replacement) ... ok test_compress (test.test_itertools.TestGC.test_compress) ... ok test_count (test.test_itertools.TestGC.test_count) ... ok test_cycle (test.test_itertools.TestGC.test_cycle) ... ok test_dropwhile (test.test_itertools.TestGC.test_dropwhile) ... ok test_filter (test.test_itertools.TestGC.test_filter) ... ok test_filterfalse (test.test_itertools.TestGC.test_filterfalse) ... ok test_groupby (test.test_itertools.TestGC.test_groupby) ... ok test_islice (test.test_itertools.TestGC.test_islice) ... ok test_issue2246 (test.test_itertools.TestGC.test_issue2246) ... ok test_map (test.test_itertools.TestGC.test_map) ... ok test_pairwise (test.test_itertools.TestGC.test_pairwise) ... ok test_permutations (test.test_itertools.TestGC.test_permutations) ... ok test_product (test.test_itertools.TestGC.test_product) ... ok test_repeat (test.test_itertools.TestGC.test_repeat) ... ok test_starmap (test.test_itertools.TestGC.test_starmap) ... ok test_takewhile (test.test_itertools.TestGC.test_takewhile) ... ok test_zip (test.test_itertools.TestGC.test_zip) ... ok test_zip_longest (test.test_itertools.TestGC.test_zip_longest) ... ok test_batched_recipe (test.test_itertools.TestPurePythonRoughEquivalents.test_batched_recipe) ... ok test_islice_recipe (test.test_itertools.TestPurePythonRoughEquivalents.test_islice_recipe) ... ok test_tee_recipe (test.test_itertools.TestPurePythonRoughEquivalents.test_tee_recipe) ... ok test_accumulate (test.test_itertools.TestVariousIteratorArgs.test_accumulate) ... ok test_batched (test.test_itertools.TestVariousIteratorArgs.test_batched) ... ok test_chain (test.test_itertools.TestVariousIteratorArgs.test_chain) ... ok test_compress (test.test_itertools.TestVariousIteratorArgs.test_compress) ... ok test_cycle (test.test_itertools.TestVariousIteratorArgs.test_cycle) ... ok test_dropwhile (test.test_itertools.TestVariousIteratorArgs.test_dropwhile) ... ok test_filter (test.test_itertools.TestVariousIteratorArgs.test_filter) ... ok test_filterfalse (test.test_itertools.TestVariousIteratorArgs.test_filterfalse) ... ok test_groupby (test.test_itertools.TestVariousIteratorArgs.test_groupby) ... ok test_islice (test.test_itertools.TestVariousIteratorArgs.test_islice) ... ok test_map (test.test_itertools.TestVariousIteratorArgs.test_map) ... ok test_pairwise (test.test_itertools.TestVariousIteratorArgs.test_pairwise) ... ok test_product (test.test_itertools.TestVariousIteratorArgs.test_product) ... ok test_starmap (test.test_itertools.TestVariousIteratorArgs.test_starmap) ... ok test_takewhile (test.test_itertools.TestVariousIteratorArgs.test_takewhile) ... ok test_tee (test.test_itertools.TestVariousIteratorArgs.test_tee) ... ok test_zip (test.test_itertools.TestVariousIteratorArgs.test_zip) ... ok test_ziplongest (test.test_itertools.TestVariousIteratorArgs.test_ziplongest) ... ok batched (itertools) Doctest: itertools.batched ... ok ====================================================================== FAIL: test_accumulate (test.test_itertools.TestBasicOps.test_accumulate) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_chain_reducible (test.test_itertools.TestBasicOps.test_chain_reducible) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_chain_setstate (test.test_itertools.TestBasicOps.test_chain_setstate) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 29, in inner testfunc(self) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 264, in test_chain_setstate self.assertRaises(TypeError, chain().__setstate__, ([],)) ^^^^^^^^^^^^ AssertionError: TypeError not raised by __setstate__ ====================================================================== FAIL: test_combinations (test.test_itertools.TestBasicOps.test_combinations) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_combinations_with_replacement (test.test_itertools.TestBasicOps.test_combinations_with_replacement) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_compress (test.test_itertools.TestBasicOps.test_compress) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_count (test.test_itertools.TestBasicOps.test_count) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_count_with_stride (test.test_itertools.TestBasicOps.test_count_with_stride) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_cycle_copy_pickle (test.test_itertools.TestBasicOps.test_cycle_copy_pickle) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_cycle_setstate (test.test_itertools.TestBasicOps.test_cycle_setstate) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 29, in inner testfunc(self) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 824, in test_cycle_setstate self.assertEqual(take(20, c), list('defgabcdefgabcdefgab')) ^^^^^^^^^^^ AssertionError: Lists differ: ['b', 'c', 'd', 'e', 'f', 'g', 'a', 'b', 'c[52 chars] 'g'] != ['d', 'e', 'f', 'g', 'a', 'b', 'c', 'd', 'e[52 chars] 'b'] First differing element 0: 'b' 'd' - ['b', ? ^ + ['d', ? ^ - 'c', - 'd', 'e', 'f', 'g', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'a', 'b', 'c', 'd', 'e', 'f', - 'g'] ? ^ + 'g', ? ^ + 'a', + 'b'] ====================================================================== FAIL: test_cycle_unpickle_compat (test.test_itertools.TestBasicOps.test_cycle_unpickle_compat) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_dropwhile (test.test_itertools.TestBasicOps.test_dropwhile) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_filterfalse (test.test_itertools.TestBasicOps.test_filterfalse) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_groupby (test.test_itertools.TestBasicOps.test_groupby) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_islice (test.test_itertools.TestBasicOps.test_islice) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_map (test.test_itertools.TestBasicOps.test_map) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_permutations (test.test_itertools.TestBasicOps.test_permutations) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_product_issue_25021 (test.test_itertools.TestBasicOps.test_product_issue_25021) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_product_pickling (test.test_itertools.TestBasicOps.test_product_pickling) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_repeat (test.test_itertools.TestBasicOps.test_repeat) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_starmap (test.test_itertools.TestBasicOps.test_starmap) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_takewhile (test.test_itertools.TestBasicOps.test_takewhile) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_tee (test.test_itertools.TestBasicOps.test_tee) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_zip_longest_pickling (test.test_itertools.TestBasicOps.test_zip_longest_pickling) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_accumulate_reducible (test.test_itertools.TestExamples.test_accumulate_reducible) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_accumulate_reducible_none (test.test_itertools.TestExamples.test_accumulate_reducible_none) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_itertools.py", line 28, in inner with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ---------------------------------------------------------------------- Ran 141 tests in 2.948s FAILED (failures=26, skipped=21) 0:00:03 load avg: 0.45 [1/1/1] test_itertools failed (26 failures) == Tests result: FAILURE == 1 test failed: test_itertools Total duration: 3.1 sec Total tests: run=141 failures=26 skipped=21 Total test files: run=1/1 failed=1 Result: FAILURE test test_itertools failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1750007æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3551525312 0:00:00 load avg: 0.45 Run 1 test sequentially in a single process 0:00:00 load avg: 0.45 [1/1] test_list test_addmul (test.test_list.ListTest.test_addmul) ... ok test_append (test.test_list.ListTest.test_append) ... ok test_basic (test.test_list.ListTest.test_basic) ... ok test_bigrepeat (test.test_list.ListTest.test_bigrepeat) ... ok test_clear (test.test_list.ListTest.test_clear) ... ok test_constructor_exception_handling (test.test_list.ListTest.test_constructor_exception_handling) ... ok test_constructors (test.test_list.ListTest.test_constructors) ... ok test_contains (test.test_list.ListTest.test_contains) ... ok test_contains_fake (test.test_list.ListTest.test_contains_fake) ... ok test_contains_order (test.test_list.ListTest.test_contains_order) ... ok test_copy (test.test_list.ListTest.test_copy) ... ok test_count (test.test_list.ListTest.test_count) ... ok test_count_index_remove_crashes (test.test_list.ListTest.test_count_index_remove_crashes) ... ok test_delitem (test.test_list.ListTest.test_delitem) ... ok test_delslice (test.test_list.ListTest.test_delslice) ... ok test_equal_operator_modifying_operand (test.test_list.ListTest.test_equal_operator_modifying_operand) ... FAIL test_exhausted_iterator (test.test_list.ListTest.test_exhausted_iterator) ... ok test_extend (test.test_list.ListTest.test_extend) ... ok test_extendedslicing (test.test_list.ListTest.test_extendedslicing) ... ok test_free_after_iterating (test.test_list.ListTest.test_free_after_iterating) ... ok test_getitem (test.test_list.ListTest.test_getitem) ... ok test_getitem_error (test.test_list.ListTest.test_getitem_error) ... ok test_getitemoverwriteiter (test.test_list.ListTest.test_getitemoverwriteiter) ... ok test_getslice (test.test_list.ListTest.test_getslice) ... ok test_iadd (test.test_list.ListTest.test_iadd) ... ok test_identity (test.test_list.ListTest.test_identity) ... ok test_imul (test.test_list.ListTest.test_imul) ... ok test_index (test.test_list.ListTest.test_index) ... ok test_init (test.test_list.ListTest.test_init) ... ok test_insert (test.test_list.ListTest.test_insert) ... ok test_iterator_pickle (test.test_list.ListTest.test_iterator_pickle) ... ok test_keyword_args (test.test_list.ListTest.test_keyword_args) ... ok test_keywords_in_subclass (test.test_list.ListTest.test_keywords_in_subclass) ... ok test_len (test.test_list.ListTest.test_len) ... ok test_list_index_modifing_operand (test.test_list.ListTest.test_list_index_modifing_operand) ... ok test_list_resize_overflow (test.test_list.ListTest.test_list_resize_overflow) ... ok test_lt_operator_modifying_operand (test.test_list.ListTest.test_lt_operator_modifying_operand) ... ok test_minmax (test.test_list.ListTest.test_minmax) ... ok test_no_comdat_folding (test.test_list.ListTest.test_no_comdat_folding) ... ok test_overflow (test.test_list.ListTest.test_overflow) ... ok test_pickle (test.test_list.ListTest.test_pickle) ... ok test_pop (test.test_list.ListTest.test_pop) ... ok test_preallocation (test.test_list.ListTest.test_preallocation) ... skipped 'implementation detail specific to cpython' test_remove (test.test_list.ListTest.test_remove) ... ok test_repeat (test.test_list.ListTest.test_repeat) ... ok test_repr (test.test_list.ListTest.test_repr) ... ok test_repr_deep (test.test_list.ListTest.test_repr_deep) ... ok test_repr_large (test.test_list.ListTest.test_repr_large) ... ok test_reverse (test.test_list.ListTest.test_reverse) ... ok test_reversed (test.test_list.ListTest.test_reversed) ... ok test_reversed_pickle (test.test_list.ListTest.test_reversed_pickle) ... ok test_set_subscript (test.test_list.ListTest.test_set_subscript) ... ok test_setitem (test.test_list.ListTest.test_setitem) ... ok test_setitem_error (test.test_list.ListTest.test_setitem_error) ... ok test_setslice (test.test_list.ListTest.test_setslice) ... ok test_slice (test.test_list.ListTest.test_slice) ... ok test_slice_assign_iterator (test.test_list.ListTest.test_slice_assign_iterator) ... ok test_sort (test.test_list.ListTest.test_sort) ... ok test_step_overflow (test.test_list.ListTest.test_step_overflow) ... ok test_subscript (test.test_list.ListTest.test_subscript) ... ok test_truth (test.test_list.ListTest.test_truth) ... ok ====================================================================== FAIL: test_equal_operator_modifying_operand (test.test_list.ListTest.test_equal_operator_modifying_operand) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_list.py", line 226, in test_equal_operator_modifying_operand self.assertTrue(list1 == list2) ^^^^^^^^^^ AssertionError: False is not true ---------------------------------------------------------------------- Ran 61 tests in 0.085s FAILED (failures=1, skipped=1) 0:00:00 load avg: 0.45 [1/1/1] test_list failed (1 failure) == Tests result: FAILURE == 1 test failed: test_list Total duration: 160 ms Total tests: run=61 failures=1 skipped=1 Total test files: run=1/1 failed=1 Result: FAILURE test test_list failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1750012æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 827514321 0:00:00 load avg: 0.45 Run 1 test sequentially in a single process 0:00:00 load avg: 0.45 [1/1] test_listcomps test_assign_to_comp_iter_var_in_outer_function (test.test_listcomps.ListComprehensionTest.test_assign_to_comp_iter_var_in_outer_function) ... ok test_assignment_expression (test.test_listcomps.ListComprehensionTest.test_assignment_expression) ... ok test_cell_in_nested_comprehension (test.test_listcomps.ListComprehensionTest.test_cell_in_nested_comprehension) ... ok test_cell_inner_free_outer (test.test_listcomps.ListComprehensionTest.test_cell_inner_free_outer) ... ok test_class_scope_free_var_with_class_cell (test.test_listcomps.ListComprehensionTest.test_class_scope_free_var_with_class_cell) ... ok test_closure_can_jump_over_comp_scope (test.test_listcomps.ListComprehensionTest.test_closure_can_jump_over_comp_scope) ... ok test_code_replace (test.test_listcomps.ListComprehensionTest.test_code_replace) ... ok test_code_replace_extended_arg (test.test_listcomps.ListComprehensionTest.test_code_replace_extended_arg) ... ok test_comp_in_try_except (test.test_listcomps.ListComprehensionTest.test_comp_in_try_except) ... ok test_comp_in_try_finally (test.test_listcomps.ListComprehensionTest.test_comp_in_try_finally) ... ok test_dunder_name (test.test_listcomps.ListComprehensionTest.test_dunder_name) ... ok test_exception_in_post_comp_call (test.test_listcomps.ListComprehensionTest.test_exception_in_post_comp_call) ... ok test_exception_locations (test.test_listcomps.ListComprehensionTest.test_exception_locations) ... test_exception_locations (test.test_listcomps.ListComprehensionTest.test_exception_locations) [<function ListComprehensionTest.test_exception_locations.<locals>.next_raises at 0x00007fed82679790>] ... FAIL test_exception_locations (test.test_listcomps.ListComprehensionTest.test_exception_locations) [<function ListComprehensionTest.test_exception_locations.<locals>.iter_raises at 0x00007fed82679858>] ... FAIL test_explicit_global (test.test_listcomps.ListComprehensionTest.test_explicit_global) ... ok test_explicit_global_2 (test.test_listcomps.ListComprehensionTest.test_explicit_global_2) ... ok test_explicit_global_3 (test.test_listcomps.ListComprehensionTest.test_explicit_global_3) ... ok test_frame_locals (test.test_listcomps.ListComprehensionTest.test_frame_locals) ... ok test_free_inner_cell_outer (test.test_listcomps.ListComprehensionTest.test_free_inner_cell_outer) ... ok test_free_var_in_comp_child (test.test_listcomps.ListComprehensionTest.test_free_var_in_comp_child) ... ok test_global_in_class_scope (test.test_listcomps.ListComprehensionTest.test_global_in_class_scope) ... ok test_global_outside_cellvar_inside_plus_freevar (test.test_listcomps.ListComprehensionTest.test_global_outside_cellvar_inside_plus_freevar) ... ok test_in_class_scope_inside_function_1 (test.test_listcomps.ListComprehensionTest.test_in_class_scope_inside_function_1) ... ok test_in_class_scope_inside_function_2 (test.test_listcomps.ListComprehensionTest.test_in_class_scope_inside_function_2) ... ok test_in_class_scope_with_global (test.test_listcomps.ListComprehensionTest.test_in_class_scope_with_global) ... ok test_in_class_scope_with_nonlocal (test.test_listcomps.ListComprehensionTest.test_in_class_scope_with_nonlocal) ... ok test_inner_cell_shadows_outer (test.test_listcomps.ListComprehensionTest.test_inner_cell_shadows_outer) ... ok test_inner_cell_shadows_outer_no_store (test.test_listcomps.ListComprehensionTest.test_inner_cell_shadows_outer_no_store) ... ok test_inner_cell_shadows_outer_redefined (test.test_listcomps.ListComprehensionTest.test_inner_cell_shadows_outer_redefined) ... ok test_introspecting_frame_locals (test.test_listcomps.ListComprehensionTest.test_introspecting_frame_locals) ... ok test_iter_var_available_in_locals (test.test_listcomps.ListComprehensionTest.test_iter_var_available_in_locals) ... ok test_lambda_in_iter (test.test_listcomps.ListComprehensionTest.test_lambda_in_iter) ... ok test_lambdas_with_free_var (test.test_listcomps.ListComprehensionTest.test_lambdas_with_free_var) ... ok test_lambdas_with_iteration_var_as_default (test.test_listcomps.ListComprehensionTest.test_lambdas_with_iteration_var_as_default) ... ok test_multiple_comprehension_name_reuse (test.test_listcomps.ListComprehensionTest.test_multiple_comprehension_name_reuse) ... ok test_name_collision_locals (test.test_listcomps.ListComprehensionTest.test_name_collision_locals) ... ok test_name_error_in_class_scope (test.test_listcomps.ListComprehensionTest.test_name_error_in_class_scope) ... ok test_nameerror (test.test_listcomps.ListComprehensionTest.test_nameerror) ... ok test_nested (test.test_listcomps.ListComprehensionTest.test_nested) ... ok test_nested_2 (test.test_listcomps.ListComprehensionTest.test_nested_2) ... ok test_nested_3 (test.test_listcomps.ListComprehensionTest.test_nested_3) ... ok test_nested_4 (test.test_listcomps.ListComprehensionTest.test_nested_4) ... ok test_nested_free (test.test_listcomps.ListComprehensionTest.test_nested_free) ... ok test_nested_free_var_in_expr (test.test_listcomps.ListComprehensionTest.test_nested_free_var_in_expr) ... ok test_nested_free_var_in_iter (test.test_listcomps.ListComprehensionTest.test_nested_free_var_in_iter) ... ok test_nested_free_var_not_bound_in_outer_comp (test.test_listcomps.ListComprehensionTest.test_nested_free_var_not_bound_in_outer_comp) ... ok test_nested_has_free_var (test.test_listcomps.ListComprehensionTest.test_nested_has_free_var) ... ok test_nested_listcomp_in_lambda (test.test_listcomps.ListComprehensionTest.test_nested_listcomp_in_lambda) ... ok test_no_leakage_to_locals (test.test_listcomps.ListComprehensionTest.test_no_leakage_to_locals) ... ok test_references___class__ (test.test_listcomps.ListComprehensionTest.test_references___class__) ... ok test_references___class___defined (test.test_listcomps.ListComprehensionTest.test_references___class___defined) ... ok test_references___class___enclosing (test.test_listcomps.ListComprehensionTest.test_references___class___enclosing) ... ok test_references_super (test.test_listcomps.ListComprehensionTest.test_references_super) ... ok test_shadow_comp_iterable_name (test.test_listcomps.ListComprehensionTest.test_shadow_comp_iterable_name) ... ok test_shadow_with_free_and_local (test.test_listcomps.ListComprehensionTest.test_shadow_with_free_and_local) ... ok test_shadows_outer_cell (test.test_listcomps.ListComprehensionTest.test_shadows_outer_cell) ... ok test_super_and_class_cell_in_sibling_comps (test.test_listcomps.ListComprehensionTest.test_super_and_class_cell_in_sibling_comps) ... ok test_unbound_local_after_comprehension (test.test_listcomps.ListComprehensionTest.test_unbound_local_after_comprehension) ... ok test_unbound_local_inside_comprehension (test.test_listcomps.ListComprehensionTest.test_unbound_local_inside_comprehension) ... ok doctests (test.test_listcomps.__test__) Doctest: test.test_listcomps.__test__.doctests ... ok ====================================================================== FAIL: test_exception_locations (test.test_listcomps.ListComprehensionTest.test_exception_locations) [<function ListComprehensionTest.test_exception_locations.<locals>.next_raises at 0x00007fed82679790>] ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_listcomps.py", line 762, in test_exception_locations self.assertEqual(f.line[f.colno - indent : f.end_colno - indent], ^^^^^^^^^^^ AssertionError: '[x for x in BrokenIter(next_raises=True)]' != 'BrokenIter(next_raises=True)' - [x for x in BrokenIter(next_raises=True)] ? ------------ - + BrokenIter(next_raises=True) ====================================================================== FAIL: test_exception_locations (test.test_listcomps.ListComprehensionTest.test_exception_locations) [<function ListComprehensionTest.test_exception_locations.<locals>.iter_raises at 0x00007fed82679858>] ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_listcomps.py", line 762, in test_exception_locations self.assertEqual(f.line[f.colno - indent : f.end_colno - indent], ^^^^^^^^^^^ AssertionError: '[x for x in BrokenIter(iter_raises=True)]' != 'BrokenIter(iter_raises=True)' - [x for x in BrokenIter(iter_raises=True)] ? ------------ - + BrokenIter(iter_raises=True) ---------------------------------------------------------------------- Ran 59 tests in 0.100s FAILED (failures=2) 0:00:00 load avg: 0.45 [1/1/1] test_listcomps failed (2 failures) == Tests result: FAILURE == 1 test failed: test_listcomps Total duration: 204 ms Total tests: run=59 failures=2 Total test files: run=1/1 failed=1 Result: FAILURE test test_listcomps failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1750027æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2911608412 0:00:00 load avg: 0.45 Run 1 test sequentially in a single process 0:00:00 load avg: 0.45 [1/1] test_logging test_critical (test.test_logging.BasicConfigTest.test_critical) ... ok test_datefmt (test.test_logging.BasicConfigTest.test_datefmt) ... ok test_debug (test.test_logging.BasicConfigTest.test_debug) ... ok test_encoding (test.test_logging.BasicConfigTest.test_encoding) ... ok test_encoding_errors (test.test_logging.BasicConfigTest.test_encoding_errors) ... ok test_encoding_errors_default (test.test_logging.BasicConfigTest.test_encoding_errors_default) ... ok test_encoding_errors_none (test.test_logging.BasicConfigTest.test_encoding_errors_none) ... ok test_error (test.test_logging.BasicConfigTest.test_error) ... ok test_filemode (test.test_logging.BasicConfigTest.test_filemode) ... ok test_filename (test.test_logging.BasicConfigTest.test_filename) ... ok test_force (test.test_logging.BasicConfigTest.test_force) ... ok test_format (test.test_logging.BasicConfigTest.test_format) ... ok test_handlers (test.test_logging.BasicConfigTest.test_handlers) ... ok test_incompatible (test.test_logging.BasicConfigTest.test_incompatible) ... ok test_info (test.test_logging.BasicConfigTest.test_info) ... ok test_level (test.test_logging.BasicConfigTest.test_level) ... ok test_log (test.test_logging.BasicConfigTest.test_log) ... ok test_log_taskName (test.test_logging.BasicConfigTest.test_log_taskName) ... ok test_no_kwargs (test.test_logging.BasicConfigTest.test_no_kwargs) ... ok test_stream (test.test_logging.BasicConfigTest.test_stream) ... ok test_strformatstyle (test.test_logging.BasicConfigTest.test_strformatstyle) ... ok test_stringtemplatestyle (test.test_logging.BasicConfigTest.test_stringtemplatestyle) ... ok test_style (test.test_logging.BasicConfigTest.test_style) ... ok test_warning (test.test_logging.BasicConfigTest.test_warning) ... ok test_callable_filter (test.test_logging.BasicFilterTest.test_callable_filter) ... ok test_empty_filter (test.test_logging.BasicFilterTest.test_empty_filter) ... ok test_filter (test.test_logging.BasicFilterTest.test_filter) ... ok test_custom (test.test_logging.BufferingFormatterTest.test_custom) ... ok test_default (test.test_logging.BufferingFormatterTest.test_default) ... ok test_flat (test.test_logging.BuiltinLevelsTest.test_flat) ... ok test_issue27935 (test.test_logging.BuiltinLevelsTest.test_issue27935) ... ok test_nested_explicit (test.test_logging.BuiltinLevelsTest.test_nested_explicit) ... ok test_nested_inherited (test.test_logging.BuiltinLevelsTest.test_nested_inherited) ... ok test_nested_with_virtual_parent (test.test_logging.BuiltinLevelsTest.test_nested_with_virtual_parent) ... ok test_regression_22386 (test.test_logging.BuiltinLevelsTest.test_regression_22386) See issue #22386 for more information. ... ok test_regression_29220 (test.test_logging.BuiltinLevelsTest.test_regression_29220) See issue #29220 for more information. ... ok test_child_loggers (test.test_logging.ChildLoggerTest.test_child_loggers) ... ok test_get_children (test.test_logging.ChildLoggerTest.test_get_children) ... ok test_111615 (test.test_logging.ConfigDictTest.test_111615) ... ok test_90195 (test.test_logging.ConfigDictTest.test_90195) ... ok test_bad_format (test.test_logging.ConfigDictTest.test_bad_format) ... ok test_bad_format_with_dollar_style (test.test_logging.ConfigDictTest.test_bad_format_with_dollar_style) ... ok test_baseconfig (test.test_logging.ConfigDictTest.test_baseconfig) ... ok test_config0_ok (test.test_logging.ConfigDictTest.test_config0_ok) ... ok test_config11_ok (test.test_logging.ConfigDictTest.test_config11_ok) ... ok test_config12_failure (test.test_logging.ConfigDictTest.test_config12_failure) ... ok test_config13_failure (test.test_logging.ConfigDictTest.test_config13_failure) ... ok test_config14_ok (test.test_logging.ConfigDictTest.test_config14_ok) ... ok test_config15_ok (test.test_logging.ConfigDictTest.test_config15_ok) ... ok test_config16_ok (test.test_logging.ConfigDictTest.test_config16_ok) ... ok test_config17_ok (test.test_logging.ConfigDictTest.test_config17_ok) ... ok test_config18_ok (test.test_logging.ConfigDictTest.test_config18_ok) ... ok test_config1_ok (test.test_logging.ConfigDictTest.test_config1_ok) ... ok test_config2_failure (test.test_logging.ConfigDictTest.test_config2_failure) ... ok test_config2a_failure (test.test_logging.ConfigDictTest.test_config2a_failure) ... ok test_config2b_failure (test.test_logging.ConfigDictTest.test_config2b_failure) ... ok test_config3_failure (test.test_logging.ConfigDictTest.test_config3_failure) ... ok test_config4_ok (test.test_logging.ConfigDictTest.test_config4_ok) ... ok test_config4a_ok (test.test_logging.ConfigDictTest.test_config4a_ok) ... ok test_config5_ok (test.test_logging.ConfigDictTest.test_config5_ok) ... ok test_config6_failure (test.test_logging.ConfigDictTest.test_config6_failure) ... ok test_config7_ok (test.test_logging.ConfigDictTest.test_config7_ok) ... ok test_config_10_ok (test.test_logging.ConfigDictTest.test_config_10_ok) ... ok test_config_8_ok (test.test_logging.ConfigDictTest.test_config_8_ok) ... ok test_config_8a_ok (test.test_logging.ConfigDictTest.test_config_8a_ok) ... ok test_config_9_ok (test.test_logging.ConfigDictTest.test_config_9_ok) ... ok test_config_callable_filter_works (test.test_logging.ConfigDictTest.test_config_callable_filter_works) ... ok test_config_filter_method_works (test.test_logging.ConfigDictTest.test_config_filter_method_works) ... ok test_config_filter_works (test.test_logging.ConfigDictTest.test_config_filter_works) ... ok test_config_queue_handler (test.test_logging.ConfigDictTest.test_config_queue_handler) ... ok test_config_queue_handler_does_not_create_multiprocessing_manager (test.test_logging.ConfigDictTest.test_config_queue_handler_does_not_create_multiprocessing_manager) ... ok test_config_queue_handler_invalid_config_does_not_create_multiprocessing_manager (test.test_logging.ConfigDictTest.test_config_queue_handler_invalid_config_does_not_create_multiprocessing_manager) ... ok test_config_queue_handler_multiprocessing_context (test.test_logging.ConfigDictTest.test_config_queue_handler_multiprocessing_context) ... skipped 'requires a debug build for testingassertions in multiprocessing' test_config_reject_simple_queue_handler_multiprocessing_context (test.test_logging.ConfigDictTest.test_config_reject_simple_queue_handler_multiprocessing_context) ... skipped 'requires a debug build for testing assertions in multiprocessing' test_custom_formatter_class_with_validate (test.test_logging.ConfigDictTest.test_custom_formatter_class_with_validate) ... ok test_custom_formatter_class_with_validate2 (test.test_logging.ConfigDictTest.test_custom_formatter_class_with_validate2) ... ok test_custom_formatter_class_with_validate2_with_wrong_fmt (test.test_logging.ConfigDictTest.test_custom_formatter_class_with_validate2_with_wrong_fmt) ... ok test_custom_formatter_class_with_validate3 (test.test_logging.ConfigDictTest.test_custom_formatter_class_with_validate3) ... ok test_custom_formatter_function_with_defaults (test.test_logging.ConfigDictTest.test_custom_formatter_function_with_defaults) ... ok test_custom_formatter_function_with_validate (test.test_logging.ConfigDictTest.test_custom_formatter_function_with_validate) ... ok test_invalid_type_raises (test.test_logging.ConfigDictTest.test_invalid_type_raises) ... ok test_kwargs_passing (test.test_logging.ConfigDictTest.test_kwargs_passing) ... ok test_listen_config_10_ok (test.test_logging.ConfigDictTest.test_listen_config_10_ok) ... ok test_listen_config_1_ok (test.test_logging.ConfigDictTest.test_listen_config_1_ok) ... ok test_listen_verify (test.test_logging.ConfigDictTest.test_listen_verify) ... ok test_multiprocessing_queues (test.test_logging.ConfigDictTest.test_multiprocessing_queues) ... ok test_namedtuple (test.test_logging.ConfigDictTest.test_namedtuple) ... ok test_config0_ok (test.test_logging.ConfigFileTest.test_config0_ok) ... ok test_config0_using_cp_ok (test.test_logging.ConfigFileTest.test_config0_using_cp_ok) ... ok test_config1_ok (test.test_logging.ConfigFileTest.test_config1_ok) ... ok test_config2_failure (test.test_logging.ConfigFileTest.test_config2_failure) ... ok test_config3_failure (test.test_logging.ConfigFileTest.test_config3_failure) ... ok test_config4_ok (test.test_logging.ConfigFileTest.test_config4_ok) ... ok test_config5_ok (test.test_logging.ConfigFileTest.test_config5_ok) ... ok test_config6_ok (test.test_logging.ConfigFileTest.test_config6_ok) ... ok test_config7_ok (test.test_logging.ConfigFileTest.test_config7_ok) ... ok test_config8_ok (test.test_logging.ConfigFileTest.test_config8_ok) ... ok test_config9_ok (test.test_logging.ConfigFileTest.test_config9_ok) ... ok test_config_set_handler_names (test.test_logging.ConfigFileTest.test_config_set_handler_names) ... ok test_defaults_do_no_interpolation (test.test_logging.ConfigFileTest.test_defaults_do_no_interpolation) bpo-33802 defaults should not get interpolated ... ok test_exception_if_confg_file_is_empty (test.test_logging.ConfigFileTest.test_exception_if_confg_file_is_empty) ... ok test_exception_if_confg_file_is_invalid (test.test_logging.ConfigFileTest.test_exception_if_confg_file_is_invalid) ... ok test_exception_if_config_file_does_not_exist (test.test_logging.ConfigFileTest.test_exception_if_config_file_does_not_exist) ... ok test_logger_disabling (test.test_logging.ConfigFileTest.test_logger_disabling) ... ok test_handler_filter (test.test_logging.CustomLevelsAndFiltersTest.test_handler_filter) ... ok test_handler_filter_replaces_record (test.test_logging.CustomLevelsAndFiltersTest.test_handler_filter_replaces_record) ... ok test_logger_filter (test.test_logging.CustomLevelsAndFiltersTest.test_logger_filter) ... ok test_logging_filter_replaces_record (test.test_logging.CustomLevelsAndFiltersTest.test_logging_filter_replaces_record) ... ok test_specific_filters (test.test_logging.CustomLevelsAndFiltersTest.test_specific_filters) ... ok test_output (test.test_logging.DatagramHandlerTest.test_output) ... ok test_encoding_cyrillic_unicode (test.test_logging.EncodingTest.test_encoding_cyrillic_unicode) ... ok test_encoding_plain_file (test.test_logging.EncodingTest.test_encoding_plain_file) ... ok test_formatting (test.test_logging.ExceptionTest.test_formatting) ... ok test_delay (test.test_logging.FileHandlerTest.test_delay) ... ok test_emit_after_closing_in_write_mode (test.test_logging.FileHandlerTest.test_emit_after_closing_in_write_mode) ... ok test_braces (test.test_logging.FormatterTest.test_braces) ... ok test_default_msec_format_none (test.test_logging.FormatterTest.test_default_msec_format_none) ... ok test_defaults_parameter (test.test_logging.FormatterTest.test_defaults_parameter) ... ok test_dollars (test.test_logging.FormatterTest.test_dollars) ... ok test_format_validate (test.test_logging.FormatterTest.test_format_validate) ... ok test_invalid_style (test.test_logging.FormatterTest.test_invalid_style) ... ok test_issue_89047 (test.test_logging.FormatterTest.test_issue_89047) ... ok test_percent (test.test_logging.FormatterTest.test_percent) ... ok test_time (test.test_logging.FormatterTest.test_time) ... ok test_output (test.test_logging.HTTPHandlerTest.test_output) ... ok test_builtin_handlers (test.test_logging.HandlerTest.test_builtin_handlers) ... ok test_name (test.test_logging.HandlerTest.test_name) ... ok test_pathlike_objects (test.test_logging.HandlerTest.test_pathlike_objects) Test that path-like objects are accepted as filename arguments to handlers. ... ok test_post_fork_child_no_deadlock (test.test_logging.HandlerTest.test_post_fork_child_no_deadlock) Ensure child logging locks are not held; bpo-6721 & bpo-36533. ... ok test_race (test.test_logging.HandlerTest.test_race) ... skipped "resource 'walltime' is not enabled" test_output (test.test_logging.IPv6SysLogHandlerTest.test_output) ... ok test_udp_reconnection (test.test_logging.IPv6SysLogHandlerTest.test_udp_reconnection) ... ok test_last_resort (test.test_logging.LastResortTest.test_last_resort) ... ok test_logrecord_class (test.test_logging.LogRecordFactoryTest.test_logrecord_class) ... ok test_dict_arg (test.test_logging.LogRecordTest.test_dict_arg) ... ok test_multiprocessing (test.test_logging.LogRecordTest.test_multiprocessing) ... ok test_optional (test.test_logging.LogRecordTest.test_optional) ... ok test_str_rep (test.test_logging.LogRecordTest.test_str_rep) ... ok test_taskName_with_asyncio_imported (test.test_logging.LogRecordTest.test_taskName_with_asyncio_imported) ... ok test_taskName_without_asyncio_imported (test.test_logging.LogRecordTest.test_taskName_without_asyncio_imported) ... ok test_critical (test.test_logging.LoggerAdapterTest.test_critical) ... ok test_exception (test.test_logging.LoggerAdapterTest.test_exception) ... ok test_exception_excinfo (test.test_logging.LoggerAdapterTest.test_exception_excinfo) ... ok test_extra_in_records (test.test_logging.LoggerAdapterTest.test_extra_in_records) ... ok test_extra_not_merged_by_default (test.test_logging.LoggerAdapterTest.test_extra_not_merged_by_default) ... ok test_find_caller_with_stacklevel (test.test_logging.LoggerAdapterTest.test_find_caller_with_stacklevel) ... ok test_has_handlers (test.test_logging.LoggerAdapterTest.test_has_handlers) ... ok test_is_enabled_for (test.test_logging.LoggerAdapterTest.test_is_enabled_for) ... ok test_nested (test.test_logging.LoggerAdapterTest.test_nested) ... ok test_nested_styled_adapter (test.test_logging.LoggerAdapterTest.test_nested_styled_adapter) ... ok test_styled_adapter (test.test_logging.LoggerAdapterTest.test_styled_adapter) ... ok test_caching (test.test_logging.LoggerTest.test_caching) ... ok test_exception (test.test_logging.LoggerTest.test_exception) ... ok test_find_caller_with_stack_info (test.test_logging.LoggerTest.test_find_caller_with_stack_info) ... ok test_find_caller_with_stacklevel (test.test_logging.LoggerTest.test_find_caller_with_stacklevel) ... ok test_has_handlers (test.test_logging.LoggerTest.test_has_handlers) ... ok test_has_handlers_no_propagate (test.test_logging.LoggerTest.test_has_handlers_no_propagate) ... ok test_invalid_names (test.test_logging.LoggerTest.test_invalid_names) ... ok test_is_enabled_for (test.test_logging.LoggerTest.test_is_enabled_for) ... ok test_is_enabled_for_disabled_logger (test.test_logging.LoggerTest.test_is_enabled_for_disabled_logger) ... ok test_log_invalid_level_no_raise (test.test_logging.LoggerTest.test_log_invalid_level_no_raise) ... ok test_log_invalid_level_with_raise (test.test_logging.LoggerTest.test_log_invalid_level_with_raise) ... ok test_make_record_with_extra_no_overwrite (test.test_logging.LoggerTest.test_make_record_with_extra_no_overwrite) ... ok test_make_record_with_extra_overwrite (test.test_logging.LoggerTest.test_make_record_with_extra_overwrite) ... ok test_pickling (test.test_logging.LoggerTest.test_pickling) ... ok test_root_logger_aliases (test.test_logging.LoggerTest.test_root_logger_aliases) ... ok test_set_invalid_level (test.test_logging.LoggerTest.test_set_invalid_level) ... ok test_manager_loggerclass (test.test_logging.ManagerTest.test_manager_loggerclass) ... ok test_set_log_record_factory (test.test_logging.ManagerTest.test_set_log_record_factory) ... ok test_flush (test.test_logging.MemoryHandlerTest.test_flush) ... ok test_flush_on_close (test.test_logging.MemoryHandlerTest.test_flush_on_close) Test that the flush-on-close configuration works as expected. ... ok test_race_between_set_target_and_flush (test.test_logging.MemoryHandlerTest.test_race_between_set_target_and_flush) ... ok test_shutdown_flush_on_close (test.test_logging.MemoryHandlerTest.test_shutdown_flush_on_close) Test that the flush-on-close configuration is respected by the ... ok test_persistent_loggers (test.test_logging.MemoryTest.test_persistent_loggers) ... ok test__all__ (test.test_logging.MiscTestCase.test__all__) ... ok test_critical (test.test_logging.ModuleLevelMiscTest.test_critical) ... ok test_debug (test.test_logging.ModuleLevelMiscTest.test_debug) ... ok test_disable (test.test_logging.ModuleLevelMiscTest.test_disable) ... ok test_error (test.test_logging.ModuleLevelMiscTest.test_error) ... ok test_get_level_names_mapping (test.test_logging.ModuleLevelMiscTest.test_get_level_names_mapping) ... ok test_info (test.test_logging.ModuleLevelMiscTest.test_info) ... ok test_log (test.test_logging.ModuleLevelMiscTest.test_log) ... ok test_logging_at_shutdown (test.test_logging.ModuleLevelMiscTest.test_logging_at_shutdown) ... FAIL test_logging_at_shutdown_open (test.test_logging.ModuleLevelMiscTest.test_logging_at_shutdown_open) ... FAIL test_recursion_error (test.test_logging.ModuleLevelMiscTest.test_recursion_error) ... ok test_set_logger_class (test.test_logging.ModuleLevelMiscTest.test_set_logger_class) ... ok test_subclass_logger_cache (test.test_logging.ModuleLevelMiscTest.test_subclass_logger_cache) ... ok test_warning (test.test_logging.ModuleLevelMiscTest.test_warning) ... ok test_basic (test.test_logging.NTEventLogHandlerTest.test_basic) ... skipped 'win32evtlog/win32evtlogutil/pywintypes required for this test.' test_formatting (test.test_logging.QueueHandlerTest.test_formatting) ... ok test_queue_handler (test.test_logging.QueueHandlerTest.test_queue_handler) ... ok test_queue_listener (test.test_logging.QueueHandlerTest.test_queue_listener) ... ok test_queue_listener_with_StreamHandler (test.test_logging.QueueHandlerTest.test_queue_listener_with_StreamHandler) ... ok test_queue_listener_with_multiple_handlers (test.test_logging.QueueHandlerTest.test_queue_listener_with_multiple_handlers) ... ok test_calls_task_done_after_stop (test.test_logging.QueueListenerTest.test_calls_task_done_after_stop) ... ok test_handle_called_with_mp_queue (test.test_logging.QueueListenerTest.test_handle_called_with_mp_queue) ... ok test_handle_called_with_queue_queue (test.test_logging.QueueListenerTest.test_handle_called_with_queue_queue) ... ok test_no_messages_in_queue_after_stop (test.test_logging.QueueListenerTest.test_no_messages_in_queue_after_stop) Five messages are logged then the QueueListener is stopped. This ... ok test_file_created (test.test_logging.RotatingFileHandlerTest.test_file_created) ... ok test_max_bytes (test.test_logging.RotatingFileHandlerTest.test_max_bytes) ... ok test_max_bytes_delay (test.test_logging.RotatingFileHandlerTest.test_max_bytes_delay) ... ok test_namer_rotator_inheritance (test.test_logging.RotatingFileHandlerTest.test_namer_rotator_inheritance) ... ok test_rollover_filenames (test.test_logging.RotatingFileHandlerTest.test_rollover_filenames) ... ok test_rotator (test.test_logging.RotatingFileHandlerTest.test_rotator) ... ok test_should_not_rollover (test.test_logging.RotatingFileHandlerTest.test_should_not_rollover) ... ok test_should_not_rollover_non_file (test.test_logging.RotatingFileHandlerTest.test_should_not_rollover_non_file) ... ok test_should_rollover (test.test_logging.RotatingFileHandlerTest.test_should_rollover) ... ok test_basic (test.test_logging.SMTPHandlerTest.test_basic) ... ok test_no_failure (test.test_logging.ShutdownTest.test_no_failure) ... ok test_with_ioerror_in_acquire (test.test_logging.ShutdownTest.test_with_ioerror_in_acquire) ... ok test_with_ioerror_in_close (test.test_logging.ShutdownTest.test_with_ioerror_in_close) ... ok test_with_ioerror_in_flush (test.test_logging.ShutdownTest.test_with_ioerror_in_flush) ... ok test_with_other_error_in_acquire_with_raise (test.test_logging.ShutdownTest.test_with_other_error_in_acquire_with_raise) ... ok test_with_other_error_in_acquire_without_raise (test.test_logging.ShutdownTest.test_with_other_error_in_acquire_without_raise) ... ok test_with_other_error_in_close_with_raise (test.test_logging.ShutdownTest.test_with_other_error_in_close_with_raise) ... ok test_with_other_error_in_close_without_raise (test.test_logging.ShutdownTest.test_with_other_error_in_close_without_raise) ... ok test_with_other_error_in_flush_with_raise (test.test_logging.ShutdownTest.test_with_other_error_in_flush_with_raise) ... ok test_with_other_error_in_flush_without_raise (test.test_logging.ShutdownTest.test_with_other_error_in_flush_without_raise) ... ok test_with_valueerror_in_acquire (test.test_logging.ShutdownTest.test_with_valueerror_in_acquire) ... ok test_with_valueerror_in_close (test.test_logging.ShutdownTest.test_with_valueerror_in_close) ... ok test_with_valueerror_in_flush (test.test_logging.ShutdownTest.test_with_valueerror_in_flush) ... ok test_noserver (test.test_logging.SocketHandlerTest.test_noserver) ... ok test_output (test.test_logging.SocketHandlerTest.test_output) ... ok test_can_represent_stream_with_int_name (test.test_logging.StreamHandlerTest.test_can_represent_stream_with_int_name) ... ok test_error_handling (test.test_logging.StreamHandlerTest.test_error_handling) ... ok test_stream_setting (test.test_logging.StreamHandlerTest.test_stream_setting) Test setting the handler's stream ... ok test_output (test.test_logging.SysLogHandlerTest.test_output) ... ok test_udp_reconnection (test.test_logging.SysLogHandlerTest.test_udp_reconnection) ... ok test_compute_files_to_delete (test.test_logging.TimedRotatingFileHandlerTest.test_compute_files_to_delete) ... ok test_compute_files_to_delete_same_filename_different_extensions (test.test_logging.TimedRotatingFileHandlerTest.test_compute_files_to_delete_same_filename_different_extensions) ... ok test_compute_rollover_D (test.test_logging.TimedRotatingFileHandlerTest.test_compute_rollover_D) ... ok test_compute_rollover_D_interval (test.test_logging.TimedRotatingFileHandlerTest.test_compute_rollover_D_interval) ... ok test_compute_rollover_H (test.test_logging.TimedRotatingFileHandlerTest.test_compute_rollover_H) ... ok test_compute_rollover_H_interval (test.test_logging.TimedRotatingFileHandlerTest.test_compute_rollover_H_interval) ... ok test_compute_rollover_M (test.test_logging.TimedRotatingFileHandlerTest.test_compute_rollover_M) ... ok test_compute_rollover_MIDNIGHT (test.test_logging.TimedRotatingFileHandlerTest.test_compute_rollover_MIDNIGHT) ... ok test_compute_rollover_MIDNIGHT_interval (test.test_logging.TimedRotatingFileHandlerTest.test_compute_rollover_MIDNIGHT_interval) ... ok test_compute_rollover_MIDNIGHT_local (test.test_logging.TimedRotatingFileHandlerTest.test_compute_rollover_MIDNIGHT_local) ... ok test_compute_rollover_MIDNIGHT_local_interval (test.test_logging.TimedRotatingFileHandlerTest.test_compute_rollover_MIDNIGHT_local_interval) ... ok test_compute_rollover_M_interval (test.test_logging.TimedRotatingFileHandlerTest.test_compute_rollover_M_interval) ... ok test_compute_rollover_S (test.test_logging.TimedRotatingFileHandlerTest.test_compute_rollover_S) ... ok test_compute_rollover_S_interval (test.test_logging.TimedRotatingFileHandlerTest.test_compute_rollover_S_interval) ... ok test_compute_rollover_W0 (test.test_logging.TimedRotatingFileHandlerTest.test_compute_rollover_W0) ... ok test_compute_rollover_W0_interval (test.test_logging.TimedRotatingFileHandlerTest.test_compute_rollover_W0_interval) ... ok test_compute_rollover_W6_local (test.test_logging.TimedRotatingFileHandlerTest.test_compute_rollover_W6_local) ... ok test_compute_rollover_W6_local_interval (test.test_logging.TimedRotatingFileHandlerTest.test_compute_rollover_W6_local_interval) ... ok test_compute_rollover_daily_attime (test.test_logging.TimedRotatingFileHandlerTest.test_compute_rollover_daily_attime) ... ok test_compute_rollover_weekly_attime (test.test_logging.TimedRotatingFileHandlerTest.test_compute_rollover_weekly_attime) ... ok test_invalid (test.test_logging.TimedRotatingFileHandlerTest.test_invalid) ... ok test_rollover (test.test_logging.TimedRotatingFileHandlerTest.test_rollover) ... ok test_rollover_at_midnight (test.test_logging.TimedRotatingFileHandlerTest.test_rollover_at_midnight) ... ok test_rollover_at_weekday (test.test_logging.TimedRotatingFileHandlerTest.test_rollover_at_weekday) ... ok test_should_not_rollover (test.test_logging.TimedRotatingFileHandlerTest.test_should_not_rollover) ... ok test_output (test.test_logging.UnixDatagramHandlerTest.test_output) ... ok test_noserver (test.test_logging.UnixSocketHandlerTest.test_noserver) ... ok test_output (test.test_logging.UnixSocketHandlerTest.test_output) ... ok test_output (test.test_logging.UnixSysLogHandlerTest.test_output) ... ok test_udp_reconnection (test.test_logging.UnixSysLogHandlerTest.test_udp_reconnection) ... ok test_warnings (test.test_logging.WarningsTest.test_warnings) ... ok test_warnings_no_handlers (test.test_logging.WarningsTest.test_warnings_no_handlers) ... ok ====================================================================== FAIL: test_logging_at_shutdown (test.test_logging.ModuleLevelMiscTest.test_logging_at_shutdown) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_logging.py", line 5066, in test_logging_at_shutdown self.assertIn("exception in __del__", err) ^^^^^^^^ AssertionError: 'exception in __del__' not found in '' ====================================================================== FAIL: test_logging_at_shutdown_open (test.test_logging.ModuleLevelMiscTest.test_logging_at_shutdown_open) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_logging.py", line 5098, in test_logging_at_shutdown_open self.assertEqual(fp.read().rstrip(), "ERROR:root:log in __del__") ^^^^^^^^^^^ AssertionError: '' != 'ERROR:root:log in __del__' + ERROR:root:log in __del__ ---------------------------------------------------------------------- Ran 260 tests in 14.996s FAILED (failures=2, skipped=4) 0:00:15 load avg: 0.45 [1/1/1] test_logging failed (2 failures) == Tests result: FAILURE == 1 test failed: test_logging Total duration: 15.3 sec Total tests: run=260 failures=2 skipped=4 Total test files: run=1/1 failed=1 Result: FAILURE test test_logging failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1750231æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2265899045 0:00:00 load avg: 0.45 Run 1 test sequentially in a single process 0:00:00 load avg: 0.45 [1/1] test_long test___sizeof__ (test.test_long.LongTest.test___sizeof__) ... ERROR test__format__ (test.test_long.LongTest.test__format__) ... ok test_access_to_nonexistent_digit_0 (test.test_long.LongTest.test_access_to_nonexistent_digit_0) ... ok test_as_integer_ratio (test.test_long.LongTest.test_as_integer_ratio) ... ok test_big_lshift (test.test_long.LongTest.test_big_lshift) ... ok test_big_rshift (test.test_long.LongTest.test_big_rshift) ... ok test_bit_count (test.test_long.LongTest.test_bit_count) ... ok test_bit_length (test.test_long.LongTest.test_bit_length) ... ok test_bitop_identities (test.test_long.LongTest.test_bitop_identities) ... ok test_conversion (test.test_long.LongTest.test_conversion) ... ok test_correctly_rounded_true_division (test.test_long.LongTest.test_correctly_rounded_true_division) ... ok test_division (test.test_long.LongTest.test_division) ... ok test_divmod_uses_cached_small_ints (test.test_long.LongTest.test_divmod_uses_cached_small_ints) ... skipped 'implementation detail specific to cpython' test_float_conversion (test.test_long.LongTest.test_float_conversion) ... ok test_float_overflow (test.test_long.LongTest.test_float_overflow) ... ok test_floordiv (test.test_long.LongTest.test_floordiv) ... ok test_format (test.test_long.LongTest.test_format) ... ok test_from_bytes (test.test_long.LongTest.test_from_bytes) ... ok test_from_bytes_small (test.test_long.LongTest.test_from_bytes_small) ... skipped 'implementation detail specific to cpython' test_huge_lshift (test.test_long.LongTest.test_huge_lshift) ... skipped 'implementation detail specific to cpython' test_huge_lshift_of_zero (test.test_long.LongTest.test_huge_lshift_of_zero) ... skipped 'implementation detail specific to cpython' test_huge_rshift (test.test_long.LongTest.test_huge_rshift) ... ok test_huge_rshift_of_huge (test.test_long.LongTest.test_huge_rshift_of_huge) ... skipped 'implementation detail specific to cpython' test_is_integer (test.test_long.LongTest.test_is_integer) ... ERROR test_karatsuba (test.test_long.LongTest.test_karatsuba) ... ok test_logs (test.test_long.LongTest.test_logs) ... ok test_long (test.test_long.LongTest.test_long) ... ok test_lshift_of_zero (test.test_long.LongTest.test_lshift_of_zero) ... ok test_medium_lshift (test.test_long.LongTest.test_medium_lshift) ... ok test_medium_rshift (test.test_long.LongTest.test_medium_rshift) ... ok test_mixed_compares (test.test_long.LongTest.test_mixed_compares) ... ok test_mod_division (test.test_long.LongTest.test_mod_division) ... ok test_nan_inf (test.test_long.LongTest.test_nan_inf) ... ok test_negative_shift_count (test.test_long.LongTest.test_negative_shift_count) ... ok test_pow_uses_cached_small_ints (test.test_long.LongTest.test_pow_uses_cached_small_ints) ... skipped 'implementation detail specific to cpython' test_round (test.test_long.LongTest.test_round) ... ok test_shift_bool (test.test_long.LongTest.test_shift_bool) ... ok test_small_ints (test.test_long.LongTest.test_small_ints) ... ok test_small_ints_in_huge_calculation (test.test_long.LongTest.test_small_ints_in_huge_calculation) ... skipped 'implementation detail specific to cpython' test_small_lshift (test.test_long.LongTest.test_small_lshift) ... ok test_small_rshift (test.test_long.LongTest.test_small_rshift) ... ok test_square (test.test_long.LongTest.test_square) ... ok test_to_bytes (test.test_long.LongTest.test_to_bytes) ... ok test_true_division (test.test_long.LongTest.test_true_division) ... ok ====================================================================== ERROR: test___sizeof__ (test.test_long.LongTest.test___sizeof__) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_long.py", line 1605, in test___sizeof__ self.assertEqual(int.__itemsize__, sys.int_info.sizeof_digit) ^^^^^^^^^^^^ AttributeError: type object 'int' has no attribute '__itemsize__' ====================================================================== ERROR: test_is_integer (test.test_long.LongTest.test_is_integer) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_long.py", line 1557, in test_is_integer self.assertTrue((-1).is_integer()) ^^^^^^^^^^ AttributeError: 'int' object has no attribute 'is_integer' ---------------------------------------------------------------------- Ran 44 tests in 1.498s FAILED (errors=2, skipped=7) 0:00:01 load avg: 0.45 [1/1/1] test_long failed (2 errors) == Tests result: FAILURE == 1 test failed: test_long Total duration: 1.6 sec Total tests: run=44 skipped=7 Total test files: run=1/1 failed=1 Result: FAILURE test test_long failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1750241æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2474314125 0:00:00 load avg: 0.45 Run 1 test sequentially in a single process 0:00:00 load avg: 0.45 [1/1] test_lzma test_bad_args (test.test_lzma.CompressDecompressFunctionTestCase.test_bad_args) ... ok test_decompress_bad_input (test.test_lzma.CompressDecompressFunctionTestCase.test_decompress_bad_input) ... ok test_decompress_good_input (test.test_lzma.CompressDecompressFunctionTestCase.test_decompress_good_input) ... ok test_decompress_incomplete_input (test.test_lzma.CompressDecompressFunctionTestCase.test_decompress_incomplete_input) ... ok test_decompress_memlimit (test.test_lzma.CompressDecompressFunctionTestCase.test_decompress_memlimit) ... ok test_decompress_multistream (test.test_lzma.CompressDecompressFunctionTestCase.test_decompress_multistream) ... ok test_decompress_multistream_trailing_junk (test.test_lzma.CompressDecompressFunctionTestCase.test_decompress_multistream_trailing_junk) ... ok test_decompress_trailing_junk (test.test_lzma.CompressDecompressFunctionTestCase.test_decompress_trailing_junk) ... ok test_roundtrip (test.test_lzma.CompressDecompressFunctionTestCase.test_roundtrip) ... ok test_bad_filter_spec (test.test_lzma.CompressorDecompressorTestCase.test_bad_filter_spec) ... ok test_compressor_bigmem (test.test_lzma.CompressorDecompressorTestCase.test_compressor_bigmem) ... ok test_decompressor_after_eof (test.test_lzma.CompressorDecompressorTestCase.test_decompressor_after_eof) ... ok test_decompressor_alone (test.test_lzma.CompressorDecompressorTestCase.test_decompressor_alone) ... ok test_decompressor_auto (test.test_lzma.CompressorDecompressorTestCase.test_decompressor_auto) ... ok test_decompressor_bad_input (test.test_lzma.CompressorDecompressorTestCase.test_decompressor_bad_input) ... ok test_decompressor_bigmem (test.test_lzma.CompressorDecompressorTestCase.test_decompressor_bigmem) ... ok test_decompressor_bug_28275 (test.test_lzma.CompressorDecompressorTestCase.test_decompressor_bug_28275) ... ok test_decompressor_chunks (test.test_lzma.CompressorDecompressorTestCase.test_decompressor_chunks) ... ok test_decompressor_chunks_empty (test.test_lzma.CompressorDecompressorTestCase.test_decompressor_chunks_empty) ... ok test_decompressor_chunks_maxsize (test.test_lzma.CompressorDecompressorTestCase.test_decompressor_chunks_maxsize) ... ok test_decompressor_inputbuf_1 (test.test_lzma.CompressorDecompressorTestCase.test_decompressor_inputbuf_1) ... ok test_decompressor_inputbuf_2 (test.test_lzma.CompressorDecompressorTestCase.test_decompressor_inputbuf_2) ... ok test_decompressor_inputbuf_3 (test.test_lzma.CompressorDecompressorTestCase.test_decompressor_inputbuf_3) ... ok test_decompressor_memlimit (test.test_lzma.CompressorDecompressorTestCase.test_decompressor_memlimit) ... ok test_decompressor_multistream (test.test_lzma.CompressorDecompressorTestCase.test_decompressor_multistream) ... ok test_decompressor_raw_1 (test.test_lzma.CompressorDecompressorTestCase.test_decompressor_raw_1) ... ok test_decompressor_raw_2 (test.test_lzma.CompressorDecompressorTestCase.test_decompressor_raw_2) ... ok test_decompressor_raw_3 (test.test_lzma.CompressorDecompressorTestCase.test_decompressor_raw_3) ... ok test_decompressor_raw_4 (test.test_lzma.CompressorDecompressorTestCase.test_decompressor_raw_4) ... ok test_decompressor_unused_data (test.test_lzma.CompressorDecompressorTestCase.test_decompressor_unused_data) ... ok test_decompressor_xz (test.test_lzma.CompressorDecompressorTestCase.test_decompressor_xz) ... ok test_pickle (test.test_lzma.CompressorDecompressorTestCase.test_pickle) ... ok test_refleaks_in_decompressor___init__ (test.test_lzma.CompressorDecompressorTestCase.test_refleaks_in_decompressor___init__) ... skipped 'implementation detail specific to cpython' test_roundtrip_alone (test.test_lzma.CompressorDecompressorTestCase.test_roundtrip_alone) ... ok test_roundtrip_chunks (test.test_lzma.CompressorDecompressorTestCase.test_roundtrip_chunks) ... ok test_roundtrip_empty_chunks (test.test_lzma.CompressorDecompressorTestCase.test_roundtrip_empty_chunks) ... ok test_roundtrip_raw (test.test_lzma.CompressorDecompressorTestCase.test_roundtrip_raw) ... ok test_roundtrip_raw_empty (test.test_lzma.CompressorDecompressorTestCase.test_roundtrip_raw_empty) ... ok test_roundtrip_xz (test.test_lzma.CompressorDecompressorTestCase.test_roundtrip_xz) ... ok test_simple_bad_args (test.test_lzma.CompressorDecompressorTestCase.test_simple_bad_args) ... ok test_uninitialized_LZMADecompressor_crash (test.test_lzma.CompressorDecompressorTestCase.test_uninitialized_LZMADecompressor_crash) ... ERROR test_close (test.test_lzma.FileTestCase.test_close) ... ok test_closed (test.test_lzma.FileTestCase.test_closed) ... ok test_decompress_limited (test.test_lzma.FileTestCase.test_decompress_limited) Decompressed data buffering should be limited ... ok test_fileno (test.test_lzma.FileTestCase.test_fileno) ... ok test_init (test.test_lzma.FileTestCase.test_init) ... ok test_init_bad_check (test.test_lzma.FileTestCase.test_init_bad_check) ... ok test_init_bad_filter_spec (test.test_lzma.FileTestCase.test_init_bad_filter_spec) ... ok test_init_bad_mode (test.test_lzma.FileTestCase.test_init_bad_mode) ... ok test_init_bad_preset (test.test_lzma.FileTestCase.test_init_bad_preset) ... ok test_init_mode (test.test_lzma.FileTestCase.test_init_mode) ... ok test_init_with_PathLike_filename (test.test_lzma.FileTestCase.test_init_with_PathLike_filename) ... ok test_init_with_filename (test.test_lzma.FileTestCase.test_init_with_filename) ... ok test_init_with_preset_and_filters (test.test_lzma.FileTestCase.test_init_with_preset_and_filters) ... ok test_init_with_x_mode (test.test_lzma.FileTestCase.test_init_with_x_mode) ... ok test_issue21872 (test.test_lzma.FileTestCase.test_issue21872) ... ok test_issue44439 (test.test_lzma.FileTestCase.test_issue44439) ... ok test_iterator (test.test_lzma.FileTestCase.test_iterator) ... ok test_peek (test.test_lzma.FileTestCase.test_peek) ... ok test_peek_bad_args (test.test_lzma.FileTestCase.test_peek_bad_args) ... ok test_read (test.test_lzma.FileTestCase.test_read) ... ok test_read1 (test.test_lzma.FileTestCase.test_read1) ... ok test_read1_0 (test.test_lzma.FileTestCase.test_read1_0) ... ok test_read1_10 (test.test_lzma.FileTestCase.test_read1_10) ... ok test_read1_bad_args (test.test_lzma.FileTestCase.test_read1_bad_args) ... ok test_read1_multistream (test.test_lzma.FileTestCase.test_read1_multistream) ... ok test_read_0 (test.test_lzma.FileTestCase.test_read_0) ... ok test_read_10 (test.test_lzma.FileTestCase.test_read_10) ... ok test_read_bad_args (test.test_lzma.FileTestCase.test_read_bad_args) ... ok test_read_bad_data (test.test_lzma.FileTestCase.test_read_bad_data) ... ok test_read_from_file (test.test_lzma.FileTestCase.test_read_from_file) ... ok test_read_from_file_with_bytes_filename (test.test_lzma.FileTestCase.test_read_from_file_with_bytes_filename) ... ok test_read_from_fileobj (test.test_lzma.FileTestCase.test_read_from_fileobj) ... ok test_read_from_fileobj_with_int_name (test.test_lzma.FileTestCase.test_read_from_fileobj_with_int_name) ... ok test_read_incomplete (test.test_lzma.FileTestCase.test_read_incomplete) ... ok test_read_multistream (test.test_lzma.FileTestCase.test_read_multistream) ... ok test_read_multistream_buffer_size_aligned (test.test_lzma.FileTestCase.test_read_multistream_buffer_size_aligned) ... ok test_read_multistream_trailing_junk (test.test_lzma.FileTestCase.test_read_multistream_trailing_junk) ... ok test_read_trailing_junk (test.test_lzma.FileTestCase.test_read_trailing_junk) ... ok test_read_truncated (test.test_lzma.FileTestCase.test_read_truncated) ... ok test_readable (test.test_lzma.FileTestCase.test_readable) ... ok test_readline (test.test_lzma.FileTestCase.test_readline) ... ok test_readlines (test.test_lzma.FileTestCase.test_readlines) ... ok test_seek_backward (test.test_lzma.FileTestCase.test_seek_backward) ... ok test_seek_backward_across_streams (test.test_lzma.FileTestCase.test_seek_backward_across_streams) ... ok test_seek_backward_relative_to_end (test.test_lzma.FileTestCase.test_seek_backward_relative_to_end) ... ok test_seek_bad_args (test.test_lzma.FileTestCase.test_seek_bad_args) ... ok test_seek_forward (test.test_lzma.FileTestCase.test_seek_forward) ... ok test_seek_forward_across_streams (test.test_lzma.FileTestCase.test_seek_forward_across_streams) ... ok test_seek_forward_relative_to_current (test.test_lzma.FileTestCase.test_seek_forward_relative_to_current) ... ok test_seek_forward_relative_to_end (test.test_lzma.FileTestCase.test_seek_forward_relative_to_end) ... ok test_seek_past_end (test.test_lzma.FileTestCase.test_seek_past_end) ... ok test_seek_past_start (test.test_lzma.FileTestCase.test_seek_past_start) ... ok test_seekable (test.test_lzma.FileTestCase.test_seekable) ... ok test_tell (test.test_lzma.FileTestCase.test_tell) ... ok test_tell_bad_args (test.test_lzma.FileTestCase.test_tell_bad_args) ... ok test_writable (test.test_lzma.FileTestCase.test_writable) ... ok test_write (test.test_lzma.FileTestCase.test_write) ... ok test_write_10 (test.test_lzma.FileTestCase.test_write_10) ... ok test_write_append (test.test_lzma.FileTestCase.test_write_append) ... ok test_write_append_to_file (test.test_lzma.FileTestCase.test_write_append_to_file) ... ok test_write_bad_args (test.test_lzma.FileTestCase.test_write_bad_args) ... ok test_write_to_file (test.test_lzma.FileTestCase.test_write_to_file) ... ok test_write_to_file_with_bytes_filename (test.test_lzma.FileTestCase.test_write_to_file_with_bytes_filename) ... ok test_write_to_fileobj (test.test_lzma.FileTestCase.test_write_to_fileobj) ... ok test_write_to_fileobj_with_int_name (test.test_lzma.FileTestCase.test_write_to_fileobj_with_int_name) ... ok test_writelines (test.test_lzma.FileTestCase.test_writelines) ... ok test__decode_filter_properties (test.test_lzma.MiscellaneousTestCase.test__decode_filter_properties) ... ok test__encode_filter_properties (test.test_lzma.MiscellaneousTestCase.test__encode_filter_properties) ... ok test_filter_properties_roundtrip (test.test_lzma.MiscellaneousTestCase.test_filter_properties_roundtrip) ... ok test_is_check_supported (test.test_lzma.MiscellaneousTestCase.test_is_check_supported) ... ok test_bad_params (test.test_lzma.OpenTestCase.test_bad_params) ... ok test_binary_modes (test.test_lzma.OpenTestCase.test_binary_modes) ... ok test_encoding (test.test_lzma.OpenTestCase.test_encoding) ... ok test_encoding_error_handler (test.test_lzma.OpenTestCase.test_encoding_error_handler) ... ok test_filename (test.test_lzma.OpenTestCase.test_filename) ... ok test_format_and_filters (test.test_lzma.OpenTestCase.test_format_and_filters) ... ok test_newline (test.test_lzma.OpenTestCase.test_newline) ... ok test_text_modes (test.test_lzma.OpenTestCase.test_text_modes) ... ok test_with_pathlike_filename (test.test_lzma.OpenTestCase.test_with_pathlike_filename) ... ok test_x_mode (test.test_lzma.OpenTestCase.test_x_mode) ... ok ====================================================================== ERROR: test_uninitialized_LZMADecompressor_crash (test.test_lzma.CompressorDecompressorTestCase.test_uninitialized_LZMADecompressor_crash) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_lzma.py", line 384, in test_uninitialized_LZMADecompressor_crash decompress(bytes()), b'') ^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_lzma.py", line 595, in decompress with self.lock: ^^^^ AttributeError: 'LZMADecompressor' object has no attribute 'lock' ---------------------------------------------------------------------- Ran 121 tests in 0.505s FAILED (errors=1, skipped=1) 0:00:00 load avg: 0.45 [1/1/1] test_lzma failed (1 error) == Tests result: FAILURE == 1 test failed: test_lzma Total duration: 605 ms Total tests: run=121 skipped=1 Total test files: run=1/1 failed=1 Result: FAILURE test test_lzma failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1750260æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 742399353 0:00:00 load avg: 0.61 Run 1 test sequentially in a single process 0:00:00 load avg: 0.61 [1/1] test_marshal 0:00:00 load avg: 0.61 [1/1/1] test_marshal failed (uncaught exception) == Tests result: FAILURE == 1 test failed: test_marshal Total duration: 74 ms Total tests: run=0 Total test files: run=1/1 failed=1 Result: FAILURE test test_marshal crashed -- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc _load_run_test(result, runtests) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 128, in _load_run_test test_mod = importlib.import_module(module_name) ^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<builtin>/frozen importlib._bootstrap_external", line 1011, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_marshal.py", line 386, in <module> class LargeValuesTestCase(unittest.TestCase): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_marshal.py", line 407, in LargeValuesTestCase memuse=pointer_size*12 + sys.getsizeof(LARGE_SIZE-1), ^^^^^^^^^ TypeError: getsizeof(...) getsizeof(object, default) -> int Return the size of object in bytes. sys.getsizeof(object, default) will always return default on PyPy, and raise a TypeError if default is not provided. First note that the CPython documentation says that this function may raise a TypeError, so if you are seeing it, it means that the program you are using is not correctly handling this case. On PyPy, though, it always raises TypeError. Before looking for alternatives, please take a moment to read the following explanation as to why it is the case. What you are looking for may not be possible. A memory profiler using this function is most likely to give results inconsistent with reality on PyPy. It would be possible to have sys.getsizeof() return a number (with enough work), but that may or may not represent how much memory the object uses. It doesn't even make really sense to ask how much *one* object uses, in isolation with the rest of the system. For example, instances have maps, which are often shared across many instances; in this case the maps would probably be ignored by an implementation of sys.getsizeof(), but their overhead is important in some cases if they are many instances with unique maps. Conversely, equal strings may share their internal string data even if they are different objects---or empty containers may share parts of their internals as long as they are empty. Even stranger, some lists create objects as you read them; if you try to estimate the size in memory of range(10**6) as the sum of all items' size, that operation will by itself create one million integer objects that never existed in the first place. _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1750265æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2657793731 0:00:00 load avg: 0.61 Run 1 test sequentially in a single process 0:00:00 load avg: 0.61 [1/1] test_math test_asymmetry (test.test_math.IsCloseTests.test_asymmetry) ... ok test_decimals (test.test_math.IsCloseTests.test_decimals) ... ok test_eight_decimal_places (test.test_math.IsCloseTests.test_eight_decimal_places) ... ok test_fractions (test.test_math.IsCloseTests.test_fractions) ... ok test_identical (test.test_math.IsCloseTests.test_identical) ... ok test_identical_infinite (test.test_math.IsCloseTests.test_identical_infinite) ... ok test_inf_ninf_nan (test.test_math.IsCloseTests.test_inf_ninf_nan) ... ok test_integers (test.test_math.IsCloseTests.test_integers) ... ok test_near_zero (test.test_math.IsCloseTests.test_near_zero) ... ok test_negative_tolerances (test.test_math.IsCloseTests.test_negative_tolerances) ... ok test_zero_tolerance (test.test_math.IsCloseTests.test_zero_tolerance) ... ok testAcos (test.test_math.MathTests.testAcos) ... ok testAcosh (test.test_math.MathTests.testAcosh) ... ok testAsin (test.test_math.MathTests.testAsin) ... ok testAsinh (test.test_math.MathTests.testAsinh) ... ok testAtan (test.test_math.MathTests.testAtan) ... ok testAtan2 (test.test_math.MathTests.testAtan2) ... ok testAtanh (test.test_math.MathTests.testAtanh) ... ok testCbrt (test.test_math.MathTests.testCbrt) ... ok testCeil (test.test_math.MathTests.testCeil) ... ok testComb (test.test_math.MathTests.testComb) ... ok testConstants (test.test_math.MathTests.testConstants) ... ok testCopysign (test.test_math.MathTests.testCopysign) ... ok testCos (test.test_math.MathTests.testCos) ... ok testCosh (test.test_math.MathTests.testCosh) ... ok testDegrees (test.test_math.MathTests.testDegrees) ... ok testDist (test.test_math.MathTests.testDist) ... ok testExp (test.test_math.MathTests.testExp) ... ok testExp2 (test.test_math.MathTests.testExp2) ... ok testFabs (test.test_math.MathTests.testFabs) ... ok testFactorial (test.test_math.MathTests.testFactorial) ... ok testFactorialHugeInputs (test.test_math.MathTests.testFactorialHugeInputs) ... skipped 'implementation detail specific to cpython' testFactorialNonIntegers (test.test_math.MathTests.testFactorialNonIntegers) ... ok testFloor (test.test_math.MathTests.testFloor) ... ok testFmod (test.test_math.MathTests.testFmod) ... ok testFrexp (test.test_math.MathTests.testFrexp) ... ok testFsum (test.test_math.MathTests.testFsum) ... ok testGcd (test.test_math.MathTests.testGcd) ... ok testHypot (test.test_math.MathTests.testHypot) ... ok testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) ... ok testIsfinite (test.test_math.MathTests.testIsfinite) ... ok testIsinf (test.test_math.MathTests.testIsinf) ... ok testIsnan (test.test_math.MathTests.testIsnan) ... ok testIsqrt (test.test_math.MathTests.testIsqrt) ... ok testLdexp (test.test_math.MathTests.testLdexp) ... ok testLog (test.test_math.MathTests.testLog) ... ok testLog10 (test.test_math.MathTests.testLog10) ... ok testLog1p (test.test_math.MathTests.testLog1p) ... ok testLog2 (test.test_math.MathTests.testLog2) ... ok testLog2Exact (test.test_math.MathTests.testLog2Exact) ... ok testModf (test.test_math.MathTests.testModf) ... ok testPerm (test.test_math.MathTests.testPerm) ... ok testPow (test.test_math.MathTests.testPow) ... ok testRadians (test.test_math.MathTests.testRadians) ... ok testRemainder (test.test_math.MathTests.testRemainder) ... ok testSin (test.test_math.MathTests.testSin) ... ok testSinh (test.test_math.MathTests.testSinh) ... ok testSqrt (test.test_math.MathTests.testSqrt) ... ok testSumProd (test.test_math.MathTests.testSumProd) ... ok testTan (test.test_math.MathTests.testTan) ... ok testTanh (test.test_math.MathTests.testTanh) ... ok testTanhSign (test.test_math.MathTests.testTanhSign) ... ok test_exceptions (test.test_math.MathTests.test_exceptions) ... ok test_inf_constant (test.test_math.MathTests.test_inf_constant) ... ok test_input_exceptions (test.test_math.MathTests.test_input_exceptions) ... ok test_issue39871 (test.test_math.MathTests.test_issue39871) ... ok test_lcm (test.test_math.MathTests.test_lcm) ... FAIL test_math_dist_leak (test.test_math.MathTests.test_math_dist_leak) ... ok test_mtestfile (test.test_math.MathTests.test_mtestfile) ... FAIL test_nan_constant (test.test_math.MathTests.test_nan_constant) ... ok test_nextafter (test.test_math.MathTests.test_nextafter) ... ERROR test_prod (test.test_math.MathTests.test_prod) ... ok test_sumprod_accuracy (test.test_math.MathTests.test_sumprod_accuracy) ... skipped 'implementation detail specific to cpython' test_sumprod_extended_precision_accuracy (test.test_math.MathTests.test_sumprod_extended_precision_accuracy) ... skipped 'implementation detail specific to cpython' test_sumprod_stress (test.test_math.MathTests.test_sumprod_stress) ... skipped "resource 'cpu' is not enabled" test_testfile (test.test_math.MathTests.test_testfile) ... ok test_trunc (test.test_math.MathTests.test_trunc) ... ok test_ulp (test.test_math.MathTests.test_ulp) ... ok /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/ieee754.txt Doctest: ieee754.txt ... ok ====================================================================== ERROR: test_nextafter (test.test_math.MathTests.test_nextafter) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_math.py", line 2400, in test_nextafter self.assertEqual(math.nextafter(1.0, -INF, steps=1), ^^^^^^^^^ TypeError: nextafter() takes no keyword arguments ====================================================================== FAIL: test_lcm (test.test_math.MathTests.test_lcm) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_math.py", line 1169, in test_lcm self.assertRaises(TypeError, lcm, 120, 0, 84.0) ^^^^^^^^^^^^ AssertionError: TypeError not raised by lcm ====================================================================== FAIL: test_mtestfile (test.test_math.MathTests.test_mtestfile) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_math.py", line 2144, in test_mtestfile self.fail('Failures in test_mtestfile:\n ' + ^^^^ AssertionError: Failures in test_mtestfile: gam0128: gamma(-201.0001): expected 0.0, got -0.0 (zero has wrong sign) gam0129: gamma(-202.9999): expected -0.0, got 0.0 (zero has wrong sign) gam0130: gamma(-1000.5): expected -0.0, got 0.0 (zero has wrong sign) gam0131: gamma(-1000000000.3): expected -0.0, got 0.0 (zero has wrong sign) gam0132: gamma(-4503599627370495.5): expected 0.0, got -0.0 (zero has wrong sign) ---------------------------------------------------------------------- Ran 79 tests in 1.518s FAILED (failures=2, errors=1, skipped=4) 0:00:01 load avg: 0.61 [1/1/1] test_math failed (1 error, 2 failures) == Tests result: FAILURE == 1 test failed: test_math Total duration: 1.6 sec Total tests: run=79 failures=2 skipped=4 Total test files: run=1/1 failed=1 Result: FAILURE test test_math failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1750275æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2819146218 0:00:00 load avg: 0.61 Run 1 test sequentially in a single process 0:00:00 load avg: 0.61 [1/1] test_memoryio testInit (test.test_memoryio.CBytesIOTest.testInit) ... ok testRead (test.test_memoryio.CBytesIOTest.testRead) ... ok testReadNoArgs (test.test_memoryio.CBytesIOTest.testReadNoArgs) ... ok testSeek (test.test_memoryio.CBytesIOTest.testSeek) ... ok testTell (test.test_memoryio.CBytesIOTest.testTell) ... ok test_bytes_array (test.test_memoryio.CBytesIOTest.test_bytes_array) ... ok test_cow_mutable (test.test_memoryio.CBytesIOTest.test_cow_mutable) ... skipped 'implementation detail specific to cpython' test_cow_setstate (test.test_memoryio.CBytesIOTest.test_cow_setstate) ... skipped 'implementation detail specific to cpython' test_cow_truncate (test.test_memoryio.CBytesIOTest.test_cow_truncate) ... skipped 'implementation detail specific to cpython' test_cow_write (test.test_memoryio.CBytesIOTest.test_cow_write) ... skipped 'implementation detail specific to cpython' test_detach (test.test_memoryio.CBytesIOTest.test_detach) ... ok test_flags (test.test_memoryio.CBytesIOTest.test_flags) ... ok test_flush (test.test_memoryio.CBytesIOTest.test_flush) ... ok test_getbuffer (test.test_memoryio.CBytesIOTest.test_getbuffer) ... FAIL test_getbuffer_empty (test.test_memoryio.CBytesIOTest.test_getbuffer_empty) ... ok test_getbuffer_gc_collect (test.test_memoryio.CBytesIOTest.test_getbuffer_gc_collect) ... ok test_getstate (test.test_memoryio.CBytesIOTest.test_getstate) ... ok test_getvalue (test.test_memoryio.CBytesIOTest.test_getvalue) ... ok test_init (test.test_memoryio.CBytesIOTest.test_init) ... ok test_instance_dict_leak (test.test_memoryio.CBytesIOTest.test_instance_dict_leak) ... ok test_issue5449 (test.test_memoryio.CBytesIOTest.test_issue5449) ... ok test_iterator (test.test_memoryio.CBytesIOTest.test_iterator) ... ok test_overseek (test.test_memoryio.CBytesIOTest.test_overseek) ... ok test_pickling (test.test_memoryio.CBytesIOTest.test_pickling) ... ok test_read (test.test_memoryio.CBytesIOTest.test_read) ... ok test_read1 (test.test_memoryio.CBytesIOTest.test_read1) ... ok test_readinto (test.test_memoryio.CBytesIOTest.test_readinto) ... ok test_readline (test.test_memoryio.CBytesIOTest.test_readline) ... ok test_readlines (test.test_memoryio.CBytesIOTest.test_readlines) ... ok test_relative_seek (test.test_memoryio.CBytesIOTest.test_relative_seek) ... ok test_seek (test.test_memoryio.CBytesIOTest.test_seek) ... ok test_setstate (test.test_memoryio.CBytesIOTest.test_setstate) ... ok test_sizeof (test.test_memoryio.CBytesIOTest.test_sizeof) ... skipped 'implementation detail specific to cpython' test_subclassing (test.test_memoryio.CBytesIOTest.test_subclassing) ... ok test_tell (test.test_memoryio.CBytesIOTest.test_tell) ... ok test_truncate (test.test_memoryio.CBytesIOTest.test_truncate) ... ok test_unicode (test.test_memoryio.CBytesIOTest.test_unicode) ... ok test_write (test.test_memoryio.CBytesIOTest.test_write) ... ok test_writelines (test.test_memoryio.CBytesIOTest.test_writelines) ... ok test_writelines_error (test.test_memoryio.CBytesIOTest.test_writelines_error) ... ok test_issue5265 (test.test_memoryio.CStringIOPickleTest.test_issue5265) ... ok test_newline_argument (test.test_memoryio.CStringIOPickleTest.test_newline_argument) ... ok test_newline_cr (test.test_memoryio.CStringIOPickleTest.test_newline_cr) ... ok test_newline_crlf (test.test_memoryio.CStringIOPickleTest.test_newline_crlf) ... ok test_newline_default (test.test_memoryio.CStringIOPickleTest.test_newline_default) ... ok test_newline_empty (test.test_memoryio.CStringIOPickleTest.test_newline_empty) ... ok test_newline_lf (test.test_memoryio.CStringIOPickleTest.test_newline_lf) ... ok test_newline_none (test.test_memoryio.CStringIOPickleTest.test_newline_none) ... ok test_newlines_property (test.test_memoryio.CStringIOPickleTest.test_newlines_property) ... ok test_relative_seek (test.test_memoryio.CStringIOPickleTest.test_relative_seek) ... ok test_textio_properties (test.test_memoryio.CStringIOPickleTest.test_textio_properties) ... ok testInit (test.test_memoryio.CStringIOTest.testInit) ... ok testRead (test.test_memoryio.CStringIOTest.testRead) ... ok testReadNoArgs (test.test_memoryio.CStringIOTest.testReadNoArgs) ... ok testSeek (test.test_memoryio.CStringIOTest.testSeek) ... ok testTell (test.test_memoryio.CStringIOTest.testTell) ... ok test_detach (test.test_memoryio.CStringIOTest.test_detach) ... ok test_flags (test.test_memoryio.CStringIOTest.test_flags) ... ok test_flush (test.test_memoryio.CStringIOTest.test_flush) ... ok test_getstate (test.test_memoryio.CStringIOTest.test_getstate) ... ok test_getvalue (test.test_memoryio.CStringIOTest.test_getvalue) ... ok test_init (test.test_memoryio.CStringIOTest.test_init) ... ok test_instance_dict_leak (test.test_memoryio.CStringIOTest.test_instance_dict_leak) ... ok test_issue5265 (test.test_memoryio.CStringIOTest.test_issue5265) ... ok test_iterator (test.test_memoryio.CStringIOTest.test_iterator) ... ok test_lone_surrogates (test.test_memoryio.CStringIOTest.test_lone_surrogates) ... ok test_newline_argument (test.test_memoryio.CStringIOTest.test_newline_argument) ... ok test_newline_cr (test.test_memoryio.CStringIOTest.test_newline_cr) ... ok test_newline_crlf (test.test_memoryio.CStringIOTest.test_newline_crlf) ... ok test_newline_default (test.test_memoryio.CStringIOTest.test_newline_default) ... ok test_newline_empty (test.test_memoryio.CStringIOTest.test_newline_empty) ... ok test_newline_lf (test.test_memoryio.CStringIOTest.test_newline_lf) ... ok test_newline_none (test.test_memoryio.CStringIOTest.test_newline_none) ... ok test_newlines_property (test.test_memoryio.CStringIOTest.test_newlines_property) ... ok test_overseek (test.test_memoryio.CStringIOTest.test_overseek) ... ok test_pickling (test.test_memoryio.CStringIOTest.test_pickling) ... ok test_read (test.test_memoryio.CStringIOTest.test_read) ... ok test_readline (test.test_memoryio.CStringIOTest.test_readline) ... ok test_readlines (test.test_memoryio.CStringIOTest.test_readlines) ... ok test_relative_seek (test.test_memoryio.CStringIOTest.test_relative_seek) ... ok test_seek (test.test_memoryio.CStringIOTest.test_seek) ... ok test_setstate (test.test_memoryio.CStringIOTest.test_setstate) ... ok test_subclassing (test.test_memoryio.CStringIOTest.test_subclassing) ... ok test_tell (test.test_memoryio.CStringIOTest.test_tell) ... ok test_textio_properties (test.test_memoryio.CStringIOTest.test_textio_properties) ... ok test_truncate (test.test_memoryio.CStringIOTest.test_truncate) ... ok test_widechar (test.test_memoryio.CStringIOTest.test_widechar) ... ok test_write (test.test_memoryio.CStringIOTest.test_write) ... ok test_writelines (test.test_memoryio.CStringIOTest.test_writelines) ... ok test_writelines_error (test.test_memoryio.CStringIOTest.test_writelines_error) ... ok testInit (test.test_memoryio.PyBytesIOTest.testInit) ... ok testRead (test.test_memoryio.PyBytesIOTest.testRead) ... ok testReadNoArgs (test.test_memoryio.PyBytesIOTest.testReadNoArgs) ... ok testSeek (test.test_memoryio.PyBytesIOTest.testSeek) ... ok testTell (test.test_memoryio.PyBytesIOTest.testTell) ... ok test_bytes_array (test.test_memoryio.PyBytesIOTest.test_bytes_array) ... ok test_detach (test.test_memoryio.PyBytesIOTest.test_detach) ... ok test_flags (test.test_memoryio.PyBytesIOTest.test_flags) ... ok test_flush (test.test_memoryio.PyBytesIOTest.test_flush) ... ok test_getbuffer (test.test_memoryio.PyBytesIOTest.test_getbuffer) ... ok test_getbuffer_empty (test.test_memoryio.PyBytesIOTest.test_getbuffer_empty) ... ok test_getbuffer_gc_collect (test.test_memoryio.PyBytesIOTest.test_getbuffer_gc_collect) ... ok test_getvalue (test.test_memoryio.PyBytesIOTest.test_getvalue) ... ok test_init (test.test_memoryio.PyBytesIOTest.test_init) ... ok test_instance_dict_leak (test.test_memoryio.PyBytesIOTest.test_instance_dict_leak) ... ok test_issue5449 (test.test_memoryio.PyBytesIOTest.test_issue5449) ... ok test_iterator (test.test_memoryio.PyBytesIOTest.test_iterator) ... ok test_overseek (test.test_memoryio.PyBytesIOTest.test_overseek) ... ok test_pickling (test.test_memoryio.PyBytesIOTest.test_pickling) ... ok test_read (test.test_memoryio.PyBytesIOTest.test_read) ... ok test_read1 (test.test_memoryio.PyBytesIOTest.test_read1) ... ok test_readinto (test.test_memoryio.PyBytesIOTest.test_readinto) ... ok test_readline (test.test_memoryio.PyBytesIOTest.test_readline) ... ok test_readlines (test.test_memoryio.PyBytesIOTest.test_readlines) ... ok test_relative_seek (test.test_memoryio.PyBytesIOTest.test_relative_seek) ... ok test_seek (test.test_memoryio.PyBytesIOTest.test_seek) ... ok test_subclassing (test.test_memoryio.PyBytesIOTest.test_subclassing) ... ok test_tell (test.test_memoryio.PyBytesIOTest.test_tell) ... ok test_truncate (test.test_memoryio.PyBytesIOTest.test_truncate) ... ok test_unicode (test.test_memoryio.PyBytesIOTest.test_unicode) ... ok test_write (test.test_memoryio.PyBytesIOTest.test_write) ... ok test_writelines (test.test_memoryio.PyBytesIOTest.test_writelines) ... ok test_writelines_error (test.test_memoryio.PyBytesIOTest.test_writelines_error) ... ok test_issue5265 (test.test_memoryio.PyStringIOPickleTest.test_issue5265) ... ok test_newline_argument (test.test_memoryio.PyStringIOPickleTest.test_newline_argument) ... ok test_newline_cr (test.test_memoryio.PyStringIOPickleTest.test_newline_cr) ... ok test_newline_crlf (test.test_memoryio.PyStringIOPickleTest.test_newline_crlf) ... ok test_newline_default (test.test_memoryio.PyStringIOPickleTest.test_newline_default) ... ok test_newline_empty (test.test_memoryio.PyStringIOPickleTest.test_newline_empty) ... ok test_newline_lf (test.test_memoryio.PyStringIOPickleTest.test_newline_lf) ... ok test_newline_none (test.test_memoryio.PyStringIOPickleTest.test_newline_none) ... ok test_newlines_property (test.test_memoryio.PyStringIOPickleTest.test_newlines_property) ... ok test_relative_seek (test.test_memoryio.PyStringIOPickleTest.test_relative_seek) ... ok test_textio_properties (test.test_memoryio.PyStringIOPickleTest.test_textio_properties) ... ok testInit (test.test_memoryio.PyStringIOTest.testInit) ... ok testRead (test.test_memoryio.PyStringIOTest.testRead) ... ok testReadNoArgs (test.test_memoryio.PyStringIOTest.testReadNoArgs) ... ok testSeek (test.test_memoryio.PyStringIOTest.testSeek) ... ok testTell (test.test_memoryio.PyStringIOTest.testTell) ... ok test_detach (test.test_memoryio.PyStringIOTest.test_detach) ... ok test_flags (test.test_memoryio.PyStringIOTest.test_flags) ... ok test_flush (test.test_memoryio.PyStringIOTest.test_flush) ... ok test_getvalue (test.test_memoryio.PyStringIOTest.test_getvalue) ... ok test_init (test.test_memoryio.PyStringIOTest.test_init) ... ok test_instance_dict_leak (test.test_memoryio.PyStringIOTest.test_instance_dict_leak) ... ok test_issue5265 (test.test_memoryio.PyStringIOTest.test_issue5265) ... ok test_iterator (test.test_memoryio.PyStringIOTest.test_iterator) ... ok test_lone_surrogates (test.test_memoryio.PyStringIOTest.test_lone_surrogates) ... ok test_newline_argument (test.test_memoryio.PyStringIOTest.test_newline_argument) ... ok test_newline_cr (test.test_memoryio.PyStringIOTest.test_newline_cr) ... ok test_newline_crlf (test.test_memoryio.PyStringIOTest.test_newline_crlf) ... ok test_newline_default (test.test_memoryio.PyStringIOTest.test_newline_default) ... ok test_newline_empty (test.test_memoryio.PyStringIOTest.test_newline_empty) ... ok test_newline_lf (test.test_memoryio.PyStringIOTest.test_newline_lf) ... ok test_newline_none (test.test_memoryio.PyStringIOTest.test_newline_none) ... ok test_newlines_property (test.test_memoryio.PyStringIOTest.test_newlines_property) ... ok test_overseek (test.test_memoryio.PyStringIOTest.test_overseek) ... ok test_pickling (test.test_memoryio.PyStringIOTest.test_pickling) ... ok test_read (test.test_memoryio.PyStringIOTest.test_read) ... ok test_readline (test.test_memoryio.PyStringIOTest.test_readline) ... ok test_readlines (test.test_memoryio.PyStringIOTest.test_readlines) ... ok test_relative_seek (test.test_memoryio.PyStringIOTest.test_relative_seek) ... ok test_seek (test.test_memoryio.PyStringIOTest.test_seek) ... ok test_subclassing (test.test_memoryio.PyStringIOTest.test_subclassing) ... ok test_tell (test.test_memoryio.PyStringIOTest.test_tell) ... ok test_textio_properties (test.test_memoryio.PyStringIOTest.test_textio_properties) ... ok test_truncate (test.test_memoryio.PyStringIOTest.test_truncate) ... ok test_write (test.test_memoryio.PyStringIOTest.test_write) ... ok test_writelines (test.test_memoryio.PyStringIOTest.test_writelines) ... ok test_writelines_error (test.test_memoryio.PyStringIOTest.test_writelines_error) ... ok ====================================================================== FAIL: test_getbuffer (test.test_memoryio.CBytesIOTest.test_getbuffer) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_memoryio.py", line 454, in test_getbuffer self.assertRaises(BufferError, memio.close) ^^^^^^^^^^^^ AssertionError: BufferError not raised by close ---------------------------------------------------------------------- Ran 170 tests in 0.073s FAILED (failures=1, skipped=5) 0:00:00 load avg: 0.61 [1/1/1] test_memoryio failed (1 failure) == Tests result: FAILURE == 1 test failed: test_memoryio Total duration: 162 ms Total tests: run=170 failures=1 skipped=5 Total test files: run=1/1 failed=1 Result: FAILURE test test_memoryio failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1750280æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2056433567 0:00:00 load avg: 0.61 Run 1 test sequentially in a single process 0:00:00 load avg: 0.61 [1/1] test_memoryview test_attributes_readonly (test.test_memoryview.ArrayMemorySliceSliceTest.test_attributes_readonly) ... skipped 'no read-only type to test' test_attributes_writable (test.test_memoryview.ArrayMemorySliceSliceTest.test_attributes_writable) ... ok test_compare (test.test_memoryview.ArrayMemorySliceSliceTest.test_compare) ... ok test_contextmanager (test.test_memoryview.ArrayMemorySliceSliceTest.test_contextmanager) ... ok test_delitem (test.test_memoryview.ArrayMemorySliceSliceTest.test_delitem) ... ok test_gc (test.test_memoryview.ArrayMemorySliceSliceTest.test_gc) ... ok test_getbuf_fail (test.test_memoryview.ArrayMemorySliceSliceTest.test_getbuf_fail) ... ok test_getbuffer (test.test_memoryview.ArrayMemorySliceSliceTest.test_getbuffer) ... skipped 'XXX test should be adapted for non-byte buffers' test_getitem (test.test_memoryview.ArrayMemorySliceSliceTest.test_getitem) ... ok test_hash (test.test_memoryview.ArrayMemorySliceSliceTest.test_hash) ... skipped 'no read-only type to test' test_hash_writable (test.test_memoryview.ArrayMemorySliceSliceTest.test_hash_writable) ... ok test_issue22668 (test.test_memoryview.ArrayMemorySliceSliceTest.test_issue22668) ... ok test_iter (test.test_memoryview.ArrayMemorySliceSliceTest.test_iter) ... ok test_release (test.test_memoryview.ArrayMemorySliceSliceTest.test_release) ... ok test_reversed (test.test_memoryview.ArrayMemorySliceSliceTest.test_reversed) ... ok test_setitem_readonly (test.test_memoryview.ArrayMemorySliceSliceTest.test_setitem_readonly) ... skipped 'no read-only type to test' test_setitem_writable (test.test_memoryview.ArrayMemorySliceSliceTest.test_setitem_writable) ... ok test_tobytes (test.test_memoryview.ArrayMemorySliceSliceTest.test_tobytes) ... ok test_tolist (test.test_memoryview.ArrayMemorySliceSliceTest.test_tolist) ... skipped 'XXX NotImplementedError: tolist() only supports byte views' test_toreadonly (test.test_memoryview.ArrayMemorySliceSliceTest.test_toreadonly) ... ok test_weakref (test.test_memoryview.ArrayMemorySliceSliceTest.test_weakref) ... ok test_writable_readonly (test.test_memoryview.ArrayMemorySliceSliceTest.test_writable_readonly) ... skipped 'no read-only type to test' test_attributes_readonly (test.test_memoryview.ArrayMemorySliceTest.test_attributes_readonly) ... skipped 'no read-only type to test' test_attributes_writable (test.test_memoryview.ArrayMemorySliceTest.test_attributes_writable) ... ok test_compare (test.test_memoryview.ArrayMemorySliceTest.test_compare) ... ok test_contextmanager (test.test_memoryview.ArrayMemorySliceTest.test_contextmanager) ... ok test_delitem (test.test_memoryview.ArrayMemorySliceTest.test_delitem) ... ok test_gc (test.test_memoryview.ArrayMemorySliceTest.test_gc) ... ok test_getbuf_fail (test.test_memoryview.ArrayMemorySliceTest.test_getbuf_fail) ... ok test_getbuffer (test.test_memoryview.ArrayMemorySliceTest.test_getbuffer) ... skipped 'XXX test should be adapted for non-byte buffers' test_getitem (test.test_memoryview.ArrayMemorySliceTest.test_getitem) ... ok test_hash (test.test_memoryview.ArrayMemorySliceTest.test_hash) ... skipped 'no read-only type to test' test_hash_writable (test.test_memoryview.ArrayMemorySliceTest.test_hash_writable) ... ok test_issue22668 (test.test_memoryview.ArrayMemorySliceTest.test_issue22668) ... ok test_iter (test.test_memoryview.ArrayMemorySliceTest.test_iter) ... ok test_refs (test.test_memoryview.ArrayMemorySliceTest.test_refs) ... ok test_release (test.test_memoryview.ArrayMemorySliceTest.test_release) ... ok test_reversed (test.test_memoryview.ArrayMemorySliceTest.test_reversed) ... ok test_setitem_readonly (test.test_memoryview.ArrayMemorySliceTest.test_setitem_readonly) ... skipped 'no read-only type to test' test_setitem_writable (test.test_memoryview.ArrayMemorySliceTest.test_setitem_writable) ... ok test_tobytes (test.test_memoryview.ArrayMemorySliceTest.test_tobytes) ... ok test_tolist (test.test_memoryview.ArrayMemorySliceTest.test_tolist) ... skipped 'XXX NotImplementedError: tolist() only supports byte views' test_toreadonly (test.test_memoryview.ArrayMemorySliceTest.test_toreadonly) ... ok test_weakref (test.test_memoryview.ArrayMemorySliceTest.test_weakref) ... ok test_writable_readonly (test.test_memoryview.ArrayMemorySliceTest.test_writable_readonly) ... skipped 'no read-only type to test' test_array_assign (test.test_memoryview.ArrayMemoryviewTest.test_array_assign) ... ok test_attributes_readonly (test.test_memoryview.ArrayMemoryviewTest.test_attributes_readonly) ... skipped 'no read-only type to test' test_attributes_writable (test.test_memoryview.ArrayMemoryviewTest.test_attributes_writable) ... ok test_compare (test.test_memoryview.ArrayMemoryviewTest.test_compare) ... ok test_contextmanager (test.test_memoryview.ArrayMemoryviewTest.test_contextmanager) ... ok test_delitem (test.test_memoryview.ArrayMemoryviewTest.test_delitem) ... ok test_gc (test.test_memoryview.ArrayMemoryviewTest.test_gc) ... ok test_getbuf_fail (test.test_memoryview.ArrayMemoryviewTest.test_getbuf_fail) ... ok test_getbuffer (test.test_memoryview.ArrayMemoryviewTest.test_getbuffer) ... skipped 'XXX test should be adapted for non-byte buffers' test_getitem (test.test_memoryview.ArrayMemoryviewTest.test_getitem) ... ok test_hash (test.test_memoryview.ArrayMemoryviewTest.test_hash) ... skipped 'no read-only type to test' test_hash_writable (test.test_memoryview.ArrayMemoryviewTest.test_hash_writable) ... ok test_issue22668 (test.test_memoryview.ArrayMemoryviewTest.test_issue22668) ... ok test_iter (test.test_memoryview.ArrayMemoryviewTest.test_iter) ... ok test_release (test.test_memoryview.ArrayMemoryviewTest.test_release) ... ok test_reversed (test.test_memoryview.ArrayMemoryviewTest.test_reversed) ... ok test_setitem_readonly (test.test_memoryview.ArrayMemoryviewTest.test_setitem_readonly) ... skipped 'no read-only type to test' test_setitem_writable (test.test_memoryview.ArrayMemoryviewTest.test_setitem_writable) ... ok test_tobytes (test.test_memoryview.ArrayMemoryviewTest.test_tobytes) ... ok test_tolist (test.test_memoryview.ArrayMemoryviewTest.test_tolist) ... skipped 'XXX NotImplementedError: tolist() only supports byte views' test_toreadonly (test.test_memoryview.ArrayMemoryviewTest.test_toreadonly) ... ok test_weakref (test.test_memoryview.ArrayMemoryviewTest.test_weakref) ... ok test_writable_readonly (test.test_memoryview.ArrayMemoryviewTest.test_writable_readonly) ... skipped 'no read-only type to test' test_attributes_readonly (test.test_memoryview.BytesMemorySliceSliceTest.test_attributes_readonly) ... ok test_attributes_writable (test.test_memoryview.BytesMemorySliceSliceTest.test_attributes_writable) ... ok test_compare (test.test_memoryview.BytesMemorySliceSliceTest.test_compare) ... ok test_contextmanager (test.test_memoryview.BytesMemorySliceSliceTest.test_contextmanager) ... ok test_delitem (test.test_memoryview.BytesMemorySliceSliceTest.test_delitem) ... ok test_gc (test.test_memoryview.BytesMemorySliceSliceTest.test_gc) ... ok test_getbuf_fail (test.test_memoryview.BytesMemorySliceSliceTest.test_getbuf_fail) ... ok test_getbuffer (test.test_memoryview.BytesMemorySliceSliceTest.test_getbuffer) ... ok test_getitem (test.test_memoryview.BytesMemorySliceSliceTest.test_getitem) ... ok test_hash (test.test_memoryview.BytesMemorySliceSliceTest.test_hash) ... ok test_hash_writable (test.test_memoryview.BytesMemorySliceSliceTest.test_hash_writable) ... ok test_issue22668 (test.test_memoryview.BytesMemorySliceSliceTest.test_issue22668) ... ok test_iter (test.test_memoryview.BytesMemorySliceSliceTest.test_iter) ... ok test_release (test.test_memoryview.BytesMemorySliceSliceTest.test_release) ... ok test_reversed (test.test_memoryview.BytesMemorySliceSliceTest.test_reversed) ... ok test_setitem_readonly (test.test_memoryview.BytesMemorySliceSliceTest.test_setitem_readonly) ... ok test_setitem_writable (test.test_memoryview.BytesMemorySliceSliceTest.test_setitem_writable) ... ok test_tobytes (test.test_memoryview.BytesMemorySliceSliceTest.test_tobytes) ... ok test_tolist (test.test_memoryview.BytesMemorySliceSliceTest.test_tolist) ... ok test_toreadonly (test.test_memoryview.BytesMemorySliceSliceTest.test_toreadonly) ... ok test_weakref (test.test_memoryview.BytesMemorySliceSliceTest.test_weakref) ... ok test_writable_readonly (test.test_memoryview.BytesMemorySliceSliceTest.test_writable_readonly) ... ok test_attributes_readonly (test.test_memoryview.BytesMemorySliceTest.test_attributes_readonly) ... ok test_attributes_writable (test.test_memoryview.BytesMemorySliceTest.test_attributes_writable) ... ok test_compare (test.test_memoryview.BytesMemorySliceTest.test_compare) ... ok test_contextmanager (test.test_memoryview.BytesMemorySliceTest.test_contextmanager) ... ok test_delitem (test.test_memoryview.BytesMemorySliceTest.test_delitem) ... ok test_gc (test.test_memoryview.BytesMemorySliceTest.test_gc) ... ok test_getbuf_fail (test.test_memoryview.BytesMemorySliceTest.test_getbuf_fail) ... ok test_getbuffer (test.test_memoryview.BytesMemorySliceTest.test_getbuffer) ... ok test_getitem (test.test_memoryview.BytesMemorySliceTest.test_getitem) ... ok test_hash (test.test_memoryview.BytesMemorySliceTest.test_hash) ... ok test_hash_writable (test.test_memoryview.BytesMemorySliceTest.test_hash_writable) ... ok test_issue22668 (test.test_memoryview.BytesMemorySliceTest.test_issue22668) ... ok test_iter (test.test_memoryview.BytesMemorySliceTest.test_iter) ... ok test_refs (test.test_memoryview.BytesMemorySliceTest.test_refs) ... ok test_release (test.test_memoryview.BytesMemorySliceTest.test_release) ... ok test_reversed (test.test_memoryview.BytesMemorySliceTest.test_reversed) ... ok test_setitem_readonly (test.test_memoryview.BytesMemorySliceTest.test_setitem_readonly) ... ok test_setitem_writable (test.test_memoryview.BytesMemorySliceTest.test_setitem_writable) ... ok test_tobytes (test.test_memoryview.BytesMemorySliceTest.test_tobytes) ... ok test_tolist (test.test_memoryview.BytesMemorySliceTest.test_tolist) ... ok test_toreadonly (test.test_memoryview.BytesMemorySliceTest.test_toreadonly) ... ok test_weakref (test.test_memoryview.BytesMemorySliceTest.test_weakref) ... ok test_writable_readonly (test.test_memoryview.BytesMemorySliceTest.test_writable_readonly) ... ok test_attributes_readonly (test.test_memoryview.BytesMemoryviewTest.test_attributes_readonly) ... ok test_attributes_writable (test.test_memoryview.BytesMemoryviewTest.test_attributes_writable) ... ok test_compare (test.test_memoryview.BytesMemoryviewTest.test_compare) ... ok test_constructor (test.test_memoryview.BytesMemoryviewTest.test_constructor) ... ok test_contextmanager (test.test_memoryview.BytesMemoryviewTest.test_contextmanager) ... ok test_delitem (test.test_memoryview.BytesMemoryviewTest.test_delitem) ... ok test_gc (test.test_memoryview.BytesMemoryviewTest.test_gc) ... ok test_getbuf_fail (test.test_memoryview.BytesMemoryviewTest.test_getbuf_fail) ... ok test_getbuffer (test.test_memoryview.BytesMemoryviewTest.test_getbuffer) ... ok test_getitem (test.test_memoryview.BytesMemoryviewTest.test_getitem) ... ok test_hash (test.test_memoryview.BytesMemoryviewTest.test_hash) ... ok test_hash_writable (test.test_memoryview.BytesMemoryviewTest.test_hash_writable) ... ok test_issue22668 (test.test_memoryview.BytesMemoryviewTest.test_issue22668) ... ok test_iter (test.test_memoryview.BytesMemoryviewTest.test_iter) ... ok test_release (test.test_memoryview.BytesMemoryviewTest.test_release) ... ok test_reversed (test.test_memoryview.BytesMemoryviewTest.test_reversed) ... ok test_setitem_readonly (test.test_memoryview.BytesMemoryviewTest.test_setitem_readonly) ... ok test_setitem_writable (test.test_memoryview.BytesMemoryviewTest.test_setitem_writable) ... ok test_tobytes (test.test_memoryview.BytesMemoryviewTest.test_tobytes) ... ok test_tolist (test.test_memoryview.BytesMemoryviewTest.test_tolist) ... ok test_toreadonly (test.test_memoryview.BytesMemoryviewTest.test_toreadonly) ... ok test_weakref (test.test_memoryview.BytesMemoryviewTest.test_weakref) ... ok test_writable_readonly (test.test_memoryview.BytesMemoryviewTest.test_writable_readonly) ... ok test_buffer_reference_loop (test.test_memoryview.OtherTest.test_buffer_reference_loop) ... ERROR test_copy (test.test_memoryview.OtherTest.test_copy) ... ok test_ctypes_cast (test.test_memoryview.OtherTest.test_ctypes_cast) ... ok test_half_float (test.test_memoryview.OtherTest.test_half_float) ... ERROR test_memoryview_hex (test.test_memoryview.OtherTest.test_memoryview_hex) ... ok test_pickle (test.test_memoryview.OtherTest.test_pickle) ... ok test_picklebuffer_reference_loop (test.test_memoryview.OtherTest.test_picklebuffer_reference_loop) ... ok test_use_released_memory (test.test_memoryview.OtherTest.test_use_released_memory) ... ERROR ====================================================================== ERROR: test_buffer_reference_loop (test.test_memoryview.OtherTest.test_buffer_reference_loop) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_memoryview.py", line 668, in test_buffer_reference_loop m = memoryview(b'abc').__buffer__(0) ^^^^^^^^^^ AttributeError: 'memoryview' object has no attribute '__buffer__' ====================================================================== ERROR: test_half_float (test.test_memoryview.OtherTest.test_half_float) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_memoryview.py", line 542, in test_half_float half_view = memoryview(half_data).cast('e') ^^^^ ValueError: memoryview: destination format must be a native single character format prefixed with an optional '@' ====================================================================== ERROR: test_use_released_memory (test.test_memoryview.OtherTest.test_use_released_memory) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_memoryview.py", line 594, in test_use_released_memory self.assertEqual(list(m[:MyIndex()]), [255] * 4) ~^^^^^^^^^^^^ ValueError: operation forbidden on released memoryview object ---------------------------------------------------------------------- Ran 144 tests in 0.258s FAILED (errors=3, skipped=18) 0:00:00 load avg: 0.64 [1/1/1] test_memoryview failed (3 errors) == Tests result: FAILURE == 1 test failed: test_memoryview Total duration: 340 ms Total tests: run=144 skipped=18 Total test files: run=1/1 failed=1 Result: FAILURE test test_memoryview failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1750310æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2376205439 0:00:00 load avg: 0.64 Run 1 test sequentially in a single process 0:00:00 load avg: 0.64 [1/1] test_monitoring 0:00:00 load avg: 0.64 [1/1/1] test_monitoring failed (uncaught exception) == Tests result: FAILURE == 1 test failed: test_monitoring Total duration: 136 ms Total tests: run=0 Total test files: run=1/1 failed=1 Result: FAILURE test test_monitoring crashed -- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc _load_run_test(result, runtests) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 128, in _load_run_test test_mod = importlib.import_module(module_name) ^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<builtin>/frozen importlib._bootstrap_external", line 1011, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 137, in <module> E = sys.monitoring.events ^^^^^^^^^^ AttributeError: module 'sys' has no attribute 'monitoring' _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1750751æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 234517476 0:00:00 load avg: 0.70 Run 1 test sequentially in a single process 0:00:00 load avg: 0.70 [1/1] test_named_expressions test_named_expression_assignment_01 (test.test_named_expressions.NamedExpressionAssignmentTest.test_named_expression_assignment_01) ... ok test_named_expression_assignment_02 (test.test_named_expressions.NamedExpressionAssignmentTest.test_named_expression_assignment_02) ... ok test_named_expression_assignment_03 (test.test_named_expressions.NamedExpressionAssignmentTest.test_named_expression_assignment_03) ... ok test_named_expression_assignment_04 (test.test_named_expressions.NamedExpressionAssignmentTest.test_named_expression_assignment_04) ... ok test_named_expression_assignment_05 (test.test_named_expressions.NamedExpressionAssignmentTest.test_named_expression_assignment_05) ... ok test_named_expression_assignment_06 (test.test_named_expressions.NamedExpressionAssignmentTest.test_named_expression_assignment_06) ... ok test_named_expression_assignment_07 (test.test_named_expressions.NamedExpressionAssignmentTest.test_named_expression_assignment_07) ... ok test_named_expression_assignment_08 (test.test_named_expressions.NamedExpressionAssignmentTest.test_named_expression_assignment_08) ... ok test_named_expression_assignment_09 (test.test_named_expressions.NamedExpressionAssignmentTest.test_named_expression_assignment_09) ... ok test_named_expression_assignment_10 (test.test_named_expressions.NamedExpressionAssignmentTest.test_named_expression_assignment_10) ... ok test_named_expression_assignment_11 (test.test_named_expressions.NamedExpressionAssignmentTest.test_named_expression_assignment_11) ... ok test_named_expression_assignment_12 (test.test_named_expressions.NamedExpressionAssignmentTest.test_named_expression_assignment_12) ... ok test_named_expression_assignment_13 (test.test_named_expressions.NamedExpressionAssignmentTest.test_named_expression_assignment_13) ... ok test_named_expression_assignment_14 (test.test_named_expressions.NamedExpressionAssignmentTest.test_named_expression_assignment_14) Where all variables are positive integers, and a is at least as large ... ok test_named_expression_assignment_15 (test.test_named_expressions.NamedExpressionAssignmentTest.test_named_expression_assignment_15) ... ok test_named_expression_assignment_16 (test.test_named_expressions.NamedExpressionAssignmentTest.test_named_expression_assignment_16) ... ok test_named_expression_assignment_17 (test.test_named_expressions.NamedExpressionAssignmentTest.test_named_expression_assignment_17) ... ok test_named_expression_assignment_18 (test.test_named_expressions.NamedExpressionAssignmentTest.test_named_expression_assignment_18) ... ok test_named_expression_invalid_01 (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_01) ... ok test_named_expression_invalid_02 (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_02) ... ok test_named_expression_invalid_03 (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_03) ... ok test_named_expression_invalid_04 (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_04) ... ok test_named_expression_invalid_06 (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_06) ... ok test_named_expression_invalid_07 (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_07) ... ok test_named_expression_invalid_08 (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_08) ... ok test_named_expression_invalid_09 (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_09) ... ok test_named_expression_invalid_10 (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_10) ... ok test_named_expression_invalid_11 (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_11) ... ok test_named_expression_invalid_12 (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_12) ... ok test_named_expression_invalid_13 (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_13) ... ok test_named_expression_invalid_14 (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_14) ... ok test_named_expression_invalid_15 (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_15) ... ok test_named_expression_invalid_16 (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_16) ... ok test_named_expression_invalid_17 (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_17) ... ok test_named_expression_invalid_dict_comprehension_iterable_expression (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_dict_comprehension_iterable_expression) ... ok test_named_expression_invalid_in_class_body (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_in_class_body) ... ok test_named_expression_invalid_list_comprehension_iterable_expression (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_list_comprehension_iterable_expression) ... ok test_named_expression_invalid_mangled_class_variables (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_mangled_class_variables) ... ok test_named_expression_invalid_rebinding_dict_comprehension_inner_loop (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_rebinding_dict_comprehension_inner_loop) ... ok test_named_expression_invalid_rebinding_dict_comprehension_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_rebinding_dict_comprehension_iteration_variable) ... ok test_named_expression_invalid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_rebinding_iteration_variable) ... ok test_named_expression_invalid_rebinding_list_comprehension_inner_loop (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_rebinding_list_comprehension_inner_loop) ... ok test_named_expression_invalid_rebinding_list_comprehension_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_rebinding_list_comprehension_iteration_variable) ... ok test_named_expression_invalid_rebinding_set_comprehension_inner_loop (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_rebinding_set_comprehension_inner_loop) ... ok test_named_expression_invalid_rebinding_set_comprehension_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_rebinding_set_comprehension_iteration_variable) ... ok test_named_expression_invalid_set_comprehension_iterable_expression (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_invalid_set_comprehension_iterable_expression) ... ok test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) ... test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: c', lpar='(', rpar=')') ... ERROR test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: c', lpar='[', rpar=']') ... ERROR test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: c', lpar='{', rpar='}') ... ERROR test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: d', lpar='(', rpar=')') ... ERROR test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: d', lpar='[', rpar=']') ... ERROR test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: d', lpar='{', rpar='}') ... ERROR test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: e', lpar='(', rpar=')') ... ERROR test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: e', lpar='[', rpar=']') ... ERROR test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: e', lpar='{', rpar='}') ... ERROR test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: f', lpar='(', rpar=')') ... ERROR test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: f', lpar='[', rpar=']') ... ERROR test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: f', lpar='{', rpar='}') ... ERROR test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: g', lpar='(', rpar=')') ... ERROR test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: g', lpar='[', rpar=']') ... ERROR test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: g', lpar='{', rpar='}') ... ERROR test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: h', lpar='(', rpar=')') ... ERROR test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: h', lpar='[', rpar=']') ... ERROR test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: h', lpar='{', rpar='}') ... ERROR test_named_expression_global_scope (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_global_scope) ... ok test_named_expression_global_scope_no_global_keyword (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_global_scope_no_global_keyword) ... ok test_named_expression_nonlocal_scope (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_nonlocal_scope) ... ok test_named_expression_nonlocal_scope_no_nonlocal_keyword (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_nonlocal_scope_no_nonlocal_keyword) ... ok test_named_expression_scope_01 (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_scope_01) ... ok test_named_expression_scope_02 (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_scope_02) ... ok test_named_expression_scope_03 (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_scope_03) ... ok test_named_expression_scope_04 (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_scope_04) ... ok test_named_expression_scope_05 (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_scope_05) ... ok test_named_expression_scope_06 (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_scope_06) ... ok test_named_expression_scope_07 (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_scope_07) ... ok test_named_expression_scope_08 (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_scope_08) ... ok test_named_expression_scope_09 (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_scope_09) ... ok test_named_expression_scope_10 (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_scope_10) ... ok test_named_expression_scope_11 (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_scope_11) ... ok test_named_expression_scope_17 (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_scope_17) ... ok test_named_expression_scope_18 (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_scope_18) ... ok test_named_expression_scope_19 (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_scope_19) ... ok test_named_expression_scope_20 (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_scope_20) ... ok test_named_expression_scope_21 (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_scope_21) ... ok test_named_expression_scope_22 (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_scope_22) ... ok test_named_expression_scope_23 (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_scope_23) ... ok test_named_expression_scope_24 (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_scope_24) ... ok test_named_expression_scope_25 (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_scope_25) ... ok test_named_expression_scope_in_genexp (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_scope_in_genexp) ... ok test_named_expression_scope_mangled_names (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_scope_mangled_names) ... ok test_named_expression_variable_reuse_in_comprehensions (test.test_named_expressions.NamedExpressionScopeTest.test_named_expression_variable_reuse_in_comprehensions) ... ok ====================================================================== ERROR: test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: c', lpar='(', rpar=')') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_named_expressions.py", line 149, in test_named_expression_valid_rebinding_iteration_variable exec(code, {}) # Module scope ^^^^^^^^^^^^^^ File "<string>", line 1 SyntaxError: assignment expression cannot rebind comprehension iteration variable 'c' ====================================================================== ERROR: test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: c', lpar='[', rpar=']') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_named_expressions.py", line 149, in test_named_expression_valid_rebinding_iteration_variable exec(code, {}) # Module scope ^^^^^^^^^^^^^^ File "<string>", line 1 SyntaxError: assignment expression cannot rebind comprehension iteration variable 'c' ====================================================================== ERROR: test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: c', lpar='{', rpar='}') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_named_expressions.py", line 149, in test_named_expression_valid_rebinding_iteration_variable exec(code, {}) # Module scope ^^^^^^^^^^^^^^ File "<string>", line 1 SyntaxError: assignment expression cannot rebind comprehension iteration variable 'c' ====================================================================== ERROR: test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: d', lpar='(', rpar=')') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_named_expressions.py", line 149, in test_named_expression_valid_rebinding_iteration_variable exec(code, {}) # Module scope ^^^^^^^^^^^^^^ File "<string>", line 1 SyntaxError: assignment expression cannot rebind comprehension iteration variable 'd' ====================================================================== ERROR: test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: d', lpar='[', rpar=']') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_named_expressions.py", line 149, in test_named_expression_valid_rebinding_iteration_variable exec(code, {}) # Module scope ^^^^^^^^^^^^^^ File "<string>", line 1 SyntaxError: assignment expression cannot rebind comprehension iteration variable 'd' ====================================================================== ERROR: test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: d', lpar='{', rpar='}') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_named_expressions.py", line 149, in test_named_expression_valid_rebinding_iteration_variable exec(code, {}) # Module scope ^^^^^^^^^^^^^^ File "<string>", line 1 SyntaxError: assignment expression cannot rebind comprehension iteration variable 'd' ====================================================================== ERROR: test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: e', lpar='(', rpar=')') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_named_expressions.py", line 149, in test_named_expression_valid_rebinding_iteration_variable exec(code, {}) # Module scope ^^^^^^^^^^^^^^ File "<string>", line 1 SyntaxError: assignment expression cannot rebind comprehension iteration variable 'e' ====================================================================== ERROR: test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: e', lpar='[', rpar=']') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_named_expressions.py", line 149, in test_named_expression_valid_rebinding_iteration_variable exec(code, {}) # Module scope ^^^^^^^^^^^^^^ File "<string>", line 1 SyntaxError: assignment expression cannot rebind comprehension iteration variable 'e' ====================================================================== ERROR: test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: e', lpar='{', rpar='}') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_named_expressions.py", line 149, in test_named_expression_valid_rebinding_iteration_variable exec(code, {}) # Module scope ^^^^^^^^^^^^^^ File "<string>", line 1 SyntaxError: assignment expression cannot rebind comprehension iteration variable 'e' ====================================================================== ERROR: test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: f', lpar='(', rpar=')') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_named_expressions.py", line 149, in test_named_expression_valid_rebinding_iteration_variable exec(code, {}) # Module scope ^^^^^^^^^^^^^^ File "<string>", line 1 SyntaxError: assignment expression cannot rebind comprehension iteration variable 'f' ====================================================================== ERROR: test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: f', lpar='[', rpar=']') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_named_expressions.py", line 149, in test_named_expression_valid_rebinding_iteration_variable exec(code, {}) # Module scope ^^^^^^^^^^^^^^ File "<string>", line 1 SyntaxError: assignment expression cannot rebind comprehension iteration variable 'f' ====================================================================== ERROR: test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: f', lpar='{', rpar='}') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_named_expressions.py", line 149, in test_named_expression_valid_rebinding_iteration_variable exec(code, {}) # Module scope ^^^^^^^^^^^^^^ File "<string>", line 1 SyntaxError: assignment expression cannot rebind comprehension iteration variable 'f' ====================================================================== ERROR: test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: g', lpar='(', rpar=')') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_named_expressions.py", line 149, in test_named_expression_valid_rebinding_iteration_variable exec(code, {}) # Module scope ^^^^^^^^^^^^^^ File "<string>", line 1 SyntaxError: assignment expression cannot rebind comprehension iteration variable 'g' ====================================================================== ERROR: test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: g', lpar='[', rpar=']') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_named_expressions.py", line 149, in test_named_expression_valid_rebinding_iteration_variable exec(code, {}) # Module scope ^^^^^^^^^^^^^^ File "<string>", line 1 SyntaxError: assignment expression cannot rebind comprehension iteration variable 'g' ====================================================================== ERROR: test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: g', lpar='{', rpar='}') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_named_expressions.py", line 149, in test_named_expression_valid_rebinding_iteration_variable exec(code, {}) # Module scope ^^^^^^^^^^^^^^ File "<string>", line 1 SyntaxError: assignment expression cannot rebind comprehension iteration variable 'g' ====================================================================== ERROR: test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: h', lpar='(', rpar=')') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_named_expressions.py", line 149, in test_named_expression_valid_rebinding_iteration_variable exec(code, {}) # Module scope ^^^^^^^^^^^^^^ File "<string>", line 1 SyntaxError: assignment expression cannot rebind comprehension iteration variable 'h' ====================================================================== ERROR: test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: h', lpar='[', rpar=']') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_named_expressions.py", line 149, in test_named_expression_valid_rebinding_iteration_variable exec(code, {}) # Module scope ^^^^^^^^^^^^^^ File "<string>", line 1 SyntaxError: assignment expression cannot rebind comprehension iteration variable 'h' ====================================================================== ERROR: test_named_expression_valid_rebinding_iteration_variable (test.test_named_expressions.NamedExpressionInvalidTest.test_named_expression_valid_rebinding_iteration_variable) (case='Complex expression: h', lpar='{', rpar='}') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_named_expressions.py", line 149, in test_named_expression_valid_rebinding_iteration_variable exec(code, {}) # Module scope ^^^^^^^^^^^^^^ File "<string>", line 1 SyntaxError: assignment expression cannot rebind comprehension iteration variable 'h' ---------------------------------------------------------------------- Ran 74 tests in 0.038s FAILED (errors=18) 0:00:00 load avg: 0.70 [1/1/1] test_named_expressions failed (18 errors) == Tests result: FAILURE == 1 test failed: test_named_expressions Total duration: 112 ms Total tests: run=74 Total test files: run=1/1 failed=1 Result: FAILURE test test_named_expressions failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1750809æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2891997560 0:00:00 load avg: 0.64 Run 1 test sequentially in a single process 0:00:00 load avg: 0.64 [1/1] test_ordered_dict test_abc (test.test_ordered_dict.CPythonBuiltinDictTests.test_abc) ... ok test_clear (test.test_ordered_dict.CPythonBuiltinDictTests.test_clear) ... ok test_delitem (test.test_ordered_dict.CPythonBuiltinDictTests.test_delitem) ... ok test_delitem_hash_collision (test.test_ordered_dict.CPythonBuiltinDictTests.test_delitem_hash_collision) ... ok test_detect_deletion_during_iteration (test.test_ordered_dict.CPythonBuiltinDictTests.test_detect_deletion_during_iteration) ... ok test_highly_nested (test.test_ordered_dict.CPythonBuiltinDictTests.test_highly_nested) ... ok test_highly_nested_subclass (test.test_ordered_dict.CPythonBuiltinDictTests.test_highly_nested_subclass) ... FAIL test_init (test.test_ordered_dict.CPythonBuiltinDictTests.test_init) ... ok test_override_update (test.test_ordered_dict.CPythonBuiltinDictTests.test_override_update) ... ok test_popitem (test.test_ordered_dict.CPythonBuiltinDictTests.test_popitem) ... ok test_reinsert (test.test_ordered_dict.CPythonBuiltinDictTests.test_reinsert) ... ok test_setitem (test.test_ordered_dict.CPythonBuiltinDictTests.test_setitem) ... ok test_update (test.test_ordered_dict.CPythonBuiltinDictTests.test_update) ... ok test_bool (test.test_ordered_dict.CPythonGeneralMappingTests.test_bool) ... ok test_constructor (test.test_ordered_dict.CPythonGeneralMappingTests.test_constructor) ... ok test_get (test.test_ordered_dict.CPythonGeneralMappingTests.test_get) ... ok test_getitem (test.test_ordered_dict.CPythonGeneralMappingTests.test_getitem) ... ok test_items (test.test_ordered_dict.CPythonGeneralMappingTests.test_items) ... ok test_keys (test.test_ordered_dict.CPythonGeneralMappingTests.test_keys) ... ok test_len (test.test_ordered_dict.CPythonGeneralMappingTests.test_len) ... ok test_pop (test.test_ordered_dict.CPythonGeneralMappingTests.test_pop) ... ok test_popitem (test.test_ordered_dict.CPythonGeneralMappingTests.test_popitem) ... ok test_read (test.test_ordered_dict.CPythonGeneralMappingTests.test_read) ... ok test_setdefault (test.test_ordered_dict.CPythonGeneralMappingTests.test_setdefault) ... ok test_update (test.test_ordered_dict.CPythonGeneralMappingTests.test_update) ... ok test_values (test.test_ordered_dict.CPythonGeneralMappingTests.test_values) ... ok test_write (test.test_ordered_dict.CPythonGeneralMappingTests.test_write) ... ok test_468 (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_468) ... ok test_abc (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_abc) ... ok test_clear (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_clear) ... ok test_copying (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_copying) ... ok test_delitem (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_delitem) ... ok test_delitem_hash_collision (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_delitem_hash_collision) ... ok test_detect_deletion_during_iteration (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_detect_deletion_during_iteration) ... ok test_dict_clear (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_dict_clear) ... ok test_dict_delitem (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_dict_delitem) ... FAIL test_dict_pop (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_dict_pop) ... FAIL test_dict_popitem (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_dict_popitem) ... FAIL test_dict_setdefault (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_dict_setdefault) ... ok test_dict_setitem (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_dict_setitem) ... ok test_dict_update (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_dict_update) ... ok test_equality (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_equality) ... ok test_free_after_iterating (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_free_after_iterating) ... ok test_fromkeys (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_fromkeys) ... ok test_highly_nested (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_highly_nested) ... ok test_highly_nested_subclass (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_highly_nested_subclass) ... FAIL test_init (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_init) ... ok test_init_calls (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_init_calls) ... ok test_issue119004_change_linked_list_by_clear (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_issue119004_change_linked_list_by_clear) ... FAIL test_issue119004_change_linked_list_by_delete_key (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_issue119004_change_linked_list_by_delete_key) ... FAIL test_issue119004_change_size_by_clear (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_issue119004_change_size_by_clear) ... FAIL test_issue119004_change_size_by_delete_key (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_issue119004_change_size_by_delete_key) ... FAIL test_issue119004_change_size_by_delete_key_in_dict_eq (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_issue119004_change_size_by_delete_key_in_dict_eq) ... ERROR test_issue24347 (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_issue24347) ... FAIL test_issue24348 (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_issue24348) ... ok test_issue24667 (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_issue24667) dict resizes after a certain number of insertion operations, ... ok test_iterators (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_iterators) ... ok test_iterators_empty (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_iterators_empty) ... ok test_iterators_pickling (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_iterators_pickling) ... ok test_key_change_during_iteration (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_key_change_during_iteration) ... FAIL test_merge_operator (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_merge_operator) ... ok test_move_to_end (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_move_to_end) ... ok test_move_to_end_issue25406 (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_move_to_end_issue25406) ... ok test_ordered_dict_items_result_gc (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_ordered_dict_items_result_gc) ... skipped 'implementation detail specific to cpython' test_overridden_init (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_overridden_init) ... ok test_override_update (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_override_update) ... ok test_pickle_recursive (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_pickle_recursive) ... ok test_pop (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_pop) ... ok test_popitem (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_popitem) ... ok test_popitem_last (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_popitem_last) ... ok test_reduce_not_too_fat (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_reduce_not_too_fat) ... ok test_reference_loop (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_reference_loop) ... ok test_reinsert (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_reinsert) ... ok test_repr (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_repr) ... FAIL test_repr_recursive (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_repr_recursive) ... FAIL test_repr_recursive_values (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_repr_recursive_values) ... ok test_setdefault (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_setdefault) ... ok test_setitem (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_setitem) ... ok test_sizeof (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_sizeof) ... ERROR test_sizeof_exact (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_sizeof_exact) ... skipped 'implementation detail specific to cpython' test_sorted_iterators (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_sorted_iterators) ... ok test_update (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_update) ... ok test_views (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_views) ... ok test_weakref_list_is_not_traversed (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_weakref_list_is_not_traversed) ... skipped 'implementation detail specific to cpython' test_yaml_linkage (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_yaml_linkage) ... ok test_468 (test.test_ordered_dict.CPythonOrderedDictTests.test_468) ... ok test_abc (test.test_ordered_dict.CPythonOrderedDictTests.test_abc) ... ok test_clear (test.test_ordered_dict.CPythonOrderedDictTests.test_clear) ... ok test_copying (test.test_ordered_dict.CPythonOrderedDictTests.test_copying) ... ok test_delitem (test.test_ordered_dict.CPythonOrderedDictTests.test_delitem) ... ok test_delitem_hash_collision (test.test_ordered_dict.CPythonOrderedDictTests.test_delitem_hash_collision) ... ok test_detect_deletion_during_iteration (test.test_ordered_dict.CPythonOrderedDictTests.test_detect_deletion_during_iteration) ... ok test_dict_clear (test.test_ordered_dict.CPythonOrderedDictTests.test_dict_clear) ... ok test_dict_delitem (test.test_ordered_dict.CPythonOrderedDictTests.test_dict_delitem) ... FAIL test_dict_pop (test.test_ordered_dict.CPythonOrderedDictTests.test_dict_pop) ... FAIL test_dict_popitem (test.test_ordered_dict.CPythonOrderedDictTests.test_dict_popitem) ... FAIL test_dict_setdefault (test.test_ordered_dict.CPythonOrderedDictTests.test_dict_setdefault) ... ok test_dict_setitem (test.test_ordered_dict.CPythonOrderedDictTests.test_dict_setitem) ... ok test_dict_update (test.test_ordered_dict.CPythonOrderedDictTests.test_dict_update) ... ok test_equality (test.test_ordered_dict.CPythonOrderedDictTests.test_equality) ... ok test_free_after_iterating (test.test_ordered_dict.CPythonOrderedDictTests.test_free_after_iterating) ... ok test_fromkeys (test.test_ordered_dict.CPythonOrderedDictTests.test_fromkeys) ... ok test_highly_nested (test.test_ordered_dict.CPythonOrderedDictTests.test_highly_nested) ... ok test_highly_nested_subclass (test.test_ordered_dict.CPythonOrderedDictTests.test_highly_nested_subclass) ... FAIL test_init (test.test_ordered_dict.CPythonOrderedDictTests.test_init) ... ok test_init_calls (test.test_ordered_dict.CPythonOrderedDictTests.test_init_calls) ... ok test_issue119004_change_linked_list_by_clear (test.test_ordered_dict.CPythonOrderedDictTests.test_issue119004_change_linked_list_by_clear) ... FAIL test_issue119004_change_linked_list_by_delete_key (test.test_ordered_dict.CPythonOrderedDictTests.test_issue119004_change_linked_list_by_delete_key) ... FAIL test_issue119004_change_size_by_clear (test.test_ordered_dict.CPythonOrderedDictTests.test_issue119004_change_size_by_clear) ... FAIL test_issue119004_change_size_by_delete_key (test.test_ordered_dict.CPythonOrderedDictTests.test_issue119004_change_size_by_delete_key) ... FAIL test_issue119004_change_size_by_delete_key_in_dict_eq (test.test_ordered_dict.CPythonOrderedDictTests.test_issue119004_change_size_by_delete_key_in_dict_eq) ... ERROR test_issue24347 (test.test_ordered_dict.CPythonOrderedDictTests.test_issue24347) ... FAIL test_issue24348 (test.test_ordered_dict.CPythonOrderedDictTests.test_issue24348) ... ok test_issue24667 (test.test_ordered_dict.CPythonOrderedDictTests.test_issue24667) dict resizes after a certain number of insertion operations, ... ok test_iterators (test.test_ordered_dict.CPythonOrderedDictTests.test_iterators) ... ok test_iterators_empty (test.test_ordered_dict.CPythonOrderedDictTests.test_iterators_empty) ... ok test_iterators_pickling (test.test_ordered_dict.CPythonOrderedDictTests.test_iterators_pickling) ... ok test_key_change_during_iteration (test.test_ordered_dict.CPythonOrderedDictTests.test_key_change_during_iteration) ... FAIL test_merge_operator (test.test_ordered_dict.CPythonOrderedDictTests.test_merge_operator) ... ok test_move_to_end (test.test_ordered_dict.CPythonOrderedDictTests.test_move_to_end) ... ok test_move_to_end_issue25406 (test.test_ordered_dict.CPythonOrderedDictTests.test_move_to_end_issue25406) ... ok test_ordered_dict_items_result_gc (test.test_ordered_dict.CPythonOrderedDictTests.test_ordered_dict_items_result_gc) ... skipped 'implementation detail specific to cpython' test_overridden_init (test.test_ordered_dict.CPythonOrderedDictTests.test_overridden_init) ... ok test_override_update (test.test_ordered_dict.CPythonOrderedDictTests.test_override_update) ... ok test_pickle_recursive (test.test_ordered_dict.CPythonOrderedDictTests.test_pickle_recursive) ... ok test_pop (test.test_ordered_dict.CPythonOrderedDictTests.test_pop) ... ok test_popitem (test.test_ordered_dict.CPythonOrderedDictTests.test_popitem) ... ok test_popitem_last (test.test_ordered_dict.CPythonOrderedDictTests.test_popitem_last) ... ok test_reduce_not_too_fat (test.test_ordered_dict.CPythonOrderedDictTests.test_reduce_not_too_fat) ... ok test_reference_loop (test.test_ordered_dict.CPythonOrderedDictTests.test_reference_loop) ... ok test_reinsert (test.test_ordered_dict.CPythonOrderedDictTests.test_reinsert) ... ok test_repr (test.test_ordered_dict.CPythonOrderedDictTests.test_repr) ... FAIL test_repr_recursive (test.test_ordered_dict.CPythonOrderedDictTests.test_repr_recursive) ... FAIL test_repr_recursive_values (test.test_ordered_dict.CPythonOrderedDictTests.test_repr_recursive_values) ... ok test_setdefault (test.test_ordered_dict.CPythonOrderedDictTests.test_setdefault) ... ok test_setitem (test.test_ordered_dict.CPythonOrderedDictTests.test_setitem) ... ok test_sizeof (test.test_ordered_dict.CPythonOrderedDictTests.test_sizeof) ... ERROR test_sizeof_exact (test.test_ordered_dict.CPythonOrderedDictTests.test_sizeof_exact) ... skipped 'implementation detail specific to cpython' test_sorted_iterators (test.test_ordered_dict.CPythonOrderedDictTests.test_sorted_iterators) ... ok test_update (test.test_ordered_dict.CPythonOrderedDictTests.test_update) ... ok test_views (test.test_ordered_dict.CPythonOrderedDictTests.test_views) ... ok test_weakref_list_is_not_traversed (test.test_ordered_dict.CPythonOrderedDictTests.test_weakref_list_is_not_traversed) ... skipped 'implementation detail specific to cpython' test_yaml_linkage (test.test_ordered_dict.CPythonOrderedDictTests.test_yaml_linkage) ... ok test_copying (test.test_ordered_dict.CPythonOrderedDictWithSlotsCopyingTests.test_copying) ... ok test_bool (test.test_ordered_dict.CPythonSubclassMappingTests.test_bool) ... ok test_constructor (test.test_ordered_dict.CPythonSubclassMappingTests.test_constructor) ... ok test_get (test.test_ordered_dict.CPythonSubclassMappingTests.test_get) ... ok test_getitem (test.test_ordered_dict.CPythonSubclassMappingTests.test_getitem) ... ok test_items (test.test_ordered_dict.CPythonSubclassMappingTests.test_items) ... ok test_keys (test.test_ordered_dict.CPythonSubclassMappingTests.test_keys) ... ok test_len (test.test_ordered_dict.CPythonSubclassMappingTests.test_len) ... ok test_pop (test.test_ordered_dict.CPythonSubclassMappingTests.test_pop) ... ok test_popitem (test.test_ordered_dict.CPythonSubclassMappingTests.test_popitem) ... ok test_read (test.test_ordered_dict.CPythonSubclassMappingTests.test_read) ... ok test_setdefault (test.test_ordered_dict.CPythonSubclassMappingTests.test_setdefault) ... ok test_update (test.test_ordered_dict.CPythonSubclassMappingTests.test_update) ... ok test_values (test.test_ordered_dict.CPythonSubclassMappingTests.test_values) ... ok test_write (test.test_ordered_dict.CPythonSubclassMappingTests.test_write) ... ok test_add_after_full (test.test_ordered_dict.CSimpleLRUCacheTests.test_add_after_full) ... ok test_change_order_on_get (test.test_ordered_dict.CSimpleLRUCacheTests.test_change_order_on_get) ... ok test_pop (test.test_ordered_dict.CSimpleLRUCacheTests.test_pop) ... ok test_popitem (test.test_ordered_dict.CSimpleLRUCacheTests.test_popitem) ... ok test_bool (test.test_ordered_dict.PurePythonGeneralMappingTests.test_bool) ... ok test_constructor (test.test_ordered_dict.PurePythonGeneralMappingTests.test_constructor) ... ok test_get (test.test_ordered_dict.PurePythonGeneralMappingTests.test_get) ... ok test_getitem (test.test_ordered_dict.PurePythonGeneralMappingTests.test_getitem) ... ok test_items (test.test_ordered_dict.PurePythonGeneralMappingTests.test_items) ... ok test_keys (test.test_ordered_dict.PurePythonGeneralMappingTests.test_keys) ... ok test_len (test.test_ordered_dict.PurePythonGeneralMappingTests.test_len) ... ok test_pop (test.test_ordered_dict.PurePythonGeneralMappingTests.test_pop) ... ok test_popitem (test.test_ordered_dict.PurePythonGeneralMappingTests.test_popitem) ... ok test_read (test.test_ordered_dict.PurePythonGeneralMappingTests.test_read) ... ok test_setdefault (test.test_ordered_dict.PurePythonGeneralMappingTests.test_setdefault) ... ok test_update (test.test_ordered_dict.PurePythonGeneralMappingTests.test_update) ... ok test_values (test.test_ordered_dict.PurePythonGeneralMappingTests.test_values) ... ok test_write (test.test_ordered_dict.PurePythonGeneralMappingTests.test_write) ... ok test_468 (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_468) ... ok test_abc (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_abc) ... ok test_clear (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_clear) ... ok test_copying (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_copying) ... ok test_delitem (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_delitem) ... ok test_delitem_hash_collision (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_delitem_hash_collision) ... ok test_detect_deletion_during_iteration (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_detect_deletion_during_iteration) ... ok test_dict_clear (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_dict_clear) ... ok test_dict_delitem (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_dict_delitem) ... ok test_dict_pop (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_dict_pop) ... ok test_dict_popitem (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_dict_popitem) ... ok test_dict_setdefault (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_dict_setdefault) ... ok test_dict_setitem (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_dict_setitem) ... ok test_dict_update (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_dict_update) ... ok test_equality (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_equality) ... ok test_free_after_iterating (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_free_after_iterating) ... ok test_fromkeys (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_fromkeys) ... ok test_highly_nested (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_highly_nested) ... ok test_highly_nested_subclass (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_highly_nested_subclass) ... FAIL test_init (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_init) ... ok test_init_calls (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_init_calls) ... ok test_issue119004_attribute_error (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_issue119004_attribute_error) ... ok test_issue24347 (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_issue24347) ... ok test_issue24348 (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_issue24348) ... ok test_issue24667 (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_issue24667) dict resizes after a certain number of insertion operations, ... ok test_iterators (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_iterators) ... ok test_iterators_empty (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_iterators_empty) ... ok test_merge_operator (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_merge_operator) ... ok test_move_to_end (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_move_to_end) ... ok test_move_to_end_issue25406 (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_move_to_end_issue25406) ... ok test_ordered_dict_items_result_gc (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_ordered_dict_items_result_gc) ... skipped 'implementation detail specific to cpython' test_overridden_init (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_overridden_init) ... ok test_override_update (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_override_update) ... ok test_pickle_recursive (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_pickle_recursive) ... ok test_pop (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_pop) ... ok test_popitem (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_popitem) ... ok test_popitem_last (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_popitem_last) ... ok test_reduce_not_too_fat (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_reduce_not_too_fat) ... ok test_reference_loop (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_reference_loop) ... ok test_reinsert (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_reinsert) ... ok test_repr (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_repr) ... ok test_repr_recursive (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_repr_recursive) ... ok test_repr_recursive_values (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_repr_recursive_values) ... ok test_setdefault (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_setdefault) ... ok test_setitem (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_setitem) ... ok test_sizeof (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_sizeof) ... ERROR test_sorted_iterators (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_sorted_iterators) ... ok test_update (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_update) ... ok test_views (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_views) ... ok test_yaml_linkage (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_yaml_linkage) ... ok test_468 (test.test_ordered_dict.PurePythonOrderedDictTests.test_468) ... ok test_abc (test.test_ordered_dict.PurePythonOrderedDictTests.test_abc) ... ok test_clear (test.test_ordered_dict.PurePythonOrderedDictTests.test_clear) ... ok test_copying (test.test_ordered_dict.PurePythonOrderedDictTests.test_copying) ... ok test_delitem (test.test_ordered_dict.PurePythonOrderedDictTests.test_delitem) ... ok test_delitem_hash_collision (test.test_ordered_dict.PurePythonOrderedDictTests.test_delitem_hash_collision) ... ok test_detect_deletion_during_iteration (test.test_ordered_dict.PurePythonOrderedDictTests.test_detect_deletion_during_iteration) ... ok test_dict_clear (test.test_ordered_dict.PurePythonOrderedDictTests.test_dict_clear) ... ok test_dict_delitem (test.test_ordered_dict.PurePythonOrderedDictTests.test_dict_delitem) ... ok test_dict_pop (test.test_ordered_dict.PurePythonOrderedDictTests.test_dict_pop) ... ok test_dict_popitem (test.test_ordered_dict.PurePythonOrderedDictTests.test_dict_popitem) ... ok test_dict_setdefault (test.test_ordered_dict.PurePythonOrderedDictTests.test_dict_setdefault) ... ok test_dict_setitem (test.test_ordered_dict.PurePythonOrderedDictTests.test_dict_setitem) ... ok test_dict_update (test.test_ordered_dict.PurePythonOrderedDictTests.test_dict_update) ... ok test_equality (test.test_ordered_dict.PurePythonOrderedDictTests.test_equality) ... ok test_free_after_iterating (test.test_ordered_dict.PurePythonOrderedDictTests.test_free_after_iterating) ... ok test_fromkeys (test.test_ordered_dict.PurePythonOrderedDictTests.test_fromkeys) ... ok test_highly_nested (test.test_ordered_dict.PurePythonOrderedDictTests.test_highly_nested) ... ok test_highly_nested_subclass (test.test_ordered_dict.PurePythonOrderedDictTests.test_highly_nested_subclass) ... FAIL test_init (test.test_ordered_dict.PurePythonOrderedDictTests.test_init) ... ok test_init_calls (test.test_ordered_dict.PurePythonOrderedDictTests.test_init_calls) ... ok test_issue119004_attribute_error (test.test_ordered_dict.PurePythonOrderedDictTests.test_issue119004_attribute_error) ... ok test_issue24347 (test.test_ordered_dict.PurePythonOrderedDictTests.test_issue24347) ... ok test_issue24348 (test.test_ordered_dict.PurePythonOrderedDictTests.test_issue24348) ... ok test_issue24667 (test.test_ordered_dict.PurePythonOrderedDictTests.test_issue24667) dict resizes after a certain number of insertion operations, ... ok test_iterators (test.test_ordered_dict.PurePythonOrderedDictTests.test_iterators) ... ok test_iterators_empty (test.test_ordered_dict.PurePythonOrderedDictTests.test_iterators_empty) ... ok test_merge_operator (test.test_ordered_dict.PurePythonOrderedDictTests.test_merge_operator) ... ok test_move_to_end (test.test_ordered_dict.PurePythonOrderedDictTests.test_move_to_end) ... ok test_move_to_end_issue25406 (test.test_ordered_dict.PurePythonOrderedDictTests.test_move_to_end_issue25406) ... ok test_ordered_dict_items_result_gc (test.test_ordered_dict.PurePythonOrderedDictTests.test_ordered_dict_items_result_gc) ... skipped 'implementation detail specific to cpython' test_overridden_init (test.test_ordered_dict.PurePythonOrderedDictTests.test_overridden_init) ... ok test_override_update (test.test_ordered_dict.PurePythonOrderedDictTests.test_override_update) ... ok test_pickle_recursive (test.test_ordered_dict.PurePythonOrderedDictTests.test_pickle_recursive) ... ok test_pop (test.test_ordered_dict.PurePythonOrderedDictTests.test_pop) ... ok test_popitem (test.test_ordered_dict.PurePythonOrderedDictTests.test_popitem) ... ok test_popitem_last (test.test_ordered_dict.PurePythonOrderedDictTests.test_popitem_last) ... ok test_reduce_not_too_fat (test.test_ordered_dict.PurePythonOrderedDictTests.test_reduce_not_too_fat) ... ok test_reference_loop (test.test_ordered_dict.PurePythonOrderedDictTests.test_reference_loop) ... ok test_reinsert (test.test_ordered_dict.PurePythonOrderedDictTests.test_reinsert) ... ok test_repr (test.test_ordered_dict.PurePythonOrderedDictTests.test_repr) ... ok test_repr_recursive (test.test_ordered_dict.PurePythonOrderedDictTests.test_repr_recursive) ... ok test_repr_recursive_values (test.test_ordered_dict.PurePythonOrderedDictTests.test_repr_recursive_values) ... ok test_setdefault (test.test_ordered_dict.PurePythonOrderedDictTests.test_setdefault) ... ok test_setitem (test.test_ordered_dict.PurePythonOrderedDictTests.test_setitem) ... ok test_sizeof (test.test_ordered_dict.PurePythonOrderedDictTests.test_sizeof) ... ERROR test_sorted_iterators (test.test_ordered_dict.PurePythonOrderedDictTests.test_sorted_iterators) ... ok test_update (test.test_ordered_dict.PurePythonOrderedDictTests.test_update) ... ok test_views (test.test_ordered_dict.PurePythonOrderedDictTests.test_views) ... ok test_yaml_linkage (test.test_ordered_dict.PurePythonOrderedDictTests.test_yaml_linkage) ... ok test_copying (test.test_ordered_dict.PurePythonOrderedDictWithSlotsCopyingTests.test_copying) ... ok test_bool (test.test_ordered_dict.PurePythonSubclassMappingTests.test_bool) ... ok test_constructor (test.test_ordered_dict.PurePythonSubclassMappingTests.test_constructor) ... ok test_get (test.test_ordered_dict.PurePythonSubclassMappingTests.test_get) ... ok test_getitem (test.test_ordered_dict.PurePythonSubclassMappingTests.test_getitem) ... ok test_items (test.test_ordered_dict.PurePythonSubclassMappingTests.test_items) ... ok test_keys (test.test_ordered_dict.PurePythonSubclassMappingTests.test_keys) ... ok test_len (test.test_ordered_dict.PurePythonSubclassMappingTests.test_len) ... ok test_pop (test.test_ordered_dict.PurePythonSubclassMappingTests.test_pop) ... ok test_popitem (test.test_ordered_dict.PurePythonSubclassMappingTests.test_popitem) ... ok test_read (test.test_ordered_dict.PurePythonSubclassMappingTests.test_read) ... ok test_setdefault (test.test_ordered_dict.PurePythonSubclassMappingTests.test_setdefault) ... ok test_update (test.test_ordered_dict.PurePythonSubclassMappingTests.test_update) ... ok test_values (test.test_ordered_dict.PurePythonSubclassMappingTests.test_values) ... ok test_write (test.test_ordered_dict.PurePythonSubclassMappingTests.test_write) ... ok test_add_after_full (test.test_ordered_dict.PySimpleLRUCacheTests.test_add_after_full) ... ok test_change_order_on_get (test.test_ordered_dict.PySimpleLRUCacheTests.test_change_order_on_get) ... ok test_pop (test.test_ordered_dict.PySimpleLRUCacheTests.test_pop) ... ok test_popitem (test.test_ordered_dict.PySimpleLRUCacheTests.test_popitem) ... ok ====================================================================== ERROR: test_issue119004_change_size_by_delete_key_in_dict_eq (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_issue119004_change_size_by_delete_key_in_dict_eq) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 871, in test_issue119004_change_size_by_delete_key_in_dict_eq self.assertNotEqual(dict1, dict2) ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/case.py", line 891, in assertNotEqual if not first != second: ^^^^^^^^^^^^^^^ RuntimeError: dictionary changed size during iteration ====================================================================== ERROR: test_sizeof (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_sizeof) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 474, in test_sizeof self.assertGreater(sys.getsizeof(od), sys.getsizeof(d)) ^^^^^^^^^ TypeError: getsizeof(...) getsizeof(object, default) -> int Return the size of object in bytes. sys.getsizeof(object, default) will always return default on PyPy, and raise a TypeError if default is not provided. First note that the CPython documentation says that this function may raise a TypeError, so if you are seeing it, it means that the program you are using is not correctly handling this case. On PyPy, though, it always raises TypeError. Before looking for alternatives, please take a moment to read the following explanation as to why it is the case. What you are looking for may not be possible. A memory profiler using this function is most likely to give results inconsistent with reality on PyPy. It would be possible to have sys.getsizeof() return a number (with enough work), but that may or may not represent how much memory the object uses. It doesn't even make really sense to ask how much *one* object uses, in isolation with the rest of the system. For example, instances have maps, which are often shared across many instances; in this case the maps would probably be ignored by an implementation of sys.getsizeof(), but their overhead is important in some cases if they are many instances with unique maps. Conversely, equal strings may share their internal string data even if they are different objects---or empty containers may share parts of their internals as long as they are empty. Even stranger, some lists create objects as you read them; if you try to estimate the size in memory of range(10**6) as the sum of all items' size, that operation will by itself create one million integer objects that never existed in the first place. ====================================================================== ERROR: test_issue119004_change_size_by_delete_key_in_dict_eq (test.test_ordered_dict.CPythonOrderedDictTests.test_issue119004_change_size_by_delete_key_in_dict_eq) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 871, in test_issue119004_change_size_by_delete_key_in_dict_eq self.assertNotEqual(dict1, dict2) ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/case.py", line 891, in assertNotEqual if not first != second: ^^^^^^^^^^^^^^^ RuntimeError: dictionary changed size during iteration ====================================================================== ERROR: test_sizeof (test.test_ordered_dict.CPythonOrderedDictTests.test_sizeof) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 474, in test_sizeof self.assertGreater(sys.getsizeof(od), sys.getsizeof(d)) ^^^^^^^^^ TypeError: getsizeof(...) getsizeof(object, default) -> int Return the size of object in bytes. sys.getsizeof(object, default) will always return default on PyPy, and raise a TypeError if default is not provided. First note that the CPython documentation says that this function may raise a TypeError, so if you are seeing it, it means that the program you are using is not correctly handling this case. On PyPy, though, it always raises TypeError. Before looking for alternatives, please take a moment to read the following explanation as to why it is the case. What you are looking for may not be possible. A memory profiler using this function is most likely to give results inconsistent with reality on PyPy. It would be possible to have sys.getsizeof() return a number (with enough work), but that may or may not represent how much memory the object uses. It doesn't even make really sense to ask how much *one* object uses, in isolation with the rest of the system. For example, instances have maps, which are often shared across many instances; in this case the maps would probably be ignored by an implementation of sys.getsizeof(), but their overhead is important in some cases if they are many instances with unique maps. Conversely, equal strings may share their internal string data even if they are different objects---or empty containers may share parts of their internals as long as they are empty. Even stranger, some lists create objects as you read them; if you try to estimate the size in memory of range(10**6) as the sum of all items' size, that operation will by itself create one million integer objects that never existed in the first place. ====================================================================== ERROR: test_sizeof (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_sizeof) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 474, in test_sizeof self.assertGreater(sys.getsizeof(od), sys.getsizeof(d)) ^^^^^^^^^ TypeError: getsizeof(...) getsizeof(object, default) -> int Return the size of object in bytes. sys.getsizeof(object, default) will always return default on PyPy, and raise a TypeError if default is not provided. First note that the CPython documentation says that this function may raise a TypeError, so if you are seeing it, it means that the program you are using is not correctly handling this case. On PyPy, though, it always raises TypeError. Before looking for alternatives, please take a moment to read the following explanation as to why it is the case. What you are looking for may not be possible. A memory profiler using this function is most likely to give results inconsistent with reality on PyPy. It would be possible to have sys.getsizeof() return a number (with enough work), but that may or may not represent how much memory the object uses. It doesn't even make really sense to ask how much *one* object uses, in isolation with the rest of the system. For example, instances have maps, which are often shared across many instances; in this case the maps would probably be ignored by an implementation of sys.getsizeof(), but their overhead is important in some cases if they are many instances with unique maps. Conversely, equal strings may share their internal string data even if they are different objects---or empty containers may share parts of their internals as long as they are empty. Even stranger, some lists create objects as you read them; if you try to estimate the size in memory of range(10**6) as the sum of all items' size, that operation will by itself create one million integer objects that never existed in the first place. ====================================================================== ERROR: test_sizeof (test.test_ordered_dict.PurePythonOrderedDictTests.test_sizeof) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 474, in test_sizeof self.assertGreater(sys.getsizeof(od), sys.getsizeof(d)) ^^^^^^^^^ TypeError: getsizeof(...) getsizeof(object, default) -> int Return the size of object in bytes. sys.getsizeof(object, default) will always return default on PyPy, and raise a TypeError if default is not provided. First note that the CPython documentation says that this function may raise a TypeError, so if you are seeing it, it means that the program you are using is not correctly handling this case. On PyPy, though, it always raises TypeError. Before looking for alternatives, please take a moment to read the following explanation as to why it is the case. What you are looking for may not be possible. A memory profiler using this function is most likely to give results inconsistent with reality on PyPy. It would be possible to have sys.getsizeof() return a number (with enough work), but that may or may not represent how much memory the object uses. It doesn't even make really sense to ask how much *one* object uses, in isolation with the rest of the system. For example, instances have maps, which are often shared across many instances; in this case the maps would probably be ignored by an implementation of sys.getsizeof(), but their overhead is important in some cases if they are many instances with unique maps. Conversely, equal strings may share their internal string data even if they are different objects---or empty containers may share parts of their internals as long as they are empty. Even stranger, some lists create objects as you read them; if you try to estimate the size in memory of range(10**6) as the sum of all items' size, that operation will by itself create one million integer objects that never existed in the first place. ====================================================================== FAIL: test_highly_nested_subclass (test.test_ordered_dict.CPythonBuiltinDictTests.test_highly_nested_subclass) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 519, in test_highly_nested_subclass self.assertEqual(deleted, list(reversed(range(100)))) ^^^^^^^^^^^ AssertionError: Lists differ: [99, 98, 97] != [99, 98, 97, 96, 95, 94, 93, 92, 91, 90, 89, 88, 87,[333 chars]1, 0] Second list contains 97 additional elements. First extra element 3: 96 Diff is 705 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_dict_delitem (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_dict_delitem) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 631, in test_dict_delitem with self.assertRaises(KeyError): AssertionError: KeyError not raised ====================================================================== FAIL: test_dict_pop (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_dict_pop) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 648, in test_dict_pop with self.assertRaises(KeyError): AssertionError: KeyError not raised ====================================================================== FAIL: test_dict_popitem (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_dict_popitem) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 657, in test_dict_popitem with self.assertRaises(KeyError): AssertionError: KeyError not raised ====================================================================== FAIL: test_highly_nested_subclass (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_highly_nested_subclass) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 519, in test_highly_nested_subclass self.assertEqual(deleted, list(reversed(range(100)))) ^^^^^^^^^^^ AssertionError: Lists differ: [99, 98, 97] != [99, 98, 97, 96, 95, 94, 93, 92, 91, 90, 89, 88, 87,[333 chars]1, 0] Second list contains 97 additional elements. First extra element 3: 96 Diff is 705 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_issue119004_change_linked_list_by_clear (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_issue119004_change_linked_list_by_clear) ---------------------------------------------------------------------- RuntimeError: dictionary changed size during iteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 841, in test_issue119004_change_linked_list_by_clear self.check_runtime_error_issue119004(dict1, dict2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 806, in check_runtime_error_issue119004 self.assertRaisesRegex(RuntimeError, msg, operator.eq, dict1, dict2) ^^^^^^^^^^^^^^^^^ AssertionError: "OrderedDict\ mutated\ during\ iteration" does not match "dictionary changed size during iteration" ====================================================================== FAIL: test_issue119004_change_linked_list_by_delete_key (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_issue119004_change_linked_list_by_delete_key) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 855, in test_issue119004_change_linked_list_by_delete_key self.check_runtime_error_issue119004(dict1, dict2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 806, in check_runtime_error_issue119004 self.assertRaisesRegex(RuntimeError, msg, operator.eq, dict1, dict2) ^^^^^^^^^^^^^^^^^ AssertionError: RuntimeError not raised by eq ====================================================================== FAIL: test_issue119004_change_size_by_clear (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_issue119004_change_size_by_clear) ---------------------------------------------------------------------- RuntimeError: dictionary changed size during iteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 815, in test_issue119004_change_size_by_clear self.check_runtime_error_issue119004(dict1, dict2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 806, in check_runtime_error_issue119004 self.assertRaisesRegex(RuntimeError, msg, operator.eq, dict1, dict2) ^^^^^^^^^^^^^^^^^ AssertionError: "OrderedDict\ mutated\ during\ iteration" does not match "dictionary changed size during iteration" ====================================================================== FAIL: test_issue119004_change_size_by_delete_key (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_issue119004_change_size_by_delete_key) ---------------------------------------------------------------------- RuntimeError: dictionary changed size during iteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 828, in test_issue119004_change_size_by_delete_key self.check_runtime_error_issue119004(dict1, dict2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 806, in check_runtime_error_issue119004 self.assertRaisesRegex(RuntimeError, msg, operator.eq, dict1, dict2) ^^^^^^^^^^^^^^^^^ AssertionError: "OrderedDict\ mutated\ during\ iteration" does not match "dictionary changed size during iteration" ====================================================================== FAIL: test_issue24347 (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_issue24347) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 573, in test_issue24347 with self.assertRaises(KeyError): AssertionError: KeyError not raised ====================================================================== FAIL: test_key_change_during_iteration (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_key_change_during_iteration) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 924, in test_key_change_during_iteration with self.assertRaises(RuntimeError): AssertionError: RuntimeError not raised ====================================================================== FAIL: test_repr (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_repr) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 377, in test_repr self.assertEqual(repr(od), ^^^^^^^^^^^ AssertionError: "OrderedDict([('c', 1), ('b', 2), ('a', 3), ('d', 4), ('e', 5), ('f', 6)])" != "OrderedDict({'c': 1, 'b': 2, 'a': 3, 'd': 4, 'e': 5, 'f': 6})" - OrderedDict([('c', 1), ('b', 2), ('a', 3), ('d', 4), ('e', 5), ('f', 6)]) + OrderedDict({'c': 1, 'b': 2, 'a': 3, 'd': 4, 'e': 5, 'f': 6}) ====================================================================== FAIL: test_repr_recursive (test.test_ordered_dict.CPythonOrderedDictSubclassTests.test_repr_recursive) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 387, in test_repr_recursive self.assertEqual(repr(od), ^^^^^^^^^^^ AssertionError: "OrderedDict([('a', None), ('b', None), ('c', None), ('x', ...)])" != "OrderedDict({'a': None, 'b': None, 'c': None, 'x': ...})" - OrderedDict([('a', None), ('b', None), ('c', None), ('x', ...)]) ? ^^ ^ - - ^ - - ^ - - ^ ^^ + OrderedDict({'a': None, 'b': None, 'c': None, 'x': ...}) ? ^ ^ ^ ^ ^ ^ ====================================================================== FAIL: test_dict_delitem (test.test_ordered_dict.CPythonOrderedDictTests.test_dict_delitem) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 631, in test_dict_delitem with self.assertRaises(KeyError): AssertionError: KeyError not raised ====================================================================== FAIL: test_dict_pop (test.test_ordered_dict.CPythonOrderedDictTests.test_dict_pop) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 648, in test_dict_pop with self.assertRaises(KeyError): AssertionError: KeyError not raised ====================================================================== FAIL: test_dict_popitem (test.test_ordered_dict.CPythonOrderedDictTests.test_dict_popitem) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 657, in test_dict_popitem with self.assertRaises(KeyError): AssertionError: KeyError not raised ====================================================================== FAIL: test_highly_nested_subclass (test.test_ordered_dict.CPythonOrderedDictTests.test_highly_nested_subclass) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 519, in test_highly_nested_subclass self.assertEqual(deleted, list(reversed(range(100)))) ^^^^^^^^^^^ AssertionError: Lists differ: [99, 98, 97] != [99, 98, 97, 96, 95, 94, 93, 92, 91, 90, 89, 88, 87,[333 chars]1, 0] Second list contains 97 additional elements. First extra element 3: 96 Diff is 705 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_issue119004_change_linked_list_by_clear (test.test_ordered_dict.CPythonOrderedDictTests.test_issue119004_change_linked_list_by_clear) ---------------------------------------------------------------------- RuntimeError: dictionary changed size during iteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 841, in test_issue119004_change_linked_list_by_clear self.check_runtime_error_issue119004(dict1, dict2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 806, in check_runtime_error_issue119004 self.assertRaisesRegex(RuntimeError, msg, operator.eq, dict1, dict2) ^^^^^^^^^^^^^^^^^ AssertionError: "OrderedDict\ mutated\ during\ iteration" does not match "dictionary changed size during iteration" ====================================================================== FAIL: test_issue119004_change_linked_list_by_delete_key (test.test_ordered_dict.CPythonOrderedDictTests.test_issue119004_change_linked_list_by_delete_key) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 855, in test_issue119004_change_linked_list_by_delete_key self.check_runtime_error_issue119004(dict1, dict2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 806, in check_runtime_error_issue119004 self.assertRaisesRegex(RuntimeError, msg, operator.eq, dict1, dict2) ^^^^^^^^^^^^^^^^^ AssertionError: RuntimeError not raised by eq ====================================================================== FAIL: test_issue119004_change_size_by_clear (test.test_ordered_dict.CPythonOrderedDictTests.test_issue119004_change_size_by_clear) ---------------------------------------------------------------------- RuntimeError: dictionary changed size during iteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 815, in test_issue119004_change_size_by_clear self.check_runtime_error_issue119004(dict1, dict2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 806, in check_runtime_error_issue119004 self.assertRaisesRegex(RuntimeError, msg, operator.eq, dict1, dict2) ^^^^^^^^^^^^^^^^^ AssertionError: "OrderedDict\ mutated\ during\ iteration" does not match "dictionary changed size during iteration" ====================================================================== FAIL: test_issue119004_change_size_by_delete_key (test.test_ordered_dict.CPythonOrderedDictTests.test_issue119004_change_size_by_delete_key) ---------------------------------------------------------------------- RuntimeError: dictionary changed size during iteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 828, in test_issue119004_change_size_by_delete_key self.check_runtime_error_issue119004(dict1, dict2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 806, in check_runtime_error_issue119004 self.assertRaisesRegex(RuntimeError, msg, operator.eq, dict1, dict2) ^^^^^^^^^^^^^^^^^ AssertionError: "OrderedDict\ mutated\ during\ iteration" does not match "dictionary changed size during iteration" ====================================================================== FAIL: test_issue24347 (test.test_ordered_dict.CPythonOrderedDictTests.test_issue24347) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 573, in test_issue24347 with self.assertRaises(KeyError): AssertionError: KeyError not raised ====================================================================== FAIL: test_key_change_during_iteration (test.test_ordered_dict.CPythonOrderedDictTests.test_key_change_during_iteration) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 924, in test_key_change_during_iteration with self.assertRaises(RuntimeError): AssertionError: RuntimeError not raised ====================================================================== FAIL: test_repr (test.test_ordered_dict.CPythonOrderedDictTests.test_repr) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 377, in test_repr self.assertEqual(repr(od), ^^^^^^^^^^^ AssertionError: "OrderedDict([('c', 1), ('b', 2), ('a', 3), ('d', 4), ('e', 5), ('f', 6)])" != "OrderedDict({'c': 1, 'b': 2, 'a': 3, 'd': 4, 'e': 5, 'f': 6})" - OrderedDict([('c', 1), ('b', 2), ('a', 3), ('d', 4), ('e', 5), ('f', 6)]) + OrderedDict({'c': 1, 'b': 2, 'a': 3, 'd': 4, 'e': 5, 'f': 6}) ====================================================================== FAIL: test_repr_recursive (test.test_ordered_dict.CPythonOrderedDictTests.test_repr_recursive) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 387, in test_repr_recursive self.assertEqual(repr(od), ^^^^^^^^^^^ AssertionError: "OrderedDict([('a', None), ('b', None), ('c', None), ('x', ...)])" != "OrderedDict({'a': None, 'b': None, 'c': None, 'x': ...})" - OrderedDict([('a', None), ('b', None), ('c', None), ('x', ...)]) ? ^^ ^ - - ^ - - ^ - - ^ ^^ + OrderedDict({'a': None, 'b': None, 'c': None, 'x': ...}) ? ^ ^ ^ ^ ^ ^ ====================================================================== FAIL: test_highly_nested_subclass (test.test_ordered_dict.PurePythonOrderedDictSubclassTests.test_highly_nested_subclass) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 519, in test_highly_nested_subclass self.assertEqual(deleted, list(reversed(range(100)))) ^^^^^^^^^^^ AssertionError: Lists differ: [99, 98, 97] != [99, 98, 97, 96, 95, 94, 93, 92, 91, 90, 89, 88, 87,[333 chars]1, 0] Second list contains 97 additional elements. First extra element 3: 96 Diff is 705 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_highly_nested_subclass (test.test_ordered_dict.PurePythonOrderedDictTests.test_highly_nested_subclass) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py", line 519, in test_highly_nested_subclass self.assertEqual(deleted, list(reversed(range(100)))) ^^^^^^^^^^^ AssertionError: Lists differ: [99, 98, 97] != [99, 98, 97, 96, 95, 94, 93, 92, 91, 90, 89, 88, 87,[333 chars]1, 0] Second list contains 97 additional elements. First extra element 3: 96 Diff is 705 characters long. Set self.maxDiff to None to see it. ---------------------------------------------------------------------- Ran 295 tests in 0.659s FAILED (failures=27, errors=6, skipped=8) 0:00:00 load avg: 0.64 [1/1/1] test_ordered_dict failed (6 errors, 27 failures) == Tests result: FAILURE == 1 test failed: test_ordered_dict Total duration: 759 ms Total tests: run=295 failures=27 skipped=8 Total test files: run=1/1 failed=1 Result: FAILURE test test_ordered_dict failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1750814æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1520629849 0:00:00 load avg: 0.67 Run 1 test sequentially in a single process 0:00:00 load avg: 0.67 [1/1] test_os test_blocking (test.test_os.BlockingTests.test_blocking) ... ok test_compare_to_walk (test.test_os.BytesFwalkTests.test_compare_to_walk) ... ok test_dir_fd (test.test_os.BytesFwalkTests.test_dir_fd) ... ok test_fd_finalization (test.test_os.BytesFwalkTests.test_fd_finalization) ... FAIL test_fd_leak (test.test_os.BytesFwalkTests.test_fd_leak) ... ok test_file_like_path (test.test_os.BytesFwalkTests.test_file_like_path) ... ok test_walk_above_recursion_limit (test.test_os.BytesFwalkTests.test_walk_above_recursion_limit) ... ok test_walk_bad_dir (test.test_os.BytesFwalkTests.test_walk_bad_dir) ... ok test_walk_bad_dir2 (test.test_os.BytesFwalkTests.test_walk_bad_dir2) ... ok test_walk_bottom_up (test.test_os.BytesFwalkTests.test_walk_bottom_up) ... ok test_walk_named_pipe (test.test_os.BytesFwalkTests.test_walk_named_pipe) ... ok test_walk_named_pipe2 (test.test_os.BytesFwalkTests.test_walk_named_pipe2) ... ok test_walk_prune (test.test_os.BytesFwalkTests.test_walk_prune) ... ok test_walk_symlink (test.test_os.BytesFwalkTests.test_walk_symlink) ... ok test_walk_topdown (test.test_os.BytesFwalkTests.test_walk_topdown) ... ok test_yields_correct_dir_fd (test.test_os.BytesFwalkTests.test_yields_correct_dir_fd) ... ok test_file_like_path (test.test_os.BytesWalkTests.test_file_like_path) ... ok test_walk_above_recursion_limit (test.test_os.BytesWalkTests.test_walk_above_recursion_limit) ... ok test_walk_bad_dir (test.test_os.BytesWalkTests.test_walk_bad_dir) ... ok test_walk_bad_dir2 (test.test_os.BytesWalkTests.test_walk_bad_dir2) ... ok test_walk_bottom_up (test.test_os.BytesWalkTests.test_walk_bottom_up) ... ok test_walk_many_open_files (test.test_os.BytesWalkTests.test_walk_many_open_files) ... ok test_walk_named_pipe (test.test_os.BytesWalkTests.test_walk_named_pipe) ... ok test_walk_named_pipe2 (test.test_os.BytesWalkTests.test_walk_named_pipe2) ... ok test_walk_prune (test.test_os.BytesWalkTests.test_walk_prune) ... ok test_walk_symlink (test.test_os.BytesWalkTests.test_walk_symlink) ... ok test_walk_topdown (test.test_os.BytesWalkTests.test_walk_topdown) ... ok test_cpu_count (test.test_os.CPUCountTests.test_cpu_count) ... ok test_chown_gid (test.test_os.ChownFileTests.test_chown_gid) ... skipped 'test needs at least 2 groups' test_chown_uid_gid_arguments_must_be_index (test.test_os.ChownFileTests.test_chown_uid_gid_arguments_must_be_index) ... ok test_chown_with_root (test.test_os.ChownFileTests.test_chown_with_root) ... skipped 'test needs root privilege and more than one user' test_chown_without_permission (test.test_os.ChownFileTests.test_chown_without_permission) ... ok test_devnull (test.test_os.DevNullTests.test_devnull) ... ok test_bad_fd (test.test_os.DeviceEncodingTests.test_bad_fd) ... ok test_device_encoding (test.test_os.DeviceEncodingTests.test_device_encoding) ... skipped 'test requires a tty and either Windows or nl_langinfo(CODESET)' test___repr__ (test.test_os.EnvironTests.test___repr__) Check that the repr() of os.environ looks like environ({...}). ... ok test_bool (test.test_os.EnvironTests.test_bool) ... ok test_constructor (test.test_os.EnvironTests.test_constructor) ... ok test_environb (test.test_os.EnvironTests.test_environb) ... ok test_get (test.test_os.EnvironTests.test_get) ... ok test_get_exec_path (test.test_os.EnvironTests.test_get_exec_path) ... ok test_getitem (test.test_os.EnvironTests.test_getitem) ... ok test_ior_operator (test.test_os.EnvironTests.test_ior_operator) ... ok test_ior_operator_invalid_dicts (test.test_os.EnvironTests.test_ior_operator_invalid_dicts) ... ok test_ior_operator_key_value_iterable (test.test_os.EnvironTests.test_ior_operator_key_value_iterable) ... ok test_items (test.test_os.EnvironTests.test_items) ... ok test_iter_error_when_changing_os_environ (test.test_os.EnvironTests.test_iter_error_when_changing_os_environ) ... ok test_iter_error_when_changing_os_environ_items (test.test_os.EnvironTests.test_iter_error_when_changing_os_environ_items) ... ok test_iter_error_when_changing_os_environ_values (test.test_os.EnvironTests.test_iter_error_when_changing_os_environ_values) ... ok test_key_type (test.test_os.EnvironTests.test_key_type) ... ok test_keys (test.test_os.EnvironTests.test_keys) ... ok test_keyvalue_types (test.test_os.EnvironTests.test_keyvalue_types) ... ok test_len (test.test_os.EnvironTests.test_len) ... ok test_or_operator (test.test_os.EnvironTests.test_or_operator) ... ok test_os_popen_iter (test.test_os.EnvironTests.test_os_popen_iter) ... ok test_pop (test.test_os.EnvironTests.test_pop) ... ok test_popitem (test.test_os.EnvironTests.test_popitem) ... ok test_putenv_unsetenv (test.test_os.EnvironTests.test_putenv_unsetenv) ... ok test_putenv_unsetenv_error (test.test_os.EnvironTests.test_putenv_unsetenv_error) ... ok test_read (test.test_os.EnvironTests.test_read) ... ok test_ror_operator (test.test_os.EnvironTests.test_ror_operator) ... ok test_setdefault (test.test_os.EnvironTests.test_setdefault) ... ok test_update (test.test_os.EnvironTests.test_update) ... ok test_update2 (test.test_os.EnvironTests.test_update2) ... ok test_values (test.test_os.EnvironTests.test_values) ... ok test_write (test.test_os.EnvironTests.test_write) ... ok test_eventfd_initval (test.test_os.EventfdTests.test_eventfd_initval) ... skipped 'requires os.eventfd' test_eventfd_select (test.test_os.EventfdTests.test_eventfd_select) ... skipped 'requires os.eventfd' test_eventfd_semaphore (test.test_os.EventfdTests.test_eventfd_semaphore) ... skipped 'requires os.eventfd' test_execv_with_bad_arglist (test.test_os.ExecTests.test_execv_with_bad_arglist) ... ok test_execve_invalid_env (test.test_os.ExecTests.test_execve_invalid_env) ... ok test_execve_with_empty_path (test.test_os.ExecTests.test_execve_with_empty_path) ... skipped 'Win32-specific test' test_execvpe_with_bad_arglist (test.test_os.ExecTests.test_execvpe_with_bad_arglist) ... ok test_execvpe_with_bad_program (test.test_os.ExecTests.test_execvpe_with_bad_program) ... ok test_internal_execvpe_str (test.test_os.ExecTests.test_internal_execvpe_str) ... ok test_os_all (test.test_os.ExportsTests.test_os_all) ... ok test_fds (test.test_os.ExtendedAttributeTests.test_fds) ... ok test_lpath (test.test_os.ExtendedAttributeTests.test_lpath) ... ok test_simple (test.test_os.ExtendedAttributeTests.test_simple) ... ok test_dup (test.test_os.FDInheritanceTests.test_dup) ... ok test_dup2 (test.test_os.FDInheritanceTests.test_dup2) ... ok test_dup_nul (test.test_os.FDInheritanceTests.test_dup_nul) ... skipped 'win32-specific test' test_dup_standard_stream (test.test_os.FDInheritanceTests.test_dup_standard_stream) ... ok test_get_inheritable_cloexec (test.test_os.FDInheritanceTests.test_get_inheritable_cloexec) ... ok test_get_set_inheritable (test.test_os.FDInheritanceTests.test_get_set_inheritable) ... ok test_get_set_inheritable_badf (test.test_os.FDInheritanceTests.test_get_set_inheritable_badf) ... ok test_get_set_inheritable_o_path (test.test_os.FDInheritanceTests.test_get_set_inheritable_o_path) ... skipped 'need os.O_PATH' test_open (test.test_os.FDInheritanceTests.test_open) ... ok test_openpty (test.test_os.FDInheritanceTests.test_openpty) ... ok test_pipe (test.test_os.FDInheritanceTests.test_pipe) ... ok test_set_inheritable_cloexec (test.test_os.FDInheritanceTests.test_set_inheritable_cloexec) ... ok test_identity (test.test_os.FSEncodingTests.test_identity) ... ok test_nop (test.test_os.FSEncodingTests.test_nop) ... ok test_access (test.test_os.FileTests.test_access) ... ok test_closerange (test.test_os.FileTests.test_closerange) ... ok test_copy_file_range (test.test_os.FileTests.test_copy_file_range) ... skipped 'test needs os.copy_file_range()' test_copy_file_range_invalid_values (test.test_os.FileTests.test_copy_file_range_invalid_values) ... skipped 'test needs os.copy_file_range()' test_copy_file_range_offset (test.test_os.FileTests.test_copy_file_range_offset) ... skipped 'test needs os.copy_file_range()' test_fdopen (test.test_os.FileTests.test_fdopen) ... ok test_large_read (test.test_os.FileTests.test_large_read) ... skipped 'implementation detail specific to cpython' test_open_keywords (test.test_os.FileTests.test_open_keywords) ... ok test_read (test.test_os.FileTests.test_read) ... ok test_rename (test.test_os.FileTests.test_rename) ... skipped 'implementation detail specific to cpython' test_replace (test.test_os.FileTests.test_replace) ... ok test_splice (test.test_os.FileTests.test_splice) ... skipped 'test needs os.splice()' test_splice_invalid_values (test.test_os.FileTests.test_splice_invalid_values) ... skipped 'test needs os.splice()' test_splice_offset_in (test.test_os.FileTests.test_splice_offset_in) ... skipped 'test needs os.splice()' test_splice_offset_out (test.test_os.FileTests.test_splice_offset_out) ... skipped 'test needs os.splice()' test_symlink_keywords (test.test_os.FileTests.test_symlink_keywords) ... ok test_write (test.test_os.FileTests.test_write) ... ok test_write_windows_console (test.test_os.FileTests.test_write_windows_console) ... skipped 'test specific to the Windows console' test_fork (test.test_os.ForkTests.test_fork) ... ok test_fork_at_finalization (test.test_os.ForkTests.test_fork_at_finalization) ... FAIL test_fork_warns_when_non_python_thread_exists (test.test_os.ForkTests.test_fork_warns_when_non_python_thread_exists) ... ok test_compare_to_walk (test.test_os.FwalkTests.test_compare_to_walk) ... ok test_dir_fd (test.test_os.FwalkTests.test_dir_fd) ... ok test_fd_finalization (test.test_os.FwalkTests.test_fd_finalization) ... ok test_fd_leak (test.test_os.FwalkTests.test_fd_leak) ... ok test_file_like_path (test.test_os.FwalkTests.test_file_like_path) ... ok test_walk_above_recursion_limit (test.test_os.FwalkTests.test_walk_above_recursion_limit) ... ok test_walk_bad_dir (test.test_os.FwalkTests.test_walk_bad_dir) ... ok test_walk_bad_dir2 (test.test_os.FwalkTests.test_walk_bad_dir2) ... ok test_walk_bottom_up (test.test_os.FwalkTests.test_walk_bottom_up) ... ok test_walk_named_pipe (test.test_os.FwalkTests.test_walk_named_pipe) ... ok test_walk_named_pipe2 (test.test_os.FwalkTests.test_walk_named_pipe2) ... ok test_walk_prune (test.test_os.FwalkTests.test_walk_prune) ... ok test_walk_symlink (test.test_os.FwalkTests.test_walk_symlink) ... ok test_walk_topdown (test.test_os.FwalkTests.test_walk_topdown) ... ok test_yields_correct_dir_fd (test.test_os.FwalkTests.test_yields_correct_dir_fd) ... ok test_getrandom0 (test.test_os.GetRandomTests.test_getrandom0) ... skipped 'need os.getrandom()' test_getrandom_nonblock (test.test_os.GetRandomTests.test_getrandom_nonblock) ... skipped 'need os.getrandom()' test_getrandom_random (test.test_os.GetRandomTests.test_getrandom_random) ... skipped 'need os.getrandom()' test_getrandom_type (test.test_os.GetRandomTests.test_getrandom_type) ... skipped 'need os.getrandom()' test_getrandom_value (test.test_os.GetRandomTests.test_getrandom_value) ... skipped 'need os.getrandom()' test_link (test.test_os.LinkTests.test_link) ... ok test_link_bytes (test.test_os.LinkTests.test_link_bytes) ... ok test_unicode_name (test.test_os.LinkTests.test_unicode_name) ... ok test_getlogin (test.test_os.LoginTests.test_getlogin) ... skipped 'Skip due to platform/environment differences on *NIX buildbots' test_exist_ok_existing_directory (test.test_os.MakedirTests.test_exist_ok_existing_directory) ... ok test_exist_ok_existing_regular_file (test.test_os.MakedirTests.test_exist_ok_existing_regular_file) ... ok test_exist_ok_s_isgid_directory (test.test_os.MakedirTests.test_exist_ok_s_isgid_directory) ... ok test_makedir (test.test_os.MakedirTests.test_makedir) ... ok test_mode (test.test_os.MakedirTests.test_mode) ... ok test_win32_mkdir_700 (test.test_os.MakedirTests.test_win32_mkdir_700) ... skipped 'requires Windows' test_memfd_create (test.test_os.MemfdCreateTests.test_memfd_create) ... skipped 'requires os.memfd_create' test_getcwd (test.test_os.MiscTests.test_getcwd) ... ok test_getcwd_long_path (test.test_os.MiscTests.test_getcwd_long_path) ... Tested current directory length: 2000 ok test_getcwdb (test.test_os.MiscTests.test_getcwdb) ... ok test_directory_link_nonlocal (test.test_os.NonLocalSymlinkTests.test_directory_link_nonlocal) The symlink target should resolve relative to the link, not relative ... ok test_oserror_filename (test.test_os.OSErrorTests.test_oserror_filename) ... ok test_path_t_converter (test.test_os.PathTConverterTests.test_path_t_converter) ... ok test_path_t_converter_and_custom_class (test.test_os.PathTConverterTests.test_path_t_converter_and_custom_class) ... ok test_listdir (test.test_os.Pep383Tests.test_listdir) ... ok test_open (test.test_os.Pep383Tests.test_open) ... ok test_stat (test.test_os.Pep383Tests.test_stat) ... ok test_statvfs (test.test_os.Pep383Tests.test_statvfs) ... ok test_getppid (test.test_os.PidTests.test_getppid) ... ok test_waitpid (test.test_os.PidTests.test_waitpid) ... ok test_waitpid_windows (test.test_os.PidTests.test_waitpid_windows) ... skipped 'win32-specific test' test_waitstatus_to_exitcode (test.test_os.PidTests.test_waitstatus_to_exitcode) ... ok test_waitstatus_to_exitcode_kill (test.test_os.PidTests.test_waitstatus_to_exitcode_kill) ... ok test_waitstatus_to_exitcode_windows (test.test_os.PidTests.test_waitstatus_to_exitcode_windows) ... skipped 'win32-specific test' test_setegid (test.test_os.PosixUidGidTests.test_setegid) ... ok test_seteuid (test.test_os.PosixUidGidTests.test_seteuid) ... ok test_setgid (test.test_os.PosixUidGidTests.test_setgid) ... ok test_setregid (test.test_os.PosixUidGidTests.test_setregid) ... ok test_setregid_neg1 (test.test_os.PosixUidGidTests.test_setregid_neg1) ... ok test_setreuid (test.test_os.PosixUidGidTests.test_setreuid) ... ok test_setreuid_neg1 (test.test_os.PosixUidGidTests.test_setreuid_neg1) ... ok test_setuid (test.test_os.PosixUidGidTests.test_setuid) ... ok test_set_get_priority (test.test_os.ProgramPriorityTests.test_set_get_priority) ... ok test_bytes (test.test_os.ReadlinkTests.test_bytes) ... ok test_missing_link (test.test_os.ReadlinkTests.test_missing_link) ... ok test_not_symlink (test.test_os.ReadlinkTests.test_not_symlink) ... ok test_pathlike (test.test_os.ReadlinkTests.test_pathlike) ... ok test_pathlike_bytes (test.test_os.ReadlinkTests.test_pathlike_bytes) ... ok test_remove_all (test.test_os.RemoveDirsTests.test_remove_all) ... ok test_remove_nothing (test.test_os.RemoveDirsTests.test_remove_nothing) ... ok test_remove_partial (test.test_os.RemoveDirsTests.test_remove_partial) ... ok test_nowait (test.test_os.SpawnTests.test_nowait) ... ok test_spawnl (test.test_os.SpawnTests.test_spawnl) ... ok test_spawnl_noargs (test.test_os.SpawnTests.test_spawnl_noargs) ... ok test_spawnle (test.test_os.SpawnTests.test_spawnle) ... ok test_spawnle_noargs (test.test_os.SpawnTests.test_spawnle_noargs) ... ok test_spawnlp (test.test_os.SpawnTests.test_spawnlp) ... ok test_spawnlpe (test.test_os.SpawnTests.test_spawnlpe) ... ok test_spawnv (test.test_os.SpawnTests.test_spawnv) ... ok test_spawnv_noargs (test.test_os.SpawnTests.test_spawnv_noargs) ... ok test_spawnve (test.test_os.SpawnTests.test_spawnve) ... ok test_spawnve_bytes (test.test_os.SpawnTests.test_spawnve_bytes) ... ok test_spawnve_invalid_env (test.test_os.SpawnTests.test_spawnve_invalid_env) ... ok test_spawnve_noargs (test.test_os.SpawnTests.test_spawnve_noargs) ... ok test_spawnvp (test.test_os.SpawnTests.test_spawnvp) ... ok test_spawnvpe (test.test_os.SpawnTests.test_spawnvpe) ... ok test_spawnvpe_invalid_env (test.test_os.SpawnTests.test_spawnvpe_invalid_env) ... ok test_15261 (test.test_os.StatAttributeTests.test_15261) ... skipped 'Win32 specific tests' test_1686475 (test.test_os.StatAttributeTests.test_1686475) ... skipped 'Win32 specific tests' test_access_denied (test.test_os.StatAttributeTests.test_access_denied) ... skipped 'Win32 specific tests' test_file_attributes (test.test_os.StatAttributeTests.test_file_attributes) ... skipped 'st_file_attributes is Win32 specific' test_stat_attributes (test.test_os.StatAttributeTests.test_stat_attributes) ... ok test_stat_attributes_bytes (test.test_os.StatAttributeTests.test_stat_attributes_bytes) ... ok test_stat_block_device (test.test_os.StatAttributeTests.test_stat_block_device) ... skipped 'Win32 specific tests' test_stat_result_pickle (test.test_os.StatAttributeTests.test_stat_result_pickle) ... ok test_statvfs_attributes (test.test_os.StatAttributeTests.test_statvfs_attributes) ... ok test_statvfs_result_pickle (test.test_os.StatAttributeTests.test_statvfs_result_pickle) ... ok test_does_not_crash (test.test_os.TermsizeTests.test_does_not_crash) Check if get_terminal_size() returns a meaningful value. ... skipped 'failed to query terminal size' test_stty_match (test.test_os.TermsizeTests.test_stty_match) Check if stty returns the same results ... skipped 'stty invocation failed' test_windows_fd (test.test_os.TermsizeTests.test_windows_fd) Check if get_terminal_size() returns a meaningful value in Windows ... skipped 'Windows specific test' test_uninstantiable (test.test_os.TestDirEntry.test_uninstantiable) ... ok test_unpickable (test.test_os.TestDirEntry.test_unpickable) ... ok test_blocking (test.test_os.TestInvalidFD.test_blocking) ... ok test_closerange (test.test_os.TestInvalidFD.test_closerange) ... ok test_dup (test.test_os.TestInvalidFD.test_dup) ... ok test_dup2 (test.test_os.TestInvalidFD.test_dup2) ... ok test_dup2_negative_fd (test.test_os.TestInvalidFD.test_dup2_negative_fd) ... ok test_fchdir (test.test_os.TestInvalidFD.test_fchdir) ... ok test_fchmod (test.test_os.TestInvalidFD.test_fchmod) ... ok test_fchown (test.test_os.TestInvalidFD.test_fchown) ... ok test_fdatasync (test.test_os.TestInvalidFD.test_fdatasync) ... ok test_fdopen (test.test_os.TestInvalidFD.test_fdopen) ... ok test_fpathconf (test.test_os.TestInvalidFD.test_fpathconf) ... ok test_fstat (test.test_os.TestInvalidFD.test_fstat) ... ok test_fstatvfs (test.test_os.TestInvalidFD.test_fstatvfs) ... ok test_fsync (test.test_os.TestInvalidFD.test_fsync) ... ok test_ftruncate (test.test_os.TestInvalidFD.test_ftruncate) ... ok test_inheritable (test.test_os.TestInvalidFD.test_inheritable) ... ok test_isatty (test.test_os.TestInvalidFD.test_isatty) ... ok test_lseek (test.test_os.TestInvalidFD.test_lseek) ... ok test_read (test.test_os.TestInvalidFD.test_read) ... ok test_readv (test.test_os.TestInvalidFD.test_readv) ... skipped 'test needs os.readv()' test_tcgetpgrp (test.test_os.TestInvalidFD.test_tcgetpgrp) ... ok test_tcsetpgrpt (test.test_os.TestInvalidFD.test_tcsetpgrpt) ... ok test_ttyname (test.test_os.TestInvalidFD.test_ttyname) ... ok test_write (test.test_os.TestInvalidFD.test_write) ... ok test_writev (test.test_os.TestInvalidFD.test_writev) ... skipped 'test needs os.writev()' test_argument_required (test.test_os.TestPEP519.test_argument_required) ... ok test_bad_pathlike (test.test_os.TestPEP519.test_bad_pathlike) ... ok test_fsencode_fsdecode (test.test_os.TestPEP519.test_fsencode_fsdecode) ... ok test_garbage_in_exception_out (test.test_os.TestPEP519.test_garbage_in_exception_out) ... ok test_pathlike (test.test_os.TestPEP519.test_pathlike) ... ok test_pathlike_class_getitem (test.test_os.TestPEP519.test_pathlike_class_getitem) ... ok test_pathlike_subclasshook (test.test_os.TestPEP519.test_pathlike_subclasshook) ... ok test_return_bytes (test.test_os.TestPEP519.test_return_bytes) ... ok test_return_string (test.test_os.TestPEP519.test_return_string) ... ok test_argument_required (test.test_os.TestPEP519PurePython.test_argument_required) ... ok test_bad_pathlike (test.test_os.TestPEP519PurePython.test_bad_pathlike) ... ok test_fsencode_fsdecode (test.test_os.TestPEP519PurePython.test_fsencode_fsdecode) ... ok test_garbage_in_exception_out (test.test_os.TestPEP519PurePython.test_garbage_in_exception_out) ... ok test_pathlike (test.test_os.TestPEP519PurePython.test_pathlike) ... ok test_pathlike_class_getitem (test.test_os.TestPEP519PurePython.test_pathlike_class_getitem) ... ok test_pathlike_subclasshook (test.test_os.TestPEP519PurePython.test_pathlike_subclasshook) ... ok test_return_bytes (test.test_os.TestPEP519PurePython.test_return_bytes) ... ok test_return_string (test.test_os.TestPEP519PurePython.test_return_string) ... ok test_attributes (test.test_os.TestScandir.test_attributes) ... ERROR test_attributes_junctions (test.test_os.TestScandir.test_attributes_junctions) ... skipped 'Can only test junctions with creation on win32.' test_bad_path_type (test.test_os.TestScandir.test_bad_path_type) ... ok test_broken_symlink (test.test_os.TestScandir.test_broken_symlink) ... ok test_bytes (test.test_os.TestScandir.test_bytes) ... ok test_bytes_like (test.test_os.TestScandir.test_bytes_like) ... FAIL test_close (test.test_os.TestScandir.test_close) ... FAIL test_consume_iterator_twice (test.test_os.TestScandir.test_consume_iterator_twice) ... ok test_context_manager (test.test_os.TestScandir.test_context_manager) ... ok test_context_manager_close (test.test_os.TestScandir.test_context_manager_close) ... ok test_context_manager_exception (test.test_os.TestScandir.test_context_manager_exception) ... ok test_current_directory (test.test_os.TestScandir.test_current_directory) ... ok test_empty_path (test.test_os.TestScandir.test_empty_path) ... ok test_fd (test.test_os.TestScandir.test_fd) ... ok test_fspath_protocol (test.test_os.TestScandir.test_fspath_protocol) ... ok test_fspath_protocol_bytes (test.test_os.TestScandir.test_fspath_protocol_bytes) ... ok test_removed_dir (test.test_os.TestScandir.test_removed_dir) ... ok test_removed_file (test.test_os.TestScandir.test_removed_file) ... ok test_repr (test.test_os.TestScandir.test_repr) ... ok test_resource_warning (test.test_os.TestScandir.test_resource_warning) ... ok test_uninstantiable (test.test_os.TestScandir.test_uninstantiable) ... ok test_unpickable (test.test_os.TestScandir.test_unpickable) ... ok test_flags (test.test_os.TestSendfile.test_flags) ... skipped 'requires headers and trailers support' test_headers (test.test_os.TestSendfile.test_headers) ... skipped 'requires headers and trailers support' test_headers_overflow_32bits (test.test_os.TestSendfile.test_headers_overflow_32bits) ... skipped 'requires headers and trailers support' test_invalid_offset (test.test_os.TestSendfile.test_invalid_offset) ... ok test_keywords (test.test_os.TestSendfile.test_keywords) ... ok test_offset_overflow (test.test_os.TestSendfile.test_offset_overflow) ... ok test_send_at_certain_offset (test.test_os.TestSendfile.test_send_at_certain_offset) ... ok test_send_whole_file (test.test_os.TestSendfile.test_send_whole_file) ... ok test_trailers (test.test_os.TestSendfile.test_trailers) ... skipped 'requires headers and trailers support' test_trailers_overflow_32bits (test.test_os.TestSendfile.test_trailers_overflow_32bits) ... skipped 'requires headers and trailers support' test_times (test.test_os.TimesTests.test_times) ... ok test_urandom_failure (test.test_os.URandomFDTests.test_urandom_failure) ... ok test_urandom_fd_closed (test.test_os.URandomFDTests.test_urandom_fd_closed) ... ok test_urandom_fd_reopened (test.test_os.URandomFDTests.test_urandom_fd_reopened) ... ok test_urandom_length (test.test_os.URandomTests.test_urandom_length) ... ok test_urandom_subprocess (test.test_os.URandomTests.test_urandom_subprocess) ... ok test_urandom_value (test.test_os.URandomTests.test_urandom_value) ... ok test_issue31577 (test.test_os.UtimeTests.test_issue31577) ... skipped 'implementation detail specific to cpython' test_large_time (test.test_os.UtimeTests.test_large_time) ... skipped 'requires NTFS' test_utime (test.test_os.UtimeTests.test_utime) ... ok test_utime_by_indexed (test.test_os.UtimeTests.test_utime_by_indexed) ... ok test_utime_by_times (test.test_os.UtimeTests.test_utime_by_times) ... ok test_utime_current (test.test_os.UtimeTests.test_utime_current) ... ok test_utime_current_old (test.test_os.UtimeTests.test_utime_current_old) ... ok test_utime_dir_fd (test.test_os.UtimeTests.test_utime_dir_fd) ... ok test_utime_directory (test.test_os.UtimeTests.test_utime_directory) ... ok test_utime_fd (test.test_os.UtimeTests.test_utime_fd) ... ok test_utime_invalid_arguments (test.test_os.UtimeTests.test_utime_invalid_arguments) ... ok test_utime_nofollow_symlinks (test.test_os.UtimeTests.test_utime_nofollow_symlinks) ... ok test_file_like_path (test.test_os.WalkTests.test_file_like_path) ... ok test_walk_above_recursion_limit (test.test_os.WalkTests.test_walk_above_recursion_limit) ... ok test_walk_bad_dir (test.test_os.WalkTests.test_walk_bad_dir) ... ok test_walk_bad_dir2 (test.test_os.WalkTests.test_walk_bad_dir2) ... ok test_walk_bottom_up (test.test_os.WalkTests.test_walk_bottom_up) ... ok test_walk_many_open_files (test.test_os.WalkTests.test_walk_many_open_files) ... ok test_walk_named_pipe (test.test_os.WalkTests.test_walk_named_pipe) ... ok test_walk_named_pipe2 (test.test_os.WalkTests.test_walk_named_pipe2) ... ok test_walk_prune (test.test_os.WalkTests.test_walk_prune) ... ok test_walk_symlink (test.test_os.WalkTests.test_walk_symlink) ... ok test_walk_topdown (test.test_os.WalkTests.test_walk_topdown) ... ok test_chdir (test.test_os.Win32ErrorTests.test_chdir) ... skipped 'Win32 specific tests' test_chmod (test.test_os.Win32ErrorTests.test_chmod) ... skipped 'Win32 specific tests' test_mkdir (test.test_os.Win32ErrorTests.test_mkdir) ... skipped 'Win32 specific tests' test_remove (test.test_os.Win32ErrorTests.test_remove) ... skipped 'Win32 specific tests' test_rename (test.test_os.Win32ErrorTests.test_rename) ... skipped 'Win32 specific tests' test_utime (test.test_os.Win32ErrorTests.test_utime) ... skipped 'Win32 specific tests' test_create_junction (test.test_os.Win32JunctionTests.test_create_junction) ... skipped 'Win32 specific tests' test_unlink_removes_junction (test.test_os.Win32JunctionTests.test_unlink_removes_junction) ... skipped 'Win32 specific tests' test_CTRL_BREAK_EVENT (test.test_os.Win32KillTests.test_CTRL_BREAK_EVENT) ... skipped 'Win32 specific tests' test_CTRL_C_EVENT (test.test_os.Win32KillTests.test_CTRL_C_EVENT) ... skipped 'Win32 specific tests' test_kill_int (test.test_os.Win32KillTests.test_kill_int) ... skipped 'Win32 specific tests' test_kill_sigterm (test.test_os.Win32KillTests.test_kill_sigterm) ... skipped 'Win32 specific tests' test_listdir_extended_path (test.test_os.Win32ListdirTests.test_listdir_extended_path) Test when the path starts with '\\?\'. ... skipped 'Win32 specific tests' test_listdir_no_extended_path (test.test_os.Win32ListdirTests.test_listdir_no_extended_path) Test when the path is not an "extended" path. ... skipped 'Win32 specific tests' test_listdrives (test.test_os.Win32ListdriveTests.test_listdrives) ... skipped 'NT specific tests' test_listmounts (test.test_os.Win32ListdriveTests.test_listmounts) ... skipped 'NT specific tests' test_listvolumes (test.test_os.Win32ListdriveTests.test_listvolumes) ... skipped 'NT specific tests' test_getfinalpathname_handles (test.test_os.Win32NtTests.test_getfinalpathname_handles) ... skipped 'Win32 specific tests' test_stat_inaccessible_file (test.test_os.Win32NtTests.test_stat_inaccessible_file) ... skipped 'Win32 specific tests' test_stat_unlink_race (test.test_os.Win32NtTests.test_stat_unlink_race) ... skipped 'Win32 specific tests' test_12084 (test.test_os.Win32SymlinkTests.test_12084) ... skipped 'Win32 specific tests' test_29248 (test.test_os.Win32SymlinkTests.test_29248) ... skipped 'Win32 specific tests' test_appexeclink (test.test_os.Win32SymlinkTests.test_appexeclink) ... skipped 'Win32 specific tests' test_buffer_overflow (test.test_os.Win32SymlinkTests.test_buffer_overflow) ... skipped 'Win32 specific tests' test_directory_link (test.test_os.Win32SymlinkTests.test_directory_link) ... skipped 'Win32 specific tests' test_file_link (test.test_os.Win32SymlinkTests.test_file_link) ... skipped 'Win32 specific tests' test_isdir_on_directory_link_to_missing_target (test.test_os.Win32SymlinkTests.test_isdir_on_directory_link_to_missing_target) ... skipped 'Win32 specific tests' test_remove_directory_link_to_missing_target (test.test_os.Win32SymlinkTests.test_remove_directory_link_to_missing_target) ... skipped 'Win32 specific tests' test_rmdir_on_directory_link_to_missing_target (test.test_os.Win32SymlinkTests.test_rmdir_on_directory_link_to_missing_target) ... skipped 'Win32 specific tests' ====================================================================== ERROR: test_attributes (test.test_os.TestScandir.test_attributes) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_os.py", line 4506, in test_attributes self.check_entry(entry, 'dir', True, False, False) ^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_os.py", line 4472, in check_entry self.assertEqual(entry.is_junction(), os.path.isjunction(entry.path)) ^^^^^^^^^^^ AttributeError: 'posix.DirEntry' object has no attribute 'is_junction' ====================================================================== FAIL: test_fd_finalization (test.test_os.BytesFwalkTests.test_fd_finalization) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_os.py", line 1693, in test_fd_finalization self.assertEqual(getfd(), old_fd) ^^^^^^^^^^^ AssertionError: 14 != 11 ====================================================================== FAIL: test_fork_at_finalization (test.test_os.ForkTests.test_fork_at_finalization) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_os.py", line 4889, in test_fork_at_finalization self.assertEqual(b"OK\n", out) ^^^^^^^^^^^ AssertionError: b'OK\n' != b'' ====================================================================== FAIL: test_bytes_like (test.test_os.TestScandir.test_bytes_like) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_os.py", line 4659, in test_bytes_like with self.assertRaises(TypeError): AssertionError: TypeError not raised ====================================================================== FAIL: test_close (test.test_os.TestScandir.test_close) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_os.py", line 4715, in test_close with self.check_no_resource_warning(): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 144, in __exit__ next(self.gen) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/warnings_helper.py", line 148, in check_no_resource_warning with check_no_warnings(testcase, category=ResourceWarning, force_gc=True): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 144, in __exit__ next(self.gen) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/warnings_helper.py", line 131, in check_no_warnings testcase.assertEqual(warns, []) ^^^^^^^^^^^ AssertionError: Lists differ: [<warnings.WarningMessage object at 0x00007ff8019bc020>] != [] First list contains 1 additional elements. First extra element 0: <warnings.WarningMessage object at 0x00007ff8019bc020> - [<warnings.WarningMessage object at 0x00007ff8019bc020>] + [] ---------------------------------------------------------------------- Ran 344 tests in 2.355s FAILED (failures=4, errors=1, skipped=76) 0:00:02 load avg: 0.67 [1/1/1] test_os failed (1 error, 4 failures) == Tests result: FAILURE == 1 test failed: test_os Total duration: 2.6 sec Total tests: run=344 failures=4 skipped=76 Total test files: run=1/1 failed=1 Result: FAILURE test test_os failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1750899æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2632776311 0:00:00 load avg: 0.70 Run 1 test sequentially in a single process 0:00:00 load avg: 0.70 [1/1] test_pdb test_checkline_after_reset (test.test_pdb.ChecklineTests.test_checkline_after_reset) ... ok test_checkline_before_debugging (test.test_pdb.ChecklineTests.test_checkline_before_debugging) ... ok test_checkline_is_not_executable (test.test_pdb.ChecklineTests.test_checkline_is_not_executable) ... ok test_blocks_at_first_code_line (test.test_pdb.PdbTestCase.test_blocks_at_first_code_line) ... ok test_breakpoint (test.test_pdb.PdbTestCase.test_breakpoint) ... ok test_dir_as_script (test.test_pdb.PdbTestCase.test_dir_as_script) ... ok test_empty_file (test.test_pdb.PdbTestCase.test_empty_file) ... FAIL test_errors_in_command (test.test_pdb.PdbTestCase.test_errors_in_command) ... ok test_find_function_empty_file (test.test_pdb.PdbTestCase.test_find_function_empty_file) ... ok test_find_function_found (test.test_pdb.PdbTestCase.test_find_function_found) ... ok test_find_function_found_with_bom (test.test_pdb.PdbTestCase.test_find_function_found_with_bom) ... ok test_find_function_found_with_encoding_cookie (test.test_pdb.PdbTestCase.test_find_function_found_with_encoding_cookie) ... ok test_gh_93696_frozen_list (test.test_pdb.PdbTestCase.test_gh_93696_frozen_list) ... ok test_gh_94215_crash (test.test_pdb.PdbTestCase.test_gh_94215_crash) ... ok test_header (test.test_pdb.PdbTestCase.test_header) ... ok test_invalid_cmd_line_options (test.test_pdb.PdbTestCase.test_invalid_cmd_line_options) ... ok test_issue13120 (test.test_pdb.PdbTestCase.test_issue13120) ... ok test_issue13183 (test.test_pdb.PdbTestCase.test_issue13183) ... ok test_issue16180 (test.test_pdb.PdbTestCase.test_issue16180) ... ok test_issue26053 (test.test_pdb.PdbTestCase.test_issue26053) ... ok test_issue34266 (test.test_pdb.PdbTestCase.test_issue34266) do_run handles exceptions from parsing its arg ... ok test_issue36250 (test.test_pdb.PdbTestCase.test_issue36250) ... ok test_issue42383 (test.test_pdb.PdbTestCase.test_issue42383) ... ok test_issue42384 (test.test_pdb.PdbTestCase.test_issue42384) When running `python foo.py` sys.path[0] is an absolute path. `python -m pdb foo.py` should behave the same ... ok test_issue42384_symlink (test.test_pdb.PdbTestCase.test_issue42384_symlink) When running `python foo.py` sys.path[0] resolves symlinks. `python -m pdb foo.py` should behave the same ... ok test_issue46434 (test.test_pdb.PdbTestCase.test_issue46434) ... ok test_issue58956 (test.test_pdb.PdbTestCase.test_issue58956) ... ok test_issue7964 (test.test_pdb.PdbTestCase.test_issue7964) ... ok test_module_is_run_as_main (test.test_pdb.PdbTestCase.test_module_is_run_as_main) ... ok test_module_without_a_main (test.test_pdb.PdbTestCase.test_module_without_a_main) ... ok test_non_utf8_encoding (test.test_pdb.PdbTestCase.test_non_utf8_encoding) ... ok test_nonexistent_module (test.test_pdb.PdbTestCase.test_nonexistent_module) ... ok test_package_without_a_main (test.test_pdb.PdbTestCase.test_package_without_a_main) ... ok test_pdbrc_alias (test.test_pdb.PdbTestCase.test_pdbrc_alias) ... ok test_pdbrc_basic (test.test_pdb.PdbTestCase.test_pdbrc_basic) ... ok test_pdbrc_commands (test.test_pdb.PdbTestCase.test_pdbrc_commands) ... ok test_pdbrc_empty_line (test.test_pdb.PdbTestCase.test_pdbrc_empty_line) Test that empty lines in .pdbrc are ignored. ... ok test_pdbrc_semicolon (test.test_pdb.PdbTestCase.test_pdbrc_semicolon) ... ok test_readrc_homedir (test.test_pdb.PdbTestCase.test_readrc_homedir) ... ok test_readrc_kwarg (test.test_pdb.PdbTestCase.test_readrc_kwarg) ... ok test_relative_imports (test.test_pdb.PdbTestCase.test_relative_imports) ... ok test_relative_imports_on_plain_module (test.test_pdb.PdbTestCase.test_relative_imports_on_plain_module) ... ok test_run_module (test.test_pdb.PdbTestCase.test_run_module) ... ok test_run_pdb_with_pdb (test.test_pdb.PdbTestCase.test_run_pdb_with_pdb) ... ok test_spec (test.test_pdb.PdbTestCase.test_spec) ... ok test_step_into_botframe (test.test_pdb.PdbTestCase.test_step_into_botframe) ... ok test_basic_completion (test.test_pdb.PdbTestReadline.test_basic_completion) ... ok test_convenience_variables (test.test_pdb) Doctest: test.test_pdb.test_convenience_variables ... ok test_list_commands (test.test_pdb) Doctest: test.test_pdb.test_list_commands ... ok test_next_until_return_at_return_event (test.test_pdb) Doctest: test.test_pdb.test_next_until_return_at_return_event ... ok test_pdb_alias_command (test.test_pdb) Doctest: test.test_pdb.test_pdb_alias_command ... ok test_pdb_ambiguous_statements (test.test_pdb) Doctest: test.test_pdb.test_pdb_ambiguous_statements ... ok test_pdb_basic_commands (test.test_pdb) Doctest: test.test_pdb.test_pdb_basic_commands ... ok test_pdb_breakpoint_commands (test.test_pdb) Doctest: test.test_pdb.test_pdb_breakpoint_commands ... ok test_pdb_breakpoint_on_annotated_function_def (test.test_pdb) Doctest: test.test_pdb.test_pdb_breakpoint_on_annotated_function_def ... ok test_pdb_breakpoints_preserved_across_interactive_sessions (test.test_pdb) Doctest: test.test_pdb.test_pdb_breakpoints_preserved_across_interactive_sessions ... ok test_pdb_continue_in_bottomframe (test.test_pdb) Doctest: test.test_pdb.test_pdb_continue_in_bottomframe ... ok test_pdb_display_command (test.test_pdb) Doctest: test.test_pdb.test_pdb_display_command ... ok test_pdb_displayhook (test.test_pdb) Doctest: test.test_pdb.test_pdb_displayhook ... ok test_pdb_empty_line (test.test_pdb) Doctest: test.test_pdb.test_pdb_empty_line ... ok test_pdb_frame_refleak (test.test_pdb) Doctest: test.test_pdb.test_pdb_frame_refleak ... FAIL test_pdb_issue_20766 (test.test_pdb) Doctest: test.test_pdb.test_pdb_issue_20766 ... FAIL test_pdb_issue_43318 (test.test_pdb) Doctest: test.test_pdb.test_pdb_issue_43318 ... ok test_pdb_issue_gh_101517 (test.test_pdb) Doctest: test.test_pdb.test_pdb_issue_gh_101517 ... FAIL test_pdb_issue_gh_101673 (test.test_pdb) Doctest: test.test_pdb.test_pdb_issue_gh_101673 ... ok test_pdb_issue_gh_103225 (test.test_pdb) Doctest: test.test_pdb.test_pdb_issue_gh_103225 ... ok test_pdb_issue_gh_108976 (test.test_pdb) Doctest: test.test_pdb.test_pdb_issue_gh_108976 ... FAIL test_pdb_issue_gh_65052 (test.test_pdb) Doctest: test.test_pdb.test_pdb_issue_gh_65052 ... ok test_pdb_issue_gh_91742 (test.test_pdb) Doctest: test.test_pdb.test_pdb_issue_gh_91742 ... ok test_pdb_issue_gh_94215 (test.test_pdb) Doctest: test.test_pdb.test_pdb_issue_gh_94215 ... ok test_pdb_next_command_for_asyncgen (test.test_pdb) Doctest: test.test_pdb.test_pdb_next_command_for_asyncgen ... ok test_pdb_next_command_for_coroutine (test.test_pdb) Doctest: test.test_pdb.test_pdb_next_command_for_coroutine ... ok test_pdb_next_command_for_generator (test.test_pdb) Doctest: test.test_pdb.test_pdb_next_command_for_generator ... ok test_pdb_next_command_in_generator_for_loop (test.test_pdb) Doctest: test.test_pdb.test_pdb_next_command_in_generator_for_loop ... ok test_pdb_next_command_subiterator (test.test_pdb) Doctest: test.test_pdb.test_pdb_next_command_subiterator ... ok test_pdb_pp_repr_exc (test.test_pdb) Doctest: test.test_pdb.test_pdb_pp_repr_exc ... ok test_pdb_return_command_for_coroutine (test.test_pdb) Doctest: test.test_pdb.test_pdb_return_command_for_coroutine ... ok test_pdb_return_command_for_generator (test.test_pdb) Doctest: test.test_pdb.test_pdb_return_command_for_generator ... ok test_pdb_return_to_different_file (test.test_pdb) Doctest: test.test_pdb.test_pdb_return_to_different_file ... ok test_pdb_run_with_code_object (test.test_pdb) Doctest: test.test_pdb.test_pdb_run_with_code_object ... ok test_pdb_run_with_incorrect_argument (test.test_pdb) Doctest: test.test_pdb.test_pdb_run_with_incorrect_argument ... ok test_pdb_skip_modules (test.test_pdb) Doctest: test.test_pdb.test_pdb_skip_modules ... ok test_pdb_skip_modules_with_callback (test.test_pdb) Doctest: test.test_pdb.test_pdb_skip_modules_with_callback ... ok test_pdb_until_command_for_coroutine (test.test_pdb) Doctest: test.test_pdb.test_pdb_until_command_for_coroutine ... ok test_pdb_until_command_for_generator (test.test_pdb) Doctest: test.test_pdb.test_pdb_until_command_for_generator ... ok test_pdb_whatis_command (test.test_pdb) Doctest: test.test_pdb.test_pdb_whatis_command ... ok test_pdb_where_command (test.test_pdb) Doctest: test.test_pdb.test_pdb_where_command ... ok test_post_mortem (test.test_pdb) Doctest: test.test_pdb.test_post_mortem ... ok ====================================================================== FAIL: test_empty_file (test.test_pdb.PdbTestCase.test_empty_file) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pdb.py", line 2881, in test_empty_file self.assertIn('main.py(0)', stdout) ^^^^^^^^ AssertionError: 'main.py(0)' not found in '> /tmp/pytest/test_python_worker_1750899æ/main.py(1)<module>()\n(Pdb) ' ====================================================================== FAIL: test_pdb_frame_refleak (test.test_pdb) Doctest: test.test_pdb.test_pdb_frame_refleak ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 2256, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for test.test_pdb.test_pdb_frame_refleak File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pdb.py", line 1984, in test_pdb_frame_refleak ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pdb.py", line 2006, in test.test_pdb.test_pdb_frame_refleak Failed example: with PdbTestInput([ # doctest: +NORMALIZE_WHITESPACE 'continue', 'next', 'continue', 'return', 'continue', ]): test_function() Expected: > <doctest test.test_pdb.test_pdb_frame_refleak[0]>(5)frame_leaker() -> pass (Pdb) continue 1 > <doctest test.test_pdb.test_pdb_frame_refleak[0]>(5)frame_leaker() -> pass (Pdb) next --Return-- > <doctest test.test_pdb.test_pdb_frame_refleak[0]>(5)frame_leaker()->None -> pass (Pdb) continue 1 > <doctest test.test_pdb.test_pdb_frame_refleak[0]>(5)frame_leaker() -> pass (Pdb) return --Return-- > <doctest test.test_pdb.test_pdb_frame_refleak[0]>(5)frame_leaker()->None -> pass (Pdb) continue 1 Got: > <doctest test.test_pdb.test_pdb_frame_refleak[0]>(5)frame_leaker() -> pass (Pdb) continue 2 > <doctest test.test_pdb.test_pdb_frame_refleak[0]>(5)frame_leaker() -> pass (Pdb) next --Return-- > <doctest test.test_pdb.test_pdb_frame_refleak[0]>(5)frame_leaker()->None -> pass (Pdb) continue 2 > <doctest test.test_pdb.test_pdb_frame_refleak[0]>(5)frame_leaker() -> pass (Pdb) return --Return-- > <doctest test.test_pdb.test_pdb_frame_refleak[0]>(5)frame_leaker()->None -> pass (Pdb) continue 2 ====================================================================== FAIL: test_pdb_issue_20766 (test.test_pdb) Doctest: test.test_pdb.test_pdb_issue_20766 ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 2256, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for test.test_pdb.test_pdb_issue_20766 File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pdb.py", line 1703, in test_pdb_issue_20766 ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pdb.py", line 1715, in test.test_pdb.test_pdb_issue_20766 Failed example: with PdbTestInput(['continue', 'continue']): test_function() Expected: > <doctest test.test_pdb.test_pdb_issue_20766[0]>(6)test_function() -> print('pdb %d: %s' % (i, sess._previous_sigint_handler)) (Pdb) continue pdb 1: <built-in function default_int_handler> > <doctest test.test_pdb.test_pdb_issue_20766[0]>(6)test_function() -> print('pdb %d: %s' % (i, sess._previous_sigint_handler)) (Pdb) continue pdb 2: <built-in function default_int_handler> Got: > <doctest test.test_pdb.test_pdb_issue_20766[0]>(6)test_function() -> print('pdb %d: %s' % (i, sess._previous_sigint_handler)) (Pdb) continue pdb 1: <built-in function default_int_handler> > <doctest test.test_pdb.test_pdb_issue_20766[0]>(5)test_function() -> sess.set_trace(sys._getframe()) (Pdb) continue pdb 2: <built-in function default_int_handler> ====================================================================== FAIL: test_pdb_issue_gh_101517 (test.test_pdb) Doctest: test.test_pdb.test_pdb_issue_gh_101517 ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 2256, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for test.test_pdb.test_pdb_issue_gh_101517 File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pdb.py", line 1922, in test_pdb_issue_gh_101517 ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pdb.py", line 1933, in test.test_pdb.test_pdb_issue_gh_101517 Failed example: with PdbTestInput([ # doctest: +NORMALIZE_WHITESPACE 'continue' ]): test_function() Expected: --Return-- > <doctest test.test_pdb.test_pdb_issue_gh_101517[0]>(None)test_function()->None -> Warning: lineno is None (Pdb) continue Got: > <doctest test.test_pdb.test_pdb_issue_gh_101517[0]>(4)test_function() -> except* Exception as e: (Pdb) continue ====================================================================== FAIL: test_pdb_issue_gh_108976 (test.test_pdb) Doctest: test.test_pdb.test_pdb_issue_gh_108976 ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 2256, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for test.test_pdb.test_pdb_issue_gh_108976 File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pdb.py", line 1943, in test_pdb_issue_gh_108976 ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pdb.py", line 1951, in test.test_pdb.test_pdb_issue_gh_108976 Failed example: with PdbTestInput([ # doctest: +NORMALIZE_WHITESPACE 'continue' ]): test_function() Expected: bdb.Bdb.dispatch: unknown debugging event: 'opcode' > <doctest test.test_pdb.test_pdb_issue_gh_108976[0]>(5)test_function() -> a = 1 (Pdb) continue Got: bdb.Bdb.dispatch: unknown debugging event: 'opcode' > <doctest test.test_pdb.test_pdb_issue_gh_108976[0]>(5)test_function() -> a = 1 (Pdb) continue bdb.Bdb.dispatch: unknown debugging event: 'opcode' ---------------------------------------------------------------------- Ran 88 tests in 5.063s FAILED (failures=5) 0:00:05 load avg: 0.72 [1/1/1] test_pdb failed (5 failures) == Tests result: FAILURE == 1 test failed: test_pdb Total duration: 5.3 sec Total tests: run=88 failures=5 Total test files: run=1/1 failed=1 Result: FAILURE test test_pdb failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1750949æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1863734845 0:00:00 load avg: 0.72 Run 1 test sequentially in a single process 0:00:00 load avg: 0.72 [1/1] test_peepholer 0:00:00 load avg: 0.72 [1/1/1] test_peepholer failed (uncaught exception) == Tests result: FAILURE == 1 test failed: test_peepholer Total duration: 63 ms Total tests: run=0 Total test files: run=1/1 failed=1 Result: FAILURE test test_peepholer crashed -- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc _load_run_test(result, runtests) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 128, in _load_run_test test_mod = importlib.import_module(module_name) ^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<builtin>/frozen importlib._bootstrap_external", line 1011, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_peepholer.py", line 8, in <module> from test.support.bytecode_helper import BytecodeTestCase, CfgOptimizationTestCase File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/bytecode_helper.py", line 6, in <module> from _testinternalcapi import compiler_codegen, optimize_cfg, assemble_code_object ModuleNotFoundError: No module named '_testinternalcapi' _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1750964æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3223550628 0:00:00 load avg: 0.72 Run 1 test sequentially in a single process 0:00:00 load avg: 0.72 [1/1] test_perfmaps 0:00:00 load avg: 0.72 [1/1/1] test_perfmaps failed (uncaught exception) == Tests result: FAILURE == 1 test failed: test_perfmaps Total duration: 50 ms Total tests: run=0 Total test files: run=1/1 failed=1 Result: FAILURE test test_perfmaps crashed -- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc _load_run_test(result, runtests) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 128, in _load_run_test test_mod = importlib.import_module(module_name) ^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<builtin>/frozen importlib._bootstrap_external", line 1011, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_perfmaps.py", line 5, in <module> from _testinternalcapi import perf_map_state_teardown, write_perf_map_entry ModuleNotFoundError: No module named '_testinternalcapi' _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1750990æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2769905212 0:00:00 load avg: 0.74 Run 1 test sequentially in a single process 0:00:00 load avg: 0.74 [1/1] test_pickletools test_annotate (test.test_pickletools.DisTests.test_annotate) ... ok test_binstring (test.test_pickletools.DisTests.test_binstring) ... ok test_get (test.test_pickletools.DisTests.test_get) ... ok test_get_without_put (test.test_pickletools.DisTests.test_get_without_put) ... ok test_global (test.test_pickletools.DisTests.test_global) ... ok test_indentlevel (test.test_pickletools.DisTests.test_indentlevel) ... ok test_inst (test.test_pickletools.DisTests.test_inst) ... ok test_mark (test.test_pickletools.DisTests.test_mark) ... ok test_mark_pop (test.test_pickletools.DisTests.test_mark_pop) ... ok test_mark_without_pos (test.test_pickletools.DisTests.test_mark_without_pos) ... ok test_memo (test.test_pickletools.DisTests.test_memo) ... ok test_no_mark (test.test_pickletools.DisTests.test_no_mark) ... ok test_no_stop (test.test_pickletools.DisTests.test_no_stop) ... ok test_persid (test.test_pickletools.DisTests.test_persid) ... ok test_put (test.test_pickletools.DisTests.test_put) ... ok test_put_empty_stack (test.test_pickletools.DisTests.test_put_empty_stack) ... ok test_put_markobject (test.test_pickletools.DisTests.test_put_markobject) ... ok test_put_redefined (test.test_pickletools.DisTests.test_put_redefined) ... ok test_short_binstring (test.test_pickletools.DisTests.test_short_binstring) ... ok test_stop_not_empty_stack (test.test_pickletools.DisTests.test_stop_not_empty_stack) ... ok test_string (test.test_pickletools.DisTests.test_string) ... ok test_string_without_quotes (test.test_pickletools.DisTests.test_string_without_quotes) ... ok test_too_small_stack (test.test_pickletools.DisTests.test_too_small_stack) ... ok test_truncated_data (test.test_pickletools.DisTests.test_truncated_data) ... ok test_unknown_opcode (test.test_pickletools.DisTests.test_unknown_opcode) ... ok test_from_file (test.test_pickletools.GenopsTests.test_from_file) ... ok test_genops (test.test_pickletools.GenopsTests.test_genops) ... ok test_no_stop (test.test_pickletools.GenopsTests.test_no_stop) ... ok test_truncated_data (test.test_pickletools.GenopsTests.test_truncated_data) ... ok test_unknown_opcode (test.test_pickletools.GenopsTests.test_unknown_opcode) ... ok test_unknown_opcode_without_pos (test.test_pickletools.GenopsTests.test_unknown_opcode_without_pos) ... ok test_without_pos (test.test_pickletools.GenopsTests.test_without_pos) ... ok test__all__ (test.test_pickletools.MiscTestCase.test__all__) ... ok test_appends_on_non_lists (test.test_pickletools.OptimizedPickleTests.test_appends_on_non_lists) ... ok test_attribute_name_interning (test.test_pickletools.OptimizedPickleTests.test_attribute_name_interning) ... FAIL test_buffers_error (test.test_pickletools.OptimizedPickleTests.test_buffers_error) ... ok test_buffers_numpy (test.test_pickletools.OptimizedPickleTests.test_buffers_numpy) ... skipped 'Test needs Numpy' test_builtin_exceptions (test.test_pickletools.OptimizedPickleTests.test_builtin_exceptions) ... ok test_builtin_functions (test.test_pickletools.OptimizedPickleTests.test_builtin_functions) ... ok test_builtin_types (test.test_pickletools.OptimizedPickleTests.test_builtin_types) ... ok test_bytearray (test.test_pickletools.OptimizedPickleTests.test_bytearray) ... ok test_bytearray_memoization (test.test_pickletools.OptimizedPickleTests.test_bytearray_memoization) ... ok test_bytes (test.test_pickletools.OptimizedPickleTests.test_bytes) ... ok test_bytes_memoization (test.test_pickletools.OptimizedPickleTests.test_bytes_memoization) ... ok test_c_methods (test.test_pickletools.OptimizedPickleTests.test_c_methods) ... ok test_compat_pickle (test.test_pickletools.OptimizedPickleTests.test_compat_pickle) ... ok test_complex_newobj (test.test_pickletools.OptimizedPickleTests.test_complex_newobj) ... ok test_complex_newobj_ex (test.test_pickletools.OptimizedPickleTests.test_complex_newobj_ex) ... ok test_dict_chunking (test.test_pickletools.OptimizedPickleTests.test_dict_chunking) ... ok test_dynamic_class (test.test_pickletools.OptimizedPickleTests.test_dynamic_class) ... ok test_ellipsis (test.test_pickletools.OptimizedPickleTests.test_ellipsis) ... ok test_evil_class_mutating_dict (test.test_pickletools.OptimizedPickleTests.test_evil_class_mutating_dict) ... ok test_float (test.test_pickletools.OptimizedPickleTests.test_float) ... ok test_float_format (test.test_pickletools.OptimizedPickleTests.test_float_format) ... test_float_format (test.test_pickletools.OptimizedPickleTests.test_float_format) (locale='de_DE') ... skipped "no locale 'de_DE'" test_float_format (test.test_pickletools.OptimizedPickleTests.test_float_format) (locale='fr_FR') ... skipped "no locale 'fr_FR'" test_framing_large_objects (test.test_pickletools.OptimizedPickleTests.test_framing_large_objects) ... ok test_framing_many_objects (test.test_pickletools.OptimizedPickleTests.test_framing_many_objects) ... skipped "resource 'cpu' is not enabled" test_getinitargs (test.test_pickletools.OptimizedPickleTests.test_getinitargs) ... ok test_global_ext1 (test.test_pickletools.OptimizedPickleTests.test_global_ext1) ... ok test_global_ext2 (test.test_pickletools.OptimizedPickleTests.test_global_ext2) ... ok test_global_ext4 (test.test_pickletools.OptimizedPickleTests.test_global_ext4) ... ok test_in_band_buffers (test.test_pickletools.OptimizedPickleTests.test_in_band_buffers) ... ok test_inband_accept_default_buffers_argument (test.test_pickletools.OptimizedPickleTests.test_inband_accept_default_buffers_argument) ... ok test_int_pickling_efficiency (test.test_pickletools.OptimizedPickleTests.test_int_pickling_efficiency) ... ok test_ints (test.test_pickletools.OptimizedPickleTests.test_ints) ... ok test_large_pickles (test.test_pickletools.OptimizedPickleTests.test_large_pickles) ... ok test_list_chunking (test.test_pickletools.OptimizedPickleTests.test_list_chunking) ... ok test_long (test.test_pickletools.OptimizedPickleTests.test_long) ... ok test_long1 (test.test_pickletools.OptimizedPickleTests.test_long1) ... ok test_long4 (test.test_pickletools.OptimizedPickleTests.test_long4) ... ok test_many_puts_and_gets (test.test_pickletools.OptimizedPickleTests.test_many_puts_and_gets) ... ok test_metaclass (test.test_pickletools.OptimizedPickleTests.test_metaclass) ... ok test_misc (test.test_pickletools.OptimizedPickleTests.test_misc) ... ok test_nested_names (test.test_pickletools.OptimizedPickleTests.test_nested_names) ... ok test_newobj_generic (test.test_pickletools.OptimizedPickleTests.test_newobj_generic) ... ok test_newobj_list (test.test_pickletools.OptimizedPickleTests.test_newobj_list) ... ok test_newobj_list_slots (test.test_pickletools.OptimizedPickleTests.test_newobj_list_slots) ... ok test_newobj_not_class (test.test_pickletools.OptimizedPickleTests.test_newobj_not_class) ... ok test_newobj_overridden_new (test.test_pickletools.OptimizedPickleTests.test_newobj_overridden_new) ... ok test_newobj_proxies (test.test_pickletools.OptimizedPickleTests.test_newobj_proxies) ... ok test_newobj_tuple (test.test_pickletools.OptimizedPickleTests.test_newobj_tuple) ... ok test_notimplemented (test.test_pickletools.OptimizedPickleTests.test_notimplemented) ... ok test_oob_buffers (test.test_pickletools.OptimizedPickleTests.test_oob_buffers) ... ok test_oob_buffers_writable_to_readonly (test.test_pickletools.OptimizedPickleTests.test_oob_buffers_writable_to_readonly) ... ok test_optimize_binput_and_memoize (test.test_pickletools.OptimizedPickleTests.test_optimize_binput_and_memoize) ... ok test_optimize_long_binget (test.test_pickletools.OptimizedPickleTests.test_optimize_long_binget) ... ok test_optional_frames (test.test_pickletools.OptimizedPickleTests.test_optional_frames) ... ok test_pickle_setstate_None (test.test_pickletools.OptimizedPickleTests.test_pickle_setstate_None) ... ok test_proto (test.test_pickletools.OptimizedPickleTests.test_proto) ... ok test_py_methods (test.test_pickletools.OptimizedPickleTests.test_py_methods) ... ok test_recursive_dict (test.test_pickletools.OptimizedPickleTests.test_recursive_dict) ... ok test_recursive_dict_and_inst (test.test_pickletools.OptimizedPickleTests.test_recursive_dict_and_inst) ... ok test_recursive_dict_key (test.test_pickletools.OptimizedPickleTests.test_recursive_dict_key) ... ok test_recursive_dict_like (test.test_pickletools.OptimizedPickleTests.test_recursive_dict_like) ... ok test_recursive_dict_like_key (test.test_pickletools.OptimizedPickleTests.test_recursive_dict_like_key) ... ok test_recursive_dict_subclass (test.test_pickletools.OptimizedPickleTests.test_recursive_dict_subclass) ... ok test_recursive_dict_subclass_and_inst (test.test_pickletools.OptimizedPickleTests.test_recursive_dict_subclass_and_inst) ... ok test_recursive_dict_subclass_key (test.test_pickletools.OptimizedPickleTests.test_recursive_dict_subclass_key) ... ok test_recursive_frozenset_and_inst (test.test_pickletools.OptimizedPickleTests.test_recursive_frozenset_and_inst) ... ok test_recursive_frozenset_subclass_and_inst (test.test_pickletools.OptimizedPickleTests.test_recursive_frozenset_subclass_and_inst) ... ok test_recursive_inst (test.test_pickletools.OptimizedPickleTests.test_recursive_inst) ... ok test_recursive_inst_state (test.test_pickletools.OptimizedPickleTests.test_recursive_inst_state) ... ok test_recursive_list (test.test_pickletools.OptimizedPickleTests.test_recursive_list) ... ok test_recursive_list_and_inst (test.test_pickletools.OptimizedPickleTests.test_recursive_list_and_inst) ... ok test_recursive_list_like (test.test_pickletools.OptimizedPickleTests.test_recursive_list_like) ... ok test_recursive_list_subclass (test.test_pickletools.OptimizedPickleTests.test_recursive_list_subclass) ... ok test_recursive_list_subclass_and_inst (test.test_pickletools.OptimizedPickleTests.test_recursive_list_subclass_and_inst) ... ok test_recursive_multi (test.test_pickletools.OptimizedPickleTests.test_recursive_multi) ... ok test_recursive_nested_names (test.test_pickletools.OptimizedPickleTests.test_recursive_nested_names) ... ok test_recursive_nested_names2 (test.test_pickletools.OptimizedPickleTests.test_recursive_nested_names2) ... ok test_recursive_set (test.test_pickletools.OptimizedPickleTests.test_recursive_set) ... ok test_recursive_set_and_inst (test.test_pickletools.OptimizedPickleTests.test_recursive_set_and_inst) ... ok test_recursive_set_subclass_and_inst (test.test_pickletools.OptimizedPickleTests.test_recursive_set_subclass_and_inst) ... ok test_recursive_tuple_and_dict (test.test_pickletools.OptimizedPickleTests.test_recursive_tuple_and_dict) ... ok test_recursive_tuple_and_dict_key (test.test_pickletools.OptimizedPickleTests.test_recursive_tuple_and_dict_key) ... ok test_recursive_tuple_and_dict_like (test.test_pickletools.OptimizedPickleTests.test_recursive_tuple_and_dict_like) ... ok test_recursive_tuple_and_dict_like_key (test.test_pickletools.OptimizedPickleTests.test_recursive_tuple_and_dict_like_key) ... ok test_recursive_tuple_and_dict_subclass (test.test_pickletools.OptimizedPickleTests.test_recursive_tuple_and_dict_subclass) ... ok test_recursive_tuple_and_dict_subclass_key (test.test_pickletools.OptimizedPickleTests.test_recursive_tuple_and_dict_subclass_key) ... ok test_recursive_tuple_and_inst (test.test_pickletools.OptimizedPickleTests.test_recursive_tuple_and_inst) ... ok test_recursive_tuple_and_inst_state (test.test_pickletools.OptimizedPickleTests.test_recursive_tuple_and_inst_state) ... ok test_recursive_tuple_and_list (test.test_pickletools.OptimizedPickleTests.test_recursive_tuple_and_list) ... ok test_recursive_tuple_and_list_like (test.test_pickletools.OptimizedPickleTests.test_recursive_tuple_and_list_like) ... ok test_recursive_tuple_and_list_subclass (test.test_pickletools.OptimizedPickleTests.test_recursive_tuple_and_list_subclass) ... ok test_recursive_tuple_subclass_and_inst (test.test_pickletools.OptimizedPickleTests.test_recursive_tuple_subclass_and_inst) ... ok test_reduce (test.test_pickletools.OptimizedPickleTests.test_reduce) ... ok test_reduce_calls_base (test.test_pickletools.OptimizedPickleTests.test_reduce_calls_base) ... ok test_reduce_ex_called (test.test_pickletools.OptimizedPickleTests.test_reduce_ex_called) ... ok test_reduce_ex_calls_base (test.test_pickletools.OptimizedPickleTests.test_reduce_ex_calls_base) ... ok test_reduce_ex_overrides_reduce (test.test_pickletools.OptimizedPickleTests.test_reduce_ex_overrides_reduce) ... ok test_reduce_overrides_default_reduce_ex (test.test_pickletools.OptimizedPickleTests.test_reduce_overrides_default_reduce_ex) ... ok test_roundtrip_equality (test.test_pickletools.OptimizedPickleTests.test_roundtrip_equality) ... ok test_set_chunking (test.test_pickletools.OptimizedPickleTests.test_set_chunking) ... ok test_setitems_on_non_dicts (test.test_pickletools.OptimizedPickleTests.test_setitems_on_non_dicts) ... ok test_short_tuples (test.test_pickletools.OptimizedPickleTests.test_short_tuples) ... ok test_simple_newobj (test.test_pickletools.OptimizedPickleTests.test_simple_newobj) ... ok test_singleton_types (test.test_pickletools.OptimizedPickleTests.test_singleton_types) ... ok test_singletons (test.test_pickletools.OptimizedPickleTests.test_singletons) ... ok test_structseq (test.test_pickletools.OptimizedPickleTests.test_structseq) ... ok test_unicode (test.test_pickletools.OptimizedPickleTests.test_unicode) ... ok test_unicode_high_plane (test.test_pickletools.OptimizedPickleTests.test_unicode_high_plane) ... ok test_unicode_memoization (test.test_pickletools.OptimizedPickleTests.test_unicode_memoization) ... ok disassembler_memo_test (pickletools.__test__) Doctest: pickletools.__test__.disassembler_memo_test ... ok disassembler_test (pickletools.__test__) Doctest: pickletools.__test__.disassembler_test ... ok read_bytearray8 (pickletools) Doctest: pickletools.read_bytearray8 ... ok read_bytes1 (pickletools) Doctest: pickletools.read_bytes1 ... ok read_bytes4 (pickletools) Doctest: pickletools.read_bytes4 ... ok read_bytes8 (pickletools) Doctest: pickletools.read_bytes8 ... ok read_decimalnl_long (pickletools) Doctest: pickletools.read_decimalnl_long ... ok read_decimalnl_short (pickletools) Doctest: pickletools.read_decimalnl_short ... ok read_float8 (pickletools) Doctest: pickletools.read_float8 ... ok read_floatnl (pickletools) Doctest: pickletools.read_floatnl ... ok read_int4 (pickletools) Doctest: pickletools.read_int4 ... ok read_long1 (pickletools) Doctest: pickletools.read_long1 ... ok read_long4 (pickletools) Doctest: pickletools.read_long4 ... ok read_string1 (pickletools) Doctest: pickletools.read_string1 ... ok read_string4 (pickletools) Doctest: pickletools.read_string4 ... ok read_stringnl (pickletools) Doctest: pickletools.read_stringnl ... ok read_stringnl_noescape_pair (pickletools) Doctest: pickletools.read_stringnl_noescape_pair ... ok read_uint1 (pickletools) Doctest: pickletools.read_uint1 ... ok read_uint2 (pickletools) Doctest: pickletools.read_uint2 ... ok read_uint4 (pickletools) Doctest: pickletools.read_uint4 ... ok read_uint8 (pickletools) Doctest: pickletools.read_uint8 ... ok read_unicodestring1 (pickletools) Doctest: pickletools.read_unicodestring1 ... ok read_unicodestring4 (pickletools) Doctest: pickletools.read_unicodestring4 ... ok read_unicodestring8 (pickletools) Doctest: pickletools.read_unicodestring8 ... ok read_unicodestringnl (pickletools) Doctest: pickletools.read_unicodestringnl ... ok ====================================================================== FAIL: test_attribute_name_interning (test.test_pickletools.OptimizedPickleTests.test_attribute_name_interning) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/pickletester.py", line 3171, in test_attribute_name_interning self.assertIs(x_key, y_key) ^^^^^^^^ AssertionError: 'bar' is not 'bar' ---------------------------------------------------------------------- Ran 166 tests in 0.913s FAILED (failures=1, skipped=4) 0:00:01 load avg: 0.74 [1/1/1] test_pickletools failed (1 failure) == Tests result: FAILURE == 1 test failed: test_pickletools Total duration: 1.1 sec Total tests: run=166 failures=1 skipped=4 Total test files: run=1/1 failed=1 Result: FAILURE test test_pickletools failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1751143æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1941316127 0:00:00 load avg: 0.65 Run 1 test sequentially in a single process 0:00:00 load avg: 0.65 [1/1] test_positional_only_arg test_annotations_constant_fold (test.test_positional_only_arg.PositionalOnlyTestCase.test_annotations_constant_fold) ... ok test_annotations_in_closures (test.test_positional_only_arg.PositionalOnlyTestCase.test_annotations_in_closures) ... ok test_async (test.test_positional_only_arg.PositionalOnlyTestCase.test_async) ... ok test_change_default_pos_only (test.test_positional_only_arg.PositionalOnlyTestCase.test_change_default_pos_only) ... ok test_closures (test.test_positional_only_arg.PositionalOnlyTestCase.test_closures) ... ok test_generator (test.test_positional_only_arg.PositionalOnlyTestCase.test_generator) ... ok test_invalid_syntax_errors (test.test_positional_only_arg.PositionalOnlyTestCase.test_invalid_syntax_errors) ... FAIL test_invalid_syntax_errors_async (test.test_positional_only_arg.PositionalOnlyTestCase.test_invalid_syntax_errors_async) ... FAIL test_invalid_syntax_lambda (test.test_positional_only_arg.PositionalOnlyTestCase.test_invalid_syntax_lambda) ... FAIL test_lambdas (test.test_positional_only_arg.PositionalOnlyTestCase.test_lambdas) ... ok test_mangling (test.test_positional_only_arg.PositionalOnlyTestCase.test_mangling) ... ok test_module_function (test.test_positional_only_arg.PositionalOnlyTestCase.test_module_function) ... ok test_no_standard_args_usage (test.test_positional_only_arg.PositionalOnlyTestCase.test_no_standard_args_usage) ... ok test_optional_positional_only_args (test.test_positional_only_arg.PositionalOnlyTestCase.test_optional_positional_only_args) ... ok test_pos_only_call_via_unpacking (test.test_positional_only_arg.PositionalOnlyTestCase.test_pos_only_call_via_unpacking) ... ok test_pos_only_definition (test.test_positional_only_arg.PositionalOnlyTestCase.test_pos_only_definition) ... ok test_positional_only_and_arg_invalid_calls (test.test_positional_only_arg.PositionalOnlyTestCase.test_positional_only_and_arg_invalid_calls) ... ok test_positional_only_and_kwonlyargs_invalid_calls (test.test_positional_only_arg.PositionalOnlyTestCase.test_positional_only_and_kwonlyargs_invalid_calls) ... ok test_positional_only_and_optional_arg_invalid_calls (test.test_positional_only_arg.PositionalOnlyTestCase.test_positional_only_and_optional_arg_invalid_calls) ... ok test_positional_only_invalid_calls (test.test_positional_only_arg.PositionalOnlyTestCase.test_positional_only_invalid_calls) ... ok test_positional_only_with_optional_invalid_calls (test.test_positional_only_arg.PositionalOnlyTestCase.test_positional_only_with_optional_invalid_calls) ... ok test_posonly_methods (test.test_positional_only_arg.PositionalOnlyTestCase.test_posonly_methods) ... ok test_same_keyword_as_positional_with_kwargs (test.test_positional_only_arg.PositionalOnlyTestCase.test_same_keyword_as_positional_with_kwargs) ... ok test_serialization (test.test_positional_only_arg.PositionalOnlyTestCase.test_serialization) ... ok test_super (test.test_positional_only_arg.PositionalOnlyTestCase.test_super) ... ok test_syntax_for_many_positional_only (test.test_positional_only_arg.PositionalOnlyTestCase.test_syntax_for_many_positional_only) ... ok test_too_many_arguments (test.test_positional_only_arg.PositionalOnlyTestCase.test_too_many_arguments) ... ok test_use_positional_as_keyword (test.test_positional_only_arg.PositionalOnlyTestCase.test_use_positional_as_keyword) ... ok ====================================================================== FAIL: test_invalid_syntax_errors (test.test_positional_only_arg.PositionalOnlyTestCase.test_invalid_syntax_errors) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py", line 671, in check_syntax_error compile(statement, '<test string>', 'exec') File "<test string>", line 1 def f(a, b = 5, /, c): pass ^ SyntaxError: non-default argument follows default argument During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_positional_only_arg.py", line 26, in test_invalid_syntax_errors check_syntax_error(self, "def f(a, b = 5, /, c): pass", "parameter without a default follows parameter with a default") File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py", line 670, in check_syntax_error with testcase.assertRaisesRegex(SyntaxError, errtext) as cm: AssertionError: "parameter without a default follows parameter with a default" does not match "non-default argument follows default argument (<test string>, line 1)" ====================================================================== FAIL: test_invalid_syntax_errors_async (test.test_positional_only_arg.PositionalOnlyTestCase.test_invalid_syntax_errors_async) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py", line 671, in check_syntax_error compile(statement, '<test string>', 'exec') File "<test string>", line 1 async def f(a, b = 5, /, c): pass ^ SyntaxError: non-default argument follows default argument During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_positional_only_arg.py", line 48, in test_invalid_syntax_errors_async check_syntax_error(self, "async def f(a, b = 5, /, c): pass", "parameter without a default follows parameter with a default") File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py", line 670, in check_syntax_error with testcase.assertRaisesRegex(SyntaxError, errtext) as cm: AssertionError: "parameter without a default follows parameter with a default" does not match "non-default argument follows default argument (<test string>, line 1)" ====================================================================== FAIL: test_invalid_syntax_lambda (test.test_positional_only_arg.PositionalOnlyTestCase.test_invalid_syntax_lambda) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py", line 671, in check_syntax_error compile(statement, '<test string>', 'exec') File "<test string>", line 1 lambda a, b = 5, /, c: None ^ SyntaxError: non-default argument follows default argument During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_positional_only_arg.py", line 236, in test_invalid_syntax_lambda check_syntax_error(self, "lambda a, b = 5, /, c: None", "parameter without a default follows parameter with a default") File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py", line 670, in check_syntax_error with testcase.assertRaisesRegex(SyntaxError, errtext) as cm: AssertionError: "parameter without a default follows parameter with a default" does not match "non-default argument follows default argument (<test string>, line 1)" ---------------------------------------------------------------------- Ran 28 tests in 0.024s FAILED (failures=3) 0:00:00 load avg: 0.65 [1/1/1] test_positional_only_arg failed (3 failures) == Tests result: FAILURE == 1 test failed: test_positional_only_arg Total duration: 97 ms Total tests: run=28 failures=3 Total test files: run=1/1 failed=1 Result: FAILURE test test_positional_only_arg failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1751148æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 306871865 0:00:00 load avg: 0.65 Run 1 test sequentially in a single process 0:00:00 load avg: 0.65 [1/1] test_posix test_unshare_setns (test.test_posix.NamespacesTests.test_unshare_setns) ... skipped 'needs os.setns()' test_initgroups (test.test_posix.PosixGroupsTester.test_initgroups) ... skipped 'not enough privileges' test_setgroups (test.test_posix.PosixGroupsTester.test_setgroups) ... skipped 'not enough privileges' testNoArgFunctions (test.test_posix.PosixTester.testNoArgFunctions) ... ok test_access (test.test_posix.PosixTester.test_access) ... ok test_chdir (test.test_posix.PosixTester.test_chdir) ... ok test_chflags (test.test_posix.PosixTester.test_chflags) ... skipped 'test needs os.chflags()' test_chmod_dir (test.test_posix.PosixTester.test_chmod_dir) ... ok test_chmod_dir_symlink (test.test_posix.PosixTester.test_chmod_dir_symlink) ... ok test_chmod_file (test.test_posix.PosixTester.test_chmod_file) ... ok test_chmod_file_symlink (test.test_posix.PosixTester.test_chmod_file_symlink) ... ok test_chown (test.test_posix.PosixTester.test_chown) ... ok test_cld_xxxx_constants (test.test_posix.PosixTester.test_cld_xxxx_constants) ... skipped 'test needs os.waitid_result' test_confstr (test.test_posix.PosixTester.test_confstr) ... ok test_dup (test.test_posix.PosixTester.test_dup) ... ok test_dup2 (test.test_posix.PosixTester.test_dup2) ... ok test_environ (test.test_posix.PosixTester.test_environ) ... ok test_fchown (test.test_posix.PosixTester.test_fchown) ... ok test_fexecve (test.test_posix.PosixTester.test_fexecve) ... ok test_fs_holes (test.test_posix.PosixTester.test_fs_holes) ... skipped 'test needs an OS that reports file holes' test_fstat (test.test_posix.PosixTester.test_fstat) ... ok test_fstatvfs (test.test_posix.PosixTester.test_fstatvfs) ... ok test_ftruncate (test.test_posix.PosixTester.test_ftruncate) ... ok test_get_and_set_scheduler_and_param (test.test_posix.PosixTester.test_get_and_set_scheduler_and_param) ... ok test_getcwd_long_pathnames (test.test_posix.PosixTester.test_getcwd_long_pathnames) ... ok test_getgrouplist (test.test_posix.PosixTester.test_getgrouplist) ... ok test_getgroups (test.test_posix.PosixTester.test_getgroups) ... ok test_getresgid (test.test_posix.PosixTester.test_getresgid) ... ok test_getresuid (test.test_posix.PosixTester.test_getresuid) ... ok test_initgroups (test.test_posix.PosixTester.test_initgroups) ... ok test_lchflags_regular_file (test.test_posix.PosixTester.test_lchflags_regular_file) ... skipped 'test needs os.lchflags()' test_lchflags_symlink (test.test_posix.PosixTester.test_lchflags_symlink) ... skipped 'test needs os.lchflags()' test_lchmod_dir (test.test_posix.PosixTester.test_lchmod_dir) ... skipped 'test needs os.lchmod()' test_lchmod_dir_symlink (test.test_posix.PosixTester.test_lchmod_dir_symlink) ... skipped 'test needs os.lchmod()' test_lchmod_file (test.test_posix.PosixTester.test_lchmod_file) ... skipped 'test needs os.lchmod()' test_lchmod_file_symlink (test.test_posix.PosixTester.test_lchmod_file_symlink) ... skipped 'test needs os.lchmod()' test_lchown (test.test_posix.PosixTester.test_lchown) ... ok test_listdir (test.test_posix.PosixTester.test_listdir) ... ok test_listdir_bytes (test.test_posix.PosixTester.test_listdir_bytes) ... ok test_listdir_bytes_like (test.test_posix.PosixTester.test_listdir_bytes_like) ... FAIL test_listdir_default (test.test_posix.PosixTester.test_listdir_default) ... ok test_listdir_fd (test.test_posix.PosixTester.test_listdir_fd) ... ok test_lockf (test.test_posix.PosixTester.test_lockf) ... ok test_makedev (test.test_posix.PosixTester.test_makedev) ... FAIL test_mkfifo (test.test_posix.PosixTester.test_mkfifo) ... ok test_mknod (test.test_posix.PosixTester.test_mknod) ... ok test_oscloexec (test.test_posix.PosixTester.test_oscloexec) ... ok test_osexlock (test.test_posix.PosixTester.test_osexlock) ... skipped 'test needs posix.O_EXLOCK' test_osshlock (test.test_posix.PosixTester.test_osshlock) ... skipped 'test needs posix.O_SHLOCK' test_path_error2 (test.test_posix.PosixTester.test_path_error2) Test functions that call path_error2(), providing two filenames in their exceptions. ... ok test_path_with_null_byte (test.test_posix.PosixTester.test_path_with_null_byte) ... ok test_path_with_null_character (test.test_posix.PosixTester.test_path_with_null_character) ... ok test_pidfd_open (test.test_posix.PosixTester.test_pidfd_open) ... skipped 'pidfd_open unavailable' test_pipe (test.test_posix.PosixTester.test_pipe) ... ok test_pipe2 (test.test_posix.PosixTester.test_pipe2) ... ok test_pipe2_c_limits (test.test_posix.PosixTester.test_pipe2_c_limits) ... skipped 'implementation detail specific to cpython' test_posix_fadvise (test.test_posix.PosixTester.test_posix_fadvise) ... ok test_posix_fadvise_errno (test.test_posix.PosixTester.test_posix_fadvise_errno) ... ok test_posix_fallocate (test.test_posix.PosixTester.test_posix_fallocate) ... ok test_posix_fallocate_errno (test.test_posix.PosixTester.test_posix_fallocate_errno) ... ok test_pread (test.test_posix.PosixTester.test_pread) ... ok test_preadv (test.test_posix.PosixTester.test_preadv) ... skipped 'test needs posix.preadv()' test_preadv_flags (test.test_posix.PosixTester.test_preadv_flags) ... skipped 'test needs posix.preadv()' test_preadv_overflow_32bits (test.test_posix.PosixTester.test_preadv_overflow_32bits) ... skipped 'test needs posix.preadv()' test_putenv (test.test_posix.PosixTester.test_putenv) ... ok test_pwrite (test.test_posix.PosixTester.test_pwrite) ... ok test_pwritev (test.test_posix.PosixTester.test_pwritev) ... skipped 'test needs posix.pwritev()' test_pwritev_flags (test.test_posix.PosixTester.test_pwritev_flags) ... skipped 'test needs posix.pwritev()' test_pwritev_overflow_32bits (test.test_posix.PosixTester.test_pwritev_overflow_32bits) ... skipped 'test needs posix.pwritev()' test_readv (test.test_posix.PosixTester.test_readv) ... skipped 'test needs posix.readv()' test_readv_overflow_32bits (test.test_posix.PosixTester.test_readv_overflow_32bits) ... skipped 'test needs posix.readv()' test_register_at_fork (test.test_posix.PosixTester.test_register_at_fork) ... ok test_rtld_constants (test.test_posix.PosixTester.test_rtld_constants) ... ok test_sched_getaffinity (test.test_posix.PosixTester.test_sched_getaffinity) ... skipped "don't have sched affinity support" test_sched_param (test.test_posix.PosixTester.test_sched_param) ... ERROR test_sched_priority (test.test_posix.PosixTester.test_sched_priority) ... ok test_sched_rr_get_interval (test.test_posix.PosixTester.test_sched_rr_get_interval) ... ok test_sched_setaffinity (test.test_posix.PosixTester.test_sched_setaffinity) ... skipped "don't have sched affinity support" test_sched_yield (test.test_posix.PosixTester.test_sched_yield) ... ok test_setresgid (test.test_posix.PosixTester.test_setresgid) ... ok test_setresgid_exception (test.test_posix.PosixTester.test_setresgid_exception) ... ok test_setresuid (test.test_posix.PosixTester.test_setresuid) ... ok test_setresuid_exception (test.test_posix.PosixTester.test_setresuid_exception) ... ok test_stat (test.test_posix.PosixTester.test_stat) ... FAIL test_statvfs (test.test_posix.PosixTester.test_statvfs) ... ok test_strerror (test.test_posix.PosixTester.test_strerror) ... ok test_truncate (test.test_posix.PosixTester.test_truncate) ... ok test_umask (test.test_posix.PosixTester.test_umask) ... ok test_utime (test.test_posix.PosixTester.test_utime) ... ok test_utime_nofollow_symlinks (test.test_posix.PosixTester.test_utime_nofollow_symlinks) ... ok test_utime_with_fd (test.test_posix.PosixTester.test_utime_with_fd) ... ok test_waitid (test.test_posix.PosixTester.test_waitid) ... skipped 'test needs posix.waitid()' test_writev (test.test_posix.PosixTester.test_writev) ... skipped 'test needs posix.writev()' test_writev_overflow_32bits (test.test_posix.PosixTester.test_writev_overflow_32bits) ... skipped 'test needs posix.writev()' test_access_dir_fd (test.test_posix.TestPosixDirFd.test_access_dir_fd) ... ok test_chmod_dir_fd (test.test_posix.TestPosixDirFd.test_chmod_dir_fd) ... ok test_chown_dir_fd (test.test_posix.TestPosixDirFd.test_chown_dir_fd) ... ok test_link_dir_fd (test.test_posix.TestPosixDirFd.test_link_dir_fd) ... ok test_mkdir_dir_fd (test.test_posix.TestPosixDirFd.test_mkdir_dir_fd) ... ok test_mkfifo_dir_fd (test.test_posix.TestPosixDirFd.test_mkfifo_dir_fd) ... ok test_mknod_dir_fd (test.test_posix.TestPosixDirFd.test_mknod_dir_fd) ... ok test_open_dir_fd (test.test_posix.TestPosixDirFd.test_open_dir_fd) ... ok test_readlink_dir_fd (test.test_posix.TestPosixDirFd.test_readlink_dir_fd) ... ok test_rename_dir_fd (test.test_posix.TestPosixDirFd.test_rename_dir_fd) ... ok test_stat_dir_fd (test.test_posix.TestPosixDirFd.test_stat_dir_fd) ... ok test_symlink_dir_fd (test.test_posix.TestPosixDirFd.test_symlink_dir_fd) ... ok test_unlink_dir_fd (test.test_posix.TestPosixDirFd.test_unlink_dir_fd) ... ok test_utime_dir_fd (test.test_posix.TestPosixDirFd.test_utime_dir_fd) ... ok test_bad_file_actions (test.test_posix.TestPosixSpawn.test_bad_file_actions) ... skipped 'test needs os.posix_spawn' test_close_file (test.test_posix.TestPosixSpawn.test_close_file) ... skipped 'test needs os.posix_spawn' test_dup2 (test.test_posix.TestPosixSpawn.test_dup2) ... skipped 'test needs os.posix_spawn' test_empty_file_actions (test.test_posix.TestPosixSpawn.test_empty_file_actions) ... skipped 'test needs os.posix_spawn' test_multiple_file_actions (test.test_posix.TestPosixSpawn.test_multiple_file_actions) ... skipped 'test needs os.posix_spawn' test_no_such_executable (test.test_posix.TestPosixSpawn.test_no_such_executable) ... skipped 'test needs os.posix_spawn' test_none_file_actions (test.test_posix.TestPosixSpawn.test_none_file_actions) ... skipped 'test needs os.posix_spawn' test_open_file (test.test_posix.TestPosixSpawn.test_open_file) ... skipped 'test needs os.posix_spawn' test_resetids (test.test_posix.TestPosixSpawn.test_resetids) ... skipped 'test needs os.posix_spawn' test_resetids_explicit_default (test.test_posix.TestPosixSpawn.test_resetids_explicit_default) ... skipped 'test needs os.posix_spawn' test_returns_pid (test.test_posix.TestPosixSpawn.test_returns_pid) ... skipped 'test needs os.posix_spawn' test_setpgroup (test.test_posix.TestPosixSpawn.test_setpgroup) ... skipped 'test needs os.posix_spawn' test_setpgroup_wrong_type (test.test_posix.TestPosixSpawn.test_setpgroup_wrong_type) ... skipped 'test needs os.posix_spawn' test_setscheduler_only_param (test.test_posix.TestPosixSpawn.test_setscheduler_only_param) ... skipped 'test needs os.posix_spawn' test_setscheduler_with_policy (test.test_posix.TestPosixSpawn.test_setscheduler_with_policy) ... skipped 'test needs os.posix_spawn' test_setsid (test.test_posix.TestPosixSpawn.test_setsid) ... skipped 'test needs os.posix_spawn' test_setsigdef (test.test_posix.TestPosixSpawn.test_setsigdef) ... skipped 'test needs os.posix_spawn' test_setsigdef_wrong_type (test.test_posix.TestPosixSpawn.test_setsigdef_wrong_type) ... skipped 'test needs os.posix_spawn' test_setsigmask (test.test_posix.TestPosixSpawn.test_setsigmask) ... skipped 'test needs os.posix_spawn' test_setsigmask_wrong_type (test.test_posix.TestPosixSpawn.test_setsigmask_wrong_type) ... skipped 'test needs os.posix_spawn' test_specify_environment (test.test_posix.TestPosixSpawn.test_specify_environment) ... skipped 'test needs os.posix_spawn' test_bad_file_actions (test.test_posix.TestPosixSpawnP.test_bad_file_actions) ... skipped 'test needs os.posix_spawnp' test_close_file (test.test_posix.TestPosixSpawnP.test_close_file) ... skipped 'test needs os.posix_spawnp' test_dup2 (test.test_posix.TestPosixSpawnP.test_dup2) ... skipped 'test needs os.posix_spawnp' test_empty_file_actions (test.test_posix.TestPosixSpawnP.test_empty_file_actions) ... skipped 'test needs os.posix_spawnp' test_multiple_file_actions (test.test_posix.TestPosixSpawnP.test_multiple_file_actions) ... skipped 'test needs os.posix_spawnp' test_no_such_executable (test.test_posix.TestPosixSpawnP.test_no_such_executable) ... skipped 'test needs os.posix_spawnp' test_none_file_actions (test.test_posix.TestPosixSpawnP.test_none_file_actions) ... skipped 'test needs os.posix_spawnp' test_open_file (test.test_posix.TestPosixSpawnP.test_open_file) ... skipped 'test needs os.posix_spawnp' test_posix_spawnp (test.test_posix.TestPosixSpawnP.test_posix_spawnp) ... skipped 'test needs os.posix_spawnp' test_resetids (test.test_posix.TestPosixSpawnP.test_resetids) ... skipped 'test needs os.posix_spawnp' test_resetids_explicit_default (test.test_posix.TestPosixSpawnP.test_resetids_explicit_default) ... skipped 'test needs os.posix_spawnp' test_returns_pid (test.test_posix.TestPosixSpawnP.test_returns_pid) ... skipped 'test needs os.posix_spawnp' test_setpgroup (test.test_posix.TestPosixSpawnP.test_setpgroup) ... skipped 'test needs os.posix_spawnp' test_setpgroup_wrong_type (test.test_posix.TestPosixSpawnP.test_setpgroup_wrong_type) ... skipped 'test needs os.posix_spawnp' test_setscheduler_only_param (test.test_posix.TestPosixSpawnP.test_setscheduler_only_param) ... skipped 'test needs os.posix_spawnp' test_setscheduler_with_policy (test.test_posix.TestPosixSpawnP.test_setscheduler_with_policy) ... skipped 'test needs os.posix_spawnp' test_setsid (test.test_posix.TestPosixSpawnP.test_setsid) ... skipped 'test needs os.posix_spawnp' test_setsigdef (test.test_posix.TestPosixSpawnP.test_setsigdef) ... skipped 'test needs os.posix_spawnp' test_setsigdef_wrong_type (test.test_posix.TestPosixSpawnP.test_setsigdef_wrong_type) ... skipped 'test needs os.posix_spawnp' test_setsigmask (test.test_posix.TestPosixSpawnP.test_setsigmask) ... skipped 'test needs os.posix_spawnp' test_setsigmask_wrong_type (test.test_posix.TestPosixSpawnP.test_setsigmask_wrong_type) ... skipped 'test needs os.posix_spawnp' test_specify_environment (test.test_posix.TestPosixSpawnP.test_specify_environment) ... skipped 'test needs os.posix_spawnp' test_access (test.test_posix.TestPosixWeaklinking.test_access) ... skipped 'test weak linking on macOS' test_chmod (test.test_posix.TestPosixWeaklinking.test_chmod) ... skipped 'test weak linking on macOS' test_chown (test.test_posix.TestPosixWeaklinking.test_chown) ... skipped 'test weak linking on macOS' test_link (test.test_posix.TestPosixWeaklinking.test_link) ... skipped 'test weak linking on macOS' test_listdir_scandir (test.test_posix.TestPosixWeaklinking.test_listdir_scandir) ... skipped 'test weak linking on macOS' test_mkdir (test.test_posix.TestPosixWeaklinking.test_mkdir) ... skipped 'test weak linking on macOS' test_mkfifo (test.test_posix.TestPosixWeaklinking.test_mkfifo) ... skipped 'test weak linking on macOS' test_mknod (test.test_posix.TestPosixWeaklinking.test_mknod) ... skipped 'test weak linking on macOS' test_open (test.test_posix.TestPosixWeaklinking.test_open) ... skipped 'test weak linking on macOS' test_pwritev (test.test_posix.TestPosixWeaklinking.test_pwritev) ... skipped 'test weak linking on macOS' test_readlink (test.test_posix.TestPosixWeaklinking.test_readlink) ... skipped 'test weak linking on macOS' test_rename_replace (test.test_posix.TestPosixWeaklinking.test_rename_replace) ... skipped 'test weak linking on macOS' test_stat (test.test_posix.TestPosixWeaklinking.test_stat) ... skipped 'test weak linking on macOS' test_symlink (test.test_posix.TestPosixWeaklinking.test_symlink) ... skipped 'test weak linking on macOS' test_unlink_rmdir (test.test_posix.TestPosixWeaklinking.test_unlink_rmdir) ... skipped 'test weak linking on macOS' test_utime (test.test_posix.TestPosixWeaklinking.test_utime) ... skipped 'test weak linking on macOS' ====================================================================== ERROR: test_sched_param (test.test_posix.PosixTester.test_sched_param) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_posix.py", line 1317, in test_sched_param newparam = pickle.loads(pickle.dumps(param, proto)) ^^^^^ TypeError: sched_param.__new__() takes 2 positional arguments but 3 were given ====================================================================== FAIL: test_listdir_bytes_like (test.test_posix.PosixTester.test_listdir_bytes_like) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_posix.py", line 864, in test_listdir_bytes_like with self.assertRaises(TypeError): AssertionError: TypeError not raised ====================================================================== FAIL: test_makedev (test.test_posix.PosixTester.test_makedev) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_posix.py", line 728, in test_makedev self.assertRaises((ValueError, OverflowError), posix.makedev, x, minor) ^^^^^^^^^^^^ AssertionError: (<class 'ValueError'>, <class 'OverflowError'>) not raised by makedev ====================================================================== FAIL: test_stat (test.test_posix.PosixTester.test_stat) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_posix.py", line 646, in test_stat self.assertRaisesRegex(TypeError, ^^^^^^^^^^^^^^^^^ AssertionError: TypeError not raised by stat ---------------------------------------------------------------------- Ran 167 tests in 0.350s FAILED (failures=3, errors=1, skipped=88) 0:00:00 load avg: 0.65 [1/1/1] test_posix failed (1 error, 3 failures) == Tests result: FAILURE == 1 test failed: test_posix Total duration: 476 ms Total tests: run=167 failures=3 skipped=88 Total test files: run=1/1 failed=1 Result: FAILURE test test_posix failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1751176æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1831069006 0:00:00 load avg: 0.65 Run 1 test sequentially in a single process 0:00:00 load avg: 0.65 [1/1] test_print test_gh130163 (test.test_print.TestPrint.test_gh130163) ... ok test_print (test.test_print.TestPrint.test_print) ... ok test_print_flush (test.test_print.TestPrint.test_print_flush) ... ok test_normal_string (test.test_print.TestPy2MigrationHint.test_normal_string) ... FAIL test_stream_redirection_hint_for_py2_migration (test.test_print.TestPy2MigrationHint.test_stream_redirection_hint_for_py2_migration) ... ok test_string_in_loop_on_same_line (test.test_print.TestPy2MigrationHint.test_string_in_loop_on_same_line) ... FAIL test_string_with_excessive_whitespace (test.test_print.TestPy2MigrationHint.test_string_with_excessive_whitespace) ... FAIL test_string_with_leading_whitespace (test.test_print.TestPy2MigrationHint.test_string_with_leading_whitespace) ... FAIL test_string_with_semicolon (test.test_print.TestPy2MigrationHint.test_string_with_semicolon) ... FAIL test_string_with_soft_space (test.test_print.TestPy2MigrationHint.test_string_with_soft_space) ... FAIL ====================================================================== FAIL: test_normal_string (test.test_print.TestPy2MigrationHint.test_normal_string) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_print.py", line 154, in test_normal_string self.assertIn("Missing parentheses in call to 'print'. Did you mean print(...)", ^^^^^^^^ AssertionError: "Missing parentheses in call to 'print'. Did you mean print(...)" not found in 'Missing parentheses in call to \'print\'. Did you mean print("Hello World")? (<string>, line 1)' ====================================================================== FAIL: test_string_in_loop_on_same_line (test.test_print.TestPy2MigrationHint.test_string_in_loop_on_same_line) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_print.py", line 199, in test_string_in_loop_on_same_line self.assertIn("Missing parentheses in call to 'print'. Did you mean print(...)", ^^^^^^^^ AssertionError: "Missing parentheses in call to 'print'. Did you mean print(...)" not found in "Missing parentheses in call to 'print'. Did you mean print(i)? (<string>, line 1)" ====================================================================== FAIL: test_string_with_excessive_whitespace (test.test_print.TestPy2MigrationHint.test_string_with_excessive_whitespace) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_print.py", line 170, in test_string_with_excessive_whitespace self.assertIn("Missing parentheses in call to 'print'. Did you mean print(...)", ^^^^^^^^ AssertionError: "Missing parentheses in call to 'print'. Did you mean print(...)" not found in 'Missing parentheses in call to \'print\'. Did you mean print("Hello World", end=" ")? (<string>, line 1)' ====================================================================== FAIL: test_string_with_leading_whitespace (test.test_print.TestPy2MigrationHint.test_string_with_leading_whitespace) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_print.py", line 180, in test_string_with_leading_whitespace self.assertIn("Missing parentheses in call to 'print'. Did you mean print(...)", ^^^^^^^^ AssertionError: "Missing parentheses in call to 'print'. Did you mean print(...)" not found in 'Missing parentheses in call to \'print\'. Did you mean print("Hello World")? (<string>, line 2)' ====================================================================== FAIL: test_string_with_semicolon (test.test_print.TestPy2MigrationHint.test_string_with_semicolon) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_print.py", line 191, in test_string_with_semicolon self.assertIn("Missing parentheses in call to 'print'. Did you mean print(...)", ^^^^^^^^ AssertionError: "Missing parentheses in call to 'print'. Did you mean print(...)" not found in "Missing parentheses in call to 'print'. Did you mean print(p)? (<string>, line 1)" ====================================================================== FAIL: test_string_with_soft_space (test.test_print.TestPy2MigrationHint.test_string_with_soft_space) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_print.py", line 162, in test_string_with_soft_space self.assertIn("Missing parentheses in call to 'print'. Did you mean print(...)", ^^^^^^^^ AssertionError: "Missing parentheses in call to 'print'. Did you mean print(...)" not found in 'Missing parentheses in call to \'print\'. Did you mean print("Hello World", end=" ")? (<string>, line 1)' ---------------------------------------------------------------------- Ran 10 tests in 0.025s FAILED (failures=6) 0:00:00 load avg: 0.65 [1/1/1] test_print failed (6 failures) == Tests result: FAILURE == 1 test failed: test_print Total duration: 91 ms Total tests: run=10 failures=6 Total test files: run=1/1 failed=1 Result: FAILURE test test_print failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1751191æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 4064263425 0:00:00 load avg: 0.65 Run 1 test sequentially in a single process 0:00:00 load avg: 0.65 [1/1] test_property test_docstring_copy (test.test_property.PropertySubclassTests.test_docstring_copy) ... ok test_docstring_copy2 (test.test_property.PropertySubclassTests.test_docstring_copy2) Property tries to provide the best docstring it finds for its instances. ... FAIL test_issue41287 (test.test_property.PropertySubclassTests.test_issue41287) ... FAIL test_prefer_explicit_doc (test.test_property.PropertySubclassTests.test_prefer_explicit_doc) ... FAIL test_property_new_getter_new_docstring (test.test_property.PropertySubclassTests.test_property_new_getter_new_docstring) ... ok test_property_no_doc_on_getter (test.test_property.PropertySubclassTests.test_property_no_doc_on_getter) ... FAIL test_property_setter_copies_getter_docstring (test.test_property.PropertySubclassTests.test_property_setter_copies_getter_docstring) ... ok test_property_with_slots_and_doc_slot_docstring_present (test.test_property.PropertySubclassTests.test_property_with_slots_and_doc_slot_docstring_present) ... ERROR test_property_with_slots_docstring_silently_dropped (test.test_property.PropertySubclassTests.test_property_with_slots_docstring_silently_dropped) ... ok test_property_with_slots_no_docstring (test.test_property.PropertySubclassTests.test_property_with_slots_no_docstring) ... ERROR test_slots_docstring_copy_exception (test.test_property.PropertySubclassTests.test_slots_docstring_copy_exception) ... ok test_class_property (test.test_property.PropertyTests.test_class_property) ... ok test_class_property_override (test.test_property.PropertyTests.test_class_property_override) ... ok test_gh_115618 (test.test_property.PropertyTests.test_gh_115618) ... skipped 'implementation detail specific to cpython' test_property___isabstractmethod__descriptor (test.test_property.PropertyTests.test_property___isabstractmethod__descriptor) ... ok test_property_builtin_doc_writable (test.test_property.PropertyTests.test_property_builtin_doc_writable) ... ok test_property_decorator_baseclass (test.test_property.PropertyTests.test_property_decorator_baseclass) ... ok test_property_decorator_baseclass_doc (test.test_property.PropertyTests.test_property_decorator_baseclass_doc) ... ok test_property_decorator_doc (test.test_property.PropertyTests.test_property_decorator_doc) ... ok test_property_decorator_doc_writable (test.test_property.PropertyTests.test_property_decorator_doc_writable) ... ok test_property_decorator_subclass (test.test_property.PropertyTests.test_property_decorator_subclass) ... ok test_property_decorator_subclass_doc (test.test_property.PropertyTests.test_property_decorator_subclass_doc) ... ok test_property_getter_doc_override (test.test_property.PropertyTests.test_property_getter_doc_override) ... ok test_property_set_name_incorrect_args (test.test_property.PropertyTests.test_property_set_name_incorrect_args) ... FAIL test_property_setname_on_property_subclass (test.test_property.PropertyTests.test_property_setname_on_property_subclass) ... ok test_refleaks_in___init__ (test.test_property.PropertyTests.test_refleaks_in___init__) ... skipped 'implementation detail specific to cpython' test_del_property (test.test_property.PropertyUnreachableAttributeNoName.test_del_property) ... ok test_get_property (test.test_property.PropertyUnreachableAttributeNoName.test_get_property) ... ok test_set_property (test.test_property.PropertyUnreachableAttributeNoName.test_set_property) ... ok test_del_property (test.test_property.PropertyUnreachableAttributeWithName.test_del_property) ... ok test_get_property (test.test_property.PropertyUnreachableAttributeWithName.test_get_property) ... ok test_set_property (test.test_property.PropertyUnreachableAttributeWithName.test_set_property) ... ok ====================================================================== ERROR: test_property_with_slots_and_doc_slot_docstring_present (test.test_property.PropertySubclassTests.test_property_with_slots_and_doc_slot_docstring_present) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_property.py", line 321, in test_property_with_slots_and_doc_slot_docstring_present self.assertEqual("what's up", p.__doc__) # new in 3.12: This gets set. ^^^^^^^ AttributeError: 'slotted_prop' object has no attribute '__doc__' ====================================================================== ERROR: test_property_with_slots_no_docstring (test.test_property.PropertySubclassTests.test_property_with_slots_no_docstring) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_property.py", line 291, in test_property_with_slots_no_docstring p = slotted_prop(undocumented_getter) # New in 3.12: no AttributeError ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'slotted_prop' object attribute '__doc__' is read-only ====================================================================== FAIL: test_docstring_copy2 (test.test_property.PropertySubclassTests.test_docstring_copy2) Property tries to provide the best docstring it finds for its instances. ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_property.py", line 424, in test_docstring_copy2 self.assertEqual(p2.__doc__, "doc 3") ^^^^^^^^^^^ AssertionError: 'user' != 'doc 3' - user + doc 3 ====================================================================== FAIL: test_issue41287 (test.test_property.PropertySubclassTests.test_issue41287) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_property.py", line 338, in test_issue41287 self.assertEqual(doc, "issue 41287 is fixed", ^^^^^^^^^^^ AssertionError: 'This is a subclass of property' != 'issue 41287 is fixed' - This is a subclass of property + issue 41287 is fixed : Subclasses of `property` ignores `doc` constructor argument ====================================================================== FAIL: test_prefer_explicit_doc (test.test_property.PropertySubclassTests.test_prefer_explicit_doc) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_property.py", line 439, in test_prefer_explicit_doc self.assertEqual(PropertySub(doc="explicit doc").__doc__, "explicit doc") ^^^^^^^^^^^ AssertionError: 'This is a subclass of property' != 'explicit doc' - This is a subclass of property + explicit doc ====================================================================== FAIL: test_property_no_doc_on_getter (test.test_property.PropertySubclassTests.test_property_no_doc_on_getter) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_property.py", line 466, in test_property_no_doc_on_getter self.assertEqual(PropertySub(NoDoc()).__doc__, None) ^^^^^^^^^^^ AssertionError: 'This is a subclass of property' != None ====================================================================== FAIL: test_property_set_name_incorrect_args (test.test_property.PropertyTests.test_property_set_name_incorrect_args) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_property.py", line 233, in test_property_set_name_incorrect_args p.__set_name__(*([0] * i)) TypeError: property.__set_name__() missing 2 required positional arguments: 'type' and 'name' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_property.py", line 229, in test_property_set_name_incorrect_args with self.assertRaisesRegex( AssertionError: "^__set_name__\(\) takes 2 positional arguments but 0 were given$" does not match "property.__set_name__() missing 2 required positional arguments: 'type' and 'name'" ---------------------------------------------------------------------- Ran 32 tests in 0.016s FAILED (failures=5, errors=2, skipped=2) 0:00:00 load avg: 0.65 [1/1/1] test_property failed (2 errors, 5 failures) == Tests result: FAILURE == 1 test failed: test_property Total duration: 86 ms Total tests: run=32 failures=5 skipped=2 Total test files: run=1/1 failed=1 Result: FAILURE test test_property failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1751598æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1517351310 0:00:00 load avg: 0.62 Run 1 test sequentially in a single process 0:00:00 load avg: 0.62 [1/1] test_raise testCauseSyntax (test.test_raise.TestCause.testCauseSyntax) ... ok test_class_cause (test.test_raise.TestCause.test_class_cause) ... ok test_erroneous_cause (test.test_raise.TestCause.test_erroneous_cause) ... ok test_instance_cause (test.test_raise.TestCause.test_instance_cause) ... ok test_invalid_cause (test.test_raise.TestCause.test_invalid_cause) ... ok test_3118 (test.test_raise.TestContext.test_3118) ... ok test_3611 (test.test_raise.TestContext.test_3611) ... ok test_c_exception_context (test.test_raise.TestContext.test_c_exception_context) ... ok test_c_exception_raise (test.test_raise.TestContext.test_c_exception_raise) ... ok test_class_context_class_raise (test.test_raise.TestContext.test_class_context_class_raise) ... ok test_class_context_instance_raise (test.test_raise.TestContext.test_class_context_instance_raise) ... ok test_context_manager (test.test_raise.TestContext.test_context_manager) ... ok test_cycle_broken (test.test_raise.TestContext.test_cycle_broken) ... ok test_instance_context_instance_raise (test.test_raise.TestContext.test_instance_context_instance_raise) ... ok test_noraise_finally (test.test_raise.TestContext.test_noraise_finally) ... ok test_not_last (test.test_raise.TestContext.test_not_last) ... ok test_raise_finally (test.test_raise.TestContext.test_raise_finally) ... ok test_reraise_cycle_broken (test.test_raise.TestContext.test_reraise_cycle_broken) ... ok test_assert_with_tuple_arg (test.test_raise.TestRaise.test_assert_with_tuple_arg) ... ok test_erroneous_exception (test.test_raise.TestRaise.test_erroneous_exception) ... ok test_except_reraise (test.test_raise.TestRaise.test_except_reraise) ... ok test_finally_reraise (test.test_raise.TestRaise.test_finally_reraise) ... ok test_invalid_reraise (test.test_raise.TestRaise.test_invalid_reraise) ... ok test_nested_reraise (test.test_raise.TestRaise.test_nested_reraise) ... ok test_new_returns_invalid_instance (test.test_raise.TestRaise.test_new_returns_invalid_instance) ... ok test_raise_from_None (test.test_raise.TestRaise.test_raise_from_None) ... ok test_reraise (test.test_raise.TestRaise.test_reraise) ... ok test_with_reraise1 (test.test_raise.TestRaise.test_with_reraise1) ... ok test_with_reraise2 (test.test_raise.TestRaise.test_with_reraise2) ... ok test_yield_reraise (test.test_raise.TestRaise.test_yield_reraise) ... ok test_strings (test.test_raise.TestRemovedFunctionality.test_strings) ... ok test_tuples (test.test_raise.TestRemovedFunctionality.test_tuples) ... ok test_accepts_traceback (test.test_raise.TestTraceback.test_accepts_traceback) ... ok test_sets_traceback (test.test_raise.TestTraceback.test_sets_traceback) ... ok test_attrs (test.test_raise.TestTracebackType.test_attrs) ... ERROR test_constructor (test.test_raise.TestTracebackType.test_constructor) ... ok ====================================================================== ERROR: test_attrs (test.test_raise.TestTracebackType.test_attrs) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_raise.py", line 251, in test_attrs del tb.tb_next ^^^^^^^ AttributeError: cannot delete 'tb_next' attribute of immutable type '?' ---------------------------------------------------------------------- Ran 36 tests in 0.011s FAILED (errors=1) 0:00:00 load avg: 0.62 [1/1/1] test_raise failed (1 error) == Tests result: FAILURE == 1 test failed: test_raise Total duration: 80 ms Total tests: run=36 Total test files: run=1/1 failed=1 Result: FAILURE test test_raise failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1751609æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2080461956 0:00:00 load avg: 0.65 Run 1 test sequentially in a single process 0:00:00 load avg: 0.65 [1/1] test_range test_attributes (test.test_range.RangeTest.test_attributes) ... ok test_comparison (test.test_range.RangeTest.test_comparison) ... ok test_contains (test.test_range.RangeTest.test_contains) ... ok test_count (test.test_range.RangeTest.test_count) ... ok test_empty (test.test_range.RangeTest.test_empty) ... ok test_exhausted_iterator_pickling (test.test_range.RangeTest.test_exhausted_iterator_pickling) ... ok test_index (test.test_range.RangeTest.test_index) ... ok test_invalid_invocation (test.test_range.RangeTest.test_invalid_invocation) ... ok test_issue11845 (test.test_range.RangeTest.test_issue11845) ... ok test_iterator_pickling (test.test_range.RangeTest.test_iterator_pickling) ... ok test_iterator_pickling_overflowing_index (test.test_range.RangeTest.test_iterator_pickling_overflowing_index) ... ok test_iterator_setstate (test.test_range.RangeTest.test_iterator_setstate) ... FAIL test_iterator_unpickle_compat (test.test_range.RangeTest.test_iterator_unpickle_compat) ... FAIL test_large_exhausted_iterator_pickling (test.test_range.RangeTest.test_large_exhausted_iterator_pickling) ... ok test_large_operands (test.test_range.RangeTest.test_large_operands) ... ok test_large_range (test.test_range.RangeTest.test_large_range) ... ok test_odd_bug (test.test_range.RangeTest.test_odd_bug) ... ok test_pickling (test.test_range.RangeTest.test_pickling) ... ok test_range (test.test_range.RangeTest.test_range) ... ok test_range_constructor_error_messages (test.test_range.RangeTest.test_range_constructor_error_messages) ... ok test_range_iterators (test.test_range.RangeTest.test_range_iterators) ... ok test_range_iterators_invocation (test.test_range.RangeTest.test_range_iterators_invocation) ... ok test_repr (test.test_range.RangeTest.test_repr) ... ok test_reverse_iteration (test.test_range.RangeTest.test_reverse_iteration) ... ok test_slice (test.test_range.RangeTest.test_slice) ... ok test_strided_limits (test.test_range.RangeTest.test_strided_limits) ... ok test_types (test.test_range.RangeTest.test_types) ... ok test_user_index_method (test.test_range.RangeTest.test_user_index_method) ... ok ====================================================================== FAIL: test_iterator_setstate (test.test_range.RangeTest.test_iterator_setstate) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_range.py", line 462, in test_iterator_setstate self.assertEqual(list(it), [14, 16, 18]) ^^^^^^^^^^^ AssertionError: Lists differ: [10, 12] != [14, 16, 18] First differing element 0: 10 14 Second list contains 1 additional elements. First extra element 2: 18 - [10, 12] + [14, 16, 18] ====================================================================== FAIL: test_iterator_unpickle_compat (test.test_range.RangeTest.test_iterator_unpickle_compat) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_range.py", line 457, in test_iterator_unpickle_compat self.assertEqual(list(it), [14, 16, 18]) ^^^^^^^^^^^ AssertionError: Lists differ: [10, 12] != [14, 16, 18] First differing element 0: 10 14 Second list contains 1 additional elements. First extra element 2: 18 - [10, 12] + [14, 16, 18] ---------------------------------------------------------------------- Ran 28 tests in 0.453s FAILED (failures=2) 0:00:00 load avg: 0.65 [1/1/1] test_range failed (2 failures) == Tests result: FAILURE == 1 test failed: test_range Total duration: 542 ms Total tests: run=28 failures=2 Total test files: run=1/1 failed=1 Result: FAILURE test test_range failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1751636æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1376257371 0:00:00 load avg: 0.65 Run 1 test sequentially in a single process 0:00:00 load avg: 0.65 [1/1] test_regrtest test_add_python_opts (test.test_regrtest.ArgsTestCase.test_add_python_opts) ... test_add_python_opts (test.test_regrtest.ArgsTestCase.test_add_python_opts) (opt='--fast-ci') ... FAIL test_add_python_opts (test.test_regrtest.ArgsTestCase.test_add_python_opts) (opt='--slow-ci') ... FAIL test_cleanup (test.test_regrtest.ArgsTestCase.test_cleanup) ... ok test_coverage (test.test_regrtest.ArgsTestCase.test_coverage) ... FAIL test_crashed (test.test_regrtest.ArgsTestCase.test_crashed) ... skipped 'implementation detail specific to cpython' test_doctest (test.test_regrtest.ArgsTestCase.test_doctest) ... ok test_env_changed (test.test_regrtest.ArgsTestCase.test_env_changed) ... ok test_failing_test (test.test_regrtest.ArgsTestCase.test_failing_test) ... ok test_forever (test.test_regrtest.ArgsTestCase.test_forever) ... ok test_fromfile (test.test_regrtest.ArgsTestCase.test_fromfile) ... ok test_huntrleaks (test.test_regrtest.ArgsTestCase.test_huntrleaks) ... skipped 'need a debug build' test_huntrleaks_bisect (test.test_regrtest.ArgsTestCase.test_huntrleaks_bisect) ... skipped 'need a debug build' test_huntrleaks_fd_leak (test.test_regrtest.ArgsTestCase.test_huntrleaks_fd_leak) ... skipped 'need a debug build' test_huntrleaks_mp (test.test_regrtest.ArgsTestCase.test_huntrleaks_mp) ... skipped 'need a debug build' test_ignorefile (test.test_regrtest.ArgsTestCase.test_ignorefile) ... ok test_interrupted (test.test_regrtest.ArgsTestCase.test_interrupted) ... ok test_leak_tmp_file (test.test_regrtest.ArgsTestCase.test_leak_tmp_file) ... ok test_list_cases (test.test_regrtest.ArgsTestCase.test_list_cases) ... ok test_list_tests (test.test_regrtest.ArgsTestCase.test_list_tests) ... ok test_matchfile (test.test_regrtest.ArgsTestCase.test_matchfile) ... ok test_multiprocessing_timeout (test.test_regrtest.ArgsTestCase.test_multiprocessing_timeout) ... ok test_no_test_ran_some_test_exist_some_not (test.test_regrtest.ArgsTestCase.test_no_test_ran_some_test_exist_some_not) ... ok test_no_tests_ran (test.test_regrtest.ArgsTestCase.test_no_tests_ran) ... ok test_no_tests_ran_multiple_tests_nonexistent (test.test_regrtest.ArgsTestCase.test_no_tests_ran_multiple_tests_nonexistent) ... ok test_no_tests_ran_skip (test.test_regrtest.ArgsTestCase.test_no_tests_ran_skip) ... ok test_print_warning (test.test_regrtest.ArgsTestCase.test_print_warning) ... ok test_python_command (test.test_regrtest.ArgsTestCase.test_python_command) ... ok test_random (test.test_regrtest.ArgsTestCase.test_random) ... ok test_random_seed (test.test_regrtest.ArgsTestCase.test_random_seed) ... ok test_random_seed_workers (test.test_regrtest.ArgsTestCase.test_random_seed_workers) ... ok test_rerun_async_setup_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_async_setup_hook_failure) ... ok test_rerun_async_teardown_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_async_teardown_hook_failure) ... ok test_rerun_fail (test.test_regrtest.ArgsTestCase.test_rerun_fail) ... ok test_rerun_setup_class_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_setup_class_hook_failure) ... ok test_rerun_setup_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_setup_hook_failure) ... ok test_rerun_setup_module_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_setup_module_hook_failure) ... ok test_rerun_success (test.test_regrtest.ArgsTestCase.test_rerun_success) ... ok test_rerun_teardown_class_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_teardown_class_hook_failure) ... ok test_rerun_teardown_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_teardown_hook_failure) ... ok test_rerun_teardown_module_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_teardown_module_hook_failure) ... ok test_resources (test.test_regrtest.ArgsTestCase.test_resources) ... ok test_skip (test.test_regrtest.ArgsTestCase.test_skip) ... ok test_slowest (test.test_regrtest.ArgsTestCase.test_slowest) ... ok test_slowest_interrupted (test.test_regrtest.ArgsTestCase.test_slowest_interrupted) ... ok test_success (test.test_regrtest.ArgsTestCase.test_success) ... ok test_threading_excepthook (test.test_regrtest.ArgsTestCase.test_threading_excepthook) ... ok test_uncollectable (test.test_regrtest.ArgsTestCase.test_uncollectable) ... skipped 'implementation detail specific to cpython' test_unicode_guard_env (test.test_regrtest.ArgsTestCase.test_unicode_guard_env) ... ok test_unload_tests (test.test_regrtest.ArgsTestCase.test_unload_tests) ... ok test_unraisable_exc (test.test_regrtest.ArgsTestCase.test_unraisable_exc) ... FAIL test_verbose3 (test.test_regrtest.ArgsTestCase.test_verbose3) ... ok test_wait (test.test_regrtest.ArgsTestCase.test_wait) ... ok test_worker_decode_error (test.test_regrtest.ArgsTestCase.test_worker_decode_error) ... ok test_worker_output_on_failure (test.test_regrtest.ArgsTestCase.test_worker_output_on_failure) ... ok test_xml (test.test_regrtest.ArgsTestCase.test_xml) ... ok test_finds_expected_number_of_tests (test.test_regrtest.CheckActualTests.test_finds_expected_number_of_tests) Check that regrtest appears to find the expected set of tests. ... ok test_arg (test.test_regrtest.ParseArgsTestCase.test_arg) ... ok test_arg_option_arg (test.test_regrtest.ParseArgsTestCase.test_arg_option_arg) ... ok test_bisect (test.test_regrtest.ParseArgsTestCase.test_bisect) ... ok test_coverage (test.test_regrtest.ParseArgsTestCase.test_coverage) ... ok test_coverdir (test.test_regrtest.ParseArgsTestCase.test_coverdir) ... ok test_dont_add_python_opts (test.test_regrtest.ParseArgsTestCase.test_dont_add_python_opts) ... ok test_exclude (test.test_regrtest.ParseArgsTestCase.test_exclude) ... ok test_failfast (test.test_regrtest.ParseArgsTestCase.test_failfast) ... ok test_fast_ci (test.test_regrtest.ParseArgsTestCase.test_fast_ci) ... ok test_fast_ci_python_cmd (test.test_regrtest.ParseArgsTestCase.test_fast_ci_python_cmd) ... ok test_fast_ci_resource (test.test_regrtest.ParseArgsTestCase.test_fast_ci_resource) ... ok test_forever (test.test_regrtest.ParseArgsTestCase.test_forever) ... ok test_fromfile (test.test_regrtest.ParseArgsTestCase.test_fromfile) ... ok test_header (test.test_regrtest.ParseArgsTestCase.test_header) ... ok test_help (test.test_regrtest.ParseArgsTestCase.test_help) ... ok test_huntrleaks (test.test_regrtest.ParseArgsTestCase.test_huntrleaks) ... ok test_long_option__partial (test.test_regrtest.ParseArgsTestCase.test_long_option__partial) ... ok test_match (test.test_regrtest.ParseArgsTestCase.test_match) ... ok test_memlimit (test.test_regrtest.ParseArgsTestCase.test_memlimit) ... ok test_multiprocess (test.test_regrtest.ParseArgsTestCase.test_multiprocess) ... ok test_nocoverdir (test.test_regrtest.ParseArgsTestCase.test_nocoverdir) ... ok test_nowindows (test.test_regrtest.ParseArgsTestCase.test_nowindows) ... ok test_option_and_arg (test.test_regrtest.ParseArgsTestCase.test_option_and_arg) ... ok test_option_with_empty_string_value (test.test_regrtest.ParseArgsTestCase.test_option_with_empty_string_value) ... ok test_quiet (test.test_regrtest.ParseArgsTestCase.test_quiet) ... ok test_randomize (test.test_regrtest.ParseArgsTestCase.test_randomize) ... ok test_randseed (test.test_regrtest.ParseArgsTestCase.test_randseed) ... ok test_rerun (test.test_regrtest.ParseArgsTestCase.test_rerun) ... ok test_runleaks (test.test_regrtest.ParseArgsTestCase.test_runleaks) ... ok test_single (test.test_regrtest.ParseArgsTestCase.test_single) ... ok test_single_process (test.test_regrtest.ParseArgsTestCase.test_single_process) ... ok test_slow_ci (test.test_regrtest.ParseArgsTestCase.test_slow_ci) ... ok test_slowest (test.test_regrtest.ParseArgsTestCase.test_slowest) ... ok test_start (test.test_regrtest.ParseArgsTestCase.test_start) ... ok test_testdir (test.test_regrtest.ParseArgsTestCase.test_testdir) ... ok test_threshold (test.test_regrtest.ParseArgsTestCase.test_threshold) ... ok test_timeout (test.test_regrtest.ParseArgsTestCase.test_timeout) ... ok test_two_options (test.test_regrtest.ParseArgsTestCase.test_two_options) ... ok test_unknown_option (test.test_regrtest.ParseArgsTestCase.test_unknown_option) ... ok test_unrecognized_argument (test.test_regrtest.ParseArgsTestCase.test_unrecognized_argument) ... ok test_use (test.test_regrtest.ParseArgsTestCase.test_use) ... ok test_verbose (test.test_regrtest.ParseArgsTestCase.test_verbose) ... ok test_verbose3 (test.test_regrtest.ParseArgsTestCase.test_verbose3) ... ok test_verbose3_huntrleaks (test.test_regrtest.ParseArgsTestCase.test_verbose3_huntrleaks) ... ok test_wait (test.test_regrtest.ParseArgsTestCase.test_wait) ... ok test_module_autotest (test.test_regrtest.ProgramsTestCase.test_module_autotest) ... ok test_module_from_test_autotest (test.test_regrtest.ProgramsTestCase.test_module_from_test_autotest) ... ok test_module_regrtest (test.test_regrtest.ProgramsTestCase.test_module_regrtest) ... ok test_module_test (test.test_regrtest.ProgramsTestCase.test_module_test) ... ok test_pcbuild_rt (test.test_regrtest.ProgramsTestCase.test_pcbuild_rt) ... skipped 'Windows only' test_script_autotest (test.test_regrtest.ProgramsTestCase.test_script_autotest) ... ok test_script_regrtest (test.test_regrtest.ProgramsTestCase.test_script_regrtest) ... ok test_tools_buildbot_test (test.test_regrtest.ProgramsTestCase.test_tools_buildbot_test) ... skipped 'test.bat script is not installed' test_format_duration (test.test_regrtest.TestUtils.test_format_duration) ... ok test_format_resources (test.test_regrtest.TestUtils.test_format_resources) ... ok test_get_signal_name (test.test_regrtest.TestUtils.test_get_signal_name) ... ok test_match_test (test.test_regrtest.TestUtils.test_match_test) ... ok test_normalize_test_name (test.test_regrtest.TestUtils.test_normalize_test_name) ... ok test_sanitize_xml (test.test_regrtest.TestUtils.test_sanitize_xml) ... ok ====================================================================== FAIL: test_add_python_opts (test.test_regrtest.ArgsTestCase.test_add_python_opts) (opt='--fast-ci') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_regrtest.py", line 2185, in test_add_python_opts self.check_add_python_opts(opt) ^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_regrtest.py", line 2180, in check_add_python_opts self.assertEqual(proc.returncode, 0, proc) ^^^^^^^^^^^ AssertionError: 2 != 0 : CompletedProcess(args=['/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/pypy3.12-c', '-m', 'test', '--fast-ci', '--testdir=/tmp/pytest/tmpo0_r4sgj', 'test_regrtest_noop1'], returncode=2, stdout='+ /build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/pypy3.12-c -u -W default -bb -E -m test --fast-ci --testdir=/tmp/pytest/tmpo0_r4sgj test_regrtest_noop1 --dont-add-python-opts\nUsing random seed: 3319959433\n0:00:00 load avg: 0.65 Run 1 test in parallel using 1 worker process (timeout: 10 min, worker timeout: 15 min)\n0:00:00 load avg: 0.65 [1/1/1] test_regrtest_noop1 failed (1 error)\ntest_config (test_regrtest_noop1.WorkerTests.test_config) ... ERROR\ntest_python_opts (test_regrtest_noop1.WorkerTests.test_python_opts) ... ok\n\n======================================================================\nERROR: test_config (test_regrtest_noop1.WorkerTests.test_config)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File "/tmp/pytest/tmpo0_r4sgj/test_regrtest_noop1.py", line 16, in test_config\n config = get_config()[\'config\']\n ^^^^^^^^^^^^\nTypeError: \'NoneType\' object is not callable\n\n----------------------------------------------------------------------\nRan 2 tests in 0.002s\n\nFAILED (errors=1)\ntest test_regrtest_noop1 failed\n\n== Tests result: FAILURE ==\n\n10 slowest tests:\n- test_regrtest_noop1: 218 ms\n\n1 test failed:\n test_regrtest_noop1\n\n0:00:00 load avg: 0.65 Re-running 1 failed tests in verbose mode in subprocesses\n0:00:00 load avg: 0.65 Run 1 test in parallel using 1 worker process (timeout: 10 min, worker timeout: 15 min)\n0:00:00 load avg: 0.65 [1/1/1] test_regrtest_noop1 failed (1 error)\nRe-running test_regrtest_noop1 in verbose mode (matching: test_config)\ntest_config (test_regrtest_noop1.WorkerTests.test_config) ... ERROR\n\n======================================================================\nERROR: test_config (test_regrtest_noop1.WorkerTests.test_config)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File "/tmp/pytest/tmpo0_r4sgj/test_regrtest_noop1.py", line 16, in test_config\n config = get_config()[\'config\']\n ^^^^^^^^^^^^\nTypeError: \'NoneType\' object is not callable\n\n----------------------------------------------------------------------\nRan 1 test in 0.002s\n\nFAILED (errors=1)\ntest test_regrtest_noop1 failed\n1 test failed again:\n test_regrtest_noop1\n\n== Tests result: FAILURE then FAILURE ==\n\n10 slowest tests:\n- test_regrtest_noop1: 218 ms\n\n1 re-run test:\n test_regrtest_noop1\n\n1 test failed:\n test_regrtest_noop1\n\nTotal duration: 452 ms\nTotal tests: run=3\nTotal test files: run=2/1 failed=1 rerun=1\nResult: FAILURE then FAILURE\n') ====================================================================== FAIL: test_add_python_opts (test.test_regrtest.ArgsTestCase.test_add_python_opts) (opt='--slow-ci') ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_regrtest.py", line 2185, in test_add_python_opts self.check_add_python_opts(opt) ^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_regrtest.py", line 2180, in check_add_python_opts self.assertEqual(proc.returncode, 0, proc) ^^^^^^^^^^^ AssertionError: 2 != 0 : CompletedProcess(args=['/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/pypy3.12-c', '-m', 'test', '--slow-ci', '--testdir=/tmp/pytest/tmpo0_r4sgj', 'test_regrtest_noop2'], returncode=2, stdout='+ /build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/pypy3.12-c -u -W default -bb -E -m test --slow-ci --testdir=/tmp/pytest/tmpo0_r4sgj test_regrtest_noop2 --dont-add-python-opts\nUsing random seed: 4202651246\n0:00:00 load avg: 0.65 Run 1 test in parallel using 1 worker process (timeout: 20 min, worker timeout: 25 min)\n0:00:00 load avg: 0.65 [1/1/1] test_regrtest_noop2 failed (1 error)\ntest_config (test_regrtest_noop2.WorkerTests.test_config) ... ERROR\ntest_python_opts (test_regrtest_noop2.WorkerTests.test_python_opts) ... ok\n\n======================================================================\nERROR: test_config (test_regrtest_noop2.WorkerTests.test_config)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File "/tmp/pytest/tmpo0_r4sgj/test_regrtest_noop2.py", line 16, in test_config\n config = get_config()[\'config\']\n ^^^^^^^^^^^^\nTypeError: \'NoneType\' object is not callable\n\n----------------------------------------------------------------------\nRan 2 tests in 0.002s\n\nFAILED (errors=1)\ntest test_regrtest_noop2 failed\n\n== Tests result: FAILURE ==\n\n10 slowest tests:\n- test_regrtest_noop2: 218 ms\n\n1 test failed:\n test_regrtest_noop2\n\n0:00:00 load avg: 0.65 Re-running 1 failed tests in verbose mode in subprocesses\n0:00:00 load avg: 0.65 Run 1 test in parallel using 1 worker process (timeout: 20 min, worker timeout: 25 min)\n0:00:00 load avg: 0.68 [1/1/1] test_regrtest_noop2 failed (1 error)\nRe-running test_regrtest_noop2 in verbose mode (matching: test_config)\ntest_config (test_regrtest_noop2.WorkerTests.test_config) ... ERROR\n\n======================================================================\nERROR: test_config (test_regrtest_noop2.WorkerTests.test_config)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File "/tmp/pytest/tmpo0_r4sgj/test_regrtest_noop2.py", line 16, in test_config\n config = get_config()[\'config\']\n ^^^^^^^^^^^^\nTypeError: \'NoneType\' object is not callable\n\n----------------------------------------------------------------------\nRan 1 test in 0.002s\n\nFAILED (errors=1)\ntest test_regrtest_noop2 failed\n1 test failed again:\n test_regrtest_noop2\n\n== Tests result: FAILURE then FAILURE ==\n\n10 slowest tests:\n- test_regrtest_noop2: 218 ms\n\n1 re-run test:\n test_regrtest_noop2\n\n1 test failed:\n test_regrtest_noop2\n\nTotal duration: 446 ms\nTotal tests: run=3\nTotal test files: run=2/1 failed=1 rerun=1\nResult: FAILURE then FAILURE\n') ====================================================================== FAIL: test_coverage (test.test_regrtest.ArgsTestCase.test_coverage) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_regrtest.py", line 1134, in test_coverage output = self.run_tests("--coverage", test) ^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_regrtest.py", line 909, in run_tests return self.run_python(cmdargs, **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_regrtest.py", line 765, in run_python proc = self.run_command(args, **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_regrtest.py", line 756, in run_command self.fail(msg) ^^^^ AssertionError: Command ['/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/pypy3.12-c', '-X', 'faulthandler', '-I', '-m', 'test', '--testdir=/tmp/pytest/tmpdt3z63bo', '--coverage', 'test_regrtest_coverage'] failed with exit code 1, but exit code 0 expected! stdout: --- Using random seed: 899847634 0:00:00 load avg: 0.68 Run 1 test sequentially in a single process 0:00:00 load avg: 0.68 [1/1] test_regrtest_coverage 0:00:00 load avg: 0.68 [1/1] test_regrtest_coverage passed Not printing coverage data for '<builtin>/frozen importlib._bootstrap_external': [Errno 2] No such file or directory: '<builtin>/frozen importlib._bootstrap_external' == Tests result: SUCCESS == 1 test OK. Total duration: 78 ms Total tests: run=1 Total test files: run=1/1 Result: SUCCESS Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/runpy.py", line 198, in _run_module_as_main return _run_code(code, main_globals, None, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/runpy.py", line 88, in _run_code exec(code, run_globals) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/__main__.py", line 2, in <module> main(_add_python_opts=True) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/main.py", line 728, in main Regrtest(ns, _add_python_opts=_add_python_opts).main(tests=tests) ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/main.py", line 720, in main exitcode = self.run_tests(selected, tests) ^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/main.py", line 557, in run_tests return self._run_tests(selected, tests) ^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/main.py", line 537, in _run_tests self.finalize_tests(tracer) ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/main.py", line 435, in finalize_tests results.write_results(show_missing=True, summary=True, ^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/trace.py", line 272, in write_results with open(filename, 'rb') as fp: ^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '<builtin>/frozen importlib._bootstrap_external' --- ====================================================================== FAIL: test_unraisable_exc (test.test_regrtest.ArgsTestCase.test_unraisable_exc) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_regrtest.py", line 1827, in test_unraisable_exc output = self.run_tests("--fail-env-changed", "-v", testname, ^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_regrtest.py", line 909, in run_tests return self.run_python(cmdargs, **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_regrtest.py", line 765, in run_python proc = self.run_command(args, **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_regrtest.py", line 756, in run_command self.fail(msg) ^^^^ AssertionError: Command ['/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/pypy3.12-c', '-X', 'faulthandler', '-I', '-m', 'test', '--testdir=/tmp/pytest/tmpt5lfs42x', '--fail-env-changed', '-v', 'test_regrtest_noop46'] failed with exit code 0, but exit code 3 expected! stdout: --- == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1751802æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources: all test resources are disabled, use -u option to unskip tests Using random seed: 37772533 0:00:00 load avg: 0.75 Run 1 test sequentially in a single process 0:00:00 load avg: 0.75 [1/1] test_regrtest_noop46 test_unraisable_exc (test_regrtest_noop46.Tests.test_unraisable_exc) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.000s OK 0:00:00 load avg: 0.75 [1/1] test_regrtest_noop46 passed == Tests result: SUCCESS == 1 test OK. Total duration: 59 ms Total tests: run=1 Total test files: run=1/1 Result: SUCCESS --- ---------------------------------------------------------------------- Ran 114 tests in 22.359s FAILED (failures=4, skipped=8) 0:00:22 load avg: 0.77 [1/1/1] test_regrtest failed (4 failures) == Tests result: FAILURE == 1 test failed: test_regrtest Total duration: 22.5 sec Total tests: run=114 failures=4 skipped=8 Total test files: run=1/1 failed=1 Result: FAILURE test test_regrtest failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1751955æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 429916995 0:00:00 load avg: 0.77 Run 1 test sequentially in a single process 0:00:00 load avg: 0.77 [1/1] test_reprlib test_builtin_function (test.test_reprlib.LongReprTest.test_builtin_function) ... skipped 'needs a built-in function with a really long name' test_class (test.test_reprlib.LongReprTest.test_class) ... ok test_instance (test.test_reprlib.LongReprTest.test_instance) ... ok test_method (test.test_reprlib.LongReprTest.test_method) ... ok test_module (test.test_reprlib.LongReprTest.test_module) ... ok test_object (test.test_reprlib.LongReprTest.test_object) ... skipped 'need a suitable object' test_type (test.test_reprlib.LongReprTest.test_type) ... ok test_builtin_function (test.test_reprlib.ReprTests.test_builtin_function) ... FAIL test_cell (test.test_reprlib.ReprTests.test_cell) ... ok test_container (test.test_reprlib.ReprTests.test_container) ... ok test_custom_repr (test.test_reprlib.ReprTests.test_custom_repr) ... ok test_custom_repr_class_with_spaces (test.test_reprlib.ReprTests.test_custom_repr_class_with_spaces) ... ok test_descriptors (test.test_reprlib.ReprTests.test_descriptors) ... FAIL test_frozenset (test.test_reprlib.ReprTests.test_frozenset) ... ok test_init_kwargs (test.test_reprlib.ReprTests.test_init_kwargs) ... ok test_instance (test.test_reprlib.ReprTests.test_instance) ... ok test_invalid_indent (test.test_reprlib.ReprTests.test_invalid_indent) ... ok test_lambda (test.test_reprlib.ReprTests.test_lambda) ... ok test_nesting (test.test_reprlib.ReprTests.test_nesting) ... ok test_numbers (test.test_reprlib.ReprTests.test_numbers) ... ok test_range (test.test_reprlib.ReprTests.test_range) ... ok test_set_literal (test.test_reprlib.ReprTests.test_set_literal) ... ok test_shadowed_builtin (test.test_reprlib.ReprTests.test_shadowed_builtin) ... ok test_shadowed_stdlib_array (test.test_reprlib.ReprTests.test_shadowed_stdlib_array) ... ok test_string (test.test_reprlib.ReprTests.test_string) ... ok test_tuple (test.test_reprlib.ReprTests.test_tuple) ... ok test_unsortable (test.test_reprlib.ReprTests.test_unsortable) ... ok test_valid_indent (test.test_reprlib.ReprTests.test_valid_indent) ... ok test__type_params__ (test.test_reprlib.TestRecursiveRepr.test__type_params__) ... ok test_assigned_attributes (test.test_reprlib.TestRecursiveRepr.test_assigned_attributes) ... ok test_recursive_repr (test.test_reprlib.TestRecursiveRepr.test_recursive_repr) ... ok ====================================================================== FAIL: test_builtin_function (test.test_reprlib.ReprTests.test_builtin_function) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_reprlib.py", line 189, in test_builtin_function self.assertTrue(repr(''.split).startswith( ^^^^^^^^^^ AssertionError: False is not true ====================================================================== FAIL: test_descriptors (test.test_reprlib.ReprTests.test_descriptors) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_reprlib.py", line 229, in test_descriptors eq(repr(dict.items), "<method 'items' of 'dict' objects>") AssertionError: '<function dict.items at 0x00007f7843180680>' != "<method 'items' of 'dict' objects>" - <function dict.items at 0x00007f7843180680> + <method 'items' of 'dict' objects> ---------------------------------------------------------------------- Ran 31 tests in 0.064s FAILED (failures=2, skipped=2) 0:00:00 load avg: 0.77 [1/1/1] test_reprlib failed (2 failures) == Tests result: FAILURE == 1 test failed: test_reprlib Total duration: 148 ms Total tests: run=31 failures=2 skipped=2 Total test files: run=1/1 failed=1 Result: FAILURE test test_reprlib failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1751970æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 438947485 0:00:00 load avg: 0.77 Run 1 test sequentially in a single process 0:00:00 load avg: 0.77 [1/1] test_rlcompleter test_attr_matches (test.test_rlcompleter.TestRlcompleter.test_attr_matches) ... FAIL test_complete (test.test_rlcompleter.TestRlcompleter.test_complete) ... ok test_duplicate_globals (test.test_rlcompleter.TestRlcompleter.test_duplicate_globals) ... ok test_excessive_getattr (test.test_rlcompleter.TestRlcompleter.test_excessive_getattr) Ensure getattr() is invoked no more than once per attribute ... ok test_global_matches (test.test_rlcompleter.TestRlcompleter.test_global_matches) ... ok test_namespace (test.test_rlcompleter.TestRlcompleter.test_namespace) ... ok test_property_method_not_called (test.test_rlcompleter.TestRlcompleter.test_property_method_not_called) ... ok test_uncreated_attr (test.test_rlcompleter.TestRlcompleter.test_uncreated_attr) ... ok ====================================================================== FAIL: test_attr_matches (test.test_rlcompleter.TestRlcompleter.test_attr_matches) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_rlcompleter.py", line 59, in test_attr_matches self.assertEqual(self.stdcompleter.attr_matches('None.'), expected) ^^^^^^^^^^^ AssertionError: Lists differ: ['None.__bool__()', 'None.__class__()', 'None.__delattr__[408 chars]__('] != ['None.__bool__(', 'None.__class__(', 'None.__delattr__('[398 chars]__('] First differing element 0: 'None.__bool__()' 'None.__bool__(' Diff is 988 characters long. Set self.maxDiff to None to see it. ---------------------------------------------------------------------- Ran 8 tests in 0.027s FAILED (failures=1) 0:00:00 load avg: 0.77 [1/1/1] test_rlcompleter failed (1 failure) == Tests result: FAILURE == 1 test failed: test_rlcompleter Total duration: 214 ms Total tests: run=8 failures=1 Total test files: run=1/1 failed=1 Result: FAILURE /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/rlcompleter.py:83: UserWarning: readline.redisplay() not implemented readline.redisplay() test test_rlcompleter failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1752025æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 190191776 0:00:00 load avg: 0.79 Run 1 test sequentially in a single process 0:00:00 load avg: 0.79 [1/1] test_select test_disallow_instantiation (test.test_select.SelectTestCase.test_disallow_instantiation) ... ok test_errno (test.test_select.SelectTestCase.test_errno) ... ok test_error_conditions (test.test_select.SelectTestCase.test_error_conditions) ... ok test_returned_list_identity (test.test_select.SelectTestCase.test_returned_list_identity) ... ok test_select (test.test_select.SelectTestCase.test_select) ... timeout = 0 timeout = 1 b'testing...\n' timeout = 2 b'testing...\n' timeout = 4 b'testing...\n' timeout = 8 b'testing...\n' timeout = 16 b'testing...\n' timeout = None b'testing...\n' timeout = None b'testing...\n' timeout = None b'testing...\n' timeout = None b'testing...\n' timeout = None b'testing...\n' timeout = None b'' EOF ok test_select_mutated (test.test_select.SelectTestCase.test_select_mutated) ... FAIL ====================================================================== FAIL: test_select_mutated (test.test_select.SelectTestCase.test_select_mutated) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_select.py", line 92, in test_select_mutated self.assertEqual(select.select([], a, []), ([], a[:5], [])) ^^^^^^^^^^^ AssertionError: Tuples differ: ([], [<test.test_select.SelectTestCase.test_sel[908 chars], []) != ([], [], []) First differing element 1: [<test.test_select.SelectTestCase.test_sel[903 chars]980>] [] Diff is 1020 characters long. Set self.maxDiff to None to see it. ---------------------------------------------------------------------- Ran 6 tests in 1.543s FAILED (failures=1) 0:00:01 load avg: 0.79 [1/1/1] test_select failed (1 failure) == Tests result: FAILURE == 1 test failed: test_select Total duration: 1.6 sec Total tests: run=6 failures=1 Total test files: run=1/1 failed=1 Result: FAILURE test test_select failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1752036æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 743087811 0:00:00 load avg: 0.61 Run 1 test sequentially in a single process 0:00:00 load avg: 0.61 [1/1] test_set test_copy (test.test_set.TestBasicOpsBytes.test_copy) ... ok test_empty_difference (test.test_set.TestBasicOpsBytes.test_empty_difference) ... ok test_empty_difference_rev (test.test_set.TestBasicOpsBytes.test_empty_difference_rev) ... ok test_empty_intersection (test.test_set.TestBasicOpsBytes.test_empty_intersection) ... ok test_empty_isdisjoint (test.test_set.TestBasicOpsBytes.test_empty_isdisjoint) ... ok test_empty_symmetric_difference (test.test_set.TestBasicOpsBytes.test_empty_symmetric_difference) ... ok test_empty_union (test.test_set.TestBasicOpsBytes.test_empty_union) ... ok test_equivalent_equality (test.test_set.TestBasicOpsBytes.test_equivalent_equality) ... ok test_intersection_empty (test.test_set.TestBasicOpsBytes.test_intersection_empty) ... ok test_isdisjoint_empty (test.test_set.TestBasicOpsBytes.test_isdisjoint_empty) ... ok test_issue_37219 (test.test_set.TestBasicOpsBytes.test_issue_37219) ... ok test_iteration (test.test_set.TestBasicOpsBytes.test_iteration) ... ok test_length (test.test_set.TestBasicOpsBytes.test_length) ... ok test_pickling (test.test_set.TestBasicOpsBytes.test_pickling) ... ok test_repr (test.test_set.TestBasicOpsBytes.test_repr) ... ok test_self_difference (test.test_set.TestBasicOpsBytes.test_self_difference) ... ok test_self_equality (test.test_set.TestBasicOpsBytes.test_self_equality) ... ok test_self_intersection (test.test_set.TestBasicOpsBytes.test_self_intersection) ... ok test_self_isdisjoint (test.test_set.TestBasicOpsBytes.test_self_isdisjoint) ... ok test_self_symmetric_difference (test.test_set.TestBasicOpsBytes.test_self_symmetric_difference) ... ok test_self_union (test.test_set.TestBasicOpsBytes.test_self_union) ... ok test_union_empty (test.test_set.TestBasicOpsBytes.test_union_empty) ... ok test_copy (test.test_set.TestBasicOpsEmpty.test_copy) ... ok test_empty_difference (test.test_set.TestBasicOpsEmpty.test_empty_difference) ... ok test_empty_difference_rev (test.test_set.TestBasicOpsEmpty.test_empty_difference_rev) ... ok test_empty_intersection (test.test_set.TestBasicOpsEmpty.test_empty_intersection) ... ok test_empty_isdisjoint (test.test_set.TestBasicOpsEmpty.test_empty_isdisjoint) ... ok test_empty_symmetric_difference (test.test_set.TestBasicOpsEmpty.test_empty_symmetric_difference) ... ok test_empty_union (test.test_set.TestBasicOpsEmpty.test_empty_union) ... ok test_equivalent_equality (test.test_set.TestBasicOpsEmpty.test_equivalent_equality) ... ok test_intersection_empty (test.test_set.TestBasicOpsEmpty.test_intersection_empty) ... ok test_isdisjoint_empty (test.test_set.TestBasicOpsEmpty.test_isdisjoint_empty) ... ok test_issue_37219 (test.test_set.TestBasicOpsEmpty.test_issue_37219) ... ok test_iteration (test.test_set.TestBasicOpsEmpty.test_iteration) ... ok test_length (test.test_set.TestBasicOpsEmpty.test_length) ... ok test_pickling (test.test_set.TestBasicOpsEmpty.test_pickling) ... ok test_repr (test.test_set.TestBasicOpsEmpty.test_repr) ... ok test_self_difference (test.test_set.TestBasicOpsEmpty.test_self_difference) ... ok test_self_equality (test.test_set.TestBasicOpsEmpty.test_self_equality) ... ok test_self_intersection (test.test_set.TestBasicOpsEmpty.test_self_intersection) ... ok test_self_isdisjoint (test.test_set.TestBasicOpsEmpty.test_self_isdisjoint) ... ok test_self_symmetric_difference (test.test_set.TestBasicOpsEmpty.test_self_symmetric_difference) ... ok test_self_union (test.test_set.TestBasicOpsEmpty.test_self_union) ... ok test_union_empty (test.test_set.TestBasicOpsEmpty.test_union_empty) ... ok test_copy (test.test_set.TestBasicOpsMixedStringBytes.test_copy) ... ok test_empty_difference (test.test_set.TestBasicOpsMixedStringBytes.test_empty_difference) ... ok test_empty_difference_rev (test.test_set.TestBasicOpsMixedStringBytes.test_empty_difference_rev) ... ok test_empty_intersection (test.test_set.TestBasicOpsMixedStringBytes.test_empty_intersection) ... ok test_empty_isdisjoint (test.test_set.TestBasicOpsMixedStringBytes.test_empty_isdisjoint) ... ok test_empty_symmetric_difference (test.test_set.TestBasicOpsMixedStringBytes.test_empty_symmetric_difference) ... ok test_empty_union (test.test_set.TestBasicOpsMixedStringBytes.test_empty_union) ... ok test_equivalent_equality (test.test_set.TestBasicOpsMixedStringBytes.test_equivalent_equality) ... ok test_intersection_empty (test.test_set.TestBasicOpsMixedStringBytes.test_intersection_empty) ... ok test_isdisjoint_empty (test.test_set.TestBasicOpsMixedStringBytes.test_isdisjoint_empty) ... ok test_issue_37219 (test.test_set.TestBasicOpsMixedStringBytes.test_issue_37219) ... ok test_iteration (test.test_set.TestBasicOpsMixedStringBytes.test_iteration) ... ok test_length (test.test_set.TestBasicOpsMixedStringBytes.test_length) ... ok test_pickling (test.test_set.TestBasicOpsMixedStringBytes.test_pickling) ... ok test_repr (test.test_set.TestBasicOpsMixedStringBytes.test_repr) ... ok test_self_difference (test.test_set.TestBasicOpsMixedStringBytes.test_self_difference) ... ok test_self_equality (test.test_set.TestBasicOpsMixedStringBytes.test_self_equality) ... ok test_self_intersection (test.test_set.TestBasicOpsMixedStringBytes.test_self_intersection) ... ok test_self_isdisjoint (test.test_set.TestBasicOpsMixedStringBytes.test_self_isdisjoint) ... ok test_self_symmetric_difference (test.test_set.TestBasicOpsMixedStringBytes.test_self_symmetric_difference) ... ok test_self_union (test.test_set.TestBasicOpsMixedStringBytes.test_self_union) ... ok test_union_empty (test.test_set.TestBasicOpsMixedStringBytes.test_union_empty) ... ok test_copy (test.test_set.TestBasicOpsSingleton.test_copy) ... ok test_empty_difference (test.test_set.TestBasicOpsSingleton.test_empty_difference) ... ok test_empty_difference_rev (test.test_set.TestBasicOpsSingleton.test_empty_difference_rev) ... ok test_empty_intersection (test.test_set.TestBasicOpsSingleton.test_empty_intersection) ... ok test_empty_isdisjoint (test.test_set.TestBasicOpsSingleton.test_empty_isdisjoint) ... ok test_empty_symmetric_difference (test.test_set.TestBasicOpsSingleton.test_empty_symmetric_difference) ... ok test_empty_union (test.test_set.TestBasicOpsSingleton.test_empty_union) ... ok test_equivalent_equality (test.test_set.TestBasicOpsSingleton.test_equivalent_equality) ... ok test_in (test.test_set.TestBasicOpsSingleton.test_in) ... ok test_intersection_empty (test.test_set.TestBasicOpsSingleton.test_intersection_empty) ... ok test_isdisjoint_empty (test.test_set.TestBasicOpsSingleton.test_isdisjoint_empty) ... ok test_issue_37219 (test.test_set.TestBasicOpsSingleton.test_issue_37219) ... ok test_iteration (test.test_set.TestBasicOpsSingleton.test_iteration) ... ok test_length (test.test_set.TestBasicOpsSingleton.test_length) ... ok test_not_in (test.test_set.TestBasicOpsSingleton.test_not_in) ... ok test_pickling (test.test_set.TestBasicOpsSingleton.test_pickling) ... ok test_repr (test.test_set.TestBasicOpsSingleton.test_repr) ... ok test_self_difference (test.test_set.TestBasicOpsSingleton.test_self_difference) ... ok test_self_equality (test.test_set.TestBasicOpsSingleton.test_self_equality) ... ok test_self_intersection (test.test_set.TestBasicOpsSingleton.test_self_intersection) ... ok test_self_isdisjoint (test.test_set.TestBasicOpsSingleton.test_self_isdisjoint) ... ok test_self_symmetric_difference (test.test_set.TestBasicOpsSingleton.test_self_symmetric_difference) ... ok test_self_union (test.test_set.TestBasicOpsSingleton.test_self_union) ... ok test_union_empty (test.test_set.TestBasicOpsSingleton.test_union_empty) ... ok test_copy (test.test_set.TestBasicOpsString.test_copy) ... ok test_empty_difference (test.test_set.TestBasicOpsString.test_empty_difference) ... ok test_empty_difference_rev (test.test_set.TestBasicOpsString.test_empty_difference_rev) ... ok test_empty_intersection (test.test_set.TestBasicOpsString.test_empty_intersection) ... ok test_empty_isdisjoint (test.test_set.TestBasicOpsString.test_empty_isdisjoint) ... ok test_empty_symmetric_difference (test.test_set.TestBasicOpsString.test_empty_symmetric_difference) ... ok test_empty_union (test.test_set.TestBasicOpsString.test_empty_union) ... ok test_equivalent_equality (test.test_set.TestBasicOpsString.test_equivalent_equality) ... ok test_intersection_empty (test.test_set.TestBasicOpsString.test_intersection_empty) ... ok test_isdisjoint_empty (test.test_set.TestBasicOpsString.test_isdisjoint_empty) ... ok test_issue_37219 (test.test_set.TestBasicOpsString.test_issue_37219) ... ok test_iteration (test.test_set.TestBasicOpsString.test_iteration) ... ok test_length (test.test_set.TestBasicOpsString.test_length) ... ok test_pickling (test.test_set.TestBasicOpsString.test_pickling) ... ok test_repr (test.test_set.TestBasicOpsString.test_repr) ... ok test_self_difference (test.test_set.TestBasicOpsString.test_self_difference) ... ok test_self_equality (test.test_set.TestBasicOpsString.test_self_equality) ... ok test_self_intersection (test.test_set.TestBasicOpsString.test_self_intersection) ... ok test_self_isdisjoint (test.test_set.TestBasicOpsString.test_self_isdisjoint) ... ok test_self_symmetric_difference (test.test_set.TestBasicOpsString.test_self_symmetric_difference) ... ok test_self_union (test.test_set.TestBasicOpsString.test_self_union) ... ok test_union_empty (test.test_set.TestBasicOpsString.test_union_empty) ... ok test_copy (test.test_set.TestBasicOpsTriple.test_copy) ... ok test_empty_difference (test.test_set.TestBasicOpsTriple.test_empty_difference) ... ok test_empty_difference_rev (test.test_set.TestBasicOpsTriple.test_empty_difference_rev) ... ok test_empty_intersection (test.test_set.TestBasicOpsTriple.test_empty_intersection) ... ok test_empty_isdisjoint (test.test_set.TestBasicOpsTriple.test_empty_isdisjoint) ... ok test_empty_symmetric_difference (test.test_set.TestBasicOpsTriple.test_empty_symmetric_difference) ... ok test_empty_union (test.test_set.TestBasicOpsTriple.test_empty_union) ... ok test_equivalent_equality (test.test_set.TestBasicOpsTriple.test_equivalent_equality) ... ok test_intersection_empty (test.test_set.TestBasicOpsTriple.test_intersection_empty) ... ok test_isdisjoint_empty (test.test_set.TestBasicOpsTriple.test_isdisjoint_empty) ... ok test_issue_37219 (test.test_set.TestBasicOpsTriple.test_issue_37219) ... ok test_iteration (test.test_set.TestBasicOpsTriple.test_iteration) ... ok test_length (test.test_set.TestBasicOpsTriple.test_length) ... ok test_pickling (test.test_set.TestBasicOpsTriple.test_pickling) ... ok test_repr (test.test_set.TestBasicOpsTriple.test_repr) ... ok test_self_difference (test.test_set.TestBasicOpsTriple.test_self_difference) ... ok test_self_equality (test.test_set.TestBasicOpsTriple.test_self_equality) ... ok test_self_intersection (test.test_set.TestBasicOpsTriple.test_self_intersection) ... ok test_self_isdisjoint (test.test_set.TestBasicOpsTriple.test_self_isdisjoint) ... ok test_self_symmetric_difference (test.test_set.TestBasicOpsTriple.test_self_symmetric_difference) ... ok test_self_union (test.test_set.TestBasicOpsTriple.test_self_union) ... ok test_union_empty (test.test_set.TestBasicOpsTriple.test_union_empty) ... ok test_copy (test.test_set.TestBasicOpsTuple.test_copy) ... ok test_empty_difference (test.test_set.TestBasicOpsTuple.test_empty_difference) ... ok test_empty_difference_rev (test.test_set.TestBasicOpsTuple.test_empty_difference_rev) ... ok test_empty_intersection (test.test_set.TestBasicOpsTuple.test_empty_intersection) ... ok test_empty_isdisjoint (test.test_set.TestBasicOpsTuple.test_empty_isdisjoint) ... ok test_empty_symmetric_difference (test.test_set.TestBasicOpsTuple.test_empty_symmetric_difference) ... ok test_empty_union (test.test_set.TestBasicOpsTuple.test_empty_union) ... ok test_equivalent_equality (test.test_set.TestBasicOpsTuple.test_equivalent_equality) ... ok test_in (test.test_set.TestBasicOpsTuple.test_in) ... ok test_intersection_empty (test.test_set.TestBasicOpsTuple.test_intersection_empty) ... ok test_isdisjoint_empty (test.test_set.TestBasicOpsTuple.test_isdisjoint_empty) ... ok test_issue_37219 (test.test_set.TestBasicOpsTuple.test_issue_37219) ... ok test_iteration (test.test_set.TestBasicOpsTuple.test_iteration) ... ok test_length (test.test_set.TestBasicOpsTuple.test_length) ... ok test_not_in (test.test_set.TestBasicOpsTuple.test_not_in) ... ok test_pickling (test.test_set.TestBasicOpsTuple.test_pickling) ... ok test_repr (test.test_set.TestBasicOpsTuple.test_repr) ... ok test_self_difference (test.test_set.TestBasicOpsTuple.test_self_difference) ... ok test_self_equality (test.test_set.TestBasicOpsTuple.test_self_equality) ... ok test_self_intersection (test.test_set.TestBasicOpsTuple.test_self_intersection) ... ok test_self_isdisjoint (test.test_set.TestBasicOpsTuple.test_self_isdisjoint) ... ok test_self_symmetric_difference (test.test_set.TestBasicOpsTuple.test_self_symmetric_difference) ... ok test_self_union (test.test_set.TestBasicOpsTuple.test_self_union) ... ok test_union_empty (test.test_set.TestBasicOpsTuple.test_union_empty) ... ok test_eq (test.test_set.TestBinaryOps.test_eq) ... ok test_intersection_non_overlap (test.test_set.TestBinaryOps.test_intersection_non_overlap) ... ok test_intersection_overlap (test.test_set.TestBinaryOps.test_intersection_overlap) ... ok test_intersection_subset (test.test_set.TestBinaryOps.test_intersection_subset) ... ok test_intersection_superset (test.test_set.TestBinaryOps.test_intersection_superset) ... ok test_isdisjoint_non_overlap (test.test_set.TestBinaryOps.test_isdisjoint_non_overlap) ... ok test_isdisjoint_overlap (test.test_set.TestBinaryOps.test_isdisjoint_overlap) ... ok test_isdisjoint_subset (test.test_set.TestBinaryOps.test_isdisjoint_subset) ... ok test_isdisjoint_superset (test.test_set.TestBinaryOps.test_isdisjoint_superset) ... ok test_sym_difference_non_overlap (test.test_set.TestBinaryOps.test_sym_difference_non_overlap) ... ok test_sym_difference_overlap (test.test_set.TestBinaryOps.test_sym_difference_overlap) ... ok test_sym_difference_subset (test.test_set.TestBinaryOps.test_sym_difference_subset) ... ok test_sym_difference_superset (test.test_set.TestBinaryOps.test_sym_difference_superset) ... ok test_union_non_overlap (test.test_set.TestBinaryOps.test_union_non_overlap) ... ok test_union_overlap (test.test_set.TestBinaryOps.test_union_overlap) ... ok test_union_subset (test.test_set.TestBinaryOps.test_union_subset) ... ok test_union_superset (test.test_set.TestBinaryOps.test_union_superset) ... ok test_and_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Set.test_and_with_mutation) ... ok test_eq_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Set.test_eq_with_mutation) ... ok test_ge_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Set.test_ge_with_mutation) ... ok test_gt_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Set.test_gt_with_mutation) ... ok test_iadd_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Set.test_iadd_with_mutation) ... ok test_ior_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Set.test_ior_with_mutation) ... ok test_isub_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Set.test_isub_with_mutation) ... ok test_iteration_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Set.test_iteration_with_mutation) ... ok test_ixor_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Set.test_ixor_with_mutation) ... ok test_le_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Set.test_le_with_mutation) ... ok test_lt_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Set.test_lt_with_mutation) ... ok test_ne_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Set.test_ne_with_mutation) ... ok test_or_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Set.test_or_with_mutation) ... ok test_sub_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Set.test_sub_with_mutation) ... ok test_xor_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Set.test_xor_with_mutation) ... ok test_and_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Subclass.test_and_with_mutation) ... ok test_eq_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Subclass.test_eq_with_mutation) ... ok test_ge_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Subclass.test_ge_with_mutation) ... ok test_gt_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Subclass.test_gt_with_mutation) ... ok test_iadd_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Subclass.test_iadd_with_mutation) ... ok test_ior_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Subclass.test_ior_with_mutation) ... ok test_isub_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Subclass.test_isub_with_mutation) ... ok test_iteration_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Subclass.test_iteration_with_mutation) ... ok test_ixor_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Subclass.test_ixor_with_mutation) ... ok test_le_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Subclass.test_le_with_mutation) ... ok test_lt_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Subclass.test_lt_with_mutation) ... ok test_ne_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Subclass.test_ne_with_mutation) ... ok test_or_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Subclass.test_or_with_mutation) ... ok test_sub_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Subclass.test_sub_with_mutation) ... ok test_xor_with_mutation (test.test_set.TestBinaryOpsMutating_Set_Subclass.test_xor_with_mutation) ... ok test_and_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Set.test_and_with_mutation) ... ok test_eq_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Set.test_eq_with_mutation) ... ok test_ge_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Set.test_ge_with_mutation) ... ok test_gt_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Set.test_gt_with_mutation) ... ok test_iadd_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Set.test_iadd_with_mutation) ... ok test_ior_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Set.test_ior_with_mutation) ... ok test_isub_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Set.test_isub_with_mutation) ... ok test_iteration_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Set.test_iteration_with_mutation) ... ok test_ixor_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Set.test_ixor_with_mutation) ... ok test_le_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Set.test_le_with_mutation) ... ok test_lt_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Set.test_lt_with_mutation) ... ok test_ne_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Set.test_ne_with_mutation) ... ok test_or_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Set.test_or_with_mutation) ... ok test_sub_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Set.test_sub_with_mutation) ... ok test_xor_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Set.test_xor_with_mutation) ... ok test_and_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Subclass.test_and_with_mutation) ... ok test_eq_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Subclass.test_eq_with_mutation) ... ok test_ge_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Subclass.test_ge_with_mutation) ... ok test_gt_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Subclass.test_gt_with_mutation) ... ok test_iadd_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Subclass.test_iadd_with_mutation) ... ok test_ior_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Subclass.test_ior_with_mutation) ... ok test_isub_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Subclass.test_isub_with_mutation) ... ok test_iteration_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Subclass.test_iteration_with_mutation) ... ok test_ixor_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Subclass.test_ixor_with_mutation) ... ok test_le_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Subclass.test_le_with_mutation) ... ok test_lt_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Subclass.test_lt_with_mutation) ... ok test_ne_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Subclass.test_ne_with_mutation) ... ok test_or_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Subclass.test_or_with_mutation) ... ok test_sub_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Subclass.test_sub_with_mutation) ... ok test_xor_with_mutation (test.test_set.TestBinaryOpsMutating_Subclass_Subclass.test_xor_with_mutation) ... ok test_copy (test.test_set.TestCopyingEmpty.test_copy) ... ok test_deep_copy (test.test_set.TestCopyingEmpty.test_deep_copy) ... ok test_copy (test.test_set.TestCopyingNested.test_copy) ... ok test_deep_copy (test.test_set.TestCopyingNested.test_deep_copy) ... ok test_copy (test.test_set.TestCopyingSingleton.test_copy) ... ok test_deep_copy (test.test_set.TestCopyingSingleton.test_deep_copy) ... ok test_copy (test.test_set.TestCopyingTriple.test_copy) ... ok test_deep_copy (test.test_set.TestCopyingTriple.test_deep_copy) ... ok test_copy (test.test_set.TestCopyingTuple.test_copy) ... ok test_deep_copy (test.test_set.TestCopyingTuple.test_deep_copy) ... ok test_changingSizeWhileIterating (test.test_set.TestExceptionPropagation.test_changingSizeWhileIterating) ... ok test_instanceWithException (test.test_set.TestExceptionPropagation.test_instanceWithException) ... ok test_instancesWithoutException (test.test_set.TestExceptionPropagation.test_instancesWithoutException) ... ok test_and (test.test_set.TestFrozenSet.test_and) ... ok test_badcmp (test.test_set.TestFrozenSet.test_badcmp) ... ok test_constructor_identity (test.test_set.TestFrozenSet.test_constructor_identity) ... ok test_container_iterator (test.test_set.TestFrozenSet.test_container_iterator) ... ok test_contains (test.test_set.TestFrozenSet.test_contains) ... ok test_copy (test.test_set.TestFrozenSet.test_copy) ... ok test_cyclical_repr (test.test_set.TestFrozenSet.test_cyclical_repr) ... ok test_deepcopy (test.test_set.TestFrozenSet.test_deepcopy) ... ok test_difference (test.test_set.TestFrozenSet.test_difference) ... ok test_do_not_rehash_dict_keys (test.test_set.TestFrozenSet.test_do_not_rehash_dict_keys) ... FAIL test_equality (test.test_set.TestFrozenSet.test_equality) ... ok test_free_after_iterating (test.test_set.TestFrozenSet.test_free_after_iterating) ... ok test_frozen_as_dictkey (test.test_set.TestFrozenSet.test_frozen_as_dictkey) ... ok test_gc (test.test_set.TestFrozenSet.test_gc) ... ok test_hash (test.test_set.TestFrozenSet.test_hash) ... ok test_hash_caching (test.test_set.TestFrozenSet.test_hash_caching) ... ok test_hash_effectiveness (test.test_set.TestFrozenSet.test_hash_effectiveness) ... ok test_init (test.test_set.TestFrozenSet.test_init) ... ok test_intersection (test.test_set.TestFrozenSet.test_intersection) ... ok test_isdisjoint (test.test_set.TestFrozenSet.test_isdisjoint) ... ok test_iterator_pickling (test.test_set.TestFrozenSet.test_iterator_pickling) ... ok test_len (test.test_set.TestFrozenSet.test_len) ... ok test_new_or_init (test.test_set.TestFrozenSet.test_new_or_init) ... ok test_or (test.test_set.TestFrozenSet.test_or) ... ok test_pickling (test.test_set.TestFrozenSet.test_pickling) ... ok test_setOfFrozensets (test.test_set.TestFrozenSet.test_setOfFrozensets) ... ok test_sub (test.test_set.TestFrozenSet.test_sub) ... ok test_sub_and_super (test.test_set.TestFrozenSet.test_sub_and_super) ... ok test_subclass_with_custom_hash (test.test_set.TestFrozenSet.test_subclass_with_custom_hash) ... ok test_symmetric_difference (test.test_set.TestFrozenSet.test_symmetric_difference) ... ok test_union (test.test_set.TestFrozenSet.test_union) ... ok test_uniquification (test.test_set.TestFrozenSet.test_uniquification) ... ok test_xor (test.test_set.TestFrozenSet.test_xor) ... ok test_and (test.test_set.TestFrozenSetSubclass.test_and) ... ok test_badcmp (test.test_set.TestFrozenSetSubclass.test_badcmp) ... ok test_constructor_identity (test.test_set.TestFrozenSetSubclass.test_constructor_identity) ... ok test_container_iterator (test.test_set.TestFrozenSetSubclass.test_container_iterator) ... ok test_contains (test.test_set.TestFrozenSetSubclass.test_contains) ... ok test_copy (test.test_set.TestFrozenSetSubclass.test_copy) ... ok test_cyclical_repr (test.test_set.TestFrozenSetSubclass.test_cyclical_repr) ... ok test_deepcopy (test.test_set.TestFrozenSetSubclass.test_deepcopy) ... ok test_difference (test.test_set.TestFrozenSetSubclass.test_difference) ... ok test_do_not_rehash_dict_keys (test.test_set.TestFrozenSetSubclass.test_do_not_rehash_dict_keys) ... FAIL test_equality (test.test_set.TestFrozenSetSubclass.test_equality) ... ok test_free_after_iterating (test.test_set.TestFrozenSetSubclass.test_free_after_iterating) ... ok test_frozen_as_dictkey (test.test_set.TestFrozenSetSubclass.test_frozen_as_dictkey) ... ok test_gc (test.test_set.TestFrozenSetSubclass.test_gc) ... ok test_hash (test.test_set.TestFrozenSetSubclass.test_hash) ... ok test_hash_caching (test.test_set.TestFrozenSetSubclass.test_hash_caching) ... ok test_hash_effectiveness (test.test_set.TestFrozenSetSubclass.test_hash_effectiveness) ... ok test_init (test.test_set.TestFrozenSetSubclass.test_init) ... ok test_intersection (test.test_set.TestFrozenSetSubclass.test_intersection) ... ok test_isdisjoint (test.test_set.TestFrozenSetSubclass.test_isdisjoint) ... ok test_iterator_pickling (test.test_set.TestFrozenSetSubclass.test_iterator_pickling) ... ok test_keywords_in_subclass (test.test_set.TestFrozenSetSubclass.test_keywords_in_subclass) ... ok test_len (test.test_set.TestFrozenSetSubclass.test_len) ... ok test_nested_empty_constructor (test.test_set.TestFrozenSetSubclass.test_nested_empty_constructor) ... ok test_new_or_init (test.test_set.TestFrozenSetSubclass.test_new_or_init) ... ok test_or (test.test_set.TestFrozenSetSubclass.test_or) ... ok test_pickling (test.test_set.TestFrozenSetSubclass.test_pickling) ... ok test_setOfFrozensets (test.test_set.TestFrozenSetSubclass.test_setOfFrozensets) ... ok test_singleton_empty_frozenset (test.test_set.TestFrozenSetSubclass.test_singleton_empty_frozenset) ... ok test_sub (test.test_set.TestFrozenSetSubclass.test_sub) ... ok test_sub_and_super (test.test_set.TestFrozenSetSubclass.test_sub_and_super) ... ok test_subclass_with_custom_hash (test.test_set.TestFrozenSetSubclass.test_subclass_with_custom_hash) ... ok test_symmetric_difference (test.test_set.TestFrozenSetSubclass.test_symmetric_difference) ... ok test_union (test.test_set.TestFrozenSetSubclass.test_union) ... ok test_uniquification (test.test_set.TestFrozenSetSubclass.test_uniquification) ... ok test_xor (test.test_set.TestFrozenSetSubclass.test_xor) ... ok test_pickling (test.test_set.TestFrozenSetSubclassWithSlots.test_pickling) ... ok test_cube (test.test_set.TestGraphs.test_cube) ... ok test_cuboctahedron (test.test_set.TestGraphs.test_cuboctahedron) ... ok test_binopsVsSubsets (test.test_set.TestIdentities.test_binopsVsSubsets) ... ok test_commutativity (test.test_set.TestIdentities.test_commutativity) ... ok test_exclusion (test.test_set.TestIdentities.test_exclusion) ... ok test_summations (test.test_set.TestIdentities.test_summations) ... ok test_difference_update_with_mutation (test.test_set.TestMethodsMutating_Set_Dict.test_difference_update_with_mutation) ... ok test_difference_with_mutation (test.test_set.TestMethodsMutating_Set_Dict.test_difference_with_mutation) ... ok test_intersection_update_with_mutation (test.test_set.TestMethodsMutating_Set_Dict.test_intersection_update_with_mutation) ... ok test_intersection_with_mutation (test.test_set.TestMethodsMutating_Set_Dict.test_intersection_with_mutation) ... ok test_isdisjoint_with_mutation (test.test_set.TestMethodsMutating_Set_Dict.test_isdisjoint_with_mutation) ... ok test_issubset_with_mutation (test.test_set.TestMethodsMutating_Set_Dict.test_issubset_with_mutation) ... ok test_issuperset_with_mutation (test.test_set.TestMethodsMutating_Set_Dict.test_issuperset_with_mutation) ... ok test_symmetric_difference_update_with_mutation (test.test_set.TestMethodsMutating_Set_Dict.test_symmetric_difference_update_with_mutation) ... ok test_symmetric_difference_with_mutation (test.test_set.TestMethodsMutating_Set_Dict.test_symmetric_difference_with_mutation) ... ok test_union_with_mutation (test.test_set.TestMethodsMutating_Set_Dict.test_union_with_mutation) ... ok test_update_with_mutation (test.test_set.TestMethodsMutating_Set_Dict.test_update_with_mutation) ... ok test_difference_update_with_mutation (test.test_set.TestMethodsMutating_Set_List.test_difference_update_with_mutation) ... ok test_difference_with_mutation (test.test_set.TestMethodsMutating_Set_List.test_difference_with_mutation) ... ok test_intersection_update_with_mutation (test.test_set.TestMethodsMutating_Set_List.test_intersection_update_with_mutation) ... ok test_intersection_with_mutation (test.test_set.TestMethodsMutating_Set_List.test_intersection_with_mutation) ... ok test_isdisjoint_with_mutation (test.test_set.TestMethodsMutating_Set_List.test_isdisjoint_with_mutation) ... ok test_issubset_with_mutation (test.test_set.TestMethodsMutating_Set_List.test_issubset_with_mutation) ... ok test_issuperset_with_mutation (test.test_set.TestMethodsMutating_Set_List.test_issuperset_with_mutation) ... ok test_symmetric_difference_update_with_mutation (test.test_set.TestMethodsMutating_Set_List.test_symmetric_difference_update_with_mutation) ... ok test_symmetric_difference_with_mutation (test.test_set.TestMethodsMutating_Set_List.test_symmetric_difference_with_mutation) ... ok test_union_with_mutation (test.test_set.TestMethodsMutating_Set_List.test_union_with_mutation) ... ok test_update_with_mutation (test.test_set.TestMethodsMutating_Set_List.test_update_with_mutation) ... ok test_difference_update_with_mutation (test.test_set.TestMethodsMutating_Set_Set.test_difference_update_with_mutation) ... ok test_difference_with_mutation (test.test_set.TestMethodsMutating_Set_Set.test_difference_with_mutation) ... ok test_intersection_update_with_mutation (test.test_set.TestMethodsMutating_Set_Set.test_intersection_update_with_mutation) ... ok test_intersection_with_mutation (test.test_set.TestMethodsMutating_Set_Set.test_intersection_with_mutation) ... ok test_isdisjoint_with_mutation (test.test_set.TestMethodsMutating_Set_Set.test_isdisjoint_with_mutation) ... ok test_issubset_with_mutation (test.test_set.TestMethodsMutating_Set_Set.test_issubset_with_mutation) ... ok test_issuperset_with_mutation (test.test_set.TestMethodsMutating_Set_Set.test_issuperset_with_mutation) ... ok test_symmetric_difference_update_with_mutation (test.test_set.TestMethodsMutating_Set_Set.test_symmetric_difference_update_with_mutation) ... ok test_symmetric_difference_with_mutation (test.test_set.TestMethodsMutating_Set_Set.test_symmetric_difference_with_mutation) ... ok test_union_with_mutation (test.test_set.TestMethodsMutating_Set_Set.test_union_with_mutation) ... ok test_update_with_mutation (test.test_set.TestMethodsMutating_Set_Set.test_update_with_mutation) ... ok test_difference_update_with_mutation (test.test_set.TestMethodsMutating_Set_Subclass.test_difference_update_with_mutation) ... ok test_difference_with_mutation (test.test_set.TestMethodsMutating_Set_Subclass.test_difference_with_mutation) ... ok test_intersection_update_with_mutation (test.test_set.TestMethodsMutating_Set_Subclass.test_intersection_update_with_mutation) ... ok test_intersection_with_mutation (test.test_set.TestMethodsMutating_Set_Subclass.test_intersection_with_mutation) ... ok test_isdisjoint_with_mutation (test.test_set.TestMethodsMutating_Set_Subclass.test_isdisjoint_with_mutation) ... ok test_issubset_with_mutation (test.test_set.TestMethodsMutating_Set_Subclass.test_issubset_with_mutation) ... ok test_issuperset_with_mutation (test.test_set.TestMethodsMutating_Set_Subclass.test_issuperset_with_mutation) ... ok test_symmetric_difference_update_with_mutation (test.test_set.TestMethodsMutating_Set_Subclass.test_symmetric_difference_update_with_mutation) ... ok test_symmetric_difference_with_mutation (test.test_set.TestMethodsMutating_Set_Subclass.test_symmetric_difference_with_mutation) ... ok test_union_with_mutation (test.test_set.TestMethodsMutating_Set_Subclass.test_union_with_mutation) ... ok test_update_with_mutation (test.test_set.TestMethodsMutating_Set_Subclass.test_update_with_mutation) ... ok test_difference_update_with_mutation (test.test_set.TestMethodsMutating_Subclass_Set.test_difference_update_with_mutation) ... ok test_difference_with_mutation (test.test_set.TestMethodsMutating_Subclass_Set.test_difference_with_mutation) ... ok test_intersection_update_with_mutation (test.test_set.TestMethodsMutating_Subclass_Set.test_intersection_update_with_mutation) ... ok test_intersection_with_mutation (test.test_set.TestMethodsMutating_Subclass_Set.test_intersection_with_mutation) ... ok test_isdisjoint_with_mutation (test.test_set.TestMethodsMutating_Subclass_Set.test_isdisjoint_with_mutation) ... ok test_issubset_with_mutation (test.test_set.TestMethodsMutating_Subclass_Set.test_issubset_with_mutation) ... ok test_issuperset_with_mutation (test.test_set.TestMethodsMutating_Subclass_Set.test_issuperset_with_mutation) ... ok test_symmetric_difference_update_with_mutation (test.test_set.TestMethodsMutating_Subclass_Set.test_symmetric_difference_update_with_mutation) ... ok test_symmetric_difference_with_mutation (test.test_set.TestMethodsMutating_Subclass_Set.test_symmetric_difference_with_mutation) ... ok test_union_with_mutation (test.test_set.TestMethodsMutating_Subclass_Set.test_union_with_mutation) ... ok test_update_with_mutation (test.test_set.TestMethodsMutating_Subclass_Set.test_update_with_mutation) ... ok test_difference_update_with_mutation (test.test_set.TestMethodsMutating_Subclass_Subclass.test_difference_update_with_mutation) ... ok test_difference_with_mutation (test.test_set.TestMethodsMutating_Subclass_Subclass.test_difference_with_mutation) ... ok test_intersection_update_with_mutation (test.test_set.TestMethodsMutating_Subclass_Subclass.test_intersection_update_with_mutation) ... ok test_intersection_with_mutation (test.test_set.TestMethodsMutating_Subclass_Subclass.test_intersection_with_mutation) ... ok test_isdisjoint_with_mutation (test.test_set.TestMethodsMutating_Subclass_Subclass.test_isdisjoint_with_mutation) ... ok test_issubset_with_mutation (test.test_set.TestMethodsMutating_Subclass_Subclass.test_issubset_with_mutation) ... ok test_issuperset_with_mutation (test.test_set.TestMethodsMutating_Subclass_Subclass.test_issuperset_with_mutation) ... ok test_symmetric_difference_update_with_mutation (test.test_set.TestMethodsMutating_Subclass_Subclass.test_symmetric_difference_update_with_mutation) ... ok test_symmetric_difference_with_mutation (test.test_set.TestMethodsMutating_Subclass_Subclass.test_symmetric_difference_with_mutation) ... ok test_union_with_mutation (test.test_set.TestMethodsMutating_Subclass_Subclass.test_union_with_mutation) ... ok test_update_with_mutation (test.test_set.TestMethodsMutating_Subclass_Subclass.test_update_with_mutation) ... ok test_add_absent (test.test_set.TestMutate.test_add_absent) ... ok test_add_present (test.test_set.TestMutate.test_add_present) ... ok test_add_until_full (test.test_set.TestMutate.test_add_until_full) ... ok test_clear (test.test_set.TestMutate.test_clear) ... ok test_discard_absent (test.test_set.TestMutate.test_discard_absent) ... ok test_discard_present (test.test_set.TestMutate.test_discard_present) ... ok test_pop (test.test_set.TestMutate.test_pop) ... ok test_remove_absent (test.test_set.TestMutate.test_remove_absent) ... ok test_remove_present (test.test_set.TestMutate.test_remove_present) ... ok test_remove_until_empty (test.test_set.TestMutate.test_remove_until_empty) ... ok test_update_empty_tuple (test.test_set.TestMutate.test_update_empty_tuple) ... ok test_update_unit_tuple_non_overlap (test.test_set.TestMutate.test_update_unit_tuple_non_overlap) ... ok test_update_unit_tuple_overlap (test.test_set.TestMutate.test_update_unit_tuple_overlap) ... ok test_difference (test.test_set.TestOnlySetsDict.test_difference) ... ok test_difference_update (test.test_set.TestOnlySetsDict.test_difference_update) ... ok test_difference_update_operator (test.test_set.TestOnlySetsDict.test_difference_update_operator) ... ok test_eq_ne (test.test_set.TestOnlySetsDict.test_eq_ne) ... ok test_ge_gt_le_lt (test.test_set.TestOnlySetsDict.test_ge_gt_le_lt) ... ok test_intersection (test.test_set.TestOnlySetsDict.test_intersection) ... ok test_intersection_update (test.test_set.TestOnlySetsDict.test_intersection_update) ... ok test_intersection_update_operator (test.test_set.TestOnlySetsDict.test_intersection_update_operator) ... ok test_sym_difference (test.test_set.TestOnlySetsDict.test_sym_difference) ... ok test_sym_difference_update (test.test_set.TestOnlySetsDict.test_sym_difference_update) ... ok test_sym_difference_update_operator (test.test_set.TestOnlySetsDict.test_sym_difference_update_operator) ... ok test_union (test.test_set.TestOnlySetsDict.test_union) ... ok test_update (test.test_set.TestOnlySetsDict.test_update) ... ok test_update_operator (test.test_set.TestOnlySetsDict.test_update_operator) ... ok test_difference (test.test_set.TestOnlySetsGenerator.test_difference) ... ok test_difference_update (test.test_set.TestOnlySetsGenerator.test_difference_update) ... ok test_difference_update_operator (test.test_set.TestOnlySetsGenerator.test_difference_update_operator) ... ok test_eq_ne (test.test_set.TestOnlySetsGenerator.test_eq_ne) ... ok test_ge_gt_le_lt (test.test_set.TestOnlySetsGenerator.test_ge_gt_le_lt) ... ok test_intersection (test.test_set.TestOnlySetsGenerator.test_intersection) ... ok test_intersection_update (test.test_set.TestOnlySetsGenerator.test_intersection_update) ... ok test_intersection_update_operator (test.test_set.TestOnlySetsGenerator.test_intersection_update_operator) ... ok test_sym_difference (test.test_set.TestOnlySetsGenerator.test_sym_difference) ... ok test_sym_difference_update (test.test_set.TestOnlySetsGenerator.test_sym_difference_update) ... ok test_sym_difference_update_operator (test.test_set.TestOnlySetsGenerator.test_sym_difference_update_operator) ... ok test_union (test.test_set.TestOnlySetsGenerator.test_union) ... ok test_update (test.test_set.TestOnlySetsGenerator.test_update) ... ok test_update_operator (test.test_set.TestOnlySetsGenerator.test_update_operator) ... ok test_difference (test.test_set.TestOnlySetsNumeric.test_difference) ... ok test_difference_update (test.test_set.TestOnlySetsNumeric.test_difference_update) ... ok test_difference_update_operator (test.test_set.TestOnlySetsNumeric.test_difference_update_operator) ... ok test_eq_ne (test.test_set.TestOnlySetsNumeric.test_eq_ne) ... ok test_ge_gt_le_lt (test.test_set.TestOnlySetsNumeric.test_ge_gt_le_lt) ... ok test_intersection (test.test_set.TestOnlySetsNumeric.test_intersection) ... ok test_intersection_update (test.test_set.TestOnlySetsNumeric.test_intersection_update) ... ok test_intersection_update_operator (test.test_set.TestOnlySetsNumeric.test_intersection_update_operator) ... ok test_sym_difference (test.test_set.TestOnlySetsNumeric.test_sym_difference) ... ok test_sym_difference_update (test.test_set.TestOnlySetsNumeric.test_sym_difference_update) ... ok test_sym_difference_update_operator (test.test_set.TestOnlySetsNumeric.test_sym_difference_update_operator) ... ok test_union (test.test_set.TestOnlySetsNumeric.test_union) ... ok test_update (test.test_set.TestOnlySetsNumeric.test_update) ... ok test_update_operator (test.test_set.TestOnlySetsNumeric.test_update_operator) ... ok test_difference (test.test_set.TestOnlySetsOperator.test_difference) ... ok test_difference_update (test.test_set.TestOnlySetsOperator.test_difference_update) ... ok test_difference_update_operator (test.test_set.TestOnlySetsOperator.test_difference_update_operator) ... ok test_eq_ne (test.test_set.TestOnlySetsOperator.test_eq_ne) ... ok test_ge_gt_le_lt (test.test_set.TestOnlySetsOperator.test_ge_gt_le_lt) ... ok test_intersection (test.test_set.TestOnlySetsOperator.test_intersection) ... ok test_intersection_update (test.test_set.TestOnlySetsOperator.test_intersection_update) ... ok test_intersection_update_operator (test.test_set.TestOnlySetsOperator.test_intersection_update_operator) ... ok test_sym_difference (test.test_set.TestOnlySetsOperator.test_sym_difference) ... ok test_sym_difference_update (test.test_set.TestOnlySetsOperator.test_sym_difference_update) ... ok test_sym_difference_update_operator (test.test_set.TestOnlySetsOperator.test_sym_difference_update_operator) ... ok test_union (test.test_set.TestOnlySetsOperator.test_union) ... ok test_update (test.test_set.TestOnlySetsOperator.test_update) ... ok test_update_operator (test.test_set.TestOnlySetsOperator.test_update_operator) ... ok test_difference (test.test_set.TestOnlySetsString.test_difference) ... ok test_difference_update (test.test_set.TestOnlySetsString.test_difference_update) ... ok test_difference_update_operator (test.test_set.TestOnlySetsString.test_difference_update_operator) ... ok test_eq_ne (test.test_set.TestOnlySetsString.test_eq_ne) ... ok test_ge_gt_le_lt (test.test_set.TestOnlySetsString.test_ge_gt_le_lt) ... ok test_intersection (test.test_set.TestOnlySetsString.test_intersection) ... ok test_intersection_update (test.test_set.TestOnlySetsString.test_intersection_update) ... ok test_intersection_update_operator (test.test_set.TestOnlySetsString.test_intersection_update_operator) ... ok test_sym_difference (test.test_set.TestOnlySetsString.test_sym_difference) ... ok test_sym_difference_update (test.test_set.TestOnlySetsString.test_sym_difference_update) ... ok test_sym_difference_update_operator (test.test_set.TestOnlySetsString.test_sym_difference_update_operator) ... ok test_union (test.test_set.TestOnlySetsString.test_union) ... ok test_update (test.test_set.TestOnlySetsString.test_update) ... ok test_update_operator (test.test_set.TestOnlySetsString.test_update_operator) ... ok test_difference (test.test_set.TestOnlySetsTuple.test_difference) ... ok test_difference_update (test.test_set.TestOnlySetsTuple.test_difference_update) ... ok test_difference_update_operator (test.test_set.TestOnlySetsTuple.test_difference_update_operator) ... ok test_eq_ne (test.test_set.TestOnlySetsTuple.test_eq_ne) ... ok test_ge_gt_le_lt (test.test_set.TestOnlySetsTuple.test_ge_gt_le_lt) ... ok test_intersection (test.test_set.TestOnlySetsTuple.test_intersection) ... ok test_intersection_update (test.test_set.TestOnlySetsTuple.test_intersection_update) ... ok test_intersection_update_operator (test.test_set.TestOnlySetsTuple.test_intersection_update_operator) ... ok test_sym_difference (test.test_set.TestOnlySetsTuple.test_sym_difference) ... ok test_sym_difference_update (test.test_set.TestOnlySetsTuple.test_sym_difference_update) ... ok test_sym_difference_update_operator (test.test_set.TestOnlySetsTuple.test_sym_difference_update_operator) ... ok test_union (test.test_set.TestOnlySetsTuple.test_union) ... ok test_update (test.test_set.TestOnlySetsTuple.test_update) ... ok test_update_operator (test.test_set.TestOnlySetsTuple.test_update_operator) ... ok test_add (test.test_set.TestSet.test_add) ... ok test_and (test.test_set.TestSet.test_and) ... ok test_badcmp (test.test_set.TestSet.test_badcmp) ... ok test_c_api (test.test_set.TestSet.test_c_api) ... skipped 'C API test only available in a debug build' test_clear (test.test_set.TestSet.test_clear) ... ok test_constructor_identity (test.test_set.TestSet.test_constructor_identity) ... ok test_container_iterator (test.test_set.TestSet.test_container_iterator) ... ok test_contains (test.test_set.TestSet.test_contains) ... ok test_copy (test.test_set.TestSet.test_copy) ... ok test_cyclical_repr (test.test_set.TestSet.test_cyclical_repr) ... ok test_deepcopy (test.test_set.TestSet.test_deepcopy) ... ok test_difference (test.test_set.TestSet.test_difference) ... ok test_difference_update (test.test_set.TestSet.test_difference_update) ... ok test_discard (test.test_set.TestSet.test_discard) ... ok test_do_not_rehash_dict_keys (test.test_set.TestSet.test_do_not_rehash_dict_keys) ... FAIL test_equality (test.test_set.TestSet.test_equality) ... ok test_free_after_iterating (test.test_set.TestSet.test_free_after_iterating) ... ok test_gc (test.test_set.TestSet.test_gc) ... ok test_hash (test.test_set.TestSet.test_hash) ... ok test_iand (test.test_set.TestSet.test_iand) ... ok test_init (test.test_set.TestSet.test_init) ... ok test_inplace_on_self (test.test_set.TestSet.test_inplace_on_self) ... ok test_intersection (test.test_set.TestSet.test_intersection) ... ok test_intersection_update (test.test_set.TestSet.test_intersection_update) ... ok test_ior (test.test_set.TestSet.test_ior) ... ok test_isdisjoint (test.test_set.TestSet.test_isdisjoint) ... ok test_isub (test.test_set.TestSet.test_isub) ... ok test_iterator_pickling (test.test_set.TestSet.test_iterator_pickling) ... ok test_ixor (test.test_set.TestSet.test_ixor) ... ok test_len (test.test_set.TestSet.test_len) ... ok test_new_or_init (test.test_set.TestSet.test_new_or_init) ... ok test_or (test.test_set.TestSet.test_or) ... ok test_pickling (test.test_set.TestSet.test_pickling) ... ok test_pop (test.test_set.TestSet.test_pop) ... ok test_remove (test.test_set.TestSet.test_remove) ... ok test_remove_keyerror_set (test.test_set.TestSet.test_remove_keyerror_set) ... ok test_remove_keyerror_unpacking (test.test_set.TestSet.test_remove_keyerror_unpacking) ... ok test_rich_compare (test.test_set.TestSet.test_rich_compare) ... ok test_setOfFrozensets (test.test_set.TestSet.test_setOfFrozensets) ... ok test_set_literal (test.test_set.TestSet.test_set_literal) ... ok test_set_literal_evaluation_order (test.test_set.TestSet.test_set_literal_evaluation_order) ... ok test_set_literal_insertion_order (test.test_set.TestSet.test_set_literal_insertion_order) ... ok test_sub (test.test_set.TestSet.test_sub) ... ok test_sub_and_super (test.test_set.TestSet.test_sub_and_super) ... ok test_subclass_with_custom_hash (test.test_set.TestSet.test_subclass_with_custom_hash) ... ok test_symmetric_difference (test.test_set.TestSet.test_symmetric_difference) ... ok test_symmetric_difference_update (test.test_set.TestSet.test_symmetric_difference_update) ... ok test_union (test.test_set.TestSet.test_union) ... ok test_uniquification (test.test_set.TestSet.test_uniquification) ... ok test_update (test.test_set.TestSet.test_update) ... ok test_weakref (test.test_set.TestSet.test_weakref) ... ok test_xor (test.test_set.TestSet.test_xor) ... ok test_constructor (test.test_set.TestSetOfSets.test_constructor) ... ok test_add (test.test_set.TestSetSubclass.test_add) ... ok test_and (test.test_set.TestSetSubclass.test_and) ... ok test_badcmp (test.test_set.TestSetSubclass.test_badcmp) ... ok test_c_api (test.test_set.TestSetSubclass.test_c_api) ... skipped 'C API test only available in a debug build' test_clear (test.test_set.TestSetSubclass.test_clear) ... ok test_constructor_identity (test.test_set.TestSetSubclass.test_constructor_identity) ... ok test_container_iterator (test.test_set.TestSetSubclass.test_container_iterator) ... ok test_contains (test.test_set.TestSetSubclass.test_contains) ... ok test_copy (test.test_set.TestSetSubclass.test_copy) ... ok test_cyclical_repr (test.test_set.TestSetSubclass.test_cyclical_repr) ... ok test_deepcopy (test.test_set.TestSetSubclass.test_deepcopy) ... ok test_difference (test.test_set.TestSetSubclass.test_difference) ... ok test_difference_update (test.test_set.TestSetSubclass.test_difference_update) ... ok test_discard (test.test_set.TestSetSubclass.test_discard) ... ok test_do_not_rehash_dict_keys (test.test_set.TestSetSubclass.test_do_not_rehash_dict_keys) ... FAIL test_equality (test.test_set.TestSetSubclass.test_equality) ... ok test_free_after_iterating (test.test_set.TestSetSubclass.test_free_after_iterating) ... ok test_gc (test.test_set.TestSetSubclass.test_gc) ... ok test_hash (test.test_set.TestSetSubclass.test_hash) ... ok test_iand (test.test_set.TestSetSubclass.test_iand) ... ok test_init (test.test_set.TestSetSubclass.test_init) ... ok test_inplace_on_self (test.test_set.TestSetSubclass.test_inplace_on_self) ... ok test_intersection (test.test_set.TestSetSubclass.test_intersection) ... ok test_intersection_update (test.test_set.TestSetSubclass.test_intersection_update) ... ok test_ior (test.test_set.TestSetSubclass.test_ior) ... ok test_isdisjoint (test.test_set.TestSetSubclass.test_isdisjoint) ... ok test_isub (test.test_set.TestSetSubclass.test_isub) ... ok test_iterator_pickling (test.test_set.TestSetSubclass.test_iterator_pickling) ... ok test_ixor (test.test_set.TestSetSubclass.test_ixor) ... ok test_keywords_in_subclass (test.test_set.TestSetSubclass.test_keywords_in_subclass) ... ok test_len (test.test_set.TestSetSubclass.test_len) ... ok test_new_or_init (test.test_set.TestSetSubclass.test_new_or_init) ... ok test_or (test.test_set.TestSetSubclass.test_or) ... ok test_pickling (test.test_set.TestSetSubclass.test_pickling) ... ok test_pop (test.test_set.TestSetSubclass.test_pop) ... ok test_remove (test.test_set.TestSetSubclass.test_remove) ... ok test_remove_keyerror_set (test.test_set.TestSetSubclass.test_remove_keyerror_set) ... ok test_remove_keyerror_unpacking (test.test_set.TestSetSubclass.test_remove_keyerror_unpacking) ... ok test_rich_compare (test.test_set.TestSetSubclass.test_rich_compare) ... ok test_setOfFrozensets (test.test_set.TestSetSubclass.test_setOfFrozensets) ... ok test_set_literal (test.test_set.TestSetSubclass.test_set_literal) ... ok test_set_literal_evaluation_order (test.test_set.TestSetSubclass.test_set_literal_evaluation_order) ... ok test_set_literal_insertion_order (test.test_set.TestSetSubclass.test_set_literal_insertion_order) ... ok test_sub (test.test_set.TestSetSubclass.test_sub) ... ok test_sub_and_super (test.test_set.TestSetSubclass.test_sub_and_super) ... ok test_subclass_with_custom_hash (test.test_set.TestSetSubclass.test_subclass_with_custom_hash) ... ok test_symmetric_difference (test.test_set.TestSetSubclass.test_symmetric_difference) ... ok test_symmetric_difference_update (test.test_set.TestSetSubclass.test_symmetric_difference_update) ... ok test_union (test.test_set.TestSetSubclass.test_union) ... ok test_uniquification (test.test_set.TestSetSubclass.test_uniquification) ... ok test_update (test.test_set.TestSetSubclass.test_update) ... ok test_weakref (test.test_set.TestSetSubclass.test_weakref) ... ok test_xor (test.test_set.TestSetSubclass.test_xor) ... ok test_pickling (test.test_set.TestSetSubclassWithSlots.test_pickling) ... ok test_issubset (test.test_set.TestSubsetEmptyNonEmpty.test_issubset) ... ok test_issubset (test.test_set.TestSubsetEqualEmpty.test_issubset) ... ok test_issubset (test.test_set.TestSubsetEqualNonEmpty.test_issubset) ... ok test_issubset (test.test_set.TestSubsetNonOverlap.test_issubset) ... ok test_issubset (test.test_set.TestSubsetPartial.test_issubset) ... ok test_difference_method_call (test.test_set.TestUpdateOps.test_difference_method_call) ... ok test_difference_non_overlap (test.test_set.TestUpdateOps.test_difference_non_overlap) ... ok test_difference_overlap (test.test_set.TestUpdateOps.test_difference_overlap) ... ok test_difference_subset (test.test_set.TestUpdateOps.test_difference_subset) ... ok test_difference_superset (test.test_set.TestUpdateOps.test_difference_superset) ... ok test_intersection_method_call (test.test_set.TestUpdateOps.test_intersection_method_call) ... ok test_intersection_non_overlap (test.test_set.TestUpdateOps.test_intersection_non_overlap) ... ok test_intersection_overlap (test.test_set.TestUpdateOps.test_intersection_overlap) ... ok test_intersection_subset (test.test_set.TestUpdateOps.test_intersection_subset) ... ok test_intersection_superset (test.test_set.TestUpdateOps.test_intersection_superset) ... ok test_sym_difference_method_call (test.test_set.TestUpdateOps.test_sym_difference_method_call) ... ok test_sym_difference_non_overlap (test.test_set.TestUpdateOps.test_sym_difference_non_overlap) ... ok test_sym_difference_overlap (test.test_set.TestUpdateOps.test_sym_difference_overlap) ... ok test_sym_difference_subset (test.test_set.TestUpdateOps.test_sym_difference_subset) ... ok test_sym_difference_superset (test.test_set.TestUpdateOps.test_sym_difference_superset) ... ok test_union_method_call (test.test_set.TestUpdateOps.test_union_method_call) ... ok test_union_non_overlap (test.test_set.TestUpdateOps.test_union_non_overlap) ... ok test_union_overlap (test.test_set.TestUpdateOps.test_union_overlap) ... ok test_union_subset (test.test_set.TestUpdateOps.test_union_subset) ... ok test_union_superset (test.test_set.TestUpdateOps.test_union_superset) ... ok test_constructor (test.test_set.TestVariousIteratorArgs.test_constructor) ... ok test_inline_methods (test.test_set.TestVariousIteratorArgs.test_inline_methods) ... ok test_inplace_methods (test.test_set.TestVariousIteratorArgs.test_inplace_methods) ... ok test_8420_set_merge (test.test_set.TestWeirdBugs.test_8420_set_merge) ... ok test_iter_and_mutate (test.test_set.TestWeirdBugs.test_iter_and_mutate) ... ok test_merge_and_mutate (test.test_set.TestWeirdBugs.test_merge_and_mutate) ... ok ====================================================================== FAIL: test_do_not_rehash_dict_keys (test.test_set.TestFrozenSet.test_do_not_rehash_dict_keys) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_set.py", line 329, in test_do_not_rehash_dict_keys self.assertEqual(sum(elem.hash_count for elem in d), n) ^^^^^^^^^^^ AssertionError: 20 != 10 ====================================================================== FAIL: test_do_not_rehash_dict_keys (test.test_set.TestFrozenSetSubclass.test_do_not_rehash_dict_keys) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_set.py", line 329, in test_do_not_rehash_dict_keys self.assertEqual(sum(elem.hash_count for elem in d), n) ^^^^^^^^^^^ AssertionError: 20 != 10 ====================================================================== FAIL: test_do_not_rehash_dict_keys (test.test_set.TestSet.test_do_not_rehash_dict_keys) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_set.py", line 329, in test_do_not_rehash_dict_keys self.assertEqual(sum(elem.hash_count for elem in d), n) ^^^^^^^^^^^ AssertionError: 20 != 10 ====================================================================== FAIL: test_do_not_rehash_dict_keys (test.test_set.TestSetSubclass.test_do_not_rehash_dict_keys) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_set.py", line 329, in test_do_not_rehash_dict_keys self.assertEqual(sum(elem.hash_count for elem in d), n) ^^^^^^^^^^^ AssertionError: 20 != 10 ---------------------------------------------------------------------- Ran 625 tests in 3.764s FAILED (failures=4, skipped=2) 0:00:03 load avg: 0.65 [1/1/1] test_set failed (4 failures) == Tests result: FAILURE == 1 test failed: test_set Total duration: 3.9 sec Total tests: run=625 failures=4 skipped=2 Total test files: run=1/1 failed=1 Result: FAILURE test test_set failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1752041æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 689063800 0:00:00 load avg: 0.65 Run 1 test sequentially in a single process 0:00:00 load avg: 0.65 [1/1] test_setcomps test_exception_locations (test.test_setcomps.SetComprehensionTest.test_exception_locations) ... test_exception_locations (test.test_setcomps.SetComprehensionTest.test_exception_locations) [<function SetComprehensionTest.test_exception_locations.<locals>.next_raises at 0x00007efc8238e020>] ... FAIL test_exception_locations (test.test_setcomps.SetComprehensionTest.test_exception_locations) [<function SetComprehensionTest.test_exception_locations.<locals>.iter_raises at 0x00007efc8238e0e8>] ... FAIL doctests (test.test_setcomps.__test__) Doctest: test.test_setcomps.__test__.doctests ... ok ====================================================================== FAIL: test_exception_locations (test.test_setcomps.SetComprehensionTest.test_exception_locations) [<function SetComprehensionTest.test_exception_locations.<locals>.next_raises at 0x00007efc8238e020>] ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_setcomps.py", line 188, in test_exception_locations self.assertEqual(f.line[f.colno - indent : f.end_colno - indent], ^^^^^^^^^^^ AssertionError: '{x for x in BrokenIter(next_raises=True)}' != 'BrokenIter(next_raises=True)' - {x for x in BrokenIter(next_raises=True)} ? ------------ - + BrokenIter(next_raises=True) ====================================================================== FAIL: test_exception_locations (test.test_setcomps.SetComprehensionTest.test_exception_locations) [<function SetComprehensionTest.test_exception_locations.<locals>.iter_raises at 0x00007efc8238e0e8>] ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_setcomps.py", line 188, in test_exception_locations self.assertEqual(f.line[f.colno - indent : f.end_colno - indent], ^^^^^^^^^^^ AssertionError: '{x for x in BrokenIter(iter_raises=True)}' != 'BrokenIter(iter_raises=True)' - {x for x in BrokenIter(iter_raises=True)} ? ------------ - + BrokenIter(iter_raises=True) ---------------------------------------------------------------------- Ran 2 tests in 0.033s FAILED (failures=2) 0:00:00 load avg: 0.65 [1/1/1] test_setcomps failed (2 failures) == Tests result: FAILURE == 1 test failed: test_setcomps Total duration: 128 ms Total tests: run=2 failures=2 Total test files: run=1/1 failed=1 Result: FAILURE test test_setcomps failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1752068æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 4142066217 0:00:00 load avg: 0.70 Run 1 test sequentially in a single process 0:00:00 load avg: 0.70 [1/1] test_signal test_enums (test.test_signal.GenericTests.test_enums) ... ok test_functions_module_attr (test.test_signal.GenericTests.test_functions_module_attr) ... ok test_itimer_exc (test.test_signal.ItimerTest.test_itimer_exc) ... ok test_itimer_prof (test.test_signal.ItimerTest.test_itimer_prof) ... ok test_itimer_real (test.test_signal.ItimerTest.test_itimer_real) ... ok test_itimer_virtual (test.test_signal.ItimerTest.test_itimer_virtual) ... ok test_setitimer_tiny (test.test_signal.ItimerTest.test_setitimer_tiny) ... ok test_pthread_kill (test.test_signal.PendingSignalsTests.test_pthread_kill) ... ok test_pthread_kill_main_thread (test.test_signal.PendingSignalsTests.test_pthread_kill_main_thread) ... ok test_pthread_sigmask (test.test_signal.PendingSignalsTests.test_pthread_sigmask) ... ok test_pthread_sigmask_arguments (test.test_signal.PendingSignalsTests.test_pthread_sigmask_arguments) ... ok test_pthread_sigmask_valid_signals (test.test_signal.PendingSignalsTests.test_pthread_sigmask_valid_signals) ... ok test_sigpending (test.test_signal.PendingSignalsTests.test_sigpending) ... ok test_sigpending_empty (test.test_signal.PendingSignalsTests.test_sigpending_empty) ... ok test_sigtimedwait (test.test_signal.PendingSignalsTests.test_sigtimedwait) ... skipped 'need signal.sigtimedwait()' test_sigtimedwait_negative_timeout (test.test_signal.PendingSignalsTests.test_sigtimedwait_negative_timeout) ... skipped 'need signal.sigtimedwait()' test_sigtimedwait_poll (test.test_signal.PendingSignalsTests.test_sigtimedwait_poll) ... skipped 'need signal.sigtimedwait()' test_sigtimedwait_timeout (test.test_signal.PendingSignalsTests.test_sigtimedwait_timeout) ... skipped 'need signal.sigtimedwait()' test_sigwait (test.test_signal.PendingSignalsTests.test_sigwait) ... ok test_sigwait_thread (test.test_signal.PendingSignalsTests.test_sigwait_thread) ... ok test_sigwaitinfo (test.test_signal.PendingSignalsTests.test_sigwaitinfo) ... skipped 'need signal.sigwaitinfo()' test_pidfd_send_signal (test.test_signal.PidfdSignalTest.test_pidfd_send_signal) ... skipped 'pidfd support not built in' test_getsignal (test.test_signal.PosixTests.test_getsignal) ... ok test_interprocess_signal (test.test_signal.PosixTests.test_interprocess_signal) ... ok test_keyboard_interrupt_exit_code (test.test_signal.PosixTests.test_keyboard_interrupt_exit_code) KeyboardInterrupt triggers exit via SIGINT. ... ok test_no_repr_is_called_on_signal_handler (test.test_signal.PosixTests.test_no_repr_is_called_on_signal_handler) ... ok test_out_of_range_signal_number_raises_error (test.test_signal.PosixTests.test_out_of_range_signal_number_raises_error) ... ok test_setting_signal_handler_to_none_raises_error (test.test_signal.PosixTests.test_setting_signal_handler_to_none_raises_error) ... ok test_strsignal (test.test_signal.PosixTests.test_strsignal) ... ok test_valid_signals (test.test_signal.PosixTests.test_valid_signals) ... ok test__thread_interrupt_main (test.test_signal.RaiseSignalTest.test__thread_interrupt_main) ... FAIL test_handler (test.test_signal.RaiseSignalTest.test_handler) ... ok test_invalid_argument (test.test_signal.RaiseSignalTest.test_invalid_argument) ... skipped 'Windows specific test' test_sigint (test.test_signal.RaiseSignalTest.test_sigint) ... ok test_siginterrupt_off (test.test_signal.SiginterruptTest.test_siginterrupt_off) ... skipped "resource 'walltime' is not enabled" test_siginterrupt_on (test.test_signal.SiginterruptTest.test_siginterrupt_on) ... ok test_without_siginterrupt (test.test_signal.SiginterruptTest.test_without_siginterrupt) ... ok test_stress_delivery_dependent (test.test_signal.StressTest.test_stress_delivery_dependent) This test uses dependent signal handlers. ... detected median itimer() resolution: 0.000014 s. ok test_stress_delivery_simultaneous (test.test_signal.StressTest.test_stress_delivery_simultaneous) This test uses simultaneous signal handlers. ... detected median itimer() resolution: 0.000008 s. ok test_stress_modifying_handlers (test.test_signal.StressTest.test_stress_modifying_handlers) ... ok test_invalid_call (test.test_signal.WakeupFDTests.test_invalid_call) ... ok test_invalid_fd (test.test_signal.WakeupFDTests.test_invalid_fd) ... ok test_invalid_socket (test.test_signal.WakeupFDTests.test_invalid_socket) ... ok test_set_wakeup_fd_blocking (test.test_signal.WakeupFDTests.test_set_wakeup_fd_blocking) ... ok test_set_wakeup_fd_result (test.test_signal.WakeupFDTests.test_set_wakeup_fd_result) ... ok test_set_wakeup_fd_socket_result (test.test_signal.WakeupFDTests.test_set_wakeup_fd_socket_result) ... ok test_pending (test.test_signal.WakeupSignalTests.test_pending) ... ok test_signum (test.test_signal.WakeupSignalTests.test_signum) ... ok test_wakeup_fd_during (test.test_signal.WakeupSignalTests.test_wakeup_fd_during) ... ok test_wakeup_fd_early (test.test_signal.WakeupSignalTests.test_wakeup_fd_early) ... ok test_wakeup_write_error (test.test_signal.WakeupSignalTests.test_wakeup_write_error) ... ok test_send_error (test.test_signal.WakeupSocketSignalTests.test_send_error) ... ok test_socket (test.test_signal.WakeupSocketSignalTests.test_socket) ... ok test_warn_on_full_buffer (test.test_signal.WakeupSocketSignalTests.test_warn_on_full_buffer) ... ok test_issue9324 (test.test_signal.WindowsSignalTests.test_issue9324) ... skipped 'Windows specific' test_keyboard_interrupt_exit_code (test.test_signal.WindowsSignalTests.test_keyboard_interrupt_exit_code) KeyboardInterrupt triggers an exit using STATUS_CONTROL_C_EXIT. ... skipped 'Windows specific' test_valid_signals (test.test_signal.WindowsSignalTests.test_valid_signals) ... skipped 'Windows specific' ====================================================================== FAIL: test__thread_interrupt_main (test.test_signal.RaiseSignalTest.test__thread_interrupt_main) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_signal.py", line 1451, in test__thread_interrupt_main self.assertIn(b'OSError: Signal 2 ignored due to race condition', err) ^^^^^^^^ AssertionError: b'OSError: Signal 2 ignored due to race condition' not found in b'' ---------------------------------------------------------------------- Ran 57 tests in 16.092s FAILED (failures=1, skipped=11) 0:00:16 load avg: 0.63 [1/1/1] test_signal failed (1 failure) == Tests result: FAILURE == 1 test failed: test_signal Total duration: 16.2 sec Total tests: run=57 failures=1 skipped=11 Total test files: run=1/1 failed=1 Result: FAILURE test test_signal failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1752098æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 4252869232 0:00:00 load avg: 0.63 Run 1 test sequentially in a single process 0:00:00 load avg: 0.63 [1/1] test_site test__getuserbase (test.test_site.HelperFunctionsTests.test__getuserbase) ... ok test_addpackage (test.test_site.HelperFunctionsTests.test_addpackage) ... ok test_addpackage_empty_lines (test.test_site.HelperFunctionsTests.test_addpackage_empty_lines) ... ok test_addpackage_import_bad_exec (test.test_site.HelperFunctionsTests.test_addpackage_import_bad_exec) ... ok test_addpackage_import_bad_pth_file (test.test_site.HelperFunctionsTests.test_addpackage_import_bad_pth_file) ... ok test_addpackage_import_bad_syntax (test.test_site.HelperFunctionsTests.test_addpackage_import_bad_syntax) ... ok test_addsitedir (test.test_site.HelperFunctionsTests.test_addsitedir) ... ok test_addsitedir_dotfile (test.test_site.HelperFunctionsTests.test_addsitedir_dotfile) ... ok test_addsitedir_hidden_file_attribute (test.test_site.HelperFunctionsTests.test_addsitedir_hidden_file_attribute) ... skipped 'test needs Windows' test_addsitedir_hidden_flags (test.test_site.HelperFunctionsTests.test_addsitedir_hidden_flags) ... skipped 'test needs os.chflags()' test_get_path (test.test_site.HelperFunctionsTests.test_get_path) ... ok test_getsitepackages (test.test_site.HelperFunctionsTests.test_getsitepackages) ... FAIL test_getuserbase (test.test_site.HelperFunctionsTests.test_getuserbase) ... ok test_getusersitepackages (test.test_site.HelperFunctionsTests.test_getusersitepackages) ... ok test_init_pathinfo (test.test_site.HelperFunctionsTests.test_init_pathinfo) ... ok test_makepath (test.test_site.HelperFunctionsTests.test_makepath) ... ok test_no_home_directory (test.test_site.HelperFunctionsTests.test_no_home_directory) ... ok test_s_option (test.test_site.HelperFunctionsTests.test_s_option) ... ok test_trace (test.test_site.HelperFunctionsTests.test_trace) ... ok test_abs_paths_cached_None (test.test_site.ImportSideEffectTests.test_abs_paths_cached_None) Test for __cached__ is None. ... ok test_add_build_dir (test.test_site.ImportSideEffectTests.test_add_build_dir) ... skipped 'test not implemented' test_license_exists_at_url (test.test_site.ImportSideEffectTests.test_license_exists_at_url) ... ok test_no_duplicate_paths (test.test_site.ImportSideEffectTests.test_no_duplicate_paths) ... ok test_setting_copyright (test.test_site.ImportSideEffectTests.test_setting_copyright) ... ok test_setting_help (test.test_site.ImportSideEffectTests.test_setting_help) ... ok test_setting_quit (test.test_site.ImportSideEffectTests.test_setting_quit) ... ok test_sitecustomize_executed (test.test_site.ImportSideEffectTests.test_sitecustomize_executed) ... ok test_startup_imports (test.test_site.StartupImportTests.test_startup_imports) ... skipped 'found 1 .pth files in: /build_dir/pypy-c-jit-linux-x86-64/build/lib/pypy3.12/site-packages' test_startup_interactivehook (test.test_site.StartupImportTests.test_startup_interactivehook) ... ok test_startup_interactivehook_isolated (test.test_site.StartupImportTests.test_startup_interactivehook_isolated) ... ok test_startup_interactivehook_isolated_explicit (test.test_site.StartupImportTests.test_startup_interactivehook_isolated_explicit) ... ok test_underpth_basic (test.test_site._pthFileTests.test_underpth_basic) ... FAIL test_underpth_dll_file (test.test_site._pthFileTests.test_underpth_dll_file) ... skipped 'library ._pth file not supported on this platform' test_underpth_file (test.test_site._pthFileTests.test_underpth_file) ... FAIL test_underpth_nosite_file (test.test_site._pthFileTests.test_underpth_nosite_file) ... FAIL ====================================================================== FAIL: test_getsitepackages (test.test_site.HelperFunctionsTests.test_getsitepackages) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_site.py", line 338, in test_getsitepackages self.assertEqual(dirs[-1], wanted) ^^^^^^^^^^^ AssertionError: 'xoxo/lib/pypy3.12/site-packages' != 'xoxo/lib/python3.12/site-packages' - xoxo/lib/pypy3.12/site-packages ? ^^ + xoxo/lib/python3.12/site-packages ? ^^^^ ====================================================================== FAIL: test_underpth_basic (test.test_site._pthFileTests.test_underpth_basic) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_site.py", line 673, in test_underpth_basic self.assertEqual( ^^^^^^^^^^^ AssertionError: Lists differ: [''] != ['/tmp/pytest/pytest-of-buildslave/pytest-1[335 chars]est'] First differing element 0: '' '/tmp/pytest/pytest-of-buildslave/pytest-13620/test_site.py' Second list contains 7 additional elements. First extra element 1: '/build_dir/pypy-c-jit-linux-x86-64/build' - [''] + ['/tmp/pytest/pytest-of-buildslave/pytest-13620/test_site.py', + '/build_dir/pypy-c-jit-linux-x86-64/build', + '/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy', + '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3', + '/home/buildslave/.local/lib/pypy3.12/site-packages', + '/build_dir/pypy-c-jit-linux-x86-64/build/lib/pypy3.12/site-packages', + '/tmp/pytest/tmpjrlc0wzk', + '/tmp/pytest'] : sys.path is incorrect ====================================================================== FAIL: test_underpth_file (test.test_site._pthFileTests.test_underpth_file) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_site.py", line 721, in test_underpth_file self.assertTrue(rc, "sys.path is incorrect") ^^^^^^^^^^ AssertionError: 0 is not true : sys.path is incorrect ====================================================================== FAIL: test_underpth_nosite_file (test.test_site._pthFileTests.test_underpth_nosite_file) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_site.py", line 697, in test_underpth_nosite_file self.assertEqual( ^^^^^^^^^^^ AssertionError: Lists differ: [''] != ['/tmp/pytest/tmpca7f0ksj/fake-path-name', [11394 chars]n/3'] First differing element 0: '' '/tmp/pytest/tmpca7f0ksj/fake-path-name' Second list contains 200 additional elements. First extra element 1: '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3' Diff is 12052 characters long. Set self.maxDiff to None to see it. : sys.path is incorrect ---------------------------------------------------------------------- Ran 35 tests in 0.581s FAILED (failures=4, skipped=5) 0:00:00 load avg: 0.63 [1/1/1] test_site failed (4 failures) == Tests result: FAILURE == 1 test failed: test_site Total duration: 788 ms Total tests: run=35 failures=4 skipped=5 Total test files: run=1/1 failed=1 Result: FAILURE test test_site failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1752187æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3292873542 0:00:00 load avg: 0.58 Run 1 test sequentially in a single process 0:00:00 load avg: 0.58 [1/1] test_socket testBluetoothConstants (test.test_socket.BasicBluetoothTest.testBluetoothConstants) ... skipped 'Bluetooth sockets required for this test.' testCreateHciSocket (test.test_socket.BasicBluetoothTest.testCreateHciSocket) ... skipped 'Bluetooth sockets required for this test.' testCreateL2capSocket (test.test_socket.BasicBluetoothTest.testCreateL2capSocket) ... skipped 'Bluetooth sockets required for this test.' testCreateRfcommSocket (test.test_socket.BasicBluetoothTest.testCreateRfcommSocket) ... skipped 'Bluetooth sockets required for this test.' testCreateScoSocket (test.test_socket.BasicBluetoothTest.testCreateScoSocket) ... skipped 'Bluetooth sockets required for this test.' testBCMConstants (test.test_socket.BasicCANTest.testBCMConstants) ... skipped 'SocketCan required for this test.' testBindAny (test.test_socket.BasicCANTest.testBindAny) ... skipped 'SocketCan required for this test.' testCreateBCMSocket (test.test_socket.BasicCANTest.testCreateBCMSocket) ... skipped 'SocketCan required for this test.' testCreateSocket (test.test_socket.BasicCANTest.testCreateSocket) ... skipped 'SocketCan required for this test.' testCrucialConstants (test.test_socket.BasicCANTest.testCrucialConstants) ... skipped 'SocketCan required for this test.' testFilter (test.test_socket.BasicCANTest.testFilter) ... skipped 'SocketCan required for this test.' testLoopback (test.test_socket.BasicCANTest.testLoopback) ... skipped 'SocketCan required for this test.' testTooLongInterfaceName (test.test_socket.BasicCANTest.testTooLongInterfaceName) ... skipped 'SocketCan required for this test.' testCreateHyperVSocketAddrNotTupleFailure (test.test_socket.BasicHyperVTest.testCreateHyperVSocketAddrNotTupleFailure) ... skipped 'Hyper-V sockets required for this test.' testCreateHyperVSocketAddrNotTupleOf2StrsFailure (test.test_socket.BasicHyperVTest.testCreateHyperVSocketAddrNotTupleOf2StrsFailure) ... skipped 'Hyper-V sockets required for this test.' testCreateHyperVSocketAddrNotTupleOfStrsFailure (test.test_socket.BasicHyperVTest.testCreateHyperVSocketAddrNotTupleOfStrsFailure) ... skipped 'Hyper-V sockets required for this test.' testCreateHyperVSocketAddrServiceIdNotValidUUIDFailure (test.test_socket.BasicHyperVTest.testCreateHyperVSocketAddrServiceIdNotValidUUIDFailure) ... skipped 'Hyper-V sockets required for this test.' testCreateHyperVSocketAddrVmIdNotValidUUIDFailure (test.test_socket.BasicHyperVTest.testCreateHyperVSocketAddrVmIdNotValidUUIDFailure) ... skipped 'Hyper-V sockets required for this test.' testCreateHyperVSocketWithUnknownProtoFailure (test.test_socket.BasicHyperVTest.testCreateHyperVSocketWithUnknownProtoFailure) ... skipped 'Hyper-V sockets required for this test.' testHyperVConstants (test.test_socket.BasicHyperVTest.testHyperVConstants) ... skipped 'Hyper-V sockets required for this test.' testAutoBindSock (test.test_socket.BasicQIPCRTRTest.testAutoBindSock) ... skipped 'QIPCRTR sockets required for this test.' testBindSock (test.test_socket.BasicQIPCRTRTest.testBindSock) ... skipped 'QIPCRTR sockets required for this test.' testCreateSocket (test.test_socket.BasicQIPCRTRTest.testCreateSocket) ... skipped 'QIPCRTR sockets required for this test.' testCrucialConstants (test.test_socket.BasicQIPCRTRTest.testCrucialConstants) ... skipped 'QIPCRTR sockets required for this test.' testInvalidBindSock (test.test_socket.BasicQIPCRTRTest.testInvalidBindSock) ... skipped 'QIPCRTR sockets required for this test.' testUnbound (test.test_socket.BasicQIPCRTRTest.testUnbound) ... skipped 'QIPCRTR sockets required for this test.' testCreateSocket (test.test_socket.BasicRDSTest.testCreateSocket) ... skipped 'RDS sockets required for this test.' testCrucialConstants (test.test_socket.BasicRDSTest.testCrucialConstants) ... skipped 'RDS sockets required for this test.' testSocketBufferSize (test.test_socket.BasicRDSTest.testSocketBufferSize) ... skipped 'RDS sockets required for this test.' testDefaults (test.test_socket.BasicSocketPairTest.testDefaults) ... ok testRecv (test.test_socket.BasicSocketPairTest.testRecv) ... ok testSend (test.test_socket.BasicSocketPairTest.testSend) ... ok testDetach (test.test_socket.BasicTCPTest.testDetach) ... ok testDup (test.test_socket.BasicTCPTest.testDup) ... ok testFromFd (test.test_socket.BasicTCPTest.testFromFd) ... ok testOverFlowRecv (test.test_socket.BasicTCPTest.testOverFlowRecv) ... ok testOverFlowRecvFrom (test.test_socket.BasicTCPTest.testOverFlowRecvFrom) ... ok testRecv (test.test_socket.BasicTCPTest.testRecv) ... ok testRecvFrom (test.test_socket.BasicTCPTest.testRecvFrom) ... ok testSendAll (test.test_socket.BasicTCPTest.testSendAll) ... ok testShutdown (test.test_socket.BasicTCPTest.testShutdown) ... ok testShutdown_overflow (test.test_socket.BasicTCPTest.testShutdown_overflow) ... skipped 'implementation detail specific to cpython' testDetach (test.test_socket.BasicTCPTest2.testDetach) ... ok testDup (test.test_socket.BasicTCPTest2.testDup) ... ok testFromFd (test.test_socket.BasicTCPTest2.testFromFd) ... ok testOverFlowRecv (test.test_socket.BasicTCPTest2.testOverFlowRecv) ... ok testOverFlowRecvFrom (test.test_socket.BasicTCPTest2.testOverFlowRecvFrom) ... ok testRecv (test.test_socket.BasicTCPTest2.testRecv) ... ok testRecvFrom (test.test_socket.BasicTCPTest2.testRecvFrom) ... ok testSendAll (test.test_socket.BasicTCPTest2.testSendAll) ... ok testShutdown (test.test_socket.BasicTCPTest2.testShutdown) ... ok testShutdown_overflow (test.test_socket.BasicTCPTest2.testShutdown_overflow) ... skipped 'implementation detail specific to cpython' testRecvFrom (test.test_socket.BasicUDPLITETest.testRecvFrom) ... ok testRecvFromNegative (test.test_socket.BasicUDPLITETest.testRecvFromNegative) ... ok testSendtoAndRecv (test.test_socket.BasicUDPLITETest.testSendtoAndRecv) ... ok testRecvFrom (test.test_socket.BasicUDPTest.testRecvFrom) ... ok testRecvFromNegative (test.test_socket.BasicUDPTest.testRecvFromNegative) ... ok testSendtoAndRecv (test.test_socket.BasicUDPTest.testSendtoAndRecv) ... ok testCreateSocket (test.test_socket.BasicVSOCKTest.testCreateSocket) ... skipped 'VSOCK sockets required for this test.' testCrucialConstants (test.test_socket.BasicVSOCKTest.testCrucialConstants) ... skipped 'VSOCK sockets required for this test.' testSocketBufferSize (test.test_socket.BasicVSOCKTest.testSocketBufferSize) ... skipped 'VSOCK sockets required for this test.' testVSOCKConstants (test.test_socket.BasicVSOCKTest.testVSOCKConstants) ... skipped 'VSOCK sockets required for this test.' testRecvFromIntoArray (test.test_socket.BufferIOTest.testRecvFromIntoArray) ... ok testRecvFromIntoBytearray (test.test_socket.BufferIOTest.testRecvFromIntoBytearray) ... ok testRecvFromIntoEmptyBuffer (test.test_socket.BufferIOTest.testRecvFromIntoEmptyBuffer) ... ok testRecvFromIntoMemoryview (test.test_socket.BufferIOTest.testRecvFromIntoMemoryview) ... ok testRecvFromIntoSmallBuffer (test.test_socket.BufferIOTest.testRecvFromIntoSmallBuffer) ... ok testRecvIntoArray (test.test_socket.BufferIOTest.testRecvIntoArray) ... ok testRecvIntoBytearray (test.test_socket.BufferIOTest.testRecvIntoBytearray) ... ok testRecvIntoMemoryview (test.test_socket.BufferIOTest.testRecvIntoMemoryview) ... ok testBCM (test.test_socket.CANTest.testBCM) ... skipped 'SocketCan required for this test.' testSendFrame (test.test_socket.CANTest.testSendFrame) ... skipped 'SocketCan required for this test.' testSendMaxFrame (test.test_socket.CANTest.testSendMaxFrame) ... skipped 'SocketCan required for this test.' testSendMultiFrames (test.test_socket.CANTest.testSendMultiFrames) ... skipped 'SocketCan required for this test.' testCMSG_LEN (test.test_socket.CmsgMacroTests.testCMSG_LEN) ... ok testCMSG_SPACE (test.test_socket.CmsgMacroTests.testCMSG_SPACE) ... ok testCreateConnectionBase (test.test_socket.ContextManagersTest.testCreateConnectionBase) ... ok testCreateConnectionClose (test.test_socket.ContextManagersTest.testCreateConnectionClose) ... ok test_dual_stack_client_v4 (test.test_socket.CreateServerFunctionalTest.test_dual_stack_client_v4) ... ok test_dual_stack_client_v6 (test.test_socket.CreateServerFunctionalTest.test_dual_stack_client_v6) ... ok test_tcp4 (test.test_socket.CreateServerFunctionalTest.test_tcp4) ... ok test_tcp6 (test.test_socket.CreateServerFunctionalTest.test_tcp6) ... ok test_address (test.test_socket.CreateServerTest.test_address) ... ok test_dualstack_ipv6_family (test.test_socket.CreateServerTest.test_dualstack_ipv6_family) ... ok test_family_and_type (test.test_socket.CreateServerTest.test_family_and_type) ... ok test_ipv6_only_default (test.test_socket.CreateServerTest.test_ipv6_only_default) ... ok test_reuse_port (test.test_socket.CreateServerTest.test_reuse_port) ... ok testAttributes (test.test_socket.FileObjectClassTestCase.testAttributes) ... ok testCloseAfterMakefile (test.test_socket.FileObjectClassTestCase.testCloseAfterMakefile) ... ok testClosedAttr (test.test_socket.FileObjectClassTestCase.testClosedAttr) ... ok testFullRead (test.test_socket.FileObjectClassTestCase.testFullRead) ... ok testMakefileAfterMakefileClose (test.test_socket.FileObjectClassTestCase.testMakefileAfterMakefileClose) ... ok testReadAfterTimeout (test.test_socket.FileObjectClassTestCase.testReadAfterTimeout) ... ok testReadline (test.test_socket.FileObjectClassTestCase.testReadline) ... ok testRealClose (test.test_socket.FileObjectClassTestCase.testRealClose) ... ok testSmallRead (test.test_socket.FileObjectClassTestCase.testSmallRead) ... ok testUnbufferedRead (test.test_socket.FileObjectClassTestCase.testUnbufferedRead) ... ok test3542SocketOptions (test.test_socket.GeneralModuleTests.test3542SocketOptions) ... skipped 'macOS specific test' testCloseException (test.test_socket.GeneralModuleTests.testCloseException) ... ok testCrucialConstants (test.test_socket.GeneralModuleTests.testCrucialConstants) ... ok testCrucialIpProtoConstants (test.test_socket.GeneralModuleTests.testCrucialIpProtoConstants) ... ok testDefaultTimeout (test.test_socket.GeneralModuleTests.testDefaultTimeout) ... ok testGetServBy (test.test_socket.GeneralModuleTests.testGetServBy) ... ok testGetSockOpt (test.test_socket.GeneralModuleTests.testGetSockOpt) ... ok testGetaddrinfo (test.test_socket.GeneralModuleTests.testGetaddrinfo) ... ok testHostnameRes (test.test_socket.GeneralModuleTests.testHostnameRes) ... ok testIPv4_inet_aton_fourbytes (test.test_socket.GeneralModuleTests.testIPv4_inet_aton_fourbytes) ... ok testIPv4toString (test.test_socket.GeneralModuleTests.testIPv4toString) ... ok testIPv6toString (test.test_socket.GeneralModuleTests.testIPv6toString) ... ok testInterfaceNameIndex (test.test_socket.GeneralModuleTests.testInterfaceNameIndex) ... ok testInterpreterCrash (test.test_socket.GeneralModuleTests.testInterpreterCrash) ... ok testInvalidInterfaceIndexToName (test.test_socket.GeneralModuleTests.testInvalidInterfaceIndexToName) ... ok testInvalidInterfaceNameToIndex (test.test_socket.GeneralModuleTests.testInvalidInterfaceNameToIndex) ... ok testNewAttributes (test.test_socket.GeneralModuleTests.testNewAttributes) ... ok testNtoH (test.test_socket.GeneralModuleTests.testNtoH) ... ok testNtoHErrors (test.test_socket.GeneralModuleTests.testNtoHErrors) ... skipped 'implementation detail specific to cpython' testRefCountGetNameInfo (test.test_socket.GeneralModuleTests.testRefCountGetNameInfo) ... skipped 'test needs sys.getrefcount()' testSendAfterClose (test.test_socket.GeneralModuleTests.testSendAfterClose) ... ok testSendtoErrors (test.test_socket.GeneralModuleTests.testSendtoErrors) ... FAIL testSetSockOpt (test.test_socket.GeneralModuleTests.testSetSockOpt) ... ok testSockName (test.test_socket.GeneralModuleTests.testSockName) ... ok testSocketError (test.test_socket.GeneralModuleTests.testSocketError) ... ok testStringToIPv4 (test.test_socket.GeneralModuleTests.testStringToIPv4) ... ok testStringToIPv6 (test.test_socket.GeneralModuleTests.testStringToIPv6) ... ok testWindowsSpecificConstants (test.test_socket.GeneralModuleTests.testWindowsSpecificConstants) ... skipped 'Windows specific' test_SocketType_is_socketobject (test.test_socket.GeneralModuleTests.test_SocketType_is_socketobject) ... ok test__sendfile_use_sendfile (test.test_socket.GeneralModuleTests.test__sendfile_use_sendfile) ... ok test_addressfamily_enum (test.test_socket.GeneralModuleTests.test_addressfamily_enum) ... ok test_addressinfo_enum (test.test_socket.GeneralModuleTests.test_addressinfo_enum) ... ok test_csocket_repr (test.test_socket.GeneralModuleTests.test_csocket_repr) ... ok test_dealloc_warn (test.test_socket.GeneralModuleTests.test_dealloc_warn) ... ok test_flowinfo (test.test_socket.GeneralModuleTests.test_flowinfo) ... ok test_getaddrinfo_int_port_overflow (test.test_socket.GeneralModuleTests.test_getaddrinfo_int_port_overflow) ... FAIL test_getaddrinfo_ipv6_basic (test.test_socket.GeneralModuleTests.test_getaddrinfo_ipv6_basic) ... ok test_getaddrinfo_ipv6_scopeid_numeric (test.test_socket.GeneralModuleTests.test_getaddrinfo_ipv6_scopeid_numeric) ... skipped 'Numeric scope id does not work or undocumented' test_getaddrinfo_ipv6_scopeid_symbolic (test.test_socket.GeneralModuleTests.test_getaddrinfo_ipv6_scopeid_symbolic) ... ok test_getfqdn_filter_localhost (test.test_socket.GeneralModuleTests.test_getfqdn_filter_localhost) ... ok test_getnameinfo (test.test_socket.GeneralModuleTests.test_getnameinfo) ... ok test_getnameinfo_ipv6_scopeid_numeric (test.test_socket.GeneralModuleTests.test_getnameinfo_ipv6_scopeid_numeric) ... skipped 'Numeric scope id does not work or undocumented' test_getnameinfo_ipv6_scopeid_symbolic (test.test_socket.GeneralModuleTests.test_getnameinfo_ipv6_scopeid_symbolic) ... ok test_getsockaddrarg (test.test_socket.GeneralModuleTests.test_getsockaddrarg) ... ok test_host_resolution (test.test_socket.GeneralModuleTests.test_host_resolution) ... ok test_host_resolution_bad_address (test.test_socket.GeneralModuleTests.test_host_resolution_bad_address) ... ok test_idna (test.test_socket.GeneralModuleTests.test_idna) ... ok test_listen_backlog (test.test_socket.GeneralModuleTests.test_listen_backlog) ... ok test_listen_backlog_overflow (test.test_socket.GeneralModuleTests.test_listen_backlog_overflow) ... skipped 'implementation detail specific to cpython' test_makefile_invalid_mode (test.test_socket.GeneralModuleTests.test_makefile_invalid_mode) ... ok test_makefile_mode (test.test_socket.GeneralModuleTests.test_makefile_mode) ... ok test_msgflag_enum (test.test_socket.GeneralModuleTests.test_msgflag_enum) ... ok test_name_closed_socketio (test.test_socket.GeneralModuleTests.test_name_closed_socketio) ... ok test_pickle (test.test_socket.GeneralModuleTests.test_pickle) ... ok test_repr (test.test_socket.GeneralModuleTests.test_repr) ... ok test_sendall_interrupted (test.test_socket.GeneralModuleTests.test_sendall_interrupted) ... ok test_sendall_interrupted_with_timeout (test.test_socket.GeneralModuleTests.test_sendall_interrupted_with_timeout) ... ok test_sethostname (test.test_socket.GeneralModuleTests.test_sethostname) ... skipped 'test should be run as root' test_sio_loopback_fast_path (test.test_socket.GeneralModuleTests.test_sio_loopback_fast_path) ... skipped 'Windows specific' test_sock_ioctl (test.test_socket.GeneralModuleTests.test_sock_ioctl) ... skipped 'Windows specific' test_socket_close (test.test_socket.GeneralModuleTests.test_socket_close) ... ok test_socket_consistent_sock_type (test.test_socket.GeneralModuleTests.test_socket_consistent_sock_type) ... ok test_socket_fileno (test.test_socket.GeneralModuleTests.test_socket_fileno) ... ok test_socket_fileno_rejects_float (test.test_socket.GeneralModuleTests.test_socket_fileno_rejects_float) ... ok test_socket_fileno_rejects_invalid_socket (test.test_socket.GeneralModuleTests.test_socket_fileno_rejects_invalid_socket) ... ok test_socket_fileno_rejects_negative (test.test_socket.GeneralModuleTests.test_socket_fileno_rejects_negative) ... ok test_socket_fileno_rejects_other_types (test.test_socket.GeneralModuleTests.test_socket_fileno_rejects_other_types) ... ok test_socket_fileno_requires_socket_fd (test.test_socket.GeneralModuleTests.test_socket_fileno_requires_socket_fd) ... ok test_socket_fileno_requires_valid_fd (test.test_socket.GeneralModuleTests.test_socket_fileno_requires_valid_fd) ... ok test_socket_methods (test.test_socket.GeneralModuleTests.test_socket_methods) ... ok test_socket_type (test.test_socket.GeneralModuleTests.test_socket_type) ... ERROR test_socketkind_enum (test.test_socket.GeneralModuleTests.test_socketkind_enum) ... ok test_str_for_enums (test.test_socket.GeneralModuleTests.test_str_for_enums) ... ok test_unknown_socket_family_repr (test.test_socket.GeneralModuleTests.test_unknown_socket_family_repr) ... ok test_unusable_closed_socketio (test.test_socket.GeneralModuleTests.test_unusable_closed_socketio) ... ok test_weakref (test.test_socket.GeneralModuleTests.test_weakref) ... ok testBind (test.test_socket.ISOTPTest.testBind) ... skipped 'CAN ISOTP required for this test.' testCreateISOTPSocket (test.test_socket.ISOTPTest.testCreateISOTPSocket) ... skipped 'CAN ISOTP required for this test.' testCreateSocket (test.test_socket.ISOTPTest.testCreateSocket) ... skipped 'CAN ISOTP required for this test.' testCrucialConstants (test.test_socket.ISOTPTest.testCrucialConstants) ... skipped 'CAN ISOTP required for this test.' testTooLongInterfaceName (test.test_socket.ISOTPTest.testTooLongInterfaceName) ... skipped 'CAN ISOTP required for this test.' test_SOCK_CLOEXEC (test.test_socket.InheritanceTest.test_SOCK_CLOEXEC) ... ok test_default_inheritable (test.test_socket.InheritanceTest.test_default_inheritable) ... ok test_dup (test.test_socket.InheritanceTest.test_dup) ... ok test_get_inheritable_cloexec (test.test_socket.InheritanceTest.test_get_inheritable_cloexec) ... ok test_set_inheritable (test.test_socket.InheritanceTest.test_set_inheritable) ... ok test_set_inheritable_cloexec (test.test_socket.InheritanceTest.test_set_inheritable_cloexec) ... ok test_socketpair (test.test_socket.InheritanceTest.test_socketpair) ... ok testInterruptedRecvIntoTimeout (test.test_socket.InterruptedRecvTimeoutTest.testInterruptedRecvIntoTimeout) ... ok testInterruptedRecvTimeout (test.test_socket.InterruptedRecvTimeoutTest.testInterruptedRecvTimeout) ... ok testInterruptedRecvfromIntoTimeout (test.test_socket.InterruptedRecvTimeoutTest.testInterruptedRecvfromIntoTimeout) ... ok testInterruptedRecvfromTimeout (test.test_socket.InterruptedRecvTimeoutTest.testInterruptedRecvfromTimeout) ... ok testInterruptedRecvmsgIntoTimeout (test.test_socket.InterruptedRecvTimeoutTest.testInterruptedRecvmsgIntoTimeout) ... ok testInterruptedRecvmsgTimeout (test.test_socket.InterruptedRecvTimeoutTest.testInterruptedRecvmsgTimeout) ... ok testInterruptedSendTimeout (test.test_socket.InterruptedSendTimeoutTest.testInterruptedSendTimeout) ... ok testInterruptedSendmsgTimeout (test.test_socket.InterruptedSendTimeoutTest.testInterruptedSendmsgTimeout) ... ok testInterruptedSendtoTimeout (test.test_socket.InterruptedSendTimeoutTest.testInterruptedSendtoTimeout) ... ok testBind (test.test_socket.J1939Test.testBind) ... skipped 'CAN J1939 required for this test.' testCreateJ1939Socket (test.test_socket.J1939Test.testCreateJ1939Socket) ... skipped 'CAN J1939 required for this test.' testJ1939Constants (test.test_socket.J1939Test.testJ1939Constants) ... skipped 'CAN J1939 required for this test.' testAttributes (test.test_socket.LineBufferedFileObjectClassTestCase.testAttributes) ... ok testCloseAfterMakefile (test.test_socket.LineBufferedFileObjectClassTestCase.testCloseAfterMakefile) ... ok testClosedAttr (test.test_socket.LineBufferedFileObjectClassTestCase.testClosedAttr) ... ok testFullRead (test.test_socket.LineBufferedFileObjectClassTestCase.testFullRead) ... ok testMakefileAfterMakefileClose (test.test_socket.LineBufferedFileObjectClassTestCase.testMakefileAfterMakefileClose) ... ok testReadAfterTimeout (test.test_socket.LineBufferedFileObjectClassTestCase.testReadAfterTimeout) ... ok testReadline (test.test_socket.LineBufferedFileObjectClassTestCase.testReadline) ... ok testRealClose (test.test_socket.LineBufferedFileObjectClassTestCase.testRealClose) ... ok testSmallRead (test.test_socket.LineBufferedFileObjectClassTestCase.testSmallRead) ... ok testUnbufferedRead (test.test_socket.LineBufferedFileObjectClassTestCase.testUnbufferedRead) ... ok test_aead_aes_gcm (test.test_socket.LinuxKernelCryptoAPI.test_aead_aes_gcm) ... ok test_aes_cbc (test.test_socket.LinuxKernelCryptoAPI.test_aes_cbc) ... ok test_drbg_pr_sha256 (test.test_socket.LinuxKernelCryptoAPI.test_drbg_pr_sha256) ... ok test_hmac_sha1 (test.test_socket.LinuxKernelCryptoAPI.test_hmac_sha1) ... ok test_length_restriction (test.test_socket.LinuxKernelCryptoAPI.test_length_restriction) ... ok test_sendmsg_afalg_args (test.test_socket.LinuxKernelCryptoAPI.test_sendmsg_afalg_args) ... ok test_sha256 (test.test_socket.LinuxKernelCryptoAPI.test_sha256) ... ok testFamily (test.test_socket.NetworkConnectionAttributesTest.testFamily) ... ok testSourceAddress (test.test_socket.NetworkConnectionAttributesTest.testSourceAddress) ... ok testTimeoutDefault (test.test_socket.NetworkConnectionAttributesTest.testTimeoutDefault) ... ok testTimeoutNone (test.test_socket.NetworkConnectionAttributesTest.testTimeoutNone) ... ok testTimeoutValueNamed (test.test_socket.NetworkConnectionAttributesTest.testTimeoutValueNamed) ... ok testTimeoutValueNonamed (test.test_socket.NetworkConnectionAttributesTest.testTimeoutValueNonamed) ... ok testInsideTimeout (test.test_socket.NetworkConnectionBehaviourTest.testInsideTimeout) ... ok testOutsideTimeout (test.test_socket.NetworkConnectionBehaviourTest.testOutsideTimeout) ... ok test_connect (test.test_socket.NetworkConnectionNoServer.test_connect) ... ok test_create_connection (test.test_socket.NetworkConnectionNoServer.test_create_connection) ... ok test_create_connection_all_errors (test.test_socket.NetworkConnectionNoServer.test_create_connection_all_errors) ... ok test_create_connection_timeout (test.test_socket.NetworkConnectionNoServer.test_create_connection_timeout) ... ok testAccept (test.test_socket.NonBlockingTCPTests.testAccept) ... ok testInheritFlagsBlocking (test.test_socket.NonBlockingTCPTests.testInheritFlagsBlocking) ... ok testInheritFlagsTimeout (test.test_socket.NonBlockingTCPTests.testInheritFlagsTimeout) ... ok testInitNonBlocking (test.test_socket.NonBlockingTCPTests.testInitNonBlocking) ... ok testLargeTimeout (test.test_socket.NonBlockingTCPTests.testLargeTimeout) ... skipped 'implementation detail specific to cpython' testRecv (test.test_socket.NonBlockingTCPTests.testRecv) ... ok testSetBlocking (test.test_socket.NonBlockingTCPTests.testSetBlocking) ... ok testSetBlocking_overflow (test.test_socket.NonBlockingTCPTests.testSetBlocking_overflow) ... skipped 'implementation detail specific to cpython' test_SOCK_NONBLOCK (test.test_socket.NonblockConstantTest.test_SOCK_NONBLOCK) ... ok test_injected_authentication_failure (test.test_socket.PurePythonSocketPairTest.test_injected_authentication_failure) ... ok test_ipv4 (test.test_socket.PurePythonSocketPairTest.test_ipv4) ... ok test_ipv6 (test.test_socket.PurePythonSocketPairTest.test_ipv6) ... ok test_recv (test.test_socket.PurePythonSocketPairTest.test_recv) ... ok test_send (test.test_socket.PurePythonSocketPairTest.test_send) ... ok testPeek (test.test_socket.RDSTest.testPeek) ... skipped 'RDS sockets required for this test.' testSelect (test.test_socket.RDSTest.testSelect) ... skipped 'RDS sockets required for this test.' testSendAndRecv (test.test_socket.RDSTest.testSendAndRecv) ... skipped 'RDS sockets required for this test.' testSendAndRecvMsg (test.test_socket.RDSTest.testSendAndRecvMsg) ... skipped 'RDS sockets required for this test.' testSendAndRecvMulti (test.test_socket.RDSTest.testSendAndRecvMulti) ... skipped 'RDS sockets required for this test.' testCmsgTruncNoBufSize (test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testCmsgTruncNoBufSize) ... ok testOddCmsgSize (test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testOddCmsgSize) ... ok testRecvHopLimit (test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testRecvHopLimit) ... ok testRecvHopLimitCMSG_SPACE (test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testRecvHopLimitCMSG_SPACE) ... ok testRecvTrafficClassAndHopLimit (test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testRecvTrafficClassAndHopLimit) ... ok testRecvTrafficClassAndHopLimitCMSG_SPACE (test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testRecvTrafficClassAndHopLimitCMSG_SPACE) ... ok testSecondCmsgTrunc0 (test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testSecondCmsgTrunc0) ... ok testSecondCmsgTrunc1 (test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testSecondCmsgTrunc1) ... ok testSecondCmsgTrunc2Int (test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testSecondCmsgTrunc2Int) ... ok testSecondCmsgTruncInData (test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testSecondCmsgTruncInData) ... ok testSecondCmsgTruncLen0Minus1 (test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testSecondCmsgTruncLen0Minus1) ... ok testSetHopLimit (test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testSetHopLimit) ... ok testSetTrafficClassAndHopLimit (test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testSetTrafficClassAndHopLimit) ... ok testSingleCmsgTrunc0 (test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testSingleCmsgTrunc0) ... ok testSingleCmsgTrunc1 (test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testSingleCmsgTrunc1) ... ok testSingleCmsgTrunc2Int (test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testSingleCmsgTrunc2Int) ... ok testSingleCmsgTruncInData (test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testSingleCmsgTruncInData) ... ok testSingleCmsgTruncLen0Minus1 (test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testSingleCmsgTruncLen0Minus1) ... ok testCmsgTruncNoBufSize (test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testCmsgTruncNoBufSize) ... ok testOddCmsgSize (test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testOddCmsgSize) ... ok testRecvHopLimit (test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testRecvHopLimit) ... ok testRecvHopLimitCMSG_SPACE (test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testRecvHopLimitCMSG_SPACE) ... ok testRecvTrafficClassAndHopLimit (test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testRecvTrafficClassAndHopLimit) ... ok testRecvTrafficClassAndHopLimitCMSG_SPACE (test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testRecvTrafficClassAndHopLimitCMSG_SPACE) ... ok testSecondCmsgTrunc0 (test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testSecondCmsgTrunc0) ... ok testSecondCmsgTrunc1 (test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testSecondCmsgTrunc1) ... ok testSecondCmsgTrunc2Int (test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testSecondCmsgTrunc2Int) ... ok testSecondCmsgTruncInData (test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testSecondCmsgTruncInData) ... ok testSecondCmsgTruncLen0Minus1 (test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testSecondCmsgTruncLen0Minus1) ... ok testSetHopLimit (test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testSetHopLimit) ... ok testSetTrafficClassAndHopLimit (test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testSetTrafficClassAndHopLimit) ... ok testSingleCmsgTrunc0 (test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testSingleCmsgTrunc0) ... ok testSingleCmsgTrunc1 (test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testSingleCmsgTrunc1) ... ok testSingleCmsgTrunc2Int (test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testSingleCmsgTrunc2Int) ... ok testSingleCmsgTruncInData (test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testSingleCmsgTruncInData) ... ok testSingleCmsgTruncLen0Minus1 (test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testSingleCmsgTruncLen0Minus1) ... ok testCmsgTrunc0 (test.test_socket.RecvmsgIntoSCMRightsStreamTest.testCmsgTrunc0) ... ok testCmsgTrunc1 (test.test_socket.RecvmsgIntoSCMRightsStreamTest.testCmsgTrunc1) ... ok testCmsgTrunc2Int (test.test_socket.RecvmsgIntoSCMRightsStreamTest.testCmsgTrunc2Int) ... ok testCmsgTruncLen0 (test.test_socket.RecvmsgIntoSCMRightsStreamTest.testCmsgTruncLen0) ... ok testCmsgTruncLen0Minus1 (test.test_socket.RecvmsgIntoSCMRightsStreamTest.testCmsgTruncLen0Minus1) ... ok testCmsgTruncLen0Plus1 (test.test_socket.RecvmsgIntoSCMRightsStreamTest.testCmsgTruncLen0Plus1) ... ok testCmsgTruncLen1 (test.test_socket.RecvmsgIntoSCMRightsStreamTest.testCmsgTruncLen1) ... ok testCmsgTruncLen2Minus1 (test.test_socket.RecvmsgIntoSCMRightsStreamTest.testCmsgTruncLen2Minus1) ... ok testCmsgTruncNoBufSize (test.test_socket.RecvmsgIntoSCMRightsStreamTest.testCmsgTruncNoBufSize) ... ok testFDPassCMSG_LEN (test.test_socket.RecvmsgIntoSCMRightsStreamTest.testFDPassCMSG_LEN) ... ok testFDPassCMSG_SPACE (test.test_socket.RecvmsgIntoSCMRightsStreamTest.testFDPassCMSG_SPACE) ... ok testFDPassEmpty (test.test_socket.RecvmsgIntoSCMRightsStreamTest.testFDPassEmpty) ... ok testFDPassPartialInt (test.test_socket.RecvmsgIntoSCMRightsStreamTest.testFDPassPartialInt) ... ok testFDPassPartialIntInMiddle (test.test_socket.RecvmsgIntoSCMRightsStreamTest.testFDPassPartialIntInMiddle) ... ok testFDPassSeparate (test.test_socket.RecvmsgIntoSCMRightsStreamTest.testFDPassSeparate) ... ok testFDPassSeparateMinSpace (test.test_socket.RecvmsgIntoSCMRightsStreamTest.testFDPassSeparateMinSpace) ... ok testFDPassSimple (test.test_socket.RecvmsgIntoSCMRightsStreamTest.testFDPassSimple) ... ok testMultipleFDPass (test.test_socket.RecvmsgIntoSCMRightsStreamTest.testMultipleFDPass) ... ok testRecvmsg (test.test_socket.RecvmsgIntoSCTPStreamTest.testRecvmsg) ... ok testRecvmsgAfterClose (test.test_socket.RecvmsgIntoSCTPStreamTest.testRecvmsgAfterClose) ... ok testRecvmsgEOF (test.test_socket.RecvmsgIntoSCTPStreamTest.testRecvmsgEOF) ... ok testRecvmsgExplicitDefaults (test.test_socket.RecvmsgIntoSCTPStreamTest.testRecvmsgExplicitDefaults) ... ok testRecvmsgFromSendmsg (test.test_socket.RecvmsgIntoSCTPStreamTest.testRecvmsgFromSendmsg) ... ok testRecvmsgIntoArray (test.test_socket.RecvmsgIntoSCTPStreamTest.testRecvmsgIntoArray) ... ok testRecvmsgIntoBadArgs (test.test_socket.RecvmsgIntoSCTPStreamTest.testRecvmsgIntoBadArgs) ... ok testRecvmsgIntoGenerator (test.test_socket.RecvmsgIntoSCTPStreamTest.testRecvmsgIntoGenerator) ... ok testRecvmsgIntoScatter (test.test_socket.RecvmsgIntoSCTPStreamTest.testRecvmsgIntoScatter) ... ok testRecvmsgLongAncillaryBuf (test.test_socket.RecvmsgIntoSCTPStreamTest.testRecvmsgLongAncillaryBuf) ... ok testRecvmsgOverflow (test.test_socket.RecvmsgIntoSCTPStreamTest.testRecvmsgOverflow) ... ok testRecvmsgPeek (test.test_socket.RecvmsgIntoSCTPStreamTest.testRecvmsgPeek) ... ok testRecvmsgShortAncillaryBuf (test.test_socket.RecvmsgIntoSCTPStreamTest.testRecvmsgShortAncillaryBuf) ... ok testRecvmsgShorter (test.test_socket.RecvmsgIntoSCTPStreamTest.testRecvmsgShorter) ... ok testRecvmsgTimeout (test.test_socket.RecvmsgIntoSCTPStreamTest.testRecvmsgTimeout) ... ok testRecvmsgTrunc (test.test_socket.RecvmsgIntoSCTPStreamTest.testRecvmsgTrunc) ... ok testRecvmsg (test.test_socket.RecvmsgIntoTCPTest.testRecvmsg) ... ok testRecvmsgAfterClose (test.test_socket.RecvmsgIntoTCPTest.testRecvmsgAfterClose) ... ok testRecvmsgEOF (test.test_socket.RecvmsgIntoTCPTest.testRecvmsgEOF) ... ok testRecvmsgExplicitDefaults (test.test_socket.RecvmsgIntoTCPTest.testRecvmsgExplicitDefaults) ... ok testRecvmsgFromSendmsg (test.test_socket.RecvmsgIntoTCPTest.testRecvmsgFromSendmsg) ... ok testRecvmsgIntoArray (test.test_socket.RecvmsgIntoTCPTest.testRecvmsgIntoArray) ... ok testRecvmsgIntoBadArgs (test.test_socket.RecvmsgIntoTCPTest.testRecvmsgIntoBadArgs) ... ok testRecvmsgIntoGenerator (test.test_socket.RecvmsgIntoTCPTest.testRecvmsgIntoGenerator) ... ok testRecvmsgIntoScatter (test.test_socket.RecvmsgIntoTCPTest.testRecvmsgIntoScatter) ... ok testRecvmsgLongAncillaryBuf (test.test_socket.RecvmsgIntoTCPTest.testRecvmsgLongAncillaryBuf) ... ok testRecvmsgOverflow (test.test_socket.RecvmsgIntoTCPTest.testRecvmsgOverflow) ... ok testRecvmsgPeek (test.test_socket.RecvmsgIntoTCPTest.testRecvmsgPeek) ... ok testRecvmsgShortAncillaryBuf (test.test_socket.RecvmsgIntoTCPTest.testRecvmsgShortAncillaryBuf) ... ok testRecvmsgShorter (test.test_socket.RecvmsgIntoTCPTest.testRecvmsgShorter) ... ok testRecvmsgTimeout (test.test_socket.RecvmsgIntoTCPTest.testRecvmsgTimeout) ... ok testRecvmsgTrunc (test.test_socket.RecvmsgIntoTCPTest.testRecvmsgTrunc) ... ok testRecvmsg (test.test_socket.RecvmsgIntoUDP6Test.testRecvmsg) ... ok testRecvmsgAfterClose (test.test_socket.RecvmsgIntoUDP6Test.testRecvmsgAfterClose) ... ok testRecvmsgExplicitDefaults (test.test_socket.RecvmsgIntoUDP6Test.testRecvmsgExplicitDefaults) ... ok testRecvmsgFromSendmsg (test.test_socket.RecvmsgIntoUDP6Test.testRecvmsgFromSendmsg) ... ok testRecvmsgIntoArray (test.test_socket.RecvmsgIntoUDP6Test.testRecvmsgIntoArray) ... ok testRecvmsgIntoBadArgs (test.test_socket.RecvmsgIntoUDP6Test.testRecvmsgIntoBadArgs) ... ok testRecvmsgIntoGenerator (test.test_socket.RecvmsgIntoUDP6Test.testRecvmsgIntoGenerator) ... ok testRecvmsgIntoScatter (test.test_socket.RecvmsgIntoUDP6Test.testRecvmsgIntoScatter) ... ok testRecvmsgLongAncillaryBuf (test.test_socket.RecvmsgIntoUDP6Test.testRecvmsgLongAncillaryBuf) ... ok testRecvmsgPeek (test.test_socket.RecvmsgIntoUDP6Test.testRecvmsgPeek) ... ok testRecvmsgShortAncillaryBuf (test.test_socket.RecvmsgIntoUDP6Test.testRecvmsgShortAncillaryBuf) ... ok testRecvmsgShorter (test.test_socket.RecvmsgIntoUDP6Test.testRecvmsgShorter) ... ok testRecvmsgTimeout (test.test_socket.RecvmsgIntoUDP6Test.testRecvmsgTimeout) ... ok testRecvmsgTrunc (test.test_socket.RecvmsgIntoUDP6Test.testRecvmsgTrunc) ... ok testRecvmsg (test.test_socket.RecvmsgIntoUDPLITE6Test.testRecvmsg) ... ok testRecvmsgAfterClose (test.test_socket.RecvmsgIntoUDPLITE6Test.testRecvmsgAfterClose) ... ok testRecvmsgExplicitDefaults (test.test_socket.RecvmsgIntoUDPLITE6Test.testRecvmsgExplicitDefaults) ... ok testRecvmsgFromSendmsg (test.test_socket.RecvmsgIntoUDPLITE6Test.testRecvmsgFromSendmsg) ... ok testRecvmsgIntoArray (test.test_socket.RecvmsgIntoUDPLITE6Test.testRecvmsgIntoArray) ... ok testRecvmsgIntoBadArgs (test.test_socket.RecvmsgIntoUDPLITE6Test.testRecvmsgIntoBadArgs) ... ok testRecvmsgIntoGenerator (test.test_socket.RecvmsgIntoUDPLITE6Test.testRecvmsgIntoGenerator) ... ok testRecvmsgIntoScatter (test.test_socket.RecvmsgIntoUDPLITE6Test.testRecvmsgIntoScatter) ... ok testRecvmsgLongAncillaryBuf (test.test_socket.RecvmsgIntoUDPLITE6Test.testRecvmsgLongAncillaryBuf) ... ok testRecvmsgPeek (test.test_socket.RecvmsgIntoUDPLITE6Test.testRecvmsgPeek) ... ok testRecvmsgShortAncillaryBuf (test.test_socket.RecvmsgIntoUDPLITE6Test.testRecvmsgShortAncillaryBuf) ... ok testRecvmsgShorter (test.test_socket.RecvmsgIntoUDPLITE6Test.testRecvmsgShorter) ... ok testRecvmsgTimeout (test.test_socket.RecvmsgIntoUDPLITE6Test.testRecvmsgTimeout) ... ok testRecvmsgTrunc (test.test_socket.RecvmsgIntoUDPLITE6Test.testRecvmsgTrunc) ... ok testRecvmsg (test.test_socket.RecvmsgIntoUDPLITETest.testRecvmsg) ... ok testRecvmsgAfterClose (test.test_socket.RecvmsgIntoUDPLITETest.testRecvmsgAfterClose) ... ok testRecvmsgExplicitDefaults (test.test_socket.RecvmsgIntoUDPLITETest.testRecvmsgExplicitDefaults) ... ok testRecvmsgFromSendmsg (test.test_socket.RecvmsgIntoUDPLITETest.testRecvmsgFromSendmsg) ... ok testRecvmsgIntoArray (test.test_socket.RecvmsgIntoUDPLITETest.testRecvmsgIntoArray) ... ok testRecvmsgIntoBadArgs (test.test_socket.RecvmsgIntoUDPLITETest.testRecvmsgIntoBadArgs) ... ok testRecvmsgIntoGenerator (test.test_socket.RecvmsgIntoUDPLITETest.testRecvmsgIntoGenerator) ... ok testRecvmsgIntoScatter (test.test_socket.RecvmsgIntoUDPLITETest.testRecvmsgIntoScatter) ... ok testRecvmsgLongAncillaryBuf (test.test_socket.RecvmsgIntoUDPLITETest.testRecvmsgLongAncillaryBuf) ... ok testRecvmsgPeek (test.test_socket.RecvmsgIntoUDPLITETest.testRecvmsgPeek) ... ok testRecvmsgShortAncillaryBuf (test.test_socket.RecvmsgIntoUDPLITETest.testRecvmsgShortAncillaryBuf) ... ok testRecvmsgShorter (test.test_socket.RecvmsgIntoUDPLITETest.testRecvmsgShorter) ... ok testRecvmsgTimeout (test.test_socket.RecvmsgIntoUDPLITETest.testRecvmsgTimeout) ... ok testRecvmsgTrunc (test.test_socket.RecvmsgIntoUDPLITETest.testRecvmsgTrunc) ... ok testRecvmsg (test.test_socket.RecvmsgIntoUDPTest.testRecvmsg) ... ok testRecvmsgAfterClose (test.test_socket.RecvmsgIntoUDPTest.testRecvmsgAfterClose) ... ok testRecvmsgExplicitDefaults (test.test_socket.RecvmsgIntoUDPTest.testRecvmsgExplicitDefaults) ... ok testRecvmsgFromSendmsg (test.test_socket.RecvmsgIntoUDPTest.testRecvmsgFromSendmsg) ... ok testRecvmsgIntoArray (test.test_socket.RecvmsgIntoUDPTest.testRecvmsgIntoArray) ... ok testRecvmsgIntoBadArgs (test.test_socket.RecvmsgIntoUDPTest.testRecvmsgIntoBadArgs) ... ok testRecvmsgIntoGenerator (test.test_socket.RecvmsgIntoUDPTest.testRecvmsgIntoGenerator) ... ok testRecvmsgIntoScatter (test.test_socket.RecvmsgIntoUDPTest.testRecvmsgIntoScatter) ... ok testRecvmsgLongAncillaryBuf (test.test_socket.RecvmsgIntoUDPTest.testRecvmsgLongAncillaryBuf) ... ok testRecvmsgPeek (test.test_socket.RecvmsgIntoUDPTest.testRecvmsgPeek) ... ok testRecvmsgShortAncillaryBuf (test.test_socket.RecvmsgIntoUDPTest.testRecvmsgShortAncillaryBuf) ... ok testRecvmsgShorter (test.test_socket.RecvmsgIntoUDPTest.testRecvmsgShorter) ... ok testRecvmsgTimeout (test.test_socket.RecvmsgIntoUDPTest.testRecvmsgTimeout) ... ok testRecvmsgTrunc (test.test_socket.RecvmsgIntoUDPTest.testRecvmsgTrunc) ... ok testRecvmsg (test.test_socket.RecvmsgIntoUnixStreamTest.testRecvmsg) ... ok testRecvmsgAfterClose (test.test_socket.RecvmsgIntoUnixStreamTest.testRecvmsgAfterClose) ... ok testRecvmsgEOF (test.test_socket.RecvmsgIntoUnixStreamTest.testRecvmsgEOF) ... ok testRecvmsgExplicitDefaults (test.test_socket.RecvmsgIntoUnixStreamTest.testRecvmsgExplicitDefaults) ... ok testRecvmsgFromSendmsg (test.test_socket.RecvmsgIntoUnixStreamTest.testRecvmsgFromSendmsg) ... ok testRecvmsgIntoArray (test.test_socket.RecvmsgIntoUnixStreamTest.testRecvmsgIntoArray) ... ok testRecvmsgIntoBadArgs (test.test_socket.RecvmsgIntoUnixStreamTest.testRecvmsgIntoBadArgs) ... ok testRecvmsgIntoGenerator (test.test_socket.RecvmsgIntoUnixStreamTest.testRecvmsgIntoGenerator) ... ok testRecvmsgIntoScatter (test.test_socket.RecvmsgIntoUnixStreamTest.testRecvmsgIntoScatter) ... ok testRecvmsgLongAncillaryBuf (test.test_socket.RecvmsgIntoUnixStreamTest.testRecvmsgLongAncillaryBuf) ... ok testRecvmsgOverflow (test.test_socket.RecvmsgIntoUnixStreamTest.testRecvmsgOverflow) ... ok testRecvmsgPeek (test.test_socket.RecvmsgIntoUnixStreamTest.testRecvmsgPeek) ... ok testRecvmsgShortAncillaryBuf (test.test_socket.RecvmsgIntoUnixStreamTest.testRecvmsgShortAncillaryBuf) ... ok testRecvmsgShorter (test.test_socket.RecvmsgIntoUnixStreamTest.testRecvmsgShorter) ... ok testRecvmsgTimeout (test.test_socket.RecvmsgIntoUnixStreamTest.testRecvmsgTimeout) ... ok testRecvmsgTrunc (test.test_socket.RecvmsgIntoUnixStreamTest.testRecvmsgTrunc) ... ok testCmsgTruncNoBufSize (test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testCmsgTruncNoBufSize) ... ok testOddCmsgSize (test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testOddCmsgSize) ... ok testRecvHopLimit (test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testRecvHopLimit) ... ok testRecvHopLimitCMSG_SPACE (test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testRecvHopLimitCMSG_SPACE) ... ok testRecvTrafficClassAndHopLimit (test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testRecvTrafficClassAndHopLimit) ... ok testRecvTrafficClassAndHopLimitCMSG_SPACE (test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testRecvTrafficClassAndHopLimitCMSG_SPACE) ... ok testSecondCmsgTrunc0 (test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testSecondCmsgTrunc0) ... ok testSecondCmsgTrunc1 (test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testSecondCmsgTrunc1) ... ok testSecondCmsgTrunc2Int (test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testSecondCmsgTrunc2Int) ... ok testSecondCmsgTruncInData (test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testSecondCmsgTruncInData) ... ok testSecondCmsgTruncLen0Minus1 (test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testSecondCmsgTruncLen0Minus1) ... ok testSetHopLimit (test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testSetHopLimit) ... ok testSetTrafficClassAndHopLimit (test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testSetTrafficClassAndHopLimit) ... ok testSingleCmsgTrunc0 (test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testSingleCmsgTrunc0) ... ok testSingleCmsgTrunc1 (test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testSingleCmsgTrunc1) ... ok testSingleCmsgTrunc2Int (test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testSingleCmsgTrunc2Int) ... ok testSingleCmsgTruncInData (test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testSingleCmsgTruncInData) ... ok testSingleCmsgTruncLen0Minus1 (test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testSingleCmsgTruncLen0Minus1) ... ok testCmsgTruncNoBufSize (test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testCmsgTruncNoBufSize) ... ok testOddCmsgSize (test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testOddCmsgSize) ... ok testRecvHopLimit (test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testRecvHopLimit) ... ok testRecvHopLimitCMSG_SPACE (test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testRecvHopLimitCMSG_SPACE) ... ok testRecvTrafficClassAndHopLimit (test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testRecvTrafficClassAndHopLimit) ... ok testRecvTrafficClassAndHopLimitCMSG_SPACE (test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testRecvTrafficClassAndHopLimitCMSG_SPACE) ... ok testSecondCmsgTrunc0 (test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testSecondCmsgTrunc0) ... ok testSecondCmsgTrunc1 (test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testSecondCmsgTrunc1) ... ok testSecondCmsgTrunc2Int (test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testSecondCmsgTrunc2Int) ... ok testSecondCmsgTruncInData (test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testSecondCmsgTruncInData) ... ok testSecondCmsgTruncLen0Minus1 (test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testSecondCmsgTruncLen0Minus1) ... ok testSetHopLimit (test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testSetHopLimit) ... ok testSetTrafficClassAndHopLimit (test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testSetTrafficClassAndHopLimit) ... ok testSingleCmsgTrunc0 (test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testSingleCmsgTrunc0) ... ok testSingleCmsgTrunc1 (test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testSingleCmsgTrunc1) ... ok testSingleCmsgTrunc2Int (test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testSingleCmsgTrunc2Int) ... ok testSingleCmsgTruncInData (test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testSingleCmsgTruncInData) ... ok testSingleCmsgTruncLen0Minus1 (test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testSingleCmsgTruncLen0Minus1) ... ok testCmsgTrunc0 (test.test_socket.RecvmsgSCMRightsStreamTest.testCmsgTrunc0) ... ok testCmsgTrunc1 (test.test_socket.RecvmsgSCMRightsStreamTest.testCmsgTrunc1) ... ok testCmsgTrunc2Int (test.test_socket.RecvmsgSCMRightsStreamTest.testCmsgTrunc2Int) ... ok testCmsgTruncLen0 (test.test_socket.RecvmsgSCMRightsStreamTest.testCmsgTruncLen0) ... ok testCmsgTruncLen0Minus1 (test.test_socket.RecvmsgSCMRightsStreamTest.testCmsgTruncLen0Minus1) ... ok testCmsgTruncLen0Plus1 (test.test_socket.RecvmsgSCMRightsStreamTest.testCmsgTruncLen0Plus1) ... ok testCmsgTruncLen1 (test.test_socket.RecvmsgSCMRightsStreamTest.testCmsgTruncLen1) ... ok testCmsgTruncLen2Minus1 (test.test_socket.RecvmsgSCMRightsStreamTest.testCmsgTruncLen2Minus1) ... ok testCmsgTruncNoBufSize (test.test_socket.RecvmsgSCMRightsStreamTest.testCmsgTruncNoBufSize) ... ok testFDPassCMSG_LEN (test.test_socket.RecvmsgSCMRightsStreamTest.testFDPassCMSG_LEN) ... ok testFDPassCMSG_SPACE (test.test_socket.RecvmsgSCMRightsStreamTest.testFDPassCMSG_SPACE) ... ok testFDPassEmpty (test.test_socket.RecvmsgSCMRightsStreamTest.testFDPassEmpty) ... ok testFDPassPartialInt (test.test_socket.RecvmsgSCMRightsStreamTest.testFDPassPartialInt) ... ok testFDPassPartialIntInMiddle (test.test_socket.RecvmsgSCMRightsStreamTest.testFDPassPartialIntInMiddle) ... ok testFDPassSeparate (test.test_socket.RecvmsgSCMRightsStreamTest.testFDPassSeparate) ... ok testFDPassSeparateMinSpace (test.test_socket.RecvmsgSCMRightsStreamTest.testFDPassSeparateMinSpace) ... ok testFDPassSimple (test.test_socket.RecvmsgSCMRightsStreamTest.testFDPassSimple) ... ok testMultipleFDPass (test.test_socket.RecvmsgSCMRightsStreamTest.testMultipleFDPass) ... ok testRecvmsg (test.test_socket.RecvmsgSCTPStreamTest.testRecvmsg) ... ok testRecvmsgAfterClose (test.test_socket.RecvmsgSCTPStreamTest.testRecvmsgAfterClose) ... ok testRecvmsgBadArgs (test.test_socket.RecvmsgSCTPStreamTest.testRecvmsgBadArgs) ... ok testRecvmsgEOF (test.test_socket.RecvmsgSCTPStreamTest.testRecvmsgEOF) ... ok testRecvmsgExplicitDefaults (test.test_socket.RecvmsgSCTPStreamTest.testRecvmsgExplicitDefaults) ... ok testRecvmsgFromSendmsg (test.test_socket.RecvmsgSCTPStreamTest.testRecvmsgFromSendmsg) ... ok testRecvmsgLongAncillaryBuf (test.test_socket.RecvmsgSCTPStreamTest.testRecvmsgLongAncillaryBuf) ... ok testRecvmsgOverflow (test.test_socket.RecvmsgSCTPStreamTest.testRecvmsgOverflow) ... ok testRecvmsgPeek (test.test_socket.RecvmsgSCTPStreamTest.testRecvmsgPeek) ... ok testRecvmsgShortAncillaryBuf (test.test_socket.RecvmsgSCTPStreamTest.testRecvmsgShortAncillaryBuf) ... ok testRecvmsgShorter (test.test_socket.RecvmsgSCTPStreamTest.testRecvmsgShorter) ... ok testRecvmsgTimeout (test.test_socket.RecvmsgSCTPStreamTest.testRecvmsgTimeout) ... ok testRecvmsgTrunc (test.test_socket.RecvmsgSCTPStreamTest.testRecvmsgTrunc) ... ok testRecvmsg (test.test_socket.RecvmsgTCPTest.testRecvmsg) ... ok testRecvmsgAfterClose (test.test_socket.RecvmsgTCPTest.testRecvmsgAfterClose) ... ok testRecvmsgBadArgs (test.test_socket.RecvmsgTCPTest.testRecvmsgBadArgs) ... ok testRecvmsgEOF (test.test_socket.RecvmsgTCPTest.testRecvmsgEOF) ... ok testRecvmsgExplicitDefaults (test.test_socket.RecvmsgTCPTest.testRecvmsgExplicitDefaults) ... ok testRecvmsgFromSendmsg (test.test_socket.RecvmsgTCPTest.testRecvmsgFromSendmsg) ... ok testRecvmsgLongAncillaryBuf (test.test_socket.RecvmsgTCPTest.testRecvmsgLongAncillaryBuf) ... ok testRecvmsgOverflow (test.test_socket.RecvmsgTCPTest.testRecvmsgOverflow) ... ok testRecvmsgPeek (test.test_socket.RecvmsgTCPTest.testRecvmsgPeek) ... ok testRecvmsgShortAncillaryBuf (test.test_socket.RecvmsgTCPTest.testRecvmsgShortAncillaryBuf) ... ok testRecvmsgShorter (test.test_socket.RecvmsgTCPTest.testRecvmsgShorter) ... ok testRecvmsgTimeout (test.test_socket.RecvmsgTCPTest.testRecvmsgTimeout) ... ok testRecvmsgTrunc (test.test_socket.RecvmsgTCPTest.testRecvmsgTrunc) ... ok testRecvmsg (test.test_socket.RecvmsgUDP6Test.testRecvmsg) ... ok testRecvmsgAfterClose (test.test_socket.RecvmsgUDP6Test.testRecvmsgAfterClose) ... ok testRecvmsgBadArgs (test.test_socket.RecvmsgUDP6Test.testRecvmsgBadArgs) ... ok testRecvmsgExplicitDefaults (test.test_socket.RecvmsgUDP6Test.testRecvmsgExplicitDefaults) ... ok testRecvmsgFromSendmsg (test.test_socket.RecvmsgUDP6Test.testRecvmsgFromSendmsg) ... ok testRecvmsgLongAncillaryBuf (test.test_socket.RecvmsgUDP6Test.testRecvmsgLongAncillaryBuf) ... ok testRecvmsgPeek (test.test_socket.RecvmsgUDP6Test.testRecvmsgPeek) ... ok testRecvmsgShortAncillaryBuf (test.test_socket.RecvmsgUDP6Test.testRecvmsgShortAncillaryBuf) ... ok testRecvmsgShorter (test.test_socket.RecvmsgUDP6Test.testRecvmsgShorter) ... ok testRecvmsgTimeout (test.test_socket.RecvmsgUDP6Test.testRecvmsgTimeout) ... ok testRecvmsgTrunc (test.test_socket.RecvmsgUDP6Test.testRecvmsgTrunc) ... ok testRecvmsg (test.test_socket.RecvmsgUDPLITE6Test.testRecvmsg) ... ok testRecvmsgAfterClose (test.test_socket.RecvmsgUDPLITE6Test.testRecvmsgAfterClose) ... ok testRecvmsgBadArgs (test.test_socket.RecvmsgUDPLITE6Test.testRecvmsgBadArgs) ... ok testRecvmsgExplicitDefaults (test.test_socket.RecvmsgUDPLITE6Test.testRecvmsgExplicitDefaults) ... ok testRecvmsgFromSendmsg (test.test_socket.RecvmsgUDPLITE6Test.testRecvmsgFromSendmsg) ... ok testRecvmsgLongAncillaryBuf (test.test_socket.RecvmsgUDPLITE6Test.testRecvmsgLongAncillaryBuf) ... ok testRecvmsgPeek (test.test_socket.RecvmsgUDPLITE6Test.testRecvmsgPeek) ... ok testRecvmsgShortAncillaryBuf (test.test_socket.RecvmsgUDPLITE6Test.testRecvmsgShortAncillaryBuf) ... ok testRecvmsgShorter (test.test_socket.RecvmsgUDPLITE6Test.testRecvmsgShorter) ... ok testRecvmsgTimeout (test.test_socket.RecvmsgUDPLITE6Test.testRecvmsgTimeout) ... ok testRecvmsgTrunc (test.test_socket.RecvmsgUDPLITE6Test.testRecvmsgTrunc) ... ok testRecvmsg (test.test_socket.RecvmsgUDPLITETest.testRecvmsg) ... ok testRecvmsgAfterClose (test.test_socket.RecvmsgUDPLITETest.testRecvmsgAfterClose) ... ok testRecvmsgBadArgs (test.test_socket.RecvmsgUDPLITETest.testRecvmsgBadArgs) ... ok testRecvmsgExplicitDefaults (test.test_socket.RecvmsgUDPLITETest.testRecvmsgExplicitDefaults) ... ok testRecvmsgFromSendmsg (test.test_socket.RecvmsgUDPLITETest.testRecvmsgFromSendmsg) ... ok testRecvmsgLongAncillaryBuf (test.test_socket.RecvmsgUDPLITETest.testRecvmsgLongAncillaryBuf) ... ok testRecvmsgPeek (test.test_socket.RecvmsgUDPLITETest.testRecvmsgPeek) ... ok testRecvmsgShortAncillaryBuf (test.test_socket.RecvmsgUDPLITETest.testRecvmsgShortAncillaryBuf) ... ok testRecvmsgShorter (test.test_socket.RecvmsgUDPLITETest.testRecvmsgShorter) ... ok testRecvmsgTimeout (test.test_socket.RecvmsgUDPLITETest.testRecvmsgTimeout) ... ok testRecvmsgTrunc (test.test_socket.RecvmsgUDPLITETest.testRecvmsgTrunc) ... ok testRecvmsg (test.test_socket.RecvmsgUDPTest.testRecvmsg) ... ok testRecvmsgAfterClose (test.test_socket.RecvmsgUDPTest.testRecvmsgAfterClose) ... ok testRecvmsgBadArgs (test.test_socket.RecvmsgUDPTest.testRecvmsgBadArgs) ... ok testRecvmsgExplicitDefaults (test.test_socket.RecvmsgUDPTest.testRecvmsgExplicitDefaults) ... ok testRecvmsgFromSendmsg (test.test_socket.RecvmsgUDPTest.testRecvmsgFromSendmsg) ... ok testRecvmsgLongAncillaryBuf (test.test_socket.RecvmsgUDPTest.testRecvmsgLongAncillaryBuf) ... ok testRecvmsgPeek (test.test_socket.RecvmsgUDPTest.testRecvmsgPeek) ... ok testRecvmsgShortAncillaryBuf (test.test_socket.RecvmsgUDPTest.testRecvmsgShortAncillaryBuf) ... ok testRecvmsgShorter (test.test_socket.RecvmsgUDPTest.testRecvmsgShorter) ... ok testRecvmsgTimeout (test.test_socket.RecvmsgUDPTest.testRecvmsgTimeout) ... ok testRecvmsgTrunc (test.test_socket.RecvmsgUDPTest.testRecvmsgTrunc) ... ok testRecvmsg (test.test_socket.RecvmsgUnixStreamTest.testRecvmsg) ... ok testRecvmsgAfterClose (test.test_socket.RecvmsgUnixStreamTest.testRecvmsgAfterClose) ... ok testRecvmsgBadArgs (test.test_socket.RecvmsgUnixStreamTest.testRecvmsgBadArgs) ... ok testRecvmsgEOF (test.test_socket.RecvmsgUnixStreamTest.testRecvmsgEOF) ... ok testRecvmsgExplicitDefaults (test.test_socket.RecvmsgUnixStreamTest.testRecvmsgExplicitDefaults) ... ok testRecvmsgFromSendmsg (test.test_socket.RecvmsgUnixStreamTest.testRecvmsgFromSendmsg) ... ok testRecvmsgLongAncillaryBuf (test.test_socket.RecvmsgUnixStreamTest.testRecvmsgLongAncillaryBuf) ... ok testRecvmsgOverflow (test.test_socket.RecvmsgUnixStreamTest.testRecvmsgOverflow) ... ok testRecvmsgPeek (test.test_socket.RecvmsgUnixStreamTest.testRecvmsgPeek) ... ok testRecvmsgShortAncillaryBuf (test.test_socket.RecvmsgUnixStreamTest.testRecvmsgShortAncillaryBuf) ... ok testRecvmsgShorter (test.test_socket.RecvmsgUnixStreamTest.testRecvmsgShorter) ... ok testRecvmsgTimeout (test.test_socket.RecvmsgUnixStreamTest.testRecvmsgTimeout) ... ok testRecvmsgTrunc (test.test_socket.RecvmsgUnixStreamTest.testRecvmsgTrunc) ... ok testSendAndRecvFds (test.test_socket.SendRecvFdsTests.testSendAndRecvFds) ... ok testCount (test.test_socket.SendfileUsingSendTest.testCount) ... ok testCountSmall (test.test_socket.SendfileUsingSendTest.testCountSmall) ... ok testCountWithOffset (test.test_socket.SendfileUsingSendTest.testCountWithOffset) ... ok testEmptyFileSend (test.test_socket.SendfileUsingSendTest.testEmptyFileSend) ... ok testNonBlocking (test.test_socket.SendfileUsingSendTest.testNonBlocking) ... ok testNonRegularFile (test.test_socket.SendfileUsingSendTest.testNonRegularFile) ... ok testOffset (test.test_socket.SendfileUsingSendTest.testOffset) ... ok testRegularFile (test.test_socket.SendfileUsingSendTest.testRegularFile) ... ok testWithTimeout (test.test_socket.SendfileUsingSendTest.testWithTimeout) ... ok testWithTimeoutTriggeredSend (test.test_socket.SendfileUsingSendTest.testWithTimeoutTriggeredSend) ... ok test_errors (test.test_socket.SendfileUsingSendTest.test_errors) ... ok testCount (test.test_socket.SendfileUsingSendfileTest.testCount) ... ok testCountSmall (test.test_socket.SendfileUsingSendfileTest.testCountSmall) ... ok testCountWithOffset (test.test_socket.SendfileUsingSendfileTest.testCountWithOffset) ... ok testEmptyFileSend (test.test_socket.SendfileUsingSendfileTest.testEmptyFileSend) ... ok testNonBlocking (test.test_socket.SendfileUsingSendfileTest.testNonBlocking) ... ok testNonRegularFile (test.test_socket.SendfileUsingSendfileTest.testNonRegularFile) ... ok testOffset (test.test_socket.SendfileUsingSendfileTest.testOffset) ... ok testRegularFile (test.test_socket.SendfileUsingSendfileTest.testRegularFile) ... ok testWithTimeout (test.test_socket.SendfileUsingSendfileTest.testWithTimeout) ... ok testWithTimeoutTriggeredSend (test.test_socket.SendfileUsingSendfileTest.testWithTimeoutTriggeredSend) ... ok test_errors (test.test_socket.SendfileUsingSendfileTest.test_errors) ... ok testSendmsg (test.test_socket.SendmsgSCTPStreamTest.testSendmsg) ... ok testSendmsgAfterClose (test.test_socket.SendmsgSCTPStreamTest.testSendmsgAfterClose) ... ok testSendmsgAncillaryGenerator (test.test_socket.SendmsgSCTPStreamTest.testSendmsgAncillaryGenerator) ... ok testSendmsgArray (test.test_socket.SendmsgSCTPStreamTest.testSendmsgArray) ... ok testSendmsgBadArgs (test.test_socket.SendmsgSCTPStreamTest.testSendmsgBadArgs) ... ok testSendmsgBadCmsg (test.test_socket.SendmsgSCTPStreamTest.testSendmsgBadCmsg) ... ok testSendmsgBadMultiCmsg (test.test_socket.SendmsgSCTPStreamTest.testSendmsgBadMultiCmsg) ... ok testSendmsgDataGenerator (test.test_socket.SendmsgSCTPStreamTest.testSendmsgDataGenerator) ... ok testSendmsgDontWait (test.test_socket.SendmsgSCTPStreamTest.testSendmsgDontWait) ... ok testSendmsgExcessCmsgReject (test.test_socket.SendmsgSCTPStreamTest.testSendmsgExcessCmsgReject) ... ok testSendmsgExplicitNoneAddr (test.test_socket.SendmsgSCTPStreamTest.testSendmsgExplicitNoneAddr) ... ok testSendmsgGather (test.test_socket.SendmsgSCTPStreamTest.testSendmsgGather) ... ok testSendmsgTimeout (test.test_socket.SendmsgSCTPStreamTest.testSendmsgTimeout) ... ok testSendmsg (test.test_socket.SendmsgTCPTest.testSendmsg) ... ok testSendmsgAfterClose (test.test_socket.SendmsgTCPTest.testSendmsgAfterClose) ... ok testSendmsgAncillaryGenerator (test.test_socket.SendmsgTCPTest.testSendmsgAncillaryGenerator) ... ok testSendmsgArray (test.test_socket.SendmsgTCPTest.testSendmsgArray) ... ok testSendmsgBadArgs (test.test_socket.SendmsgTCPTest.testSendmsgBadArgs) ... ok testSendmsgBadCmsg (test.test_socket.SendmsgTCPTest.testSendmsgBadCmsg) ... ok testSendmsgBadMultiCmsg (test.test_socket.SendmsgTCPTest.testSendmsgBadMultiCmsg) ... ok testSendmsgDataGenerator (test.test_socket.SendmsgTCPTest.testSendmsgDataGenerator) ... ok testSendmsgDontWait (test.test_socket.SendmsgTCPTest.testSendmsgDontWait) ... ok testSendmsgExcessCmsgReject (test.test_socket.SendmsgTCPTest.testSendmsgExcessCmsgReject) ... ok testSendmsgExplicitNoneAddr (test.test_socket.SendmsgTCPTest.testSendmsgExplicitNoneAddr) ... ok testSendmsgGather (test.test_socket.SendmsgTCPTest.testSendmsgGather) ... ok testSendmsgTimeout (test.test_socket.SendmsgTCPTest.testSendmsgTimeout) ... ok testSendmsg (test.test_socket.SendmsgUDP6Test.testSendmsg) ... ok testSendmsgAfterClose (test.test_socket.SendmsgUDP6Test.testSendmsgAfterClose) ... ok testSendmsgAncillaryGenerator (test.test_socket.SendmsgUDP6Test.testSendmsgAncillaryGenerator) ... ok testSendmsgArray (test.test_socket.SendmsgUDP6Test.testSendmsgArray) ... ok testSendmsgBadArgs (test.test_socket.SendmsgUDP6Test.testSendmsgBadArgs) ... ok testSendmsgBadCmsg (test.test_socket.SendmsgUDP6Test.testSendmsgBadCmsg) ... ok testSendmsgBadMultiCmsg (test.test_socket.SendmsgUDP6Test.testSendmsgBadMultiCmsg) ... ok testSendmsgDataGenerator (test.test_socket.SendmsgUDP6Test.testSendmsgDataGenerator) ... ok testSendmsgExcessCmsgReject (test.test_socket.SendmsgUDP6Test.testSendmsgExcessCmsgReject) ... ok testSendmsgGather (test.test_socket.SendmsgUDP6Test.testSendmsgGather) ... ok testSendmsgNoDestAddr (test.test_socket.SendmsgUDP6Test.testSendmsgNoDestAddr) ... ok testSendmsg (test.test_socket.SendmsgUDPLITE6Test.testSendmsg) ... ok testSendmsgAfterClose (test.test_socket.SendmsgUDPLITE6Test.testSendmsgAfterClose) ... ok testSendmsgAncillaryGenerator (test.test_socket.SendmsgUDPLITE6Test.testSendmsgAncillaryGenerator) ... ok testSendmsgArray (test.test_socket.SendmsgUDPLITE6Test.testSendmsgArray) ... ok testSendmsgBadArgs (test.test_socket.SendmsgUDPLITE6Test.testSendmsgBadArgs) ... ok testSendmsgBadCmsg (test.test_socket.SendmsgUDPLITE6Test.testSendmsgBadCmsg) ... ok testSendmsgBadMultiCmsg (test.test_socket.SendmsgUDPLITE6Test.testSendmsgBadMultiCmsg) ... ok testSendmsgDataGenerator (test.test_socket.SendmsgUDPLITE6Test.testSendmsgDataGenerator) ... ok testSendmsgExcessCmsgReject (test.test_socket.SendmsgUDPLITE6Test.testSendmsgExcessCmsgReject) ... ok testSendmsgGather (test.test_socket.SendmsgUDPLITE6Test.testSendmsgGather) ... ok testSendmsgNoDestAddr (test.test_socket.SendmsgUDPLITE6Test.testSendmsgNoDestAddr) ... ok testSendmsg (test.test_socket.SendmsgUDPLITETest.testSendmsg) ... ok testSendmsgAfterClose (test.test_socket.SendmsgUDPLITETest.testSendmsgAfterClose) ... ok testSendmsgAncillaryGenerator (test.test_socket.SendmsgUDPLITETest.testSendmsgAncillaryGenerator) ... ok testSendmsgArray (test.test_socket.SendmsgUDPLITETest.testSendmsgArray) ... ok testSendmsgBadArgs (test.test_socket.SendmsgUDPLITETest.testSendmsgBadArgs) ... ok testSendmsgBadCmsg (test.test_socket.SendmsgUDPLITETest.testSendmsgBadCmsg) ... ok testSendmsgBadMultiCmsg (test.test_socket.SendmsgUDPLITETest.testSendmsgBadMultiCmsg) ... ok testSendmsgDataGenerator (test.test_socket.SendmsgUDPLITETest.testSendmsgDataGenerator) ... ok testSendmsgExcessCmsgReject (test.test_socket.SendmsgUDPLITETest.testSendmsgExcessCmsgReject) ... ok testSendmsgGather (test.test_socket.SendmsgUDPLITETest.testSendmsgGather) ... ok testSendmsgNoDestAddr (test.test_socket.SendmsgUDPLITETest.testSendmsgNoDestAddr) ... ok testSendmsg (test.test_socket.SendmsgUDPTest.testSendmsg) ... ok testSendmsgAfterClose (test.test_socket.SendmsgUDPTest.testSendmsgAfterClose) ... ok testSendmsgAncillaryGenerator (test.test_socket.SendmsgUDPTest.testSendmsgAncillaryGenerator) ... ok testSendmsgArray (test.test_socket.SendmsgUDPTest.testSendmsgArray) ... ok testSendmsgBadArgs (test.test_socket.SendmsgUDPTest.testSendmsgBadArgs) ... ok testSendmsgBadCmsg (test.test_socket.SendmsgUDPTest.testSendmsgBadCmsg) ... ok testSendmsgBadMultiCmsg (test.test_socket.SendmsgUDPTest.testSendmsgBadMultiCmsg) ... ok testSendmsgDataGenerator (test.test_socket.SendmsgUDPTest.testSendmsgDataGenerator) ... ok testSendmsgExcessCmsgReject (test.test_socket.SendmsgUDPTest.testSendmsgExcessCmsgReject) ... ok testSendmsgGather (test.test_socket.SendmsgUDPTest.testSendmsgGather) ... ok testSendmsgNoDestAddr (test.test_socket.SendmsgUDPTest.testSendmsgNoDestAddr) ... ok testSendmsg (test.test_socket.SendmsgUnixStreamTest.testSendmsg) ... ok testSendmsgAfterClose (test.test_socket.SendmsgUnixStreamTest.testSendmsgAfterClose) ... ok testSendmsgAncillaryGenerator (test.test_socket.SendmsgUnixStreamTest.testSendmsgAncillaryGenerator) ... ok testSendmsgArray (test.test_socket.SendmsgUnixStreamTest.testSendmsgArray) ... ok testSendmsgBadArgs (test.test_socket.SendmsgUnixStreamTest.testSendmsgBadArgs) ... ok testSendmsgBadCmsg (test.test_socket.SendmsgUnixStreamTest.testSendmsgBadCmsg) ... ok testSendmsgBadMultiCmsg (test.test_socket.SendmsgUnixStreamTest.testSendmsgBadMultiCmsg) ... ok testSendmsgDataGenerator (test.test_socket.SendmsgUnixStreamTest.testSendmsgDataGenerator) ... ok testSendmsgDontWait (test.test_socket.SendmsgUnixStreamTest.testSendmsgDontWait) ... ok testSendmsgExcessCmsgReject (test.test_socket.SendmsgUnixStreamTest.testSendmsgExcessCmsgReject) ... ok testSendmsgExplicitNoneAddr (test.test_socket.SendmsgUnixStreamTest.testSendmsgExplicitNoneAddr) ... ok testSendmsgGather (test.test_socket.SendmsgUnixStreamTest.testSendmsgGather) ... ok testSendmsgTimeout (test.test_socket.SendmsgUnixStreamTest.testSendmsgTimeout) ... ok testAttributes (test.test_socket.SmallBufferedFileObjectClassTestCase.testAttributes) ... ok testCloseAfterMakefile (test.test_socket.SmallBufferedFileObjectClassTestCase.testCloseAfterMakefile) ... ok testClosedAttr (test.test_socket.SmallBufferedFileObjectClassTestCase.testClosedAttr) ... ok testFullRead (test.test_socket.SmallBufferedFileObjectClassTestCase.testFullRead) ... ok testMakefileAfterMakefileClose (test.test_socket.SmallBufferedFileObjectClassTestCase.testMakefileAfterMakefileClose) ... ok testReadAfterTimeout (test.test_socket.SmallBufferedFileObjectClassTestCase.testReadAfterTimeout) ... ok testReadline (test.test_socket.SmallBufferedFileObjectClassTestCase.testReadline) ... ok testRealClose (test.test_socket.SmallBufferedFileObjectClassTestCase.testRealClose) ... ok testSmallRead (test.test_socket.SmallBufferedFileObjectClassTestCase.testSmallRead) ... ok testUnbufferedRead (test.test_socket.SmallBufferedFileObjectClassTestCase.testUnbufferedRead) ... ok testClose (test.test_socket.TCPCloserTest.testClose) ... ok testInterruptedTimeout (test.test_socket.TCPTimeoutTest.testInterruptedTimeout) ... ok testTCPTimeout (test.test_socket.TCPTimeoutTest.testTCPTimeout) ... ok testTimeoutZero (test.test_socket.TCPTimeoutTest.testTimeoutZero) ... ok testRDM (test.test_socket.TIPCTest.testRDM) ... skipped "TIPC module is not loaded, please 'sudo modprobe tipc'" testStream (test.test_socket.TIPCThreadableTest.testStream) ... skipped "TIPC module is not loaded, please 'sudo modprobe tipc'" testExceptionTree (test.test_socket.TestExceptions.testExceptionTree) ... ok test_setblocking_invalidfd (test.test_socket.TestExceptions.test_setblocking_invalidfd) ... ok testAutobind (test.test_socket.TestLinuxAbstractNamespace.testAutobind) ... ok testBytearrayName (test.test_socket.TestLinuxAbstractNamespace.testBytearrayName) ... ok testLinuxAbstractNamespace (test.test_socket.TestLinuxAbstractNamespace.testLinuxAbstractNamespace) ... ok testMaxName (test.test_socket.TestLinuxAbstractNamespace.testMaxName) ... ok testNameOverflow (test.test_socket.TestLinuxAbstractNamespace.testNameOverflow) ... ok testStrName (test.test_socket.TestLinuxAbstractNamespace.testStrName) ... ok test_new_tcp_flags (test.test_socket.TestMSWindowsTCPFlags.test_new_tcp_flags) ... skipped 'requires Windows' test_tcp_keepalive (test.test_socket.TestMacOSTCPFlags.test_tcp_keepalive) ... skipped 'macOS specific test' testShare (test.test_socket.TestSocketSharing.testShare) ... skipped 'Windows specific' testShareLength (test.test_socket.TestSocketSharing.testShareLength) ... skipped 'Windows specific' testShareLocal (test.test_socket.TestSocketSharing.testShareLocal) ... skipped 'Windows specific' testTypes (test.test_socket.TestSocketSharing.testTypes) ... skipped 'Windows specific' testBytesAddr (test.test_socket.TestUnixDomain.testBytesAddr) ... ok testEmptyAddress (test.test_socket.TestUnixDomain.testEmptyAddress) ... skipped 'Linux specific test' testStrAddr (test.test_socket.TestUnixDomain.testStrAddr) ... ok testSurrogateescapeBind (test.test_socket.TestUnixDomain.testSurrogateescapeBind) ... ok testUnbound (test.test_socket.TestUnixDomain.testUnbound) ... ok testUnencodableAddr (test.test_socket.TestUnixDomain.testUnencodableAddr) ... ok testStream (test.test_socket.ThreadedVSOCKSocketStreamTest.testStream) ... skipped 'VSOCK sockets required for this test.' testTimeoutZero (test.test_socket.UDPLITETimeoutTest.testTimeoutZero) ... ok testUDPLITETimeout (test.test_socket.UDPLITETimeoutTest.testUDPLITETimeout) ... ok testTimeoutZero (test.test_socket.UDPTimeoutTest.testTimeoutZero) ... ok testUDPTimeout (test.test_socket.UDPTimeoutTest.testUDPTimeout) ... ok testAttributes (test.test_socket.UnbufferedFileObjectClassTestCase.testAttributes) ... ok testCloseAfterMakefile (test.test_socket.UnbufferedFileObjectClassTestCase.testCloseAfterMakefile) ... ok testClosedAttr (test.test_socket.UnbufferedFileObjectClassTestCase.testClosedAttr) ... ok testFullRead (test.test_socket.UnbufferedFileObjectClassTestCase.testFullRead) ... ok testMakefileAfterMakefileClose (test.test_socket.UnbufferedFileObjectClassTestCase.testMakefileAfterMakefileClose) ... ok testMakefileClose (test.test_socket.UnbufferedFileObjectClassTestCase.testMakefileClose) ... ok testMakefileCloseSocketDestroy (test.test_socket.UnbufferedFileObjectClassTestCase.testMakefileCloseSocketDestroy) ... skipped 'test needs sys.getrefcount()' testReadAfterTimeout (test.test_socket.UnbufferedFileObjectClassTestCase.testReadAfterTimeout) ... ok testReadline (test.test_socket.UnbufferedFileObjectClassTestCase.testReadline) ... ok testRealClose (test.test_socket.UnbufferedFileObjectClassTestCase.testRealClose) ... ok testSmallRead (test.test_socket.UnbufferedFileObjectClassTestCase.testSmallRead) ... ok testSmallReadNonBlocking (test.test_socket.UnbufferedFileObjectClassTestCase.testSmallReadNonBlocking) ... ok testUnbufferedRead (test.test_socket.UnbufferedFileObjectClassTestCase.testUnbufferedRead) ... ok testUnbufferedReadline (test.test_socket.UnbufferedFileObjectClassTestCase.testUnbufferedReadline) ... ok testWriteNonBlocking (test.test_socket.UnbufferedFileObjectClassTestCase.testWriteNonBlocking) ... ok testAttributes (test.test_socket.UnicodeReadFileObjectClassTestCase.testAttributes) ... ok testCloseAfterMakefile (test.test_socket.UnicodeReadFileObjectClassTestCase.testCloseAfterMakefile) ... ok testClosedAttr (test.test_socket.UnicodeReadFileObjectClassTestCase.testClosedAttr) ... ok testFullRead (test.test_socket.UnicodeReadFileObjectClassTestCase.testFullRead) ... ok testMakefileAfterMakefileClose (test.test_socket.UnicodeReadFileObjectClassTestCase.testMakefileAfterMakefileClose) ... ok testReadAfterTimeout (test.test_socket.UnicodeReadFileObjectClassTestCase.testReadAfterTimeout) ... ok testReadline (test.test_socket.UnicodeReadFileObjectClassTestCase.testReadline) ... ok testRealClose (test.test_socket.UnicodeReadFileObjectClassTestCase.testRealClose) ... ok testSmallRead (test.test_socket.UnicodeReadFileObjectClassTestCase.testSmallRead) ... ok testUnbufferedRead (test.test_socket.UnicodeReadFileObjectClassTestCase.testUnbufferedRead) ... ok testAttributes (test.test_socket.UnicodeReadWriteFileObjectClassTestCase.testAttributes) ... ok testCloseAfterMakefile (test.test_socket.UnicodeReadWriteFileObjectClassTestCase.testCloseAfterMakefile) ... ok testClosedAttr (test.test_socket.UnicodeReadWriteFileObjectClassTestCase.testClosedAttr) ... ok testFullRead (test.test_socket.UnicodeReadWriteFileObjectClassTestCase.testFullRead) ... ok testMakefileAfterMakefileClose (test.test_socket.UnicodeReadWriteFileObjectClassTestCase.testMakefileAfterMakefileClose) ... ok testReadAfterTimeout (test.test_socket.UnicodeReadWriteFileObjectClassTestCase.testReadAfterTimeout) ... ok testReadline (test.test_socket.UnicodeReadWriteFileObjectClassTestCase.testReadline) ... ok testRealClose (test.test_socket.UnicodeReadWriteFileObjectClassTestCase.testRealClose) ... ok testSmallRead (test.test_socket.UnicodeReadWriteFileObjectClassTestCase.testSmallRead) ... ok testUnbufferedRead (test.test_socket.UnicodeReadWriteFileObjectClassTestCase.testUnbufferedRead) ... ok testAttributes (test.test_socket.UnicodeWriteFileObjectClassTestCase.testAttributes) ... ok testCloseAfterMakefile (test.test_socket.UnicodeWriteFileObjectClassTestCase.testCloseAfterMakefile) ... ok testClosedAttr (test.test_socket.UnicodeWriteFileObjectClassTestCase.testClosedAttr) ... ok testFullRead (test.test_socket.UnicodeWriteFileObjectClassTestCase.testFullRead) ... ok testMakefileAfterMakefileClose (test.test_socket.UnicodeWriteFileObjectClassTestCase.testMakefileAfterMakefileClose) ... ok testReadAfterTimeout (test.test_socket.UnicodeWriteFileObjectClassTestCase.testReadAfterTimeout) ... ok testReadline (test.test_socket.UnicodeWriteFileObjectClassTestCase.testReadline) ... ok testRealClose (test.test_socket.UnicodeWriteFileObjectClassTestCase.testRealClose) ... ok testSmallRead (test.test_socket.UnicodeWriteFileObjectClassTestCase.testSmallRead) ... ok testUnbufferedRead (test.test_socket.UnicodeWriteFileObjectClassTestCase.testUnbufferedRead) ... ok ====================================================================== ERROR: test_socket_type (test.test_socket.GeneralModuleTests.test_socket_type) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_socket.py", line 841, in test_socket_type self.assertTrue(gc.is_tracked(_socket.socket)) ^^^^^^^^^^ AttributeError: module 'gc' has no attribute 'is_tracked' ====================================================================== FAIL: testSendtoErrors (test.test_socket.GeneralModuleTests.testSendtoErrors) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_socket.py", line 911, in testSendtoErrors self.assertEqual(str(cm.exception), ^^^^^^^^^^^ AssertionError: 'a bytes-like object is required, not str' != "a bytes-like object is required, not 'str'" - a bytes-like object is required, not str + a bytes-like object is required, not 'str' ? + + ====================================================================== FAIL: test_getaddrinfo_int_port_overflow (test.test_socket.GeneralModuleTests.test_getaddrinfo_int_port_overflow) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_socket.py", line 1637, in test_getaddrinfo_int_port_overflow socket.getaddrinfo(None, ULONG_MAX + 1, type=socket.SOCK_STREAM) ^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/socket.py", line 978, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): ^^^^^^^^^^^ OverflowError: int too large to convert to int During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_socket.py", line 1642, in test_getaddrinfo_int_port_overflow self.fail("Either no error or socket.gaierror expected.") ^^^^ AssertionError: Either no error or socket.gaierror expected. ---------------------------------------------------------------------- Ran 732 tests in 42.078s FAILED (failures=2, errors=1, skipped=75) 0:00:42 load avg: 0.49 [1/1/1] test_socket failed (1 error, 2 failures) in 42.3 sec == Tests result: FAILURE == 1 test failed: test_socket Total duration: 42.3 sec Total tests: run=732 failures=2 skipped=75 Total test files: run=1/1 failed=1 Result: FAILURE test test_socket failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1752809æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2674083182 0:00:00 load avg: 0.49 Run 1 test sequentially in a single process 0:00:00 load avg: 0.49 [1/1] test_sort testStressfully (test.test_sort.TestBase.testStressfully) ... Testing size 0 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 1 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 2 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 3 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 3 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 4 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 5 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 7 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 8 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 9 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 15 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 16 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 17 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 31 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation complaining at Complains(9) Complains(16) checking exception during sort left some permutation checking stability Testing size 32 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 33 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 63 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 64 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 65 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 127 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 128 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 129 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation complaining at Complains(84) Complains(76) checking exception during sort left some permutation checking stability Testing size 255 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation complaining at Complains(11) Complains(20) checking exception during sort left some permutation checking stability Testing size 256 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation complaining at Complains(8) Complains(7) checking exception during sort left some permutation checking stability Testing size 257 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation complaining at Complains(233) Complains(200) checking exception during sort left some permutation checking stability Testing size 511 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation complaining at Complains(419) Complains(302) checking exception during sort left some permutation checking stability Testing size 512 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation complaining at Complains(356) Complains(412) checking exception during sort left some permutation checking stability Testing size 513 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation complaining at Complains(15) Complains(99) checking exception during sort left some permutation checking stability Testing size 10 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 100 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation checking stability Testing size 1000 checking identity checking reversed checking random permutation checking reversed via function Checking against an insane comparison function. If the implementation isn't careful, this may segfault. checking an insane function left some permutation complaining at Complains(791) Complains(786) checking exception during sort left some permutation checking stability ok test_bug453523 (test.test_sort.TestBugs.test_bug453523) ... ok test_undetected_mutation (test.test_sort.TestBugs.test_undetected_mutation) ... ok test_baddecorator (test.test_sort.TestDecorateSortUndecorate.test_baddecorator) ... ok test_decorated (test.test_sort.TestDecorateSortUndecorate.test_decorated) ... ok test_key_with_exception (test.test_sort.TestDecorateSortUndecorate.test_key_with_exception) ... ok test_key_with_mutating_del (test.test_sort.TestDecorateSortUndecorate.test_key_with_mutating_del) ... FAIL test_key_with_mutating_del_and_exception (test.test_sort.TestDecorateSortUndecorate.test_key_with_mutating_del_and_exception) ... ok test_key_with_mutation (test.test_sort.TestDecorateSortUndecorate.test_key_with_mutation) ... ok test_reverse (test.test_sort.TestDecorateSortUndecorate.test_reverse) ... ok test_reverse_stability (test.test_sort.TestDecorateSortUndecorate.test_reverse_stability) ... ok test_stability (test.test_sort.TestDecorateSortUndecorate.test_stability) ... ok test_none_in_tuples (test.test_sort.TestOptimizedCompares.test_none_in_tuples) ... ok test_not_all_tuples (test.test_sort.TestOptimizedCompares.test_not_all_tuples) ... ok test_safe_object_compare (test.test_sort.TestOptimizedCompares.test_safe_object_compare) ... ok test_unsafe_float_compare (test.test_sort.TestOptimizedCompares.test_unsafe_float_compare) ... ok test_unsafe_latin_compare (test.test_sort.TestOptimizedCompares.test_unsafe_latin_compare) ... ok test_unsafe_long_compare (test.test_sort.TestOptimizedCompares.test_unsafe_long_compare) ... ok test_unsafe_object_compare (test.test_sort.TestOptimizedCompares.test_unsafe_object_compare) ... ok test_unsafe_tuple_compare (test.test_sort.TestOptimizedCompares.test_unsafe_tuple_compare) ... ok ====================================================================== FAIL: test_key_with_mutating_del (test.test_sort.TestDecorateSortUndecorate.test_key_with_mutating_del) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sort.py", line 218, in test_key_with_mutating_del self.assertRaises(ValueError, data.sort, key=SortKiller) ^^^^^^^^^^^^ AssertionError: ValueError not raised by sort ---------------------------------------------------------------------- Ran 20 tests in 0.104s FAILED (failures=1) 0:00:00 load avg: 0.49 [1/1/1] test_sort failed (1 failure) == Tests result: FAILURE == 1 test failed: test_sort Total duration: 176 ms Total tests: run=20 failures=1 Total test files: run=1/1 failed=1 Result: FAILURE test test_sort failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1753079æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2122620891 0:00:00 load avg: 0.28 Run 1 test sequentially in a single process 0:00:00 load avg: 0.28 [1/1] test_stat test_devices (test.test_stat.TestFilemodeCStat.test_devices) ... ERROR test_directory (test.test_stat.TestFilemodeCStat.test_directory) ... ERROR test_fifo (test.test_stat.TestFilemodeCStat.test_fifo) ... ERROR test_file_attribute_constants (test.test_stat.TestFilemodeCStat.test_file_attribute_constants) ... skipped 'FILE_ATTRIBUTE_* constants are Win32 specific' test_link (test.test_stat.TestFilemodeCStat.test_link) ... ERROR test_mode (test.test_stat.TestFilemodeCStat.test_mode) ... ERROR test_module_attributes (test.test_stat.TestFilemodeCStat.test_module_attributes) ... ERROR test_socket (test.test_stat.TestFilemodeCStat.test_socket) ... ERROR test_devices (test.test_stat.TestFilemodePyStat.test_devices) ... ok test_directory (test.test_stat.TestFilemodePyStat.test_directory) ... ok test_fifo (test.test_stat.TestFilemodePyStat.test_fifo) ... ok test_file_attribute_constants (test.test_stat.TestFilemodePyStat.test_file_attribute_constants) ... skipped 'FILE_ATTRIBUTE_* constants are Win32 specific' test_link (test.test_stat.TestFilemodePyStat.test_link) ... ok test_mode (test.test_stat.TestFilemodePyStat.test_mode) ... ok test_module_attributes (test.test_stat.TestFilemodePyStat.test_module_attributes) ... ok test_socket (test.test_stat.TestFilemodePyStat.test_socket) ... ok ====================================================================== ERROR: test_devices (test.test_stat.TestFilemodeCStat.test_devices) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_stat.py", line 202, in test_devices st_mode, modestr = self.get_mode(os.devnull, lstat=False) ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_stat.py", line 96, in get_mode modestr = self.statmod.filemode(st_mode) ^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'filemode' ====================================================================== ERROR: test_directory (test.test_stat.TestFilemodeCStat.test_directory) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_stat.py", line 166, in test_directory st_mode, modestr = self.get_mode() ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_stat.py", line 96, in get_mode modestr = self.statmod.filemode(st_mode) ^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'filemode' ====================================================================== ERROR: test_fifo (test.test_stat.TestFilemodeCStat.test_fifo) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_stat.py", line 195, in test_fifo st_mode, modestr = self.get_mode(fifo_path) ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_stat.py", line 96, in get_mode modestr = self.statmod.filemode(st_mode) ^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'filemode' ====================================================================== ERROR: test_link (test.test_stat.TestFilemodeCStat.test_link) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_stat.py", line 180, in test_link st_mode, modestr = self.get_mode() ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_stat.py", line 96, in get_mode modestr = self.statmod.filemode(st_mode) ^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'filemode' ====================================================================== ERROR: test_mode (test.test_stat.TestFilemodeCStat.test_mode) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_stat.py", line 122, in test_mode st_mode, modestr = self.get_mode() ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_stat.py", line 96, in get_mode modestr = self.statmod.filemode(st_mode) ^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'filemode' ====================================================================== ERROR: test_module_attributes (test.test_stat.TestFilemodeCStat.test_module_attributes) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_stat.py", line 223, in test_module_attributes modvalue = getattr(self.statmod, key) ^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'ST_MODE' ====================================================================== ERROR: test_socket (test.test_stat.TestFilemodeCStat.test_socket) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_stat.py", line 217, in test_socket st_mode, modestr = self.get_mode() ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_stat.py", line 96, in get_mode modestr = self.statmod.filemode(st_mode) ^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'filemode' ---------------------------------------------------------------------- Ran 16 tests in 0.027s FAILED (errors=7, skipped=2) 0:00:00 load avg: 0.28 [1/1/1] test_stat failed (7 errors) == Tests result: FAILURE == 1 test failed: test_stat Total duration: 105 ms Total tests: run=16 skipped=2 Total test files: run=1/1 failed=1 Result: FAILURE test test_stat failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1753099æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2580022378 0:00:00 load avg: 0.28 Run 1 test sequentially in a single process 0:00:00 load avg: 0.28 [1/1] test_string_literals test_eval_bytes_incomplete (test.test_string_literals.TestLiterals.test_eval_bytes_incomplete) ... ok test_eval_bytes_invalid_escape (test.test_string_literals.TestLiterals.test_eval_bytes_invalid_escape) ... FAIL test_eval_bytes_invalid_octal_escape (test.test_string_literals.TestLiterals.test_eval_bytes_invalid_octal_escape) ... FAIL test_eval_bytes_normal (test.test_string_literals.TestLiterals.test_eval_bytes_normal) ... ok test_eval_bytes_raw (test.test_string_literals.TestLiterals.test_eval_bytes_raw) ... ok test_eval_str_incomplete (test.test_string_literals.TestLiterals.test_eval_str_incomplete) ... ok test_eval_str_invalid_escape (test.test_string_literals.TestLiterals.test_eval_str_invalid_escape) ... FAIL test_eval_str_invalid_octal_escape (test.test_string_literals.TestLiterals.test_eval_str_invalid_octal_escape) ... FAIL test_eval_str_normal (test.test_string_literals.TestLiterals.test_eval_str_normal) ... ok test_eval_str_raw (test.test_string_literals.TestLiterals.test_eval_str_raw) ... ok test_eval_str_u (test.test_string_literals.TestLiterals.test_eval_str_u) ... ok test_file_iso_8859_1 (test.test_string_literals.TestLiterals.test_file_iso_8859_1) ... ok test_file_latin9 (test.test_string_literals.TestLiterals.test_file_latin9) ... ok test_file_latin_1 (test.test_string_literals.TestLiterals.test_file_latin_1) ... ok test_file_utf8 (test.test_string_literals.TestLiterals.test_file_utf8) ... ok test_file_utf_8 (test.test_string_literals.TestLiterals.test_file_utf_8) ... ok test_file_utf_8_error (test.test_string_literals.TestLiterals.test_file_utf_8_error) ... ok test_invalid_escape_locations_with_offset (test.test_string_literals.TestLiterals.test_invalid_escape_locations_with_offset) ... FAIL test_template (test.test_string_literals.TestLiterals.test_template) ... ok test_uppercase_prefixes (test.test_string_literals.TestLiterals.test_uppercase_prefixes) ... ok ====================================================================== FAIL: test_eval_bytes_invalid_escape (test.test_string_literals.TestLiterals.test_eval_bytes_invalid_escape) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_string_literals.py", line 233, in test_eval_bytes_invalid_escape self.assertEqual(w[0].lineno, 2) ^^^^^^^^^^^ AssertionError: 1 != 2 ====================================================================== FAIL: test_eval_bytes_invalid_octal_escape (test.test_string_literals.TestLiterals.test_eval_bytes_invalid_octal_escape) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_string_literals.py", line 257, in test_eval_bytes_invalid_octal_escape self.assertEqual(w[0].lineno, 2) ^^^^^^^^^^^ AssertionError: 1 != 2 ====================================================================== FAIL: test_eval_str_invalid_escape (test.test_string_literals.TestLiterals.test_eval_str_invalid_escape) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_string_literals.py", line 121, in test_eval_str_invalid_escape self.assertEqual(w[0].lineno, 2) ^^^^^^^^^^^ AssertionError: 1 != 2 ====================================================================== FAIL: test_eval_str_invalid_octal_escape (test.test_string_literals.TestLiterals.test_eval_str_invalid_octal_escape) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_string_literals.py", line 158, in test_eval_str_invalid_octal_escape self.assertEqual(w[0].lineno, 2) ^^^^^^^^^^^ AssertionError: 1 != 2 ====================================================================== FAIL: test_invalid_escape_locations_with_offset (test.test_string_literals.TestLiterals.test_invalid_escape_locations_with_offset) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_string_literals.py", line 181, in test_invalid_escape_locations_with_offset self.assertEqual(exc.offset, 30) ^^^^^^^^^^^ AssertionError: 1 != 30 ---------------------------------------------------------------------- Ran 20 tests in 0.278s FAILED (failures=5) 0:00:00 load avg: 0.28 [1/1/1] test_string_literals failed (5 failures) == Tests result: FAILURE == 1 test failed: test_string_literals Total duration: 347 ms Total tests: run=20 failures=5 Total test files: run=1/1 failed=1 Result: FAILURE test test_string_literals failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1753119æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2556337144 0:00:00 load avg: 0.33 Run 1 test sequentially in a single process 0:00:00 load avg: 0.33 [1/1] test_struct test_1530559 (test.test_struct.StructTest.test_1530559) ... ok test_705836 (test.test_struct.StructTest.test_705836) ... ok test_Struct_reinitialization (test.test_struct.StructTest.test_Struct_reinitialization) ... ok test__sizeof__ (test.test_struct.StructTest.test__sizeof__) ... skipped 'implementation detail specific to cpython' test__struct_reference_cycle_cleaned_up (test.test_struct.StructTest.test__struct_reference_cycle_cleaned_up) ... ok test__struct_types_immutable (test.test_struct.StructTest.test__struct_types_immutable) ... skipped 'implementation detail specific to cpython' test_bool (test.test_struct.StructTest.test_bool) ... ok test_boundary_error_message (test.test_struct.StructTest.test_boundary_error_message) ... ok test_boundary_error_message_with_large_offset (test.test_struct.StructTest.test_boundary_error_message_with_large_offset) ... ok test_boundary_error_message_with_negative_offset (test.test_struct.StructTest.test_boundary_error_message_with_negative_offset) ... ok test_calcsize (test.test_struct.StructTest.test_calcsize) ... ok test_consistence (test.test_struct.StructTest.test_consistence) ... ok test_count_overflow (test.test_struct.StructTest.test_count_overflow) ... ok test_format_attr (test.test_struct.StructTest.test_format_attr) ... ok test_integers (test.test_struct.StructTest.test_integers) ... ok test_isbigendian (test.test_struct.StructTest.test_isbigendian) ... ok test_issue29802 (test.test_struct.StructTest.test_issue29802) ... ok test_issue35714 (test.test_struct.StructTest.test_issue35714) ... ok test_issue98248 (test.test_struct.StructTest.test_issue98248) ... skipped 'implementation detail specific to cpython' test_issue98248_error_propagation (test.test_struct.StructTest.test_issue98248_error_propagation) ... skipped 'implementation detail specific to cpython' test_nN_code (test.test_struct.StructTest.test_nN_code) ... ok test_new_features (test.test_struct.StructTest.test_new_features) ... ERROR test_p_code (test.test_struct.StructTest.test_p_code) ... ERROR test_pack_into (test.test_struct.StructTest.test_pack_into) ... ok test_pack_into_fn (test.test_struct.StructTest.test_pack_into_fn) ... ok test_struct_cleans_up_at_runtime_shutdown (test.test_struct.StructTest.test_struct_cleans_up_at_runtime_shutdown) ... FAIL test_struct_subclass_instantiation (test.test_struct.StructTest.test_struct_subclass_instantiation) ... ok test_trailing_counter (test.test_struct.StructTest.test_trailing_counter) ... ok test_transitiveness (test.test_struct.StructTest.test_transitiveness) ... ok test_unpack_from (test.test_struct.StructTest.test_unpack_from) ... ok test_unpack_with_buffer (test.test_struct.StructTest.test_unpack_with_buffer) ... ok test_arbitrary_buffer (test.test_struct.UnpackIteratorTest.test_arbitrary_buffer) ... ok test_construct (test.test_struct.UnpackIteratorTest.test_construct) ... ok test_half_float (test.test_struct.UnpackIteratorTest.test_half_float) ... ok test_iterate (test.test_struct.UnpackIteratorTest.test_iterate) ... ok test_length_hint (test.test_struct.UnpackIteratorTest.test_length_hint) ... ok test_module_func (test.test_struct.UnpackIteratorTest.test_module_func) ... ok test_uninstantiable (test.test_struct.UnpackIteratorTest.test_uninstantiable) ... ok ====================================================================== ERROR: test_new_features (test.test_struct.StructTest.test_new_features) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_struct.py", line 138, in test_new_features res = struct.pack(xfmt, arg) ^^^^ struct.error: bad '0p' in struct format ====================================================================== ERROR: test_p_code (test.test_struct.StructTest.test_p_code) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_struct.py", line 358, in test_p_code got = struct.pack(code, input) ^^^^ struct.error: bad '0p' in struct format ====================================================================== FAIL: test_struct_cleans_up_at_runtime_shutdown (test.test_struct.StructTest.test_struct_cleans_up_at_runtime_shutdown) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_struct.py", line 686, in test_struct_cleans_up_at_runtime_shutdown self.assertIn(b"Exception ignored in:", stderr) ^^^^^^^^ AssertionError: b'Exception ignored in:' not found in b'' ---------------------------------------------------------------------- Ran 38 tests in 0.718s FAILED (failures=1, errors=2, skipped=4) 0:00:00 load avg: 0.33 [1/1/1] test_struct failed (2 errors, 1 failure) == Tests result: FAILURE == 1 test failed: test_struct Total duration: 827 ms Total tests: run=38 failures=1 skipped=4 Total test files: run=1/1 failed=1 Result: FAILURE test test_struct failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1753138æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 133531651 0:00:00 load avg: 0.33 Run 1 test sequentially in a single process 0:00:00 load avg: 0.33 [1/1] test_subprocess test_noshell_sequence_with_spaces (test.test_subprocess.CommandsWithSpaces.test_noshell_sequence_with_spaces) ... skipped 'Windows-specific tests' test_noshell_string_with_spaces (test.test_subprocess.CommandsWithSpaces.test_noshell_string_with_spaces) ... skipped 'Windows-specific tests' test_shell_sequence_with_spaces (test.test_subprocess.CommandsWithSpaces.test_shell_sequence_with_spaces) ... skipped 'Windows-specific tests' test_shell_string_with_spaces (test.test_subprocess.CommandsWithSpaces.test_shell_string_with_spaces) ... skipped 'Windows-specific tests' test_broken_pipe_cleanup (test.test_subprocess.ContextManagerTests.test_broken_pipe_cleanup) Broken pipe error should not prevent wait() (Issue 21619) ... ok test_communicate_stdin (test.test_subprocess.ContextManagerTests.test_communicate_stdin) ... ok test_invalid_args (test.test_subprocess.ContextManagerTests.test_invalid_args) ... ok test_pipe (test.test_subprocess.ContextManagerTests.test_pipe) ... ok test_returncode (test.test_subprocess.ContextManagerTests.test_returncode) ... ok test__all__ (test.test_subprocess.MiscTests.test__all__) Ensure that __all__ is populated properly. ... ok test_call_keyboardinterrupt_no_kill (test.test_subprocess.MiscTests.test_call_keyboardinterrupt_no_kill) ... ok test_context_manager_keyboardinterrupt_no_kill (test.test_subprocess.MiscTests.test_context_manager_keyboardinterrupt_no_kill) ... ok test_getoutput (test.test_subprocess.MiscTests.test_getoutput) ... ok test_run_keyboardinterrupt_no_kill (test.test_subprocess.MiscTests.test_run_keyboardinterrupt_no_kill) ... ok test_CalledProcessError_str_non_zero (test.test_subprocess.POSIXProcessTestCase.test_CalledProcessError_str_non_zero) ... ok test_CalledProcessError_str_signal (test.test_subprocess.POSIXProcessTestCase.test_CalledProcessError_str_signal) ... ok test_CalledProcessError_str_unknown_signal (test.test_subprocess.POSIXProcessTestCase.test_CalledProcessError_str_unknown_signal) ... ok test_args_string (test.test_subprocess.POSIXProcessTestCase.test_args_string) ... ok test_bytes_program (test.test_subprocess.POSIXProcessTestCase.test_bytes_program) ... ok test_call_string (test.test_subprocess.POSIXProcessTestCase.test_call_string) ... ok test_close_fd_0 (test.test_subprocess.POSIXProcessTestCase.test_close_fd_0) ... ok test_close_fd_1 (test.test_subprocess.POSIXProcessTestCase.test_close_fd_1) ... ok test_close_fd_2 (test.test_subprocess.POSIXProcessTestCase.test_close_fd_2) ... ok test_close_fds (test.test_subprocess.POSIXProcessTestCase.test_close_fds) ... ok test_close_fds_0_1 (test.test_subprocess.POSIXProcessTestCase.test_close_fds_0_1) ... ok test_close_fds_0_1_2 (test.test_subprocess.POSIXProcessTestCase.test_close_fds_0_1_2) ... ok test_close_fds_0_2 (test.test_subprocess.POSIXProcessTestCase.test_close_fds_0_2) ... ok test_close_fds_1_2 (test.test_subprocess.POSIXProcessTestCase.test_close_fds_1_2) ... ok test_close_fds_after_preexec (test.test_subprocess.POSIXProcessTestCase.test_close_fds_after_preexec) ... ok test_close_fds_when_max_fd_is_lowered (test.test_subprocess.POSIXProcessTestCase.test_close_fds_when_max_fd_is_lowered) Confirm that issue21618 is fixed (may fail under valgrind). ... ok test_communicate_BrokenPipeError_stdin_close (test.test_subprocess.POSIXProcessTestCase.test_communicate_BrokenPipeError_stdin_close) ... ok test_communicate_BrokenPipeError_stdin_close_with_timeout (test.test_subprocess.POSIXProcessTestCase.test_communicate_BrokenPipeError_stdin_close_with_timeout) ... ok test_communicate_BrokenPipeError_stdin_flush (test.test_subprocess.POSIXProcessTestCase.test_communicate_BrokenPipeError_stdin_flush) ... ok test_communicate_BrokenPipeError_stdin_write (test.test_subprocess.POSIXProcessTestCase.test_communicate_BrokenPipeError_stdin_write) ... ok test_communicate_repeated_call_after_stdout_close (test.test_subprocess.POSIXProcessTestCase.test_communicate_repeated_call_after_stdout_close) ... ok test_exception_bad_args_0 (test.test_subprocess.POSIXProcessTestCase.test_exception_bad_args_0) Test error in the child raised in the parent for a bad args[0]. ... ok test_exception_bad_executable (test.test_subprocess.POSIXProcessTestCase.test_exception_bad_executable) Test error in the child raised in the parent for a bad executable. ... ok test_exception_cwd (test.test_subprocess.POSIXProcessTestCase.test_exception_cwd) Test error in the child raised in the parent for a bad cwd. ... ok test_exception_errpipe_bad_data (test.test_subprocess.POSIXProcessTestCase.test_exception_errpipe_bad_data) Test error passing done through errpipe_write where its not ... ok test_exception_errpipe_normal (test.test_subprocess.POSIXProcessTestCase.test_exception_errpipe_normal) Test error passing done through errpipe_write in the good case ... ok test_extra_groups (test.test_subprocess.POSIXProcessTestCase.test_extra_groups) ... skipped 'setgroup() EPERM; this test may require root.' test_extra_groups_empty_list (test.test_subprocess.POSIXProcessTestCase.test_extra_groups_empty_list) ... skipped 'setgroup() EPERM; this test may require root.' test_extra_groups_invalid_gid_t_values (test.test_subprocess.POSIXProcessTestCase.test_extra_groups_invalid_gid_t_values) ... ok test_fork_exec (test.test_subprocess.POSIXProcessTestCase.test_fork_exec) ... skipped 'implementation detail specific to cpython' test_fork_exec_sorted_fd_sanity_check (test.test_subprocess.POSIXProcessTestCase.test_fork_exec_sorted_fd_sanity_check) ... skipped 'implementation detail specific to cpython' test_group (test.test_subprocess.POSIXProcessTestCase.test_group) ... ok test_group_error (test.test_subprocess.POSIXProcessTestCase.test_group_error) ... skipped 'setregid() available on platform' test_invalid_args (test.test_subprocess.POSIXProcessTestCase.test_invalid_args) ... ok test_kill (test.test_subprocess.POSIXProcessTestCase.test_kill) ... ok test_kill_dead (test.test_subprocess.POSIXProcessTestCase.test_kill_dead) ... ok test_leak_fast_process_del_killed (test.test_subprocess.POSIXProcessTestCase.test_leak_fast_process_del_killed) ... ok test_pass_fds (test.test_subprocess.POSIXProcessTestCase.test_pass_fds) ... ok test_pass_fds_inheritable (test.test_subprocess.POSIXProcessTestCase.test_pass_fds_inheritable) ... ok test_pass_fds_redirected (test.test_subprocess.POSIXProcessTestCase.test_pass_fds_redirected) Regression test for https://bugs.python.org/issue32270. ... ok test_pipe_cloexec (test.test_subprocess.POSIXProcessTestCase.test_pipe_cloexec) ... ok test_pipe_cloexec_real_tools (test.test_subprocess.POSIXProcessTestCase.test_pipe_cloexec_real_tools) ... ok test_preexec (test.test_subprocess.POSIXProcessTestCase.test_preexec) ... ok test_preexec_at_exit (test.test_subprocess.POSIXProcessTestCase.test_preexec_at_exit) ... FAIL test_preexec_errpipe_does_not_double_close_pipes (test.test_subprocess.POSIXProcessTestCase.test_preexec_errpipe_does_not_double_close_pipes) Issue16140: Don't double close pipes on preexec error. ... ok test_preexec_exception (test.test_subprocess.POSIXProcessTestCase.test_preexec_exception) ... ok test_preexec_fork_failure (test.test_subprocess.POSIXProcessTestCase.test_preexec_fork_failure) ... ok test_preexec_gc_module_failure (test.test_subprocess.POSIXProcessTestCase.test_preexec_gc_module_failure) ... ok test_process_group_0 (test.test_subprocess.POSIXProcessTestCase.test_process_group_0) ... ok test_remapping_std_fds (test.test_subprocess.POSIXProcessTestCase.test_remapping_std_fds) ... ok test_restore_signals (test.test_subprocess.POSIXProcessTestCase.test_restore_signals) ... ok test_run_abort (test.test_subprocess.POSIXProcessTestCase.test_run_abort) ... ok test_select_unbuffered (test.test_subprocess.POSIXProcessTestCase.test_select_unbuffered) ... ok test_send_signal (test.test_subprocess.POSIXProcessTestCase.test_send_signal) ... ok test_send_signal_dead (test.test_subprocess.POSIXProcessTestCase.test_send_signal_dead) ... ok test_send_signal_race (test.test_subprocess.POSIXProcessTestCase.test_send_signal_race) ... ok test_send_signal_race2 (test.test_subprocess.POSIXProcessTestCase.test_send_signal_race2) ... ok test_shell_sequence (test.test_subprocess.POSIXProcessTestCase.test_shell_sequence) ... ok test_shell_string (test.test_subprocess.POSIXProcessTestCase.test_shell_string) ... ok test_small_errpipe_write_fd (test.test_subprocess.POSIXProcessTestCase.test_small_errpipe_write_fd) Issue #15798: Popen should work when stdio fds are available. ... ok test_specific_shell (test.test_subprocess.POSIXProcessTestCase.test_specific_shell) ... ok test_start_new_session (test.test_subprocess.POSIXProcessTestCase.test_start_new_session) ... ok test_stderr_stdin_are_single_inout_fd (test.test_subprocess.POSIXProcessTestCase.test_stderr_stdin_are_single_inout_fd) ... ok test_stdout_stderr_are_single_inout_fd (test.test_subprocess.POSIXProcessTestCase.test_stdout_stderr_are_single_inout_fd) ... ok test_stdout_stdin_are_single_inout_fd (test.test_subprocess.POSIXProcessTestCase.test_stdout_stdin_are_single_inout_fd) ... ok test_stopped (test.test_subprocess.POSIXProcessTestCase.test_stopped) Test wait() behavior when waitpid returns WIFSTOPPED; issue29335. ... skipped 'need _testcapi.W_STOPCODE' test_surrogates_error_message (test.test_subprocess.POSIXProcessTestCase.test_surrogates_error_message) ... ok test_swap_fds (test.test_subprocess.POSIXProcessTestCase.test_swap_fds) ... ok test_swap_std_fds_with_one_closed (test.test_subprocess.POSIXProcessTestCase.test_swap_std_fds_with_one_closed) ... ok test_terminate (test.test_subprocess.POSIXProcessTestCase.test_terminate) ... ok test_terminate_dead (test.test_subprocess.POSIXProcessTestCase.test_terminate_dead) ... ok test_umask (test.test_subprocess.POSIXProcessTestCase.test_umask) ... ok test_undecodable_env (test.test_subprocess.POSIXProcessTestCase.test_undecodable_env) ... ok test_user (test.test_subprocess.POSIXProcessTestCase.test_user) ... ok test_user_error (test.test_subprocess.POSIXProcessTestCase.test_user_error) ... skipped 'setreuid() available on platform' test_wait_when_sigchild_ignored (test.test_subprocess.POSIXProcessTestCase.test_wait_when_sigchild_ignored) ... ok test_zombie_fast_process_del (test.test_subprocess.POSIXProcessTestCase.test_zombie_fast_process_del) ... FAIL test__use_vfork (test.test_subprocess.ProcessTestCase.test__use_vfork) ... skipped 'vfork() not enabled by configure.' test_bufsize_equal_one_binary_mode (test.test_subprocess.ProcessTestCase.test_bufsize_equal_one_binary_mode) ... ok test_bufsize_equal_one_text_mode (test.test_subprocess.ProcessTestCase.test_bufsize_equal_one_text_mode) ... ok test_bufsize_is_none (test.test_subprocess.ProcessTestCase.test_bufsize_is_none) ... ok test_bytes_executable (test.test_subprocess.ProcessTestCase.test_bytes_executable) ... ok test_bytes_executable_replaces_shell (test.test_subprocess.ProcessTestCase.test_bytes_executable_replaces_shell) ... ok test_call_kwargs (test.test_subprocess.ProcessTestCase.test_call_kwargs) ... ok test_call_seq (test.test_subprocess.ProcessTestCase.test_call_seq) ... ok test_call_timeout (test.test_subprocess.ProcessTestCase.test_call_timeout) ... ok test_check_call_nonzero (test.test_subprocess.ProcessTestCase.test_check_call_nonzero) ... ok test_check_call_zero (test.test_subprocess.ProcessTestCase.test_check_call_zero) ... ok test_check_output (test.test_subprocess.ProcessTestCase.test_check_output) ... ok test_check_output_input_arg (test.test_subprocess.ProcessTestCase.test_check_output_input_arg) ... ok test_check_output_input_none (test.test_subprocess.ProcessTestCase.test_check_output_input_none) input=None has a legacy meaning of input='' on check_output. ... ok test_check_output_input_none_encoding_errors (test.test_subprocess.ProcessTestCase.test_check_output_input_none_encoding_errors) ... ok test_check_output_input_none_text (test.test_subprocess.ProcessTestCase.test_check_output_input_none_text) ... ok test_check_output_input_none_universal_newlines (test.test_subprocess.ProcessTestCase.test_check_output_input_none_universal_newlines) ... ok test_check_output_nonzero (test.test_subprocess.ProcessTestCase.test_check_output_nonzero) ... ok test_check_output_stderr (test.test_subprocess.ProcessTestCase.test_check_output_stderr) ... ok test_check_output_stdin_arg (test.test_subprocess.ProcessTestCase.test_check_output_stdin_arg) ... ok test_check_output_stdin_with_input_arg (test.test_subprocess.ProcessTestCase.test_check_output_stdin_with_input_arg) ... ok test_check_output_stdout_arg (test.test_subprocess.ProcessTestCase.test_check_output_stdout_arg) ... ok test_check_output_timeout (test.test_subprocess.ProcessTestCase.test_check_output_timeout) ... ok test_class_getitems (test.test_subprocess.ProcessTestCase.test_class_getitems) ... ok test_communicate (test.test_subprocess.ProcessTestCase.test_communicate) ... ok test_communicate_eintr (test.test_subprocess.ProcessTestCase.test_communicate_eintr) ... ok test_communicate_epipe (test.test_subprocess.ProcessTestCase.test_communicate_epipe) ... ok test_communicate_epipe_only_stdin (test.test_subprocess.ProcessTestCase.test_communicate_epipe_only_stdin) ... ok test_communicate_errors (test.test_subprocess.ProcessTestCase.test_communicate_errors) ... ok test_communicate_pipe_buf (test.test_subprocess.ProcessTestCase.test_communicate_pipe_buf) ... ok test_communicate_pipe_fd_leak (test.test_subprocess.ProcessTestCase.test_communicate_pipe_fd_leak) ... ok test_communicate_returns (test.test_subprocess.ProcessTestCase.test_communicate_returns) ... ok test_communicate_stderr (test.test_subprocess.ProcessTestCase.test_communicate_stderr) ... ok test_communicate_stdin (test.test_subprocess.ProcessTestCase.test_communicate_stdin) ... ok test_communicate_stdout (test.test_subprocess.ProcessTestCase.test_communicate_stdout) ... ok test_communicate_timeout (test.test_subprocess.ProcessTestCase.test_communicate_timeout) ... ok test_communicate_timeout_large_output (test.test_subprocess.ProcessTestCase.test_communicate_timeout_large_output) ... ok test_cwd (test.test_subprocess.ProcessTestCase.test_cwd) ... ok test_cwd_with_absolute_arg (test.test_subprocess.ProcessTestCase.test_cwd_with_absolute_arg) ... ok test_cwd_with_bytes (test.test_subprocess.ProcessTestCase.test_cwd_with_bytes) ... ok test_cwd_with_pathlike (test.test_subprocess.ProcessTestCase.test_cwd_with_pathlike) ... ok test_cwd_with_relative_arg (test.test_subprocess.ProcessTestCase.test_cwd_with_relative_arg) ... ok test_cwd_with_relative_executable (test.test_subprocess.ProcessTestCase.test_cwd_with_relative_executable) ... ok test_double_close_on_error (test.test_subprocess.ProcessTestCase.test_double_close_on_error) ... ok test_empty_env (test.test_subprocess.ProcessTestCase.test_empty_env) Verify that env={} is as empty as possible. ... ok test_env (test.test_subprocess.ProcessTestCase.test_env) ... ok test_executable (test.test_subprocess.ProcessTestCase.test_executable) ... ok test_executable_replaces_shell (test.test_subprocess.ProcessTestCase.test_executable_replaces_shell) ... ok test_executable_takes_precedence (test.test_subprocess.ProcessTestCase.test_executable_takes_precedence) ... ok test_executable_with_cwd (test.test_subprocess.ProcessTestCase.test_executable_with_cwd) ... ok test_executable_without_cwd (test.test_subprocess.ProcessTestCase.test_executable_without_cwd) ... ok test_failed_child_execute_fd_leak (test.test_subprocess.ProcessTestCase.test_failed_child_execute_fd_leak) Test for the fork() failure fd leak reported in issue16327. ... ok test_file_not_found_includes_filename (test.test_subprocess.ProcessTestCase.test_file_not_found_includes_filename) ... ok test_file_not_found_with_bad_cwd (test.test_subprocess.ProcessTestCase.test_file_not_found_with_bad_cwd) ... ok test_handles_closed_on_exception (test.test_subprocess.ProcessTestCase.test_handles_closed_on_exception) ... ok test_invalid_args (test.test_subprocess.ProcessTestCase.test_invalid_args) ... ok test_invalid_bufsize (test.test_subprocess.ProcessTestCase.test_invalid_bufsize) ... ok test_invalid_cmd (test.test_subprocess.ProcessTestCase.test_invalid_cmd) ... ok test_invalid_env (test.test_subprocess.ProcessTestCase.test_invalid_env) ... ok test_io_buffered_by_default (test.test_subprocess.ProcessTestCase.test_io_buffered_by_default) ... ok test_io_unbuffered_works (test.test_subprocess.ProcessTestCase.test_io_unbuffered_works) ... ok test_issue8780 (test.test_subprocess.ProcessTestCase.test_issue8780) ... ok test_leaking_fds_on_error (test.test_subprocess.ProcessTestCase.test_leaking_fds_on_error) ... skipped "resource 'cpu' is not enabled" test_list2cmdline (test.test_subprocess.ProcessTestCase.test_list2cmdline) ... ok test_no_leaking (test.test_subprocess.ProcessTestCase.test_no_leaking) ... skipped 'failed to reach the file descriptor limit (tried 1026)' test_nonexisting_with_pipes (test.test_subprocess.ProcessTestCase.test_nonexisting_with_pipes) ... skipped 'need msvcrt.CrtSetReportMode' test_one_environment_variable (test.test_subprocess.ProcessTestCase.test_one_environment_variable) ... ok test_pathlike_executable (test.test_subprocess.ProcessTestCase.test_pathlike_executable) ... ok test_pathlike_executable_replaces_shell (test.test_subprocess.ProcessTestCase.test_pathlike_executable_replaces_shell) ... ok test_pipesize_default (test.test_subprocess.ProcessTestCase.test_pipesize_default) ... skipped 'fcntl.F_GETPIPE_SZ required for test.' test_pipesizes (test.test_subprocess.ProcessTestCase.test_pipesizes) ... skipped 'fcntl.F_GETPIPE_SZ required for test.' test_poll (test.test_subprocess.ProcessTestCase.test_poll) ... ok test_repr (test.test_subprocess.ProcessTestCase.test_repr) ... ok test_stderr_devnull (test.test_subprocess.ProcessTestCase.test_stderr_devnull) ... ok test_stderr_filedes (test.test_subprocess.ProcessTestCase.test_stderr_filedes) ... ok test_stderr_fileobj (test.test_subprocess.ProcessTestCase.test_stderr_fileobj) ... ok test_stderr_none (test.test_subprocess.ProcessTestCase.test_stderr_none) ... ok test_stderr_pipe (test.test_subprocess.ProcessTestCase.test_stderr_pipe) ... ok test_stderr_redirect_with_no_stdout_redirect (test.test_subprocess.ProcessTestCase.test_stderr_redirect_with_no_stdout_redirect) ... ok test_stdin_devnull (test.test_subprocess.ProcessTestCase.test_stdin_devnull) ... ok test_stdin_filedes (test.test_subprocess.ProcessTestCase.test_stdin_filedes) ... ok test_stdin_fileobj (test.test_subprocess.ProcessTestCase.test_stdin_fileobj) ... ok test_stdin_none (test.test_subprocess.ProcessTestCase.test_stdin_none) ... ok test_stdin_pipe (test.test_subprocess.ProcessTestCase.test_stdin_pipe) ... ok test_stdout_devnull (test.test_subprocess.ProcessTestCase.test_stdout_devnull) ... ok test_stdout_filedes (test.test_subprocess.ProcessTestCase.test_stdout_filedes) ... ok test_stdout_filedes_of_stdout (test.test_subprocess.ProcessTestCase.test_stdout_filedes_of_stdout) ... ok test_stdout_fileobj (test.test_subprocess.ProcessTestCase.test_stdout_fileobj) ... ok test_stdout_none (test.test_subprocess.ProcessTestCase.test_stdout_none) ... ok test_stdout_pipe (test.test_subprocess.ProcessTestCase.test_stdout_pipe) ... ok test_stdout_stderr_file (test.test_subprocess.ProcessTestCase.test_stdout_stderr_file) ... ok test_stdout_stderr_pipe (test.test_subprocess.ProcessTestCase.test_stdout_stderr_pipe) ... ok test_threadsafe_wait (test.test_subprocess.ProcessTestCase.test_threadsafe_wait) Issue21291: Popen.wait() needs to be threadsafe for returncode. ... ok test_universal_newlines_and_text (test.test_subprocess.ProcessTestCase.test_universal_newlines_and_text) ... ok test_universal_newlines_communicate (test.test_subprocess.ProcessTestCase.test_universal_newlines_communicate) ... ok test_universal_newlines_communicate_encodings (test.test_subprocess.ProcessTestCase.test_universal_newlines_communicate_encodings) ... ok test_universal_newlines_communicate_input_none (test.test_subprocess.ProcessTestCase.test_universal_newlines_communicate_input_none) ... ok test_universal_newlines_communicate_stdin (test.test_subprocess.ProcessTestCase.test_universal_newlines_communicate_stdin) ... ok test_universal_newlines_communicate_stdin_stdout_stderr (test.test_subprocess.ProcessTestCase.test_universal_newlines_communicate_stdin_stdout_stderr) ... ok test_wait (test.test_subprocess.ProcessTestCase.test_wait) ... ok test_wait_negative_timeout (test.test_subprocess.ProcessTestCase.test_wait_negative_timeout) ... skipped 'need subprocess._winapi' test_wait_timeout (test.test_subprocess.ProcessTestCase.test_wait_timeout) ... ok test_win32_duplicate_envs (test.test_subprocess.ProcessTestCase.test_win32_duplicate_envs) ... skipped 'Windows only issue' test_win32_invalid_env (test.test_subprocess.ProcessTestCase.test_win32_invalid_env) ... skipped 'Windows only issue' test_writes_before_communicate (test.test_subprocess.ProcessTestCase.test_writes_before_communicate) ... ok test__use_vfork (test.test_subprocess.ProcessTestCaseNoPoll.test__use_vfork) ... skipped 'vfork() not enabled by configure.' test_bufsize_equal_one_binary_mode (test.test_subprocess.ProcessTestCaseNoPoll.test_bufsize_equal_one_binary_mode) ... ok test_bufsize_equal_one_text_mode (test.test_subprocess.ProcessTestCaseNoPoll.test_bufsize_equal_one_text_mode) ... ok test_bufsize_is_none (test.test_subprocess.ProcessTestCaseNoPoll.test_bufsize_is_none) ... ok test_bytes_executable (test.test_subprocess.ProcessTestCaseNoPoll.test_bytes_executable) ... ok test_bytes_executable_replaces_shell (test.test_subprocess.ProcessTestCaseNoPoll.test_bytes_executable_replaces_shell) ... ok test_call_kwargs (test.test_subprocess.ProcessTestCaseNoPoll.test_call_kwargs) ... ok test_call_seq (test.test_subprocess.ProcessTestCaseNoPoll.test_call_seq) ... ok test_call_timeout (test.test_subprocess.ProcessTestCaseNoPoll.test_call_timeout) ... ok test_check_call_nonzero (test.test_subprocess.ProcessTestCaseNoPoll.test_check_call_nonzero) ... ok test_check_call_zero (test.test_subprocess.ProcessTestCaseNoPoll.test_check_call_zero) ... ok test_check_output (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output) ... ok test_check_output_input_arg (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output_input_arg) ... ok test_check_output_input_none (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output_input_none) input=None has a legacy meaning of input='' on check_output. ... ok test_check_output_input_none_encoding_errors (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output_input_none_encoding_errors) ... ok test_check_output_input_none_text (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output_input_none_text) ... ok test_check_output_input_none_universal_newlines (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output_input_none_universal_newlines) ... ok test_check_output_nonzero (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output_nonzero) ... ok test_check_output_stderr (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output_stderr) ... ok test_check_output_stdin_arg (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output_stdin_arg) ... ok test_check_output_stdin_with_input_arg (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output_stdin_with_input_arg) ... ok test_check_output_stdout_arg (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output_stdout_arg) ... ok test_check_output_timeout (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output_timeout) ... ok test_class_getitems (test.test_subprocess.ProcessTestCaseNoPoll.test_class_getitems) ... ok test_communicate (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate) ... ok test_communicate_eintr (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_eintr) ... ok test_communicate_epipe (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_epipe) ... ok test_communicate_epipe_only_stdin (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_epipe_only_stdin) ... ok test_communicate_errors (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_errors) ... ok test_communicate_pipe_buf (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_pipe_buf) ... ok test_communicate_pipe_fd_leak (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_pipe_fd_leak) ... ok test_communicate_returns (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_returns) ... ok test_communicate_stderr (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_stderr) ... ok test_communicate_stdin (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_stdin) ... ok test_communicate_stdout (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_stdout) ... ok test_communicate_timeout (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_timeout) ... ok test_communicate_timeout_large_output (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_timeout_large_output) ... ok test_cwd (test.test_subprocess.ProcessTestCaseNoPoll.test_cwd) ... ok test_cwd_with_absolute_arg (test.test_subprocess.ProcessTestCaseNoPoll.test_cwd_with_absolute_arg) ... ok test_cwd_with_bytes (test.test_subprocess.ProcessTestCaseNoPoll.test_cwd_with_bytes) ... ok test_cwd_with_pathlike (test.test_subprocess.ProcessTestCaseNoPoll.test_cwd_with_pathlike) ... ok test_cwd_with_relative_arg (test.test_subprocess.ProcessTestCaseNoPoll.test_cwd_with_relative_arg) ... ok test_cwd_with_relative_executable (test.test_subprocess.ProcessTestCaseNoPoll.test_cwd_with_relative_executable) ... ok test_double_close_on_error (test.test_subprocess.ProcessTestCaseNoPoll.test_double_close_on_error) ... ok test_empty_env (test.test_subprocess.ProcessTestCaseNoPoll.test_empty_env) Verify that env={} is as empty as possible. ... ok test_env (test.test_subprocess.ProcessTestCaseNoPoll.test_env) ... ok test_executable (test.test_subprocess.ProcessTestCaseNoPoll.test_executable) ... ok test_executable_replaces_shell (test.test_subprocess.ProcessTestCaseNoPoll.test_executable_replaces_shell) ... ok test_executable_takes_precedence (test.test_subprocess.ProcessTestCaseNoPoll.test_executable_takes_precedence) ... ok test_executable_with_cwd (test.test_subprocess.ProcessTestCaseNoPoll.test_executable_with_cwd) ... ok test_executable_without_cwd (test.test_subprocess.ProcessTestCaseNoPoll.test_executable_without_cwd) ... ok test_failed_child_execute_fd_leak (test.test_subprocess.ProcessTestCaseNoPoll.test_failed_child_execute_fd_leak) Test for the fork() failure fd leak reported in issue16327. ... ok test_file_not_found_includes_filename (test.test_subprocess.ProcessTestCaseNoPoll.test_file_not_found_includes_filename) ... ok test_file_not_found_with_bad_cwd (test.test_subprocess.ProcessTestCaseNoPoll.test_file_not_found_with_bad_cwd) ... ok test_handles_closed_on_exception (test.test_subprocess.ProcessTestCaseNoPoll.test_handles_closed_on_exception) ... ok test_invalid_args (test.test_subprocess.ProcessTestCaseNoPoll.test_invalid_args) ... ok test_invalid_bufsize (test.test_subprocess.ProcessTestCaseNoPoll.test_invalid_bufsize) ... ok test_invalid_cmd (test.test_subprocess.ProcessTestCaseNoPoll.test_invalid_cmd) ... ok test_invalid_env (test.test_subprocess.ProcessTestCaseNoPoll.test_invalid_env) ... ok test_io_buffered_by_default (test.test_subprocess.ProcessTestCaseNoPoll.test_io_buffered_by_default) ... ok test_io_unbuffered_works (test.test_subprocess.ProcessTestCaseNoPoll.test_io_unbuffered_works) ... ok test_issue8780 (test.test_subprocess.ProcessTestCaseNoPoll.test_issue8780) ... ok test_leaking_fds_on_error (test.test_subprocess.ProcessTestCaseNoPoll.test_leaking_fds_on_error) ... skipped "resource 'cpu' is not enabled" test_list2cmdline (test.test_subprocess.ProcessTestCaseNoPoll.test_list2cmdline) ... ok test_no_leaking (test.test_subprocess.ProcessTestCaseNoPoll.test_no_leaking) ... skipped 'failed to reach the file descriptor limit (tried 1026)' test_nonexisting_with_pipes (test.test_subprocess.ProcessTestCaseNoPoll.test_nonexisting_with_pipes) ... skipped 'need msvcrt.CrtSetReportMode' test_one_environment_variable (test.test_subprocess.ProcessTestCaseNoPoll.test_one_environment_variable) ... ok test_pathlike_executable (test.test_subprocess.ProcessTestCaseNoPoll.test_pathlike_executable) ... ok test_pathlike_executable_replaces_shell (test.test_subprocess.ProcessTestCaseNoPoll.test_pathlike_executable_replaces_shell) ... ok test_pipesize_default (test.test_subprocess.ProcessTestCaseNoPoll.test_pipesize_default) ... skipped 'fcntl.F_GETPIPE_SZ required for test.' test_pipesizes (test.test_subprocess.ProcessTestCaseNoPoll.test_pipesizes) ... skipped 'fcntl.F_GETPIPE_SZ required for test.' test_poll (test.test_subprocess.ProcessTestCaseNoPoll.test_poll) ... ok test_repr (test.test_subprocess.ProcessTestCaseNoPoll.test_repr) ... ok test_stderr_devnull (test.test_subprocess.ProcessTestCaseNoPoll.test_stderr_devnull) ... ok test_stderr_filedes (test.test_subprocess.ProcessTestCaseNoPoll.test_stderr_filedes) ... ok test_stderr_fileobj (test.test_subprocess.ProcessTestCaseNoPoll.test_stderr_fileobj) ... ok test_stderr_none (test.test_subprocess.ProcessTestCaseNoPoll.test_stderr_none) ... ok test_stderr_pipe (test.test_subprocess.ProcessTestCaseNoPoll.test_stderr_pipe) ... ok test_stderr_redirect_with_no_stdout_redirect (test.test_subprocess.ProcessTestCaseNoPoll.test_stderr_redirect_with_no_stdout_redirect) ... ok test_stdin_devnull (test.test_subprocess.ProcessTestCaseNoPoll.test_stdin_devnull) ... ok test_stdin_filedes (test.test_subprocess.ProcessTestCaseNoPoll.test_stdin_filedes) ... ok test_stdin_fileobj (test.test_subprocess.ProcessTestCaseNoPoll.test_stdin_fileobj) ... ok test_stdin_none (test.test_subprocess.ProcessTestCaseNoPoll.test_stdin_none) ... ok test_stdin_pipe (test.test_subprocess.ProcessTestCaseNoPoll.test_stdin_pipe) ... ok test_stdout_devnull (test.test_subprocess.ProcessTestCaseNoPoll.test_stdout_devnull) ... ok test_stdout_filedes (test.test_subprocess.ProcessTestCaseNoPoll.test_stdout_filedes) ... ok test_stdout_filedes_of_stdout (test.test_subprocess.ProcessTestCaseNoPoll.test_stdout_filedes_of_stdout) ... ok test_stdout_fileobj (test.test_subprocess.ProcessTestCaseNoPoll.test_stdout_fileobj) ... ok test_stdout_none (test.test_subprocess.ProcessTestCaseNoPoll.test_stdout_none) ... ok test_stdout_pipe (test.test_subprocess.ProcessTestCaseNoPoll.test_stdout_pipe) ... ok test_stdout_stderr_file (test.test_subprocess.ProcessTestCaseNoPoll.test_stdout_stderr_file) ... ok test_stdout_stderr_pipe (test.test_subprocess.ProcessTestCaseNoPoll.test_stdout_stderr_pipe) ... ok test_threadsafe_wait (test.test_subprocess.ProcessTestCaseNoPoll.test_threadsafe_wait) Issue21291: Popen.wait() needs to be threadsafe for returncode. ... ok test_universal_newlines_and_text (test.test_subprocess.ProcessTestCaseNoPoll.test_universal_newlines_and_text) ... ok test_universal_newlines_communicate (test.test_subprocess.ProcessTestCaseNoPoll.test_universal_newlines_communicate) ... ok test_universal_newlines_communicate_encodings (test.test_subprocess.ProcessTestCaseNoPoll.test_universal_newlines_communicate_encodings) ... ok test_universal_newlines_communicate_input_none (test.test_subprocess.ProcessTestCaseNoPoll.test_universal_newlines_communicate_input_none) ... ok test_universal_newlines_communicate_stdin (test.test_subprocess.ProcessTestCaseNoPoll.test_universal_newlines_communicate_stdin) ... ok test_universal_newlines_communicate_stdin_stdout_stderr (test.test_subprocess.ProcessTestCaseNoPoll.test_universal_newlines_communicate_stdin_stdout_stderr) ... ok test_wait (test.test_subprocess.ProcessTestCaseNoPoll.test_wait) ... ok test_wait_negative_timeout (test.test_subprocess.ProcessTestCaseNoPoll.test_wait_negative_timeout) ... skipped 'need subprocess._winapi' test_wait_timeout (test.test_subprocess.ProcessTestCaseNoPoll.test_wait_timeout) ... ok test_win32_duplicate_envs (test.test_subprocess.ProcessTestCaseNoPoll.test_win32_duplicate_envs) ... skipped 'Windows only issue' test_win32_invalid_env (test.test_subprocess.ProcessTestCaseNoPoll.test_win32_invalid_env) ... skipped 'Windows only issue' test_writes_before_communicate (test.test_subprocess.ProcessTestCaseNoPoll.test_writes_before_communicate) ... ok test_capture_output (test.test_subprocess.RunFuncTestCase.test_capture_output) ... ok test_capture_stderr (test.test_subprocess.RunFuncTestCase.test_capture_stderr) ... ok test_capture_stdout (test.test_subprocess.RunFuncTestCase.test_capture_stdout) ... ok test_check (test.test_subprocess.RunFuncTestCase.test_check) ... ok test_check_output_input_arg (test.test_subprocess.RunFuncTestCase.test_check_output_input_arg) ... ok test_check_output_stdin_arg (test.test_subprocess.RunFuncTestCase.test_check_output_stdin_arg) ... ok test_check_output_stdin_with_input_arg (test.test_subprocess.RunFuncTestCase.test_check_output_stdin_with_input_arg) ... ok test_check_output_timeout (test.test_subprocess.RunFuncTestCase.test_check_output_timeout) ... ok test_check_zero (test.test_subprocess.RunFuncTestCase.test_check_zero) ... ok test_encoding_warning (test.test_subprocess.RunFuncTestCase.test_encoding_warning) ... ok test_returncode (test.test_subprocess.RunFuncTestCase.test_returncode) ... ok test_run_kwargs (test.test_subprocess.RunFuncTestCase.test_run_kwargs) ... ok test_run_with_an_empty_env (test.test_subprocess.RunFuncTestCase.test_run_with_an_empty_env) ... skipped 'Maybe test trigger a leak on Ubuntu' test_run_with_bytes_path_and_arguments (test.test_subprocess.RunFuncTestCase.test_run_with_bytes_path_and_arguments) ... ok test_run_with_pathlike_path (test.test_subprocess.RunFuncTestCase.test_run_with_pathlike_path) ... ok test_run_with_pathlike_path_and_arguments (test.test_subprocess.RunFuncTestCase.test_run_with_pathlike_path_and_arguments) ... ok test_run_with_shell_timeout_and_capture_output (test.test_subprocess.RunFuncTestCase.test_run_with_shell_timeout_and_capture_output) Output capturing after a timeout mustn't hang forever on open filehandles. ... ok test_stderr_with_capture_output_arg (test.test_subprocess.RunFuncTestCase.test_stderr_with_capture_output_arg) ... ok test_stdout_with_capture_output_arg (test.test_subprocess.RunFuncTestCase.test_stdout_with_capture_output_arg) ... ok test_timeout (test.test_subprocess.RunFuncTestCase.test_timeout) ... ok test_call_string (test.test_subprocess.Win32ProcessTestCase.test_call_string) ... skipped 'Windows specific tests' test_close_fds (test.test_subprocess.Win32ProcessTestCase.test_close_fds) ... skipped 'Windows specific tests' test_close_fds_with_stdio (test.test_subprocess.Win32ProcessTestCase.test_close_fds_with_stdio) ... skipped 'Windows specific tests' test_creationflags (test.test_subprocess.Win32ProcessTestCase.test_creationflags) ... skipped 'Windows specific tests' test_empty_attribute_list (test.test_subprocess.Win32ProcessTestCase.test_empty_attribute_list) ... skipped 'Windows specific tests' test_empty_handle_list (test.test_subprocess.Win32ProcessTestCase.test_empty_handle_list) ... skipped 'Windows specific tests' test_invalid_args (test.test_subprocess.Win32ProcessTestCase.test_invalid_args) ... skipped 'Windows specific tests' test_issue31471 (test.test_subprocess.Win32ProcessTestCase.test_issue31471) ... skipped 'Windows specific tests' test_kill (test.test_subprocess.Win32ProcessTestCase.test_kill) ... skipped 'Windows specific tests' test_kill_dead (test.test_subprocess.Win32ProcessTestCase.test_kill_dead) ... skipped 'Windows specific tests' test_send_signal (test.test_subprocess.Win32ProcessTestCase.test_send_signal) ... skipped 'Windows specific tests' test_send_signal_dead (test.test_subprocess.Win32ProcessTestCase.test_send_signal_dead) ... skipped 'Windows specific tests' test_shell_encodings (test.test_subprocess.Win32ProcessTestCase.test_shell_encodings) ... skipped 'Windows specific tests' test_shell_sequence (test.test_subprocess.Win32ProcessTestCase.test_shell_sequence) ... skipped 'Windows specific tests' test_shell_string (test.test_subprocess.Win32ProcessTestCase.test_shell_string) ... skipped 'Windows specific tests' test_startupinfo (test.test_subprocess.Win32ProcessTestCase.test_startupinfo) ... skipped 'Windows specific tests' test_startupinfo_copy (test.test_subprocess.Win32ProcessTestCase.test_startupinfo_copy) ... skipped 'Windows specific tests' test_startupinfo_keywords (test.test_subprocess.Win32ProcessTestCase.test_startupinfo_keywords) ... skipped 'Windows specific tests' test_terminate (test.test_subprocess.Win32ProcessTestCase.test_terminate) ... skipped 'Windows specific tests' test_terminate_dead (test.test_subprocess.Win32ProcessTestCase.test_terminate_dead) ... skipped 'Windows specific tests' ====================================================================== FAIL: test_preexec_at_exit (test.test_subprocess.POSIXProcessTestCase.test_preexec_at_exit) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_subprocess.py", line 3404, in test_preexec_at_exit self.assertEqual(out.strip(), b"OK") ^^^^^^^^^^^ AssertionError: b'' != b'OK' ====================================================================== FAIL: test_zombie_fast_process_del (test.test_subprocess.POSIXProcessTestCase.test_zombie_fast_process_del) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_subprocess.py", line 3126, in test_zombie_fast_process_del with warnings_helper.check_warnings(('', ResourceWarning)): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 144, in __exit__ next(self.gen) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/warnings_helper.py", line 187, in _filterwarnings raise AssertionError("filter (%r, %s) did not catch any warning" % AssertionError: filter ('', ResourceWarning) did not catch any warning ---------------------------------------------------------------------- Ran 341 tests in 57.757s FAILED (failures=2, skipped=50) 0:00:57 load avg: 0.70 [1/1/1] test_subprocess failed (2 failures) in 57.9 sec == Tests result: FAILURE == 1 test failed: test_subprocess Total duration: 58.0 sec Total tests: run=341 failures=2 skipped=50 Total test files: run=1/1 failed=1 Result: FAILURE Warning -- reap_children() reaped child process 1753286 test test_subprocess failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1753541æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3712295069 0:00:00 load avg: 0.72 Run 1 test sequentially in a single process 0:00:00 load avg: 0.72 [1/1] test_super 0:00:00 load avg: 0.72 [1/1/1] test_super failed (uncaught exception) == Tests result: FAILURE == 1 test failed: test_super Total duration: 51 ms Total tests: run=0 Total test files: run=1/1 failed=1 Result: FAILURE test test_super crashed -- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc _load_run_test(result, runtests) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 128, in _load_run_test test_mod = importlib.import_module(module_name) ^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<builtin>/frozen importlib._bootstrap_external", line 1007, in exec_module File "<builtin>/frozen importlib._bootstrap_external", line 1145, in get_code File "<builtin>/frozen importlib._bootstrap_external", line 1075, in source_to_code File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_super.py", line 115 global __class__ ^^^^^^^^^^^^^^^^ SyntaxError: 'global __class__' inside a class statement is not implemented in PyPy _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1753560æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2715523578 0:00:00 load avg: 0.72 Run 1 test sequentially in a single process 0:00:00 load avg: 0.72 [1/1] test_syntax test_assign_call (test.test_syntax.SyntaxTestCase.test_assign_call) ... ok test_assign_del (test.test_syntax.SyntaxTestCase.test_assign_del) ... ok test_async_with_statement_many_context_managers (test.test_syntax.SyntaxTestCase.test_async_with_statement_many_context_managers) ... skipped 'implementation detail specific to cpython' test_bad_outdent (test.test_syntax.SyntaxTestCase.test_bad_outdent) ... ok test_barry_as_flufl_with_syntax_errors (test.test_syntax.SyntaxTestCase.test_barry_as_flufl_with_syntax_errors) ... ok test_break_outside_loop (test.test_syntax.SyntaxTestCase.test_break_outside_loop) ... FAIL test_case_call_does_not_raise_syntax_error (test.test_syntax.SyntaxTestCase.test_case_call_does_not_raise_syntax_error) ... ok test_continuation_bad_indentation (test.test_syntax.SyntaxTestCase.test_continuation_bad_indentation) ... ok test_continue_outside_loop (test.test_syntax.SyntaxTestCase.test_continue_outside_loop) ... ok test_curly_brace_after_primary_raises_immediately (test.test_syntax.SyntaxTestCase.test_curly_brace_after_primary_raises_immediately) ... ok test_deep_invalid_rule (test.test_syntax.SyntaxTestCase.test_deep_invalid_rule) ... skipped 'implementation detail specific to cpython' test_disallowed_type_param_names (test.test_syntax.SyntaxTestCase.test_disallowed_type_param_names) ... skipped 'implementation detail specific to cpython' test_empty_line_after_linecont (test.test_syntax.SyntaxTestCase.test_empty_line_after_linecont) ... ok test_error_on_parser_stack_overflow (test.test_syntax.SyntaxTestCase.test_error_on_parser_stack_overflow) ... skipped 'implementation detail specific to cpython' test_error_parenthesis (test.test_syntax.SyntaxTestCase.test_error_parenthesis) ... FAIL test_error_string_literal (test.test_syntax.SyntaxTestCase.test_error_string_literal) ... ok test_except_star_then_except (test.test_syntax.SyntaxTestCase.test_except_star_then_except) ... ok test_except_then_except_star (test.test_syntax.SyntaxTestCase.test_except_then_except_star) ... ok test_expression_with_assignment (test.test_syntax.SyntaxTestCase.test_expression_with_assignment) ... ok test_generator_in_function_call (test.test_syntax.SyntaxTestCase.test_generator_in_function_call) ... ok test_global_param_err_first (test.test_syntax.SyntaxTestCase.test_global_param_err_first) ... ok test_invalid_line_continuation_error_position (test.test_syntax.SyntaxTestCase.test_invalid_line_continuation_error_position) ... ok test_invalid_line_continuation_left_recursive (test.test_syntax.SyntaxTestCase.test_invalid_line_continuation_left_recursive) ... FAIL test_invisible_characters (test.test_syntax.SyntaxTestCase.test_invisible_characters) ... ok test_kwargs_last (test.test_syntax.SyntaxTestCase.test_kwargs_last) ... ok test_kwargs_last2 (test.test_syntax.SyntaxTestCase.test_kwargs_last2) ... ok test_kwargs_last3 (test.test_syntax.SyntaxTestCase.test_kwargs_last3) ... ok test_match_call_does_not_raise_syntax_error (test.test_syntax.SyntaxTestCase.test_match_call_does_not_raise_syntax_error) ... ok test_multiline_compiler_error_points_to_the_end (test.test_syntax.SyntaxTestCase.test_multiline_compiler_error_points_to_the_end) ... ok test_nested_named_except_blocks (test.test_syntax.SyntaxTestCase.test_nested_named_except_blocks) ... skipped 'implementation detail specific to cpython' test_no_indent (test.test_syntax.SyntaxTestCase.test_no_indent) ... ok test_nonlocal_param_err_first (test.test_syntax.SyntaxTestCase.test_nonlocal_param_err_first) ... ok test_return_outside_function (test.test_syntax.SyntaxTestCase.test_return_outside_function) ... ok test_syntax_error_on_deeply_nested_blocks (test.test_syntax.SyntaxTestCase.test_syntax_error_on_deeply_nested_blocks) ... skipped 'implementation detail specific to cpython' test_unexpected_indent (test.test_syntax.SyntaxTestCase.test_unexpected_indent) ... ok test_with_statement_many_context_managers (test.test_syntax.SyntaxTestCase.test_with_statement_many_context_managers) ... skipped 'implementation detail specific to cpython' test_yield_outside_function (test.test_syntax.SyntaxTestCase.test_yield_outside_function) ... ok test_syntax (test) Doctest: test.test_syntax ... FAIL ====================================================================== FAIL: test_break_outside_loop (test.test_syntax.SyntaxTestCase.test_break_outside_loop) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 2034, in _check_error compile(code, filename, mode) File "<testcase>", line 1 SyntaxError: 'break' not properly in loop During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 2147, in test_break_outside_loop self._check_error("break", msg, lineno=1) ^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 2040, in _check_error self.fail("SyntaxError did not contain %r" % (errtext,)) ^^^^ AssertionError: SyntaxError did not contain 'outside loop' ====================================================================== FAIL: test_error_parenthesis (test.test_syntax.SyntaxTestCase.test_error_parenthesis) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 2034, in _check_error compile(code, filename, mode) File "<testcase>", line 1 a = ( 1, 2, 3 b=3 ^ SyntaxError: invalid syntax. Perhaps you forgot a comma? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 2376, in test_error_parenthesis self._check_error(f"a = {paren} 1, 2, 3\nb=3", f"\\{paren}' was never closed") ^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 2040, in _check_error self.fail("SyntaxError did not contain %r" % (errtext,)) ^^^^ AssertionError: SyntaxError did not contain "\\(' was never closed" ====================================================================== FAIL: test_invalid_line_continuation_left_recursive (test.test_syntax.SyntaxTestCase.test_invalid_line_continuation_left_recursive) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 2034, in _check_error compile(code, filename, mode) File "<testcase>", line 1 A.μ\ ^ SyntaxError: unexpected end of file (EOF) in multi-line statement During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 2368, in test_invalid_line_continuation_left_recursive self._check_error("A.\u03bc\\\n", ^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 2040, in _check_error self.fail("SyntaxError did not contain %r" % (errtext,)) ^^^^ AssertionError: SyntaxError did not contain 'unexpected EOF while parsing' ====================================================================== FAIL: test_syntax (test) Doctest: test.test_syntax ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 2256, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for test.test_syntax File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 0, in test_syntax ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 341, in test.test_syntax Failed example: def f(x, y=1, z): pass Expected: Traceback (most recent call last): SyntaxError: parameter without a default follows parameter with a default Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[69]>", line 1 def f(x, y=1, z): ^ SyntaxError: non-default argument follows default argument ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 346, in test.test_syntax Failed example: def f(x, /, y=1, z): pass Expected: Traceback (most recent call last): SyntaxError: parameter without a default follows parameter with a default Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[70]>", line 1 def f(x, /, y=1, z): ^ SyntaxError: invalid syntax ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 570, in test.test_syntax Failed example: lambda a,d=3,c: None Expected: Traceback (most recent call last): SyntaxError: parameter without a default follows parameter with a default Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[119]>", line 1 lambda a,d=3,c: None ^ SyntaxError: non-default argument follows default argument ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 574, in test.test_syntax Failed example: lambda a,/,d=3,c: None Expected: Traceback (most recent call last): SyntaxError: parameter without a default follows parameter with a default Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[120]>", line 1 lambda a,/,d=3,c: None ^ SyntaxError: invalid syntax ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 766, in test.test_syntax Failed example: f(a=) Expected: Traceback (most recent call last): SyntaxError: expected argument value expression Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[152]>", line 1 f(a=) ^ SyntaxError: invalid syntax ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 769, in test.test_syntax Failed example: f(a, b, c=) Expected: Traceback (most recent call last): SyntaxError: expected argument value expression Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[153]>", line 1 f(a, b, c=) ^ SyntaxError: invalid syntax ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 772, in test.test_syntax Failed example: f(a, b, c=, d) Expected: Traceback (most recent call last): SyntaxError: expected argument value expression Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[154]>", line 1 f(a, b, c=, d) ^ SyntaxError: invalid syntax ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 775, in test.test_syntax Failed example: f(*args=[0]) Expected: Traceback (most recent call last): SyntaxError: cannot assign to iterable argument unpacking Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[155]>", line 1 f(*args=[0]) ^ SyntaxError: invalid syntax ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 778, in test.test_syntax Failed example: f(a, b, *args=[0]) Expected: Traceback (most recent call last): SyntaxError: cannot assign to iterable argument unpacking Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[156]>", line 1 f(a, b, *args=[0]) ^ SyntaxError: invalid syntax ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 781, in test.test_syntax Failed example: f(**kwargs={'a': 1}) Expected: Traceback (most recent call last): SyntaxError: cannot assign to keyword argument unpacking Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[157]>", line 1 f(**kwargs={'a': 1}) ^ SyntaxError: invalid syntax ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 784, in test.test_syntax Failed example: f(a, b, *args, **kwargs={'a': 1}) Expected: Traceback (most recent call last): SyntaxError: cannot assign to keyword argument unpacking Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[158]>", line 1 f(a, b, *args, **kwargs={'a': 1}) ^ SyntaxError: invalid syntax ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 873, in test.test_syntax Failed example: try: print(1) break print(2) finally: print(3) Expected: Traceback (most recent call last): ... SyntaxError: 'break' outside loop Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[172]>", line 3 SyntaxError: 'break' not properly in loop ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 1024, in test.test_syntax Failed example: class A[T] pass Expected: Traceback (most recent call last): SyntaxError: expected ':' Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[191]>", line 1 class A[T] ^ SyntaxError: invalid syntax ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 1029, in test.test_syntax Failed example: class A[T]() pass Expected: Traceback (most recent call last): SyntaxError: expected ':' Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[192]>", line 1 class A[T]() ^ SyntaxError: invalid syntax ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 1144, in test.test_syntax Failed example: match x x: case list(): pass Expected: Traceback (most recent call last): SyntaxError: invalid syntax Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[212]>", line 1 match x x: ^ SyntaxError: expected ':' ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 1471, in test.test_syntax Failed example: def foo[T](x, /, y, *, z=2): pass Expected: Traceback (most recent call last): IndentationError: expected an indented block after function definition on line 1 Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[268]>", line 2 pass ^^^^ IndentationError: expected an indented block ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 1481, in test.test_syntax Failed example: class Blech[T](A): pass Expected: Traceback (most recent call last): IndentationError: expected an indented block after class definition on line 1 Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[270]>", line 2 pass ^^^^ IndentationError: expected an indented block ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 1930, in test.test_syntax Failed example: type A[T: (x:=3)] = int Expected: Traceback (most recent call last): ... SyntaxError: named expression cannot be used within a TypeVar bound Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[353]>", line 1 SyntaxError: named expression cannot be used within an annotation scope ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 1935, in test.test_syntax Failed example: type A[T: (yield 3)] = int Expected: Traceback (most recent call last): ... SyntaxError: yield expression cannot be used within a TypeVar bound Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[354]>", line 1 SyntaxError: yield expression cannot be used within an annotation scope ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 1940, in test.test_syntax Failed example: type A[T: (await 3)] = int Expected: Traceback (most recent call last): ... SyntaxError: await expression cannot be used within a TypeVar bound Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[355]>", line 1 SyntaxError: await expression cannot be used within an annotation scope ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 1945, in test.test_syntax Failed example: type A[T: (yield from [])] = int Expected: Traceback (most recent call last): ... SyntaxError: yield expression cannot be used within a TypeVar bound Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[356]>", line 1 SyntaxError: yield expression cannot be used within an annotation scope ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 1950, in test.test_syntax Failed example: type A = (x := 3) Expected: Traceback (most recent call last): ... SyntaxError: named expression cannot be used within a type alias Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[357]>", line 1 SyntaxError: named expression cannot be used within an annotation scope ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 1955, in test.test_syntax Failed example: type A = (yield 3) Expected: Traceback (most recent call last): ... SyntaxError: yield expression cannot be used within a type alias Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[358]>", line 1 SyntaxError: yield expression cannot be used within an annotation scope ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 1960, in test.test_syntax Failed example: type A = (await 3) Expected: Traceback (most recent call last): ... SyntaxError: await expression cannot be used within a type alias Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[359]>", line 1 SyntaxError: await expression cannot be used within an annotation scope ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 1965, in test.test_syntax Failed example: type A = (yield from []) Expected: Traceback (most recent call last): ... SyntaxError: yield expression cannot be used within a type alias Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[360]>", line 1 SyntaxError: yield expression cannot be used within an annotation scope ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 1970, in test.test_syntax Failed example: class A[T]((x := 3)): ... Expected: Traceback (most recent call last): ... SyntaxError: named expression cannot be used within the definition of a generic Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[361]>", line 1 SyntaxError: named expression cannot be used within an annotation scope ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 1975, in test.test_syntax Failed example: class A[T]((yield 3)): ... Expected: Traceback (most recent call last): ... SyntaxError: yield expression cannot be used within the definition of a generic Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[362]>", line 1 SyntaxError: yield expression cannot be used within an annotation scope ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 1980, in test.test_syntax Failed example: class A[T]((await 3)): ... Expected: Traceback (most recent call last): ... SyntaxError: await expression cannot be used within the definition of a generic Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[363]>", line 1 SyntaxError: await expression cannot be used within an annotation scope ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py", line 1985, in test.test_syntax Failed example: class A[T]((yield from [])): ... Expected: Traceback (most recent call last): ... SyntaxError: yield expression cannot be used within the definition of a generic Got: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<doctest test.test_syntax[364]>", line 1 SyntaxError: yield expression cannot be used within an annotation scope ---------------------------------------------------------------------- Ran 38 tests in 0.181s FAILED (failures=4, skipped=7) 0:00:00 load avg: 0.72 [1/1/1] test_syntax failed (4 failures) == Tests result: FAILURE == 1 test failed: test_syntax Total duration: 306 ms Total tests: run=38 failures=4 skipped=7 Total test files: run=1/1 failed=1 Result: FAILURE test test_syntax failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1753565æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3136385916 0:00:00 load avg: 0.72 Run 1 test sequentially in a single process 0:00:00 load avg: 0.72 [1/1] test_sys test_exc_info_no_exception (test.test_sys.ActiveExceptionTests.test_exc_info_no_exception) ... ok test_exc_info_with_exception_instance (test.test_sys.ActiveExceptionTests.test_exc_info_with_exception_instance) ... ok test_exc_info_with_exception_type (test.test_sys.ActiveExceptionTests.test_exc_info_with_exception_type) ... ok test_sys_exception_no_exception (test.test_sys.ActiveExceptionTests.test_sys_exception_no_exception) ... ok test_sys_exception_with_exception_instance (test.test_sys.ActiveExceptionTests.test_sys_exception_with_exception_instance) ... ok test_sys_exception_with_exception_type (test.test_sys.ActiveExceptionTests.test_sys_exception_with_exception_type) ... ok test_custom_displayhook (test.test_sys.DisplayHookTest.test_custom_displayhook) ... ok test_gh130163 (test.test_sys.DisplayHookTest.test_gh130163) ... ok test_lost_displayhook (test.test_sys.DisplayHookTest.test_lost_displayhook) ... ok test_original_displayhook (test.test_sys.DisplayHookTest.test_original_displayhook) ... ok test_excepthook (test.test_sys.ExceptHookTest.test_excepthook) ... ok test_excepthook_bytes_filename (test.test_sys.ExceptHookTest.test_excepthook_bytes_filename) ... ok test_original_excepthook (test.test_sys.ExceptHookTest.test_original_excepthook) ... ok test_asyncgen_hooks (test.test_sys.SizeofTest.test_asyncgen_hooks) ... skipped 'implementation detail specific to cpython' test_changing_sys_stderr_and_removing_reference (test.test_sys.SizeofTest.test_changing_sys_stderr_and_removing_reference) ... skipped 'implementation detail specific to cpython' test_default (test.test_sys.SizeofTest.test_default) ... skipped 'implementation detail specific to cpython' test_errors (test.test_sys.SizeofTest.test_errors) ... skipped 'implementation detail specific to cpython' test_gc_head_size (test.test_sys.SizeofTest.test_gc_head_size) ... skipped 'implementation detail specific to cpython' test_objecttypes (test.test_sys.SizeofTest.test_objecttypes) ... skipped 'implementation detail specific to cpython' test_pythontypes (test.test_sys.SizeofTest.test_pythontypes) ... skipped 'implementation detail specific to cpython' test_slots (test.test_sys.SizeofTest.test_slots) ... skipped 'implementation detail specific to cpython' test_43581 (test.test_sys.SysModuleTest.test_43581) ... ok test__enablelegacywindowsfsencoding (test.test_sys.SysModuleTest.test__enablelegacywindowsfsencoding) ... skipped 'needs sys._enablelegacywindowsfsencoding()' test_attributes (test.test_sys.SysModuleTest.test_attributes) ... FAIL test_c_locale_surrogateescape (test.test_sys.SysModuleTest.test_c_locale_surrogateescape) ... ok test_call_tracing (test.test_sys.SysModuleTest.test_call_tracing) ... ok test_clear_type_cache (test.test_sys.SysModuleTest.test_clear_type_cache) ... skipped 'implementation detail specific to cpython' test_current_exceptions (test.test_sys.SysModuleTest.test_current_exceptions) ... FAIL test_current_frames (test.test_sys.SysModuleTest.test_current_frames) ... ok test_debugmallocstats (test.test_sys.SysModuleTest.test_debugmallocstats) ... skipped 'implementation detail specific to cpython' test_dlopenflags (test.test_sys.SysModuleTest.test_dlopenflags) ... ok test_emscripten_info (test.test_sys.SysModuleTest.test_emscripten_info) ... skipped 'only available on Emscripten' test_executable (test.test_sys.SysModuleTest.test_executable) ... ok test_exit (test.test_sys.SysModuleTest.test_exit) ... ok test_getallocatedblocks (test.test_sys.SysModuleTest.test_getallocatedblocks) ... skipped 'sys.getallocatedblocks unavailable on this build' test_getandroidapilevel (test.test_sys.SysModuleTest.test_getandroidapilevel) ... skipped 'need sys.getandroidapilevel()' test_getdefaultencoding (test.test_sys.SysModuleTest.test_getdefaultencoding) ... ok test_getfilesystemencoding (test.test_sys.SysModuleTest.test_getfilesystemencoding) ... ok test_getframe (test.test_sys.SysModuleTest.test_getframe) ... ok test_getframemodulename (test.test_sys.SysModuleTest.test_getframemodulename) ... ok test_getrecursionlimit (test.test_sys.SysModuleTest.test_getrecursionlimit) ... ok test_getwindowsversion (test.test_sys.SysModuleTest.test_getwindowsversion) ... skipped "object <module 'sys' (built-in)> has no attribute 'getwindowsversion'" test_implementation (test.test_sys.SysModuleTest.test_implementation) ... ok test_intern (test.test_sys.SysModuleTest.test_intern) ... ok test_ioencoding (test.test_sys.SysModuleTest.test_ioencoding) ... ok test_ioencoding_nonascii (test.test_sys.SysModuleTest.test_ioencoding_nonascii) ... skipped 'requires FS encoding to match locale' test_is_finalizing (test.test_sys.SysModuleTest.test_is_finalizing) ... FAIL test_issue20602 (test.test_sys.SysModuleTest.test_issue20602) ... ERROR test_module_names (test.test_sys.SysModuleTest.test_module_names) ... ok test_no_duplicates_in_meta_path (test.test_sys.SysModuleTest.test_no_duplicates_in_meta_path) ... ok test_orig_argv (test.test_sys.SysModuleTest.test_orig_argv) ... ok test_posix_locale_surrogateescape (test.test_sys.SysModuleTest.test_posix_locale_surrogateescape) ... ok test_recursionlimit_recovery (test.test_sys.SysModuleTest.test_recursionlimit_recovery) ... ok test_refcount (test.test_sys.SysModuleTest.test_refcount) ... skipped 'implementation detail specific to cpython' test_setrecursionlimit (test.test_sys.SysModuleTest.test_setrecursionlimit) ... ok test_setrecursionlimit_to_depth (test.test_sys.SysModuleTest.test_setrecursionlimit_to_depth) ... skipped 'implementation detail specific to cpython' test_stdlib_dir (test.test_sys.SysModuleTest.test_stdlib_dir) ... ok test_subinterp_intern_dynamically_allocated (test.test_sys.SysModuleTest.test_subinterp_intern_dynamically_allocated) ... skipped 'implementation detail specific to cpython' test_subinterp_intern_singleton (test.test_sys.SysModuleTest.test_subinterp_intern_singleton) ... skipped 'implementation detail specific to cpython' test_subinterp_intern_statically_allocated (test.test_sys.SysModuleTest.test_subinterp_intern_statically_allocated) ... skipped 'implementation detail specific to cpython' test_switchinterval (test.test_sys.SysModuleTest.test_switchinterval) ... ok test_sys_flags (test.test_sys.SysModuleTest.test_sys_flags) ... ok test_sys_flags_no_instantiation (test.test_sys.SysModuleTest.test_sys_flags_no_instantiation) ... ok test_sys_getwindowsversion_no_instantiation (test.test_sys.SysModuleTest.test_sys_getwindowsversion_no_instantiation) ... skipped "object <module 'sys' (built-in)> has no attribute 'getwindowsversion'" test_sys_ignores_cleaning_up_user_data (test.test_sys.SysModuleTest.test_sys_ignores_cleaning_up_user_data) ... ok test_sys_tracebacklimit (test.test_sys.SysModuleTest.test_sys_tracebacklimit) ... ok test_sys_version_info_no_instantiation (test.test_sys.SysModuleTest.test_sys_version_info_no_instantiation) ... ok test_thread_info (test.test_sys.SysModuleTest.test_thread_info) ... ok test_custom_unraisablehook (test.test_sys.UnraisableHookTest.test_custom_unraisablehook) ... skipped 'implementation detail specific to cpython' test_custom_unraisablehook_fail (test.test_sys.UnraisableHookTest.test_custom_unraisablehook_fail) ... skipped 'implementation detail specific to cpython' test_original_unraisablehook (test.test_sys.UnraisableHookTest.test_original_unraisablehook) ... skipped 'implementation detail specific to cpython' test_original_unraisablehook_err (test.test_sys.UnraisableHookTest.test_original_unraisablehook_err) ... skipped 'implementation detail specific to cpython' test_original_unraisablehook_exception_qualname (test.test_sys.UnraisableHookTest.test_original_unraisablehook_exception_qualname) ... skipped 'implementation detail specific to cpython' test_original_unraisablehook_wrong_type (test.test_sys.UnraisableHookTest.test_original_unraisablehook_wrong_type) ... skipped 'implementation detail specific to cpython' ====================================================================== ERROR: test_issue20602 (test.test_sys.SysModuleTest.test_issue20602) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys.py", line 1122, in test_issue20602 self.assertIn(b'sys.flags', out[0]) ~~~^^^ IndexError: list index out of range ====================================================================== FAIL: test_attributes (test.test_sys.SysModuleTest.test_attributes) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys.py", line 603, in test_attributes self.assertTrue(sys.int_info.bits_per_digit % 5 == 0) ^^^^^^^^^^ AssertionError: False is not true ====================================================================== FAIL: test_current_exceptions (test.test_sys.SysModuleTest.test_current_exceptions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/threading_helper.py", line 66, in decorator return func(*args) ^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys.py", line 562, in test_current_exceptions self.assertEqual(None, d.pop(main_id)) ^^^^^^^^^^^ AssertionError: None != (None, None, None) ====================================================================== FAIL: test_is_finalizing (test.test_sys.SysModuleTest.test_is_finalizing) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys.py", line 1108, in test_is_finalizing self.assertEqual(stdout.rstrip(), b'True') ^^^^^^^^^^^ AssertionError: b'' != b'True' ---------------------------------------------------------------------- Ran 74 tests in 1.251s FAILED (failures=3, errors=1, skipped=28) 0:00:01 load avg: 0.72 [1/1/1] test_sys failed (1 error, 3 failures) == Tests result: FAILURE == 1 test failed: test_sys Total duration: 1.4 sec Total tests: run=74 failures=3 skipped=28 Total test files: run=1/1 failed=1 Result: FAILURE test test_sys failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1753609æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1881911343 0:00:00 load avg: 0.72 Run 1 test sequentially in a single process 0:00:00 load avg: 0.72 [1/1] test_sys_setprofile test_caught_exception (test.test_sys_setprofile.ProfileHookTestCase.test_caught_exception) ... ok test_caught_nested_exception (test.test_sys_setprofile.ProfileHookTestCase.test_caught_nested_exception) ... ok test_distant_exception (test.test_sys_setprofile.ProfileHookTestCase.test_distant_exception) ... ok test_exception (test.test_sys_setprofile.ProfileHookTestCase.test_exception) ... ok test_exception_in_except_clause (test.test_sys_setprofile.ProfileHookTestCase.test_exception_in_except_clause) ... ok test_exception_propagation (test.test_sys_setprofile.ProfileHookTestCase.test_exception_propagation) ... ok test_generator (test.test_sys_setprofile.ProfileHookTestCase.test_generator) ... ok test_nested_exception (test.test_sys_setprofile.ProfileHookTestCase.test_nested_exception) ... ok test_raise (test.test_sys_setprofile.ProfileHookTestCase.test_raise) ... ok test_raise_reraise (test.test_sys_setprofile.ProfileHookTestCase.test_raise_reraise) ... ok test_raise_twice (test.test_sys_setprofile.ProfileHookTestCase.test_raise_twice) ... ok test_simple (test.test_sys_setprofile.ProfileHookTestCase.test_simple) ... ok test_stop_iteration (test.test_sys_setprofile.ProfileHookTestCase.test_stop_iteration) ... ok test_unfinished_generator (test.test_sys_setprofile.ProfileHookTestCase.test_unfinished_generator) ... FAIL test_basic_exception (test.test_sys_setprofile.ProfileSimulatorTestCase.test_basic_exception) ... ok test_caught_exception (test.test_sys_setprofile.ProfileSimulatorTestCase.test_caught_exception) ... ok test_distant_exception (test.test_sys_setprofile.ProfileSimulatorTestCase.test_distant_exception) ... ok test_simple (test.test_sys_setprofile.ProfileSimulatorTestCase.test_simple) ... ok test_unbound_method (test.test_sys_setprofile.ProfileSimulatorTestCase.test_unbound_method) ... ok test_unbound_method_invalid_args (test.test_sys_setprofile.ProfileSimulatorTestCase.test_unbound_method_invalid_args) ... ok test_unbound_method_invalid_keyword_args (test.test_sys_setprofile.ProfileSimulatorTestCase.test_unbound_method_invalid_keyword_args) ... ok test_unbound_method_no_args (test.test_sys_setprofile.ProfileSimulatorTestCase.test_unbound_method_no_args) ... ok test_unbound_method_no_keyword_args (test.test_sys_setprofile.ProfileSimulatorTestCase.test_unbound_method_no_keyword_args) ... ok test_method_with_c_function (test.test_sys_setprofile.TestEdgeCases.test_method_with_c_function) ... ok test_profile_after_trace_opcodes (test.test_sys_setprofile.TestEdgeCases.test_profile_after_trace_opcodes) ... ok test_reentrancy (test.test_sys_setprofile.TestEdgeCases.test_reentrancy) ... FAIL test_same_object (test.test_sys_setprofile.TestEdgeCases.test_same_object) ... ok test_empty (test.test_sys_setprofile.TestGetProfile.test_empty) ... ok test_setget (test.test_sys_setprofile.TestGetProfile.test_setget) ... ok ====================================================================== FAIL: test_unfinished_generator (test.test_sys_setprofile.ProfileHookTestCase.test_unfinished_generator) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_setprofile.py", line 267, in test_unfinished_generator self.check_events(g, [(1, 'call', g_ident), ^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_setprofile.py", line 95, in check_events self.fail("Expected events:\n%s\nReceived events:\n%s" ^^^^ AssertionError: Expected events: [(1, 'call', (262, 'g')), (2, 'call', (259, 'f')), (2, 'return', (259, 'f')), (2, 'call', (259, 'f')), (2, 'return', (259, 'f')), (1, 'return', (262, 'g'))] Received events: [(1, 'call', (262, 'g')), (2, 'call', (259, 'f')), (2, 'return', (259, 'f')), (1, 'return', (262, 'g'))] ====================================================================== FAIL: test_reentrancy (test.test_sys_setprofile.TestEdgeCases.test_reentrancy) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_setprofile.py", line 459, in test_reentrancy self.assertEqual(sys.getprofile(), bar) ^^^^^^^^^^^ AssertionError: <function TestEdgeCases.test_reentrancy.<locals>.foo at 0x00007f9717b7a660> != <function TestEdgeCases.test_reentrancy.<locals>.bar at 0x00007f9717b7a728> ---------------------------------------------------------------------- Ran 29 tests in 0.008s FAILED (failures=2) 0:00:00 load avg: 0.72 [1/1/1] test_sys_setprofile failed (2 failures) == Tests result: FAILURE == 1 test failed: test_sys_setprofile Total duration: 77 ms Total tests: run=29 failures=2 Total test files: run=1/1 failed=1 Result: FAILURE test test_sys_setprofile failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1753614æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2200394233 0:00:00 load avg: 0.72 Run 1 test sequentially in a single process 0:00:00 load avg: 0.72 [1/1] test_sys_settrace test_jump_across_async_with (test.test_sys_settrace.JumpTestCase.test_jump_across_async_with) ... ok test_jump_across_with (test.test_sys_settrace.JumpTestCase.test_jump_across_with) ... ok test_jump_backward_over_async_listcomp (test.test_sys_settrace.JumpTestCase.test_jump_backward_over_async_listcomp) ... FAIL test_jump_backward_over_async_listcomp_v2 (test.test_sys_settrace.JumpTestCase.test_jump_backward_over_async_listcomp_v2) ... FAIL test_jump_backward_over_listcomp (test.test_sys_settrace.JumpTestCase.test_jump_backward_over_listcomp) ... FAIL test_jump_backward_over_listcomp_v2 (test.test_sys_settrace.JumpTestCase.test_jump_backward_over_listcomp_v2) ... FAIL test_jump_backwards_into_try_except_block (test.test_sys_settrace.JumpTestCase.test_jump_backwards_into_try_except_block) ... ok test_jump_backwards_into_try_finally_block (test.test_sys_settrace.JumpTestCase.test_jump_backwards_into_try_finally_block) ... ok test_jump_backwards_into_while_block (test.test_sys_settrace.JumpTestCase.test_jump_backwards_into_while_block) ... ok test_jump_backwards_out_of_async_with_block (test.test_sys_settrace.JumpTestCase.test_jump_backwards_out_of_async_with_block) ... ok test_jump_backwards_out_of_try_except_block (test.test_sys_settrace.JumpTestCase.test_jump_backwards_out_of_try_except_block) ... ok test_jump_backwards_out_of_try_finally_block (test.test_sys_settrace.JumpTestCase.test_jump_backwards_out_of_try_finally_block) ... ok test_jump_backwards_out_of_with_block (test.test_sys_settrace.JumpTestCase.test_jump_backwards_out_of_with_block) ... ok test_jump_between_async_with_blocks (test.test_sys_settrace.JumpTestCase.test_jump_between_async_with_blocks) ... ok test_jump_between_except_blocks (test.test_sys_settrace.JumpTestCase.test_jump_between_except_blocks) ... ok test_jump_between_except_blocks_2 (test.test_sys_settrace.JumpTestCase.test_jump_between_except_blocks_2) ... FAIL test_jump_between_with_blocks (test.test_sys_settrace.JumpTestCase.test_jump_between_with_blocks) ... ok test_jump_extended_args_for_iter (test.test_sys_settrace.JumpTestCase.test_jump_extended_args_for_iter) ... skipped "resource 'cpu' is not enabled" test_jump_extended_args_unpack_ex_simple (test.test_sys_settrace.JumpTestCase.test_jump_extended_args_unpack_ex_simple) ... FAIL test_jump_extended_args_unpack_ex_tricky (test.test_sys_settrace.JumpTestCase.test_jump_extended_args_unpack_ex_tricky) ... FAIL test_jump_forward_over_async_listcomp (test.test_sys_settrace.JumpTestCase.test_jump_forward_over_async_listcomp) ... FAIL test_jump_forward_over_listcomp (test.test_sys_settrace.JumpTestCase.test_jump_forward_over_listcomp) ... FAIL test_jump_forwards_into_try_except_block (test.test_sys_settrace.JumpTestCase.test_jump_forwards_into_try_except_block) ... ok test_jump_forwards_into_try_finally_block (test.test_sys_settrace.JumpTestCase.test_jump_forwards_into_try_finally_block) ... ok test_jump_forwards_into_while_block (test.test_sys_settrace.JumpTestCase.test_jump_forwards_into_while_block) ... ok test_jump_forwards_out_of_async_with_block (test.test_sys_settrace.JumpTestCase.test_jump_forwards_out_of_async_with_block) ... ok test_jump_forwards_out_of_try_except_block (test.test_sys_settrace.JumpTestCase.test_jump_forwards_out_of_try_except_block) ... ok test_jump_forwards_out_of_try_finally_block (test.test_sys_settrace.JumpTestCase.test_jump_forwards_out_of_try_finally_block) ... ok test_jump_forwards_out_of_with_block (test.test_sys_settrace.JumpTestCase.test_jump_forwards_out_of_with_block) ... ok test_jump_from_except_to_finally (test.test_sys_settrace.JumpTestCase.test_jump_from_except_to_finally) ... ok test_jump_from_yield (test.test_sys_settrace.JumpTestCase.test_jump_from_yield) ... ok test_jump_in_nested_finally (test.test_sys_settrace.JumpTestCase.test_jump_in_nested_finally) ... ok test_jump_in_nested_finally_2 (test.test_sys_settrace.JumpTestCase.test_jump_in_nested_finally_2) ... ok test_jump_in_nested_finally_3 (test.test_sys_settrace.JumpTestCase.test_jump_in_nested_finally_3) ... ok test_jump_into_finally_block (test.test_sys_settrace.JumpTestCase.test_jump_into_finally_block) ... ok test_jump_into_finally_block_from_try_block (test.test_sys_settrace.JumpTestCase.test_jump_into_finally_block_from_try_block) ... ok test_jump_is_none_backwards (test.test_sys_settrace.JumpTestCase.test_jump_is_none_backwards) ... ok test_jump_is_none_forwards (test.test_sys_settrace.JumpTestCase.test_jump_is_none_forwards) ... FAIL test_jump_is_not_none_backwards (test.test_sys_settrace.JumpTestCase.test_jump_is_not_none_backwards) ... ok test_jump_is_not_none_forwards (test.test_sys_settrace.JumpTestCase.test_jump_is_not_none_forwards) ... ok test_jump_or_pop (test.test_sys_settrace.JumpTestCase.test_jump_or_pop) ... FAIL test_jump_out_of_async_for_block_backwards (test.test_sys_settrace.JumpTestCase.test_jump_out_of_async_for_block_backwards) ... ok test_jump_out_of_async_for_block_forwards (test.test_sys_settrace.JumpTestCase.test_jump_out_of_async_for_block_forwards) ... ok test_jump_out_of_async_with_assignment (test.test_sys_settrace.JumpTestCase.test_jump_out_of_async_with_assignment) ... FAIL test_jump_out_of_async_with_block_within_finally_block (test.test_sys_settrace.JumpTestCase.test_jump_out_of_async_with_block_within_finally_block) ... ok test_jump_out_of_async_with_block_within_for_block (test.test_sys_settrace.JumpTestCase.test_jump_out_of_async_with_block_within_for_block) ... ok test_jump_out_of_async_with_block_within_with_block (test.test_sys_settrace.JumpTestCase.test_jump_out_of_async_with_block_within_with_block) ... ok test_jump_out_of_bare_except_block (test.test_sys_settrace.JumpTestCase.test_jump_out_of_bare_except_block) ... ok test_jump_out_of_block_backwards (test.test_sys_settrace.JumpTestCase.test_jump_out_of_block_backwards) ... ok test_jump_out_of_block_forwards (test.test_sys_settrace.JumpTestCase.test_jump_out_of_block_forwards) ... FAIL test_jump_out_of_complex_nested_blocks (test.test_sys_settrace.JumpTestCase.test_jump_out_of_complex_nested_blocks) ... ok test_jump_out_of_finally_block (test.test_sys_settrace.JumpTestCase.test_jump_out_of_finally_block) ... ok test_jump_out_of_qualified_except_block (test.test_sys_settrace.JumpTestCase.test_jump_out_of_qualified_except_block) ... ok test_jump_out_of_with_assignment (test.test_sys_settrace.JumpTestCase.test_jump_out_of_with_assignment) ... FAIL test_jump_out_of_with_block_within_finally_block (test.test_sys_settrace.JumpTestCase.test_jump_out_of_with_block_within_finally_block) ... ok test_jump_out_of_with_block_within_for_block (test.test_sys_settrace.JumpTestCase.test_jump_out_of_with_block_within_for_block) ... ok test_jump_out_of_with_block_within_with_block (test.test_sys_settrace.JumpTestCase.test_jump_out_of_with_block_within_with_block) ... ok test_jump_over_async_for_block_before_else (test.test_sys_settrace.JumpTestCase.test_jump_over_async_for_block_before_else) ... FAIL test_jump_over_break_in_try_finally_block (test.test_sys_settrace.JumpTestCase.test_jump_over_break_in_try_finally_block) ... ok test_jump_over_for_block_before_else (test.test_sys_settrace.JumpTestCase.test_jump_over_for_block_before_else) ... FAIL test_jump_over_return_in_try_finally_block (test.test_sys_settrace.JumpTestCase.test_jump_over_return_in_try_finally_block) ... ok test_jump_over_try_except (test.test_sys_settrace.JumpTestCase.test_jump_over_try_except) ... FAIL test_jump_simple_backwards (test.test_sys_settrace.JumpTestCase.test_jump_simple_backwards) ... ok test_jump_simple_forwards (test.test_sys_settrace.JumpTestCase.test_jump_simple_forwards) ... ok test_jump_to_codeless_line (test.test_sys_settrace.JumpTestCase.test_jump_to_codeless_line) ... ok test_jump_to_firstlineno (test.test_sys_settrace.JumpTestCase.test_jump_to_firstlineno) ... ok test_jump_to_same_line (test.test_sys_settrace.JumpTestCase.test_jump_to_same_line) ... ok test_jump_with_null_on_stack_load_attr (test.test_sys_settrace.JumpTestCase.test_jump_with_null_on_stack_load_attr) ... skipped 'implementation detail specific to cpython' test_jump_with_null_on_stack_load_global (test.test_sys_settrace.JumpTestCase.test_jump_with_null_on_stack_load_global) ... skipped 'implementation detail specific to cpython' test_jump_with_null_on_stack_push_null (test.test_sys_settrace.JumpTestCase.test_jump_with_null_on_stack_push_null) ... skipped 'implementation detail specific to cpython' test_jump_within_except_block (test.test_sys_settrace.JumpTestCase.test_jump_within_except_block) ... ok test_large_function (test.test_sys_settrace.JumpTestCase.test_large_function) ... FAIL test_no_jump_backwards_into_async_for_block (test.test_sys_settrace.JumpTestCase.test_no_jump_backwards_into_async_for_block) ... ok test_no_jump_backwards_into_async_with_block (test.test_sys_settrace.JumpTestCase.test_no_jump_backwards_into_async_with_block) ... FAIL test_no_jump_backwards_into_for_block (test.test_sys_settrace.JumpTestCase.test_no_jump_backwards_into_for_block) ... ok test_no_jump_backwards_into_with_block (test.test_sys_settrace.JumpTestCase.test_no_jump_backwards_into_with_block) ... FAIL test_no_jump_forwards_into_async_for_block (test.test_sys_settrace.JumpTestCase.test_no_jump_forwards_into_async_for_block) ... ok test_no_jump_forwards_into_async_with_block (test.test_sys_settrace.JumpTestCase.test_no_jump_forwards_into_async_with_block) ... FAIL test_no_jump_forwards_into_for_block (test.test_sys_settrace.JumpTestCase.test_no_jump_forwards_into_for_block) ... ok test_no_jump_forwards_into_with_block (test.test_sys_settrace.JumpTestCase.test_no_jump_forwards_into_with_block) ... FAIL test_no_jump_from_call (test.test_sys_settrace.JumpTestCase.test_no_jump_from_call) ... ok test_no_jump_from_exception_event (test.test_sys_settrace.JumpTestCase.test_no_jump_from_exception_event) ... ok test_no_jump_from_return_event (test.test_sys_settrace.JumpTestCase.test_no_jump_from_return_event) ... ok test_no_jump_infinite_while_loop (test.test_sys_settrace.JumpTestCase.test_no_jump_infinite_while_loop) ... ok test_no_jump_into_async_for_block_before_else (test.test_sys_settrace.JumpTestCase.test_no_jump_into_async_for_block_before_else) ... ok test_no_jump_into_bare_except_block (test.test_sys_settrace.JumpTestCase.test_no_jump_into_bare_except_block) ... ok test_no_jump_into_bare_except_block_from_try_block (test.test_sys_settrace.JumpTestCase.test_no_jump_into_bare_except_block_from_try_block) ... ok test_no_jump_into_for_block_before_else (test.test_sys_settrace.JumpTestCase.test_no_jump_into_for_block_before_else) ... ok test_no_jump_into_qualified_except_block (test.test_sys_settrace.JumpTestCase.test_no_jump_into_qualified_except_block) ... ok test_no_jump_into_qualified_except_block_from_try_block (test.test_sys_settrace.JumpTestCase.test_no_jump_into_qualified_except_block_from_try_block) ... ok test_no_jump_over_return_out_of_finally_block (test.test_sys_settrace.JumpTestCase.test_no_jump_over_return_out_of_finally_block) ... ok test_no_jump_over_return_try_finally_in_finally_block (test.test_sys_settrace.JumpTestCase.test_no_jump_over_return_try_finally_in_finally_block) ... FAIL test_no_jump_to_except_1 (test.test_sys_settrace.JumpTestCase.test_no_jump_to_except_1) ... ok test_no_jump_to_except_2 (test.test_sys_settrace.JumpTestCase.test_no_jump_to_except_2) ... ok test_no_jump_to_except_3 (test.test_sys_settrace.JumpTestCase.test_no_jump_to_except_3) ... ok test_no_jump_to_except_4 (test.test_sys_settrace.JumpTestCase.test_no_jump_to_except_4) ... ok test_no_jump_to_non_integers (test.test_sys_settrace.JumpTestCase.test_no_jump_to_non_integers) ... ok test_no_jump_too_far_backwards (test.test_sys_settrace.JumpTestCase.test_no_jump_too_far_backwards) ... ok test_no_jump_too_far_forwards (test.test_sys_settrace.JumpTestCase.test_no_jump_too_far_forwards) ... ok test_no_jump_without_trace_function (test.test_sys_settrace.JumpTestCase.test_no_jump_without_trace_function) ... ok test_call (test.test_sys_settrace.RaisingTraceFuncTestCase.test_call) ... ok test_exception (test.test_sys_settrace.RaisingTraceFuncTestCase.test_exception) ... ok test_exception_arguments (test.test_sys_settrace.RaisingTraceFuncTestCase.test_exception_arguments) ... ok test_line (test.test_sys_settrace.RaisingTraceFuncTestCase.test_line) ... ok test_line_event_raises_before_opcode_event (test.test_sys_settrace.RaisingTraceFuncTestCase.test_line_event_raises_before_opcode_event) ... ok test_return (test.test_sys_settrace.RaisingTraceFuncTestCase.test_return) ... ok test_trash_stack (test.test_sys_settrace.RaisingTraceFuncTestCase.test_trash_stack) ... ok test_01_basic (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_01_basic) ... ok test_02_arigo0 (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_02_arigo0) ... ok test_02_arigo1 (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_02_arigo1) ... ok test_02_arigo2 (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_02_arigo2) ... ok test_03_one_instr (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_03_one_instr) ... ok test_04_no_pop_blocks (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_04_no_pop_blocks) ... ok test_05_no_pop_tops (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_05_no_pop_tops) ... ok test_06_call (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_06_call) ... ok test_07_raise (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_07_raise) ... ok test_08_settrace_and_return (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_08_settrace_and_return) ... ok test_09_settrace_and_raise (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_09_settrace_and_raise) ... ok test_10_ireturn (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_10_ireturn) ... ok test_11_tightloop (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_11_tightloop) ... ok test_12_tighterloop (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_12_tighterloop) ... ok test_13_genexp (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_13_genexp) ... FAIL test_14_onliner_if (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_14_onliner_if) ... ok test_15_loops (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_15_loops) ... ok test_16_blank_lines (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_16_blank_lines) ... ok test_17_none_f_trace (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_17_none_f_trace) ... ok test_18_except_with_name (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_18_except_with_name) ... ok test_19_except_with_finally (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_19_except_with_finally) ... ok test_20_async_for_loop (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_20_async_for_loop) ... ok test_21_repeated_pass (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_21_repeated_pass) ... ok test_async_for_backwards_jump_has_no_line (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_async_for_backwards_jump_has_no_line) ... ok test_break_through_finally (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_break_through_finally) ... ok test_break_to_break (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_break_to_break) ... ok test_break_to_continue1 (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_break_to_continue1) ... ok test_break_to_continue2 (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_break_to_continue2) ... ok test_class_creation_with_decorator (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_class_creation_with_decorator) ... ok test_class_creation_with_docstrings (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_class_creation_with_docstrings) ... ok test_continue_through_finally (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_continue_through_finally) ... ok test_early_exit_with (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_early_exit_with) ... ok test_finally_with_conditional (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_finally_with_conditional) ... ok test_flow_converges_on_same_line (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_flow_converges_on_same_line) ... ok test_if_break (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_if_break) ... ok test_if_false_in_try_except (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_if_false_in_try_except) ... ok test_if_false_in_with (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_if_false_in_with) ... ok test_if_in_if_in_if (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_if_in_if_in_if) ... ok test_implicit_return_in_class (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_implicit_return_in_class) ... ok test_loop_in_try_except (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_loop_in_try_except) ... ok test_nested_ifs (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_nested_ifs) ... ok test_nested_ifs_with_and (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_nested_ifs_with_and) ... ok test_nested_loops (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_nested_loops) ... ok test_nested_try_if (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_nested_try_if) ... ok test_no_line_event_after_creating_generator (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_no_line_event_after_creating_generator) ... skipped 'implementation detail specific to cpython' test_no_tracing_of_named_except_cleanup (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_no_tracing_of_named_except_cleanup) ... ok test_notrace_lambda (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_notrace_lambda) ... ok test_return_through_finally (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_return_through_finally) ... ok test_set_and_retrieve_func (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_set_and_retrieve_func) ... ok test_set_and_retrieve_none (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_set_and_retrieve_none) ... ok test_settrace_error (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_settrace_error) ... ok test_testcapi_settrace_error (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_testcapi_settrace_error) ... skipped 'implementation detail specific to cpython' test_tracing_exception_raised_in_with (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_tracing_exception_raised_in_with) ... ok test_try_except_no_exception (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_try_except_no_exception) ... ok test_try_except_star_exception_caught (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_try_except_star_exception_caught) ... ok test_try_except_star_exception_not_caught (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_try_except_star_exception_not_caught) ... ok test_try_except_star_named_exception_caught (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_try_except_star_named_exception_caught) ... ok test_try_except_star_named_exception_not_caught (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_try_except_star_named_exception_not_caught) ... ok test_try_except_star_named_no_exception (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_try_except_star_named_no_exception) ... ok test_try_except_star_nested (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_try_except_star_nested) ... ok test_try_except_star_no_exception (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_try_except_star_no_exception) ... ok test_try_except_with_wrong_type (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_try_except_with_wrong_type) ... ok test_try_exception_in_else (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_try_exception_in_else) ... ok test_try_in_try (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_try_in_try) ... ok test_try_in_try_with_exception (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_try_in_try_with_exception) ... ok test_very_large_function (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_very_large_function) ... ok test_reentrancy (test.test_sys_settrace.TestEdgeCases.test_reentrancy) ... skipped 'implementation detail specific to cpython' test_same_object (test.test_sys_settrace.TestEdgeCases.test_same_object) ... ok test_trace_lots_of_globals (test.test_sys_settrace.TestExtendedArgs.test_trace_lots_of_globals) ... ok test_trace_unpack_long_sequence (test.test_sys_settrace.TestExtendedArgs.test_trace_unpack_long_sequence) ... ok test_01_basic (test.test_sys_settrace.TestLinesAfterTraceStarted.test_01_basic) ... ok test_02_arigo0 (test.test_sys_settrace.TestLinesAfterTraceStarted.test_02_arigo0) ... ok test_02_arigo1 (test.test_sys_settrace.TestLinesAfterTraceStarted.test_02_arigo1) ... ok test_02_arigo2 (test.test_sys_settrace.TestLinesAfterTraceStarted.test_02_arigo2) ... ok test_03_one_instr (test.test_sys_settrace.TestLinesAfterTraceStarted.test_03_one_instr) ... ok test_04_no_pop_blocks (test.test_sys_settrace.TestLinesAfterTraceStarted.test_04_no_pop_blocks) ... ok test_05_no_pop_tops (test.test_sys_settrace.TestLinesAfterTraceStarted.test_05_no_pop_tops) ... ok test_06_call (test.test_sys_settrace.TestLinesAfterTraceStarted.test_06_call) ... ok test_07_raise (test.test_sys_settrace.TestLinesAfterTraceStarted.test_07_raise) ... ok test_08_settrace_and_return (test.test_sys_settrace.TestLinesAfterTraceStarted.test_08_settrace_and_return) ... ok test_09_settrace_and_raise (test.test_sys_settrace.TestLinesAfterTraceStarted.test_09_settrace_and_raise) ... ok test_10_ireturn (test.test_sys_settrace.TestLinesAfterTraceStarted.test_10_ireturn) ... ok test_11_tightloop (test.test_sys_settrace.TestLinesAfterTraceStarted.test_11_tightloop) ... ok test_12_tighterloop (test.test_sys_settrace.TestLinesAfterTraceStarted.test_12_tighterloop) ... ok test_13_genexp (test.test_sys_settrace.TestLinesAfterTraceStarted.test_13_genexp) ... FAIL test_14_onliner_if (test.test_sys_settrace.TestLinesAfterTraceStarted.test_14_onliner_if) ... ok test_15_loops (test.test_sys_settrace.TestLinesAfterTraceStarted.test_15_loops) ... ok test_16_blank_lines (test.test_sys_settrace.TestLinesAfterTraceStarted.test_16_blank_lines) ... ok test_17_none_f_trace (test.test_sys_settrace.TestLinesAfterTraceStarted.test_17_none_f_trace) ... ok test_18_except_with_name (test.test_sys_settrace.TestLinesAfterTraceStarted.test_18_except_with_name) ... ok test_19_except_with_finally (test.test_sys_settrace.TestLinesAfterTraceStarted.test_19_except_with_finally) ... ok test_20_async_for_loop (test.test_sys_settrace.TestLinesAfterTraceStarted.test_20_async_for_loop) ... ok test_21_repeated_pass (test.test_sys_settrace.TestLinesAfterTraceStarted.test_21_repeated_pass) ... ok test_async_for_backwards_jump_has_no_line (test.test_sys_settrace.TestLinesAfterTraceStarted.test_async_for_backwards_jump_has_no_line) ... ok test_break_through_finally (test.test_sys_settrace.TestLinesAfterTraceStarted.test_break_through_finally) ... ok test_break_to_break (test.test_sys_settrace.TestLinesAfterTraceStarted.test_break_to_break) ... ok test_break_to_continue1 (test.test_sys_settrace.TestLinesAfterTraceStarted.test_break_to_continue1) ... ok test_break_to_continue2 (test.test_sys_settrace.TestLinesAfterTraceStarted.test_break_to_continue2) ... ok test_class_creation_with_decorator (test.test_sys_settrace.TestLinesAfterTraceStarted.test_class_creation_with_decorator) ... ok test_class_creation_with_docstrings (test.test_sys_settrace.TestLinesAfterTraceStarted.test_class_creation_with_docstrings) ... ok test_continue_through_finally (test.test_sys_settrace.TestLinesAfterTraceStarted.test_continue_through_finally) ... ok test_early_exit_with (test.test_sys_settrace.TestLinesAfterTraceStarted.test_early_exit_with) ... ok test_events (test.test_sys_settrace.TestLinesAfterTraceStarted.test_events) ... FAIL test_finally_with_conditional (test.test_sys_settrace.TestLinesAfterTraceStarted.test_finally_with_conditional) ... ok test_flow_converges_on_same_line (test.test_sys_settrace.TestLinesAfterTraceStarted.test_flow_converges_on_same_line) ... ok test_if_break (test.test_sys_settrace.TestLinesAfterTraceStarted.test_if_break) ... ok test_if_false_in_try_except (test.test_sys_settrace.TestLinesAfterTraceStarted.test_if_false_in_try_except) ... ok test_if_false_in_with (test.test_sys_settrace.TestLinesAfterTraceStarted.test_if_false_in_with) ... ok test_if_in_if_in_if (test.test_sys_settrace.TestLinesAfterTraceStarted.test_if_in_if_in_if) ... ok test_implicit_return_in_class (test.test_sys_settrace.TestLinesAfterTraceStarted.test_implicit_return_in_class) ... ok test_loop_in_try_except (test.test_sys_settrace.TestLinesAfterTraceStarted.test_loop_in_try_except) ... ok test_nested_ifs (test.test_sys_settrace.TestLinesAfterTraceStarted.test_nested_ifs) ... ok test_nested_ifs_with_and (test.test_sys_settrace.TestLinesAfterTraceStarted.test_nested_ifs_with_and) ... ok test_nested_loops (test.test_sys_settrace.TestLinesAfterTraceStarted.test_nested_loops) ... ok test_nested_try_if (test.test_sys_settrace.TestLinesAfterTraceStarted.test_nested_try_if) ... ok test_no_line_event_after_creating_generator (test.test_sys_settrace.TestLinesAfterTraceStarted.test_no_line_event_after_creating_generator) ... skipped 'implementation detail specific to cpython' test_no_tracing_of_named_except_cleanup (test.test_sys_settrace.TestLinesAfterTraceStarted.test_no_tracing_of_named_except_cleanup) ... ok test_notrace_lambda (test.test_sys_settrace.TestLinesAfterTraceStarted.test_notrace_lambda) ... ok test_return_through_finally (test.test_sys_settrace.TestLinesAfterTraceStarted.test_return_through_finally) ... ok test_set_and_retrieve_func (test.test_sys_settrace.TestLinesAfterTraceStarted.test_set_and_retrieve_func) ... ok test_set_and_retrieve_none (test.test_sys_settrace.TestLinesAfterTraceStarted.test_set_and_retrieve_none) ... ok test_settrace_error (test.test_sys_settrace.TestLinesAfterTraceStarted.test_settrace_error) ... ok test_testcapi_settrace_error (test.test_sys_settrace.TestLinesAfterTraceStarted.test_testcapi_settrace_error) ... skipped 'implementation detail specific to cpython' test_tracing_exception_raised_in_with (test.test_sys_settrace.TestLinesAfterTraceStarted.test_tracing_exception_raised_in_with) ... ok test_try_except_no_exception (test.test_sys_settrace.TestLinesAfterTraceStarted.test_try_except_no_exception) ... ok test_try_except_star_exception_caught (test.test_sys_settrace.TestLinesAfterTraceStarted.test_try_except_star_exception_caught) ... ok test_try_except_star_exception_not_caught (test.test_sys_settrace.TestLinesAfterTraceStarted.test_try_except_star_exception_not_caught) ... ok test_try_except_star_named_exception_caught (test.test_sys_settrace.TestLinesAfterTraceStarted.test_try_except_star_named_exception_caught) ... ok test_try_except_star_named_exception_not_caught (test.test_sys_settrace.TestLinesAfterTraceStarted.test_try_except_star_named_exception_not_caught) ... ok test_try_except_star_named_no_exception (test.test_sys_settrace.TestLinesAfterTraceStarted.test_try_except_star_named_no_exception) ... ok test_try_except_star_nested (test.test_sys_settrace.TestLinesAfterTraceStarted.test_try_except_star_nested) ... ok test_try_except_star_no_exception (test.test_sys_settrace.TestLinesAfterTraceStarted.test_try_except_star_no_exception) ... ok test_try_except_with_wrong_type (test.test_sys_settrace.TestLinesAfterTraceStarted.test_try_except_with_wrong_type) ... ok test_try_exception_in_else (test.test_sys_settrace.TestLinesAfterTraceStarted.test_try_exception_in_else) ... ok test_try_in_try (test.test_sys_settrace.TestLinesAfterTraceStarted.test_try_in_try) ... ok test_try_in_try_with_exception (test.test_sys_settrace.TestLinesAfterTraceStarted.test_try_in_try_with_exception) ... ok test_very_large_function (test.test_sys_settrace.TestLinesAfterTraceStarted.test_very_large_function) ... ok test_01_basic (test.test_sys_settrace.TestSetLocalTrace.test_01_basic) ... ok test_02_arigo0 (test.test_sys_settrace.TestSetLocalTrace.test_02_arigo0) ... ok test_02_arigo1 (test.test_sys_settrace.TestSetLocalTrace.test_02_arigo1) ... ok test_02_arigo2 (test.test_sys_settrace.TestSetLocalTrace.test_02_arigo2) ... ok test_03_one_instr (test.test_sys_settrace.TestSetLocalTrace.test_03_one_instr) ... ok test_04_no_pop_blocks (test.test_sys_settrace.TestSetLocalTrace.test_04_no_pop_blocks) ... ok test_05_no_pop_tops (test.test_sys_settrace.TestSetLocalTrace.test_05_no_pop_tops) ... ok test_06_call (test.test_sys_settrace.TestSetLocalTrace.test_06_call) ... ok test_07_raise (test.test_sys_settrace.TestSetLocalTrace.test_07_raise) ... ok test_08_settrace_and_return (test.test_sys_settrace.TestSetLocalTrace.test_08_settrace_and_return) ... ok test_09_settrace_and_raise (test.test_sys_settrace.TestSetLocalTrace.test_09_settrace_and_raise) ... ok test_10_ireturn (test.test_sys_settrace.TestSetLocalTrace.test_10_ireturn) ... ok test_11_tightloop (test.test_sys_settrace.TestSetLocalTrace.test_11_tightloop) ... ok test_12_tighterloop (test.test_sys_settrace.TestSetLocalTrace.test_12_tighterloop) ... ok test_13_genexp (test.test_sys_settrace.TestSetLocalTrace.test_13_genexp) ... FAIL test_14_onliner_if (test.test_sys_settrace.TestSetLocalTrace.test_14_onliner_if) ... ok test_15_loops (test.test_sys_settrace.TestSetLocalTrace.test_15_loops) ... ok test_16_blank_lines (test.test_sys_settrace.TestSetLocalTrace.test_16_blank_lines) ... ok test_17_none_f_trace (test.test_sys_settrace.TestSetLocalTrace.test_17_none_f_trace) ... ok test_18_except_with_name (test.test_sys_settrace.TestSetLocalTrace.test_18_except_with_name) ... ok test_19_except_with_finally (test.test_sys_settrace.TestSetLocalTrace.test_19_except_with_finally) ... ok test_20_async_for_loop (test.test_sys_settrace.TestSetLocalTrace.test_20_async_for_loop) ... ok test_21_repeated_pass (test.test_sys_settrace.TestSetLocalTrace.test_21_repeated_pass) ... ok test_async_for_backwards_jump_has_no_line (test.test_sys_settrace.TestSetLocalTrace.test_async_for_backwards_jump_has_no_line) ... ok test_break_through_finally (test.test_sys_settrace.TestSetLocalTrace.test_break_through_finally) ... ok test_break_to_break (test.test_sys_settrace.TestSetLocalTrace.test_break_to_break) ... ok test_break_to_continue1 (test.test_sys_settrace.TestSetLocalTrace.test_break_to_continue1) ... ok test_break_to_continue2 (test.test_sys_settrace.TestSetLocalTrace.test_break_to_continue2) ... ok test_class_creation_with_decorator (test.test_sys_settrace.TestSetLocalTrace.test_class_creation_with_decorator) ... ok test_class_creation_with_docstrings (test.test_sys_settrace.TestSetLocalTrace.test_class_creation_with_docstrings) ... ok test_continue_through_finally (test.test_sys_settrace.TestSetLocalTrace.test_continue_through_finally) ... ok test_early_exit_with (test.test_sys_settrace.TestSetLocalTrace.test_early_exit_with) ... ok test_finally_with_conditional (test.test_sys_settrace.TestSetLocalTrace.test_finally_with_conditional) ... ok test_flow_converges_on_same_line (test.test_sys_settrace.TestSetLocalTrace.test_flow_converges_on_same_line) ... ok test_if_break (test.test_sys_settrace.TestSetLocalTrace.test_if_break) ... ok test_if_false_in_try_except (test.test_sys_settrace.TestSetLocalTrace.test_if_false_in_try_except) ... ok test_if_false_in_with (test.test_sys_settrace.TestSetLocalTrace.test_if_false_in_with) ... ok test_if_in_if_in_if (test.test_sys_settrace.TestSetLocalTrace.test_if_in_if_in_if) ... ok test_implicit_return_in_class (test.test_sys_settrace.TestSetLocalTrace.test_implicit_return_in_class) ... ok test_loop_in_try_except (test.test_sys_settrace.TestSetLocalTrace.test_loop_in_try_except) ... ok test_nested_ifs (test.test_sys_settrace.TestSetLocalTrace.test_nested_ifs) ... ok test_nested_ifs_with_and (test.test_sys_settrace.TestSetLocalTrace.test_nested_ifs_with_and) ... ok test_nested_loops (test.test_sys_settrace.TestSetLocalTrace.test_nested_loops) ... ok test_nested_try_if (test.test_sys_settrace.TestSetLocalTrace.test_nested_try_if) ... ok test_no_line_event_after_creating_generator (test.test_sys_settrace.TestSetLocalTrace.test_no_line_event_after_creating_generator) ... skipped 'implementation detail specific to cpython' test_no_tracing_of_named_except_cleanup (test.test_sys_settrace.TestSetLocalTrace.test_no_tracing_of_named_except_cleanup) ... ok test_notrace_lambda (test.test_sys_settrace.TestSetLocalTrace.test_notrace_lambda) ... ok test_return_through_finally (test.test_sys_settrace.TestSetLocalTrace.test_return_through_finally) ... ok test_set_and_retrieve_func (test.test_sys_settrace.TestSetLocalTrace.test_set_and_retrieve_func) ... ok test_set_and_retrieve_none (test.test_sys_settrace.TestSetLocalTrace.test_set_and_retrieve_none) ... ok test_settrace_error (test.test_sys_settrace.TestSetLocalTrace.test_settrace_error) ... ok test_testcapi_settrace_error (test.test_sys_settrace.TestSetLocalTrace.test_testcapi_settrace_error) ... skipped 'implementation detail specific to cpython' test_tracing_exception_raised_in_with (test.test_sys_settrace.TestSetLocalTrace.test_tracing_exception_raised_in_with) ... ok test_try_except_no_exception (test.test_sys_settrace.TestSetLocalTrace.test_try_except_no_exception) ... ok test_try_except_star_exception_caught (test.test_sys_settrace.TestSetLocalTrace.test_try_except_star_exception_caught) ... ok test_try_except_star_exception_not_caught (test.test_sys_settrace.TestSetLocalTrace.test_try_except_star_exception_not_caught) ... ok test_try_except_star_named_exception_caught (test.test_sys_settrace.TestSetLocalTrace.test_try_except_star_named_exception_caught) ... ok test_try_except_star_named_exception_not_caught (test.test_sys_settrace.TestSetLocalTrace.test_try_except_star_named_exception_not_caught) ... ok test_try_except_star_named_no_exception (test.test_sys_settrace.TestSetLocalTrace.test_try_except_star_named_no_exception) ... ok test_try_except_star_nested (test.test_sys_settrace.TestSetLocalTrace.test_try_except_star_nested) ... ok test_try_except_star_no_exception (test.test_sys_settrace.TestSetLocalTrace.test_try_except_star_no_exception) ... ok test_try_except_with_wrong_type (test.test_sys_settrace.TestSetLocalTrace.test_try_except_with_wrong_type) ... ok test_try_exception_in_else (test.test_sys_settrace.TestSetLocalTrace.test_try_exception_in_else) ... ok test_try_in_try (test.test_sys_settrace.TestSetLocalTrace.test_try_in_try) ... ok test_try_in_try_with_exception (test.test_sys_settrace.TestSetLocalTrace.test_try_in_try_with_exception) ... ok test_very_large_function (test.test_sys_settrace.TestSetLocalTrace.test_very_large_function) ... ok test_with_branches (test.test_sys_settrace.TestSetLocalTrace.test_with_branches) ... ok test_01_basic (test.test_sys_settrace.TraceOpcodesTestCase.test_01_basic) ... skipped 'implementation detail specific to cpython' test_02_arigo0 (test.test_sys_settrace.TraceOpcodesTestCase.test_02_arigo0) ... skipped 'implementation detail specific to cpython' test_02_arigo1 (test.test_sys_settrace.TraceOpcodesTestCase.test_02_arigo1) ... skipped 'implementation detail specific to cpython' test_02_arigo2 (test.test_sys_settrace.TraceOpcodesTestCase.test_02_arigo2) ... skipped 'implementation detail specific to cpython' test_03_one_instr (test.test_sys_settrace.TraceOpcodesTestCase.test_03_one_instr) ... skipped 'implementation detail specific to cpython' test_04_no_pop_blocks (test.test_sys_settrace.TraceOpcodesTestCase.test_04_no_pop_blocks) ... skipped 'implementation detail specific to cpython' test_05_no_pop_tops (test.test_sys_settrace.TraceOpcodesTestCase.test_05_no_pop_tops) ... skipped 'implementation detail specific to cpython' test_06_call (test.test_sys_settrace.TraceOpcodesTestCase.test_06_call) ... skipped 'implementation detail specific to cpython' test_07_raise (test.test_sys_settrace.TraceOpcodesTestCase.test_07_raise) ... skipped 'implementation detail specific to cpython' test_08_settrace_and_return (test.test_sys_settrace.TraceOpcodesTestCase.test_08_settrace_and_return) ... skipped 'implementation detail specific to cpython' test_09_settrace_and_raise (test.test_sys_settrace.TraceOpcodesTestCase.test_09_settrace_and_raise) ... skipped 'implementation detail specific to cpython' test_10_ireturn (test.test_sys_settrace.TraceOpcodesTestCase.test_10_ireturn) ... skipped 'implementation detail specific to cpython' test_11_tightloop (test.test_sys_settrace.TraceOpcodesTestCase.test_11_tightloop) ... skipped 'implementation detail specific to cpython' test_12_tighterloop (test.test_sys_settrace.TraceOpcodesTestCase.test_12_tighterloop) ... skipped 'implementation detail specific to cpython' test_13_genexp (test.test_sys_settrace.TraceOpcodesTestCase.test_13_genexp) ... skipped 'implementation detail specific to cpython' test_14_onliner_if (test.test_sys_settrace.TraceOpcodesTestCase.test_14_onliner_if) ... skipped 'implementation detail specific to cpython' test_15_loops (test.test_sys_settrace.TraceOpcodesTestCase.test_15_loops) ... skipped 'implementation detail specific to cpython' test_16_blank_lines (test.test_sys_settrace.TraceOpcodesTestCase.test_16_blank_lines) ... skipped 'implementation detail specific to cpython' test_17_none_f_trace (test.test_sys_settrace.TraceOpcodesTestCase.test_17_none_f_trace) ... skipped 'implementation detail specific to cpython' test_18_except_with_name (test.test_sys_settrace.TraceOpcodesTestCase.test_18_except_with_name) ... skipped 'implementation detail specific to cpython' test_19_except_with_finally (test.test_sys_settrace.TraceOpcodesTestCase.test_19_except_with_finally) ... skipped 'implementation detail specific to cpython' test_20_async_for_loop (test.test_sys_settrace.TraceOpcodesTestCase.test_20_async_for_loop) ... skipped 'implementation detail specific to cpython' test_21_repeated_pass (test.test_sys_settrace.TraceOpcodesTestCase.test_21_repeated_pass) ... skipped 'implementation detail specific to cpython' test_async_for_backwards_jump_has_no_line (test.test_sys_settrace.TraceOpcodesTestCase.test_async_for_backwards_jump_has_no_line) ... skipped 'implementation detail specific to cpython' test_break_through_finally (test.test_sys_settrace.TraceOpcodesTestCase.test_break_through_finally) ... skipped 'implementation detail specific to cpython' test_break_to_break (test.test_sys_settrace.TraceOpcodesTestCase.test_break_to_break) ... skipped 'implementation detail specific to cpython' test_break_to_continue1 (test.test_sys_settrace.TraceOpcodesTestCase.test_break_to_continue1) ... skipped 'implementation detail specific to cpython' test_break_to_continue2 (test.test_sys_settrace.TraceOpcodesTestCase.test_break_to_continue2) ... skipped 'implementation detail specific to cpython' test_class_creation_with_decorator (test.test_sys_settrace.TraceOpcodesTestCase.test_class_creation_with_decorator) ... skipped 'implementation detail specific to cpython' test_class_creation_with_docstrings (test.test_sys_settrace.TraceOpcodesTestCase.test_class_creation_with_docstrings) ... skipped 'implementation detail specific to cpython' test_continue_through_finally (test.test_sys_settrace.TraceOpcodesTestCase.test_continue_through_finally) ... skipped 'implementation detail specific to cpython' test_early_exit_with (test.test_sys_settrace.TraceOpcodesTestCase.test_early_exit_with) ... skipped 'implementation detail specific to cpython' test_finally_with_conditional (test.test_sys_settrace.TraceOpcodesTestCase.test_finally_with_conditional) ... skipped 'implementation detail specific to cpython' test_flow_converges_on_same_line (test.test_sys_settrace.TraceOpcodesTestCase.test_flow_converges_on_same_line) ... skipped 'implementation detail specific to cpython' test_if_break (test.test_sys_settrace.TraceOpcodesTestCase.test_if_break) ... skipped 'implementation detail specific to cpython' test_if_false_in_try_except (test.test_sys_settrace.TraceOpcodesTestCase.test_if_false_in_try_except) ... skipped 'implementation detail specific to cpython' test_if_false_in_with (test.test_sys_settrace.TraceOpcodesTestCase.test_if_false_in_with) ... skipped 'implementation detail specific to cpython' test_if_in_if_in_if (test.test_sys_settrace.TraceOpcodesTestCase.test_if_in_if_in_if) ... skipped 'implementation detail specific to cpython' test_implicit_return_in_class (test.test_sys_settrace.TraceOpcodesTestCase.test_implicit_return_in_class) ... skipped 'implementation detail specific to cpython' test_loop_in_try_except (test.test_sys_settrace.TraceOpcodesTestCase.test_loop_in_try_except) ... skipped 'implementation detail specific to cpython' test_nested_ifs (test.test_sys_settrace.TraceOpcodesTestCase.test_nested_ifs) ... skipped 'implementation detail specific to cpython' test_nested_ifs_with_and (test.test_sys_settrace.TraceOpcodesTestCase.test_nested_ifs_with_and) ... skipped 'implementation detail specific to cpython' test_nested_loops (test.test_sys_settrace.TraceOpcodesTestCase.test_nested_loops) ... skipped 'implementation detail specific to cpython' test_nested_try_if (test.test_sys_settrace.TraceOpcodesTestCase.test_nested_try_if) ... skipped 'implementation detail specific to cpython' test_no_line_event_after_creating_generator (test.test_sys_settrace.TraceOpcodesTestCase.test_no_line_event_after_creating_generator) ... skipped 'implementation detail specific to cpython' test_no_tracing_of_named_except_cleanup (test.test_sys_settrace.TraceOpcodesTestCase.test_no_tracing_of_named_except_cleanup) ... skipped 'implementation detail specific to cpython' test_notrace_lambda (test.test_sys_settrace.TraceOpcodesTestCase.test_notrace_lambda) ... skipped 'implementation detail specific to cpython' test_return_through_finally (test.test_sys_settrace.TraceOpcodesTestCase.test_return_through_finally) ... skipped 'implementation detail specific to cpython' test_set_and_retrieve_func (test.test_sys_settrace.TraceOpcodesTestCase.test_set_and_retrieve_func) ... skipped 'implementation detail specific to cpython' test_set_and_retrieve_none (test.test_sys_settrace.TraceOpcodesTestCase.test_set_and_retrieve_none) ... skipped 'implementation detail specific to cpython' test_settrace_error (test.test_sys_settrace.TraceOpcodesTestCase.test_settrace_error) ... skipped 'implementation detail specific to cpython' test_testcapi_settrace_error (test.test_sys_settrace.TraceOpcodesTestCase.test_testcapi_settrace_error) ... skipped 'implementation detail specific to cpython' test_tracing_exception_raised_in_with (test.test_sys_settrace.TraceOpcodesTestCase.test_tracing_exception_raised_in_with) ... skipped 'implementation detail specific to cpython' test_try_except_no_exception (test.test_sys_settrace.TraceOpcodesTestCase.test_try_except_no_exception) ... skipped 'implementation detail specific to cpython' test_try_except_star_exception_caught (test.test_sys_settrace.TraceOpcodesTestCase.test_try_except_star_exception_caught) ... skipped 'implementation detail specific to cpython' test_try_except_star_exception_not_caught (test.test_sys_settrace.TraceOpcodesTestCase.test_try_except_star_exception_not_caught) ... skipped 'implementation detail specific to cpython' test_try_except_star_named_exception_caught (test.test_sys_settrace.TraceOpcodesTestCase.test_try_except_star_named_exception_caught) ... skipped 'implementation detail specific to cpython' test_try_except_star_named_exception_not_caught (test.test_sys_settrace.TraceOpcodesTestCase.test_try_except_star_named_exception_not_caught) ... skipped 'implementation detail specific to cpython' test_try_except_star_named_no_exception (test.test_sys_settrace.TraceOpcodesTestCase.test_try_except_star_named_no_exception) ... skipped 'implementation detail specific to cpython' test_try_except_star_nested (test.test_sys_settrace.TraceOpcodesTestCase.test_try_except_star_nested) ... skipped 'implementation detail specific to cpython' test_try_except_star_no_exception (test.test_sys_settrace.TraceOpcodesTestCase.test_try_except_star_no_exception) ... skipped 'implementation detail specific to cpython' test_try_except_with_wrong_type (test.test_sys_settrace.TraceOpcodesTestCase.test_try_except_with_wrong_type) ... skipped 'implementation detail specific to cpython' test_try_exception_in_else (test.test_sys_settrace.TraceOpcodesTestCase.test_try_exception_in_else) ... skipped 'implementation detail specific to cpython' test_try_in_try (test.test_sys_settrace.TraceOpcodesTestCase.test_try_in_try) ... skipped 'implementation detail specific to cpython' test_try_in_try_with_exception (test.test_sys_settrace.TraceOpcodesTestCase.test_try_in_try_with_exception) ... skipped 'implementation detail specific to cpython' test_very_large_function (test.test_sys_settrace.TraceOpcodesTestCase.test_very_large_function) ... skipped 'implementation detail specific to cpython' test_01_basic (test.test_sys_settrace.TraceTestCase.test_01_basic) ... ok test_02_arigo0 (test.test_sys_settrace.TraceTestCase.test_02_arigo0) ... ok test_02_arigo1 (test.test_sys_settrace.TraceTestCase.test_02_arigo1) ... ok test_02_arigo2 (test.test_sys_settrace.TraceTestCase.test_02_arigo2) ... ok test_03_one_instr (test.test_sys_settrace.TraceTestCase.test_03_one_instr) ... ok test_04_no_pop_blocks (test.test_sys_settrace.TraceTestCase.test_04_no_pop_blocks) ... ok test_05_no_pop_tops (test.test_sys_settrace.TraceTestCase.test_05_no_pop_tops) ... ok test_06_call (test.test_sys_settrace.TraceTestCase.test_06_call) ... ok test_07_raise (test.test_sys_settrace.TraceTestCase.test_07_raise) ... ok test_08_settrace_and_return (test.test_sys_settrace.TraceTestCase.test_08_settrace_and_return) ... ok test_09_settrace_and_raise (test.test_sys_settrace.TraceTestCase.test_09_settrace_and_raise) ... ok test_10_ireturn (test.test_sys_settrace.TraceTestCase.test_10_ireturn) ... ok test_11_tightloop (test.test_sys_settrace.TraceTestCase.test_11_tightloop) ... ok test_12_tighterloop (test.test_sys_settrace.TraceTestCase.test_12_tighterloop) ... ok test_13_genexp (test.test_sys_settrace.TraceTestCase.test_13_genexp) ... FAIL test_14_onliner_if (test.test_sys_settrace.TraceTestCase.test_14_onliner_if) ... ok test_15_loops (test.test_sys_settrace.TraceTestCase.test_15_loops) ... ok test_16_blank_lines (test.test_sys_settrace.TraceTestCase.test_16_blank_lines) ... ok test_17_none_f_trace (test.test_sys_settrace.TraceTestCase.test_17_none_f_trace) ... ok test_18_except_with_name (test.test_sys_settrace.TraceTestCase.test_18_except_with_name) ... ok test_19_except_with_finally (test.test_sys_settrace.TraceTestCase.test_19_except_with_finally) ... ok test_20_async_for_loop (test.test_sys_settrace.TraceTestCase.test_20_async_for_loop) ... ok test_21_repeated_pass (test.test_sys_settrace.TraceTestCase.test_21_repeated_pass) ... ok test_async_for_backwards_jump_has_no_line (test.test_sys_settrace.TraceTestCase.test_async_for_backwards_jump_has_no_line) ... ok test_break_through_finally (test.test_sys_settrace.TraceTestCase.test_break_through_finally) ... ok test_break_to_break (test.test_sys_settrace.TraceTestCase.test_break_to_break) ... ok test_break_to_continue1 (test.test_sys_settrace.TraceTestCase.test_break_to_continue1) ... ok test_break_to_continue2 (test.test_sys_settrace.TraceTestCase.test_break_to_continue2) ... ok test_class_creation_with_decorator (test.test_sys_settrace.TraceTestCase.test_class_creation_with_decorator) ... ok test_class_creation_with_docstrings (test.test_sys_settrace.TraceTestCase.test_class_creation_with_docstrings) ... ok test_continue_through_finally (test.test_sys_settrace.TraceTestCase.test_continue_through_finally) ... ok test_early_exit_with (test.test_sys_settrace.TraceTestCase.test_early_exit_with) ... ok test_finally_with_conditional (test.test_sys_settrace.TraceTestCase.test_finally_with_conditional) ... ok test_flow_converges_on_same_line (test.test_sys_settrace.TraceTestCase.test_flow_converges_on_same_line) ... ok test_if_break (test.test_sys_settrace.TraceTestCase.test_if_break) ... ok test_if_false_in_try_except (test.test_sys_settrace.TraceTestCase.test_if_false_in_try_except) ... ok test_if_false_in_with (test.test_sys_settrace.TraceTestCase.test_if_false_in_with) ... ok test_if_in_if_in_if (test.test_sys_settrace.TraceTestCase.test_if_in_if_in_if) ... ok test_implicit_return_in_class (test.test_sys_settrace.TraceTestCase.test_implicit_return_in_class) ... ok test_loop_in_try_except (test.test_sys_settrace.TraceTestCase.test_loop_in_try_except) ... ok test_nested_ifs (test.test_sys_settrace.TraceTestCase.test_nested_ifs) ... ok test_nested_ifs_with_and (test.test_sys_settrace.TraceTestCase.test_nested_ifs_with_and) ... ok test_nested_loops (test.test_sys_settrace.TraceTestCase.test_nested_loops) ... ok test_nested_try_if (test.test_sys_settrace.TraceTestCase.test_nested_try_if) ... ok test_no_line_event_after_creating_generator (test.test_sys_settrace.TraceTestCase.test_no_line_event_after_creating_generator) ... skipped 'implementation detail specific to cpython' test_no_tracing_of_named_except_cleanup (test.test_sys_settrace.TraceTestCase.test_no_tracing_of_named_except_cleanup) ... ok test_notrace_lambda (test.test_sys_settrace.TraceTestCase.test_notrace_lambda) ... ok test_return_through_finally (test.test_sys_settrace.TraceTestCase.test_return_through_finally) ... ok test_set_and_retrieve_func (test.test_sys_settrace.TraceTestCase.test_set_and_retrieve_func) ... ok test_set_and_retrieve_none (test.test_sys_settrace.TraceTestCase.test_set_and_retrieve_none) ... ok test_settrace_error (test.test_sys_settrace.TraceTestCase.test_settrace_error) ... ok test_testcapi_settrace_error (test.test_sys_settrace.TraceTestCase.test_testcapi_settrace_error) ... skipped 'implementation detail specific to cpython' test_tracing_exception_raised_in_with (test.test_sys_settrace.TraceTestCase.test_tracing_exception_raised_in_with) ... ok test_try_except_no_exception (test.test_sys_settrace.TraceTestCase.test_try_except_no_exception) ... ok test_try_except_star_exception_caught (test.test_sys_settrace.TraceTestCase.test_try_except_star_exception_caught) ... ok test_try_except_star_exception_not_caught (test.test_sys_settrace.TraceTestCase.test_try_except_star_exception_not_caught) ... ok test_try_except_star_named_exception_caught (test.test_sys_settrace.TraceTestCase.test_try_except_star_named_exception_caught) ... ok test_try_except_star_named_exception_not_caught (test.test_sys_settrace.TraceTestCase.test_try_except_star_named_exception_not_caught) ... ok test_try_except_star_named_no_exception (test.test_sys_settrace.TraceTestCase.test_try_except_star_named_no_exception) ... ok test_try_except_star_nested (test.test_sys_settrace.TraceTestCase.test_try_except_star_nested) ... ok test_try_except_star_no_exception (test.test_sys_settrace.TraceTestCase.test_try_except_star_no_exception) ... ok test_try_except_with_wrong_type (test.test_sys_settrace.TraceTestCase.test_try_except_with_wrong_type) ... ok test_try_exception_in_else (test.test_sys_settrace.TraceTestCase.test_try_exception_in_else) ... ok test_try_in_try (test.test_sys_settrace.TraceTestCase.test_try_in_try) ... ok test_try_in_try_with_exception (test.test_sys_settrace.TraceTestCase.test_try_in_try_with_exception) ... ok test_very_large_function (test.test_sys_settrace.TraceTestCase.test_very_large_function) ... ok ====================================================================== FAIL: test_jump_backward_over_async_listcomp (test.test_sys_settrace.JumpTestCase.test_jump_backward_over_async_listcomp) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2022, in test self.run_async_test(func, jumpFrom, jumpTo, expected, ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1992, in run_async_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: RuntimeWarning not triggered ====================================================================== FAIL: test_jump_backward_over_async_listcomp_v2 (test.test_sys_settrace.JumpTestCase.test_jump_backward_over_async_listcomp_v2) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2022, in test self.run_async_test(func, jumpFrom, jumpTo, expected, ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1992, in run_async_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: RuntimeWarning not triggered ====================================================================== FAIL: test_jump_backward_over_listcomp (test.test_sys_settrace.JumpTestCase.test_jump_backward_over_listcomp) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2010, in test self.run_test(func, jumpFrom, jumpTo, expected, ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1969, in run_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: RuntimeWarning not triggered ====================================================================== FAIL: test_jump_backward_over_listcomp_v2 (test.test_sys_settrace.JumpTestCase.test_jump_backward_over_listcomp_v2) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2010, in test self.run_test(func, jumpFrom, jumpTo, expected, ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1969, in run_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: RuntimeWarning not triggered ====================================================================== FAIL: test_jump_between_except_blocks_2 (test.test_sys_settrace.JumpTestCase.test_jump_between_except_blocks_2) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2010, in test self.run_test(func, jumpFrom, jumpTo, expected, ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1969, in run_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: RuntimeWarning not triggered ====================================================================== FAIL: test_jump_extended_args_unpack_ex_simple (test.test_sys_settrace.JumpTestCase.test_jump_extended_args_unpack_ex_simple) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2010, in test self.run_test(func, jumpFrom, jumpTo, expected, ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1969, in run_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: RuntimeWarning not triggered ====================================================================== FAIL: test_jump_extended_args_unpack_ex_tricky (test.test_sys_settrace.JumpTestCase.test_jump_extended_args_unpack_ex_tricky) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2010, in test self.run_test(func, jumpFrom, jumpTo, expected, ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1969, in run_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: RuntimeWarning not triggered ====================================================================== FAIL: test_jump_forward_over_async_listcomp (test.test_sys_settrace.JumpTestCase.test_jump_forward_over_async_listcomp) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2022, in test self.run_async_test(func, jumpFrom, jumpTo, expected, ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1992, in run_async_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: RuntimeWarning not triggered ====================================================================== FAIL: test_jump_forward_over_listcomp (test.test_sys_settrace.JumpTestCase.test_jump_forward_over_listcomp) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2010, in test self.run_test(func, jumpFrom, jumpTo, expected, ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1969, in run_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: RuntimeWarning not triggered ====================================================================== FAIL: test_jump_is_none_forwards (test.test_sys_settrace.JumpTestCase.test_jump_is_none_forwards) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2010, in test self.run_test(func, jumpFrom, jumpTo, expected, ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1969, in run_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: RuntimeWarning not triggered ====================================================================== FAIL: test_jump_or_pop (test.test_sys_settrace.JumpTestCase.test_jump_or_pop) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2010, in test self.run_test(func, jumpFrom, jumpTo, expected, ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1969, in run_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: RuntimeWarning not triggered ====================================================================== FAIL: test_jump_out_of_async_with_assignment (test.test_sys_settrace.JumpTestCase.test_jump_out_of_async_with_assignment) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2022, in test self.run_async_test(func, jumpFrom, jumpTo, expected, ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1992, in run_async_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: RuntimeWarning not triggered ====================================================================== FAIL: test_jump_out_of_block_forwards (test.test_sys_settrace.JumpTestCase.test_jump_out_of_block_forwards) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2010, in test self.run_test(func, jumpFrom, jumpTo, expected, ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1969, in run_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: RuntimeWarning not triggered ====================================================================== FAIL: test_jump_out_of_with_assignment (test.test_sys_settrace.JumpTestCase.test_jump_out_of_with_assignment) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2010, in test self.run_test(func, jumpFrom, jumpTo, expected, ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1969, in run_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: RuntimeWarning not triggered ====================================================================== FAIL: test_jump_over_async_for_block_before_else (test.test_sys_settrace.JumpTestCase.test_jump_over_async_for_block_before_else) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2022, in test self.run_async_test(func, jumpFrom, jumpTo, expected, ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1992, in run_async_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: RuntimeWarning not triggered ====================================================================== FAIL: test_jump_over_for_block_before_else (test.test_sys_settrace.JumpTestCase.test_jump_over_for_block_before_else) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2010, in test self.run_test(func, jumpFrom, jumpTo, expected, ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1969, in run_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: RuntimeWarning not triggered ====================================================================== FAIL: test_jump_over_try_except (test.test_sys_settrace.JumpTestCase.test_jump_over_try_except) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2010, in test self.run_test(func, jumpFrom, jumpTo, expected, ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1969, in run_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: RuntimeWarning not triggered ====================================================================== FAIL: test_large_function (test.test_sys_settrace.JumpTestCase.test_large_function) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2745, in test_large_function self.run_test(f, 2, 1007, [0], warning=(RuntimeWarning, self.unbound_locals)) ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1969, in run_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: RuntimeWarning not triggered ====================================================================== FAIL: test_no_jump_backwards_into_async_with_block (test.test_sys_settrace.JumpTestCase.test_no_jump_backwards_into_async_with_block) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1997, in run_async_test asyncio.run(func(output)) ^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 195, in run return runner.run(main) ^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/futures.py", line 202, in result raise self._exception.with_traceback(self._exception_tb) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py", line 314, in __step_run_and_handle_result result = coro.send(None) ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2545, in test_no_jump_backwards_into_async_with_block output.append(3) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1917, in trace frame.f_lineno = self.firstLine + self.jumpTo ^^^^^^^^ ValueError: can't jump into the body of a with statement During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2022, in test self.run_async_test(func, jumpFrom, jumpTo, expected, ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1992, in run_async_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: "stack" does not match "can't jump into the body of a with statement" ====================================================================== FAIL: test_no_jump_backwards_into_with_block (test.test_sys_settrace.JumpTestCase.test_no_jump_backwards_into_with_block) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1977, in run_test func(output) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2539, in test_no_jump_backwards_into_with_block output.append(3) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1917, in trace frame.f_lineno = self.firstLine + self.jumpTo ^^^^^^^^ ValueError: can't jump into the body of a with statement During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2010, in test self.run_test(func, jumpFrom, jumpTo, expected, ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1969, in run_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: "stack" does not match "can't jump into the body of a with statement" ====================================================================== FAIL: test_no_jump_forwards_into_async_with_block (test.test_sys_settrace.JumpTestCase.test_no_jump_forwards_into_async_with_block) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1997, in run_async_test asyncio.run(func(output)) ^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 195, in run return runner.run(main) ^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/futures.py", line 202, in result raise self._exception.with_traceback(self._exception_tb) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py", line 314, in __step_run_and_handle_result result = coro.send(None) ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2531, in test_no_jump_forwards_into_async_with_block output.append(1) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1917, in trace frame.f_lineno = self.firstLine + self.jumpTo ^^^^^^^^ ValueError: can't jump into the body of a with statement During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2022, in test self.run_async_test(func, jumpFrom, jumpTo, expected, ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1992, in run_async_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: "stack" does not match "can't jump into the body of a with statement" ====================================================================== FAIL: test_no_jump_forwards_into_with_block (test.test_sys_settrace.JumpTestCase.test_no_jump_forwards_into_with_block) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1977, in run_test func(output) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2525, in test_no_jump_forwards_into_with_block output.append(1) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1917, in trace frame.f_lineno = self.firstLine + self.jumpTo ^^^^^^^^ ValueError: can't jump into the body of a with statement During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2010, in test self.run_test(func, jumpFrom, jumpTo, expected, ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1969, in run_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: "stack" does not match "can't jump into the body of a with statement" ====================================================================== FAIL: test_no_jump_over_return_try_finally_in_finally_block (test.test_sys_settrace.JumpTestCase.test_no_jump_over_return_try_finally_in_finally_block) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1977, in run_test func(output) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2168, in test_no_jump_over_return_try_finally_in_finally_block output.append(5) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1917, in trace frame.f_lineno = self.firstLine + self.jumpTo ^^^^^^^^ ValueError: can't jump into an 'except' block as there's no exception During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 2010, in test self.run_test(func, jumpFrom, jumpTo, expected, ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1969, in run_test with contextlib.ExitStack() as stack: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ AssertionError: "comes after the current code block" does not match "can't jump into an 'except' block as there's no exception" ====================================================================== FAIL: test_13_genexp (test.test_sys_settrace.SkipLineEventsTraceTestCase.test_13_genexp) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 434, in test_13_genexp self.run_test(generator_example) ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 380, in run_test self.run_and_compare(func, func.events) ^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 376, in run_and_compare self.compare_events(func.__code__.co_firstlineno, ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 1753, in compare_events super().compare_events(line_offset, events, skip_line_events) ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 366, in compare_events self.fail( ^^^^ AssertionError: events did not match expectation: (0, 'call') (-6, 'call') (-4, 'return') - (-4, 'call') - (-4, 'exception') - (-1, 'return') (5, 'return') ====================================================================== FAIL: test_13_genexp (test.test_sys_settrace.TestLinesAfterTraceStarted.test_13_genexp) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 434, in test_13_genexp self.run_test(generator_example) ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 380, in run_test self.run_and_compare(func, func.events) ^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 376, in run_and_compare self.compare_events(func.__code__.co_firstlineno, ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 366, in compare_events self.fail( ^^^^ AssertionError: events did not match expectation: (0, 'call') (2, 'line') (-6, 'call') (-5, 'line') (-4, 'line') (-4, 'return') - (-4, 'call') - (-4, 'exception') - (-1, 'line') - (-1, 'return') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (5, 'return') ====================================================================== FAIL: test_events (test.test_sys_settrace.TestLinesAfterTraceStarted.test_events) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 3029, in test_events self.compare_events( ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 366, in compare_events self.fail( ^^^^ AssertionError: events did not match expectation: + (3, 'line') (4, 'line') (5, 'line') (6, 'line') ====================================================================== FAIL: test_13_genexp (test.test_sys_settrace.TestSetLocalTrace.test_13_genexp) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 434, in test_13_genexp self.run_test(generator_example) ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 380, in run_test self.run_and_compare(func, func.events) ^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 376, in run_and_compare self.compare_events(func.__code__.co_firstlineno, ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 366, in compare_events self.fail( ^^^^ AssertionError: events did not match expectation: (0, 'call') (2, 'line') (-6, 'call') (-5, 'line') (-4, 'line') (-4, 'return') - (-4, 'call') - (-4, 'exception') - (-1, 'line') - (-1, 'return') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (5, 'return') ====================================================================== FAIL: test_13_genexp (test.test_sys_settrace.TraceTestCase.test_13_genexp) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 434, in test_13_genexp self.run_test(generator_example) ^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 380, in run_test self.run_and_compare(func, func.events) ^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 376, in run_and_compare self.compare_events(func.__code__.co_firstlineno, ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sys_settrace.py", line 366, in compare_events self.fail( ^^^^ AssertionError: events did not match expectation: (0, 'call') (2, 'line') (-6, 'call') (-5, 'line') (-4, 'line') (-4, 'return') - (-4, 'call') - (-4, 'exception') - (-1, 'line') - (-1, 'return') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (6, 'line') (5, 'line') (5, 'return') ---------------------------------------------------------------------- Ran 443 tests in 0.268s FAILED (failures=28, skipped=79) 0:00:00 load avg: 0.74 [1/1/1] test_sys_settrace failed (28 failures) == Tests result: FAILURE == 1 test failed: test_sys_settrace Total duration: 453 ms Total tests: run=443 failures=28 skipped=79 Total test files: run=1/1 failed=1 Result: FAILURE test test_sys_settrace failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1753619æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 122676269 0:00:00 load avg: 0.74 Run 1 test sequentially in a single process 0:00:00 load avg: 0.74 [1/1] test_sysconfig test_is_python_build_check_home (test.test_sysconfig.DeprecationTests.test_is_python_build_check_home) ... ok test_get_makefile_filename (test.test_sysconfig.MakefileTests.test_get_makefile_filename) ... FAIL test_parse_makefile (test.test_sysconfig.MakefileTests.test_parse_makefile) ... ok test_EXT_SUFFIX_in_vars (test.test_sysconfig.TestSysConfig.test_EXT_SUFFIX_in_vars) ... ok test_config_vars_depend_on_site_initialization (test.test_sysconfig.TestSysConfig.test_config_vars_depend_on_site_initialization) ... ok test_config_vars_recalculation_after_site_initialization (test.test_sysconfig.TestSysConfig.test_config_vars_recalculation_after_site_initialization) ... ok test_get_config_h_filename (test.test_sysconfig.TestSysConfig.test_get_config_h_filename) ... ok test_get_config_vars (test.test_sysconfig.TestSysConfig.test_get_config_vars) ... ok test_get_default_scheme (test.test_sysconfig.TestSysConfig.test_get_default_scheme) ... ok test_get_path (test.test_sysconfig.TestSysConfig.test_get_path) ... ok test_get_path_names (test.test_sysconfig.TestSysConfig.test_get_path_names) ... ok test_get_paths (test.test_sysconfig.TestSysConfig.test_get_paths) ... ok test_get_platform (test.test_sysconfig.TestSysConfig.test_get_platform) ... ok test_get_preferred_schemes (test.test_sysconfig.TestSysConfig.test_get_preferred_schemes) ... ok test_get_scheme_names (test.test_sysconfig.TestSysConfig.test_get_scheme_names) ... ok test_ldshared_value (test.test_sysconfig.TestSysConfig.test_ldshared_value) ... ok test_main (test.test_sysconfig.TestSysConfig.test_main) ... ok test_nt_venv_scheme (test.test_sysconfig.TestSysConfig.test_nt_venv_scheme) ... ok test_osx_ext_suffix (test.test_sysconfig.TestSysConfig.test_osx_ext_suffix) ... skipped 'OS X-specific test' test_paths_depend_on_site_initialization (test.test_sysconfig.TestSysConfig.test_paths_depend_on_site_initialization) ... ok test_platform_in_subprocess (test.test_sysconfig.TestSysConfig.test_platform_in_subprocess) ... skipped 'test only relevant on MacOSX' test_posix_venv_scheme (test.test_sysconfig.TestSysConfig.test_posix_venv_scheme) ... FAIL test_srcdir (test.test_sysconfig.TestSysConfig.test_srcdir) ... FAIL test_srcdir_independent_of_cwd (test.test_sysconfig.TestSysConfig.test_srcdir_independent_of_cwd) ... ok test_symlink (test.test_sysconfig.TestSysConfig.test_symlink) ... ok test_triplet_in_ext_suffix (test.test_sysconfig.TestSysConfig.test_triplet_in_ext_suffix) ... ok test_user_similar (test.test_sysconfig.TestSysConfig.test_user_similar) ... ok test_venv_scheme (test.test_sysconfig.TestSysConfig.test_venv_scheme) ... ok ====================================================================== FAIL: test_get_makefile_filename (test.test_sysconfig.MakefileTests.test_get_makefile_filename) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sysconfig.py", line 596, in test_get_makefile_filename self.assertTrue(os.path.isfile(makefile), makefile) ^^^^^^^^^^ AssertionError: False is not true : /build_dir/pypy-c-jit-linux-x86-64/build/lib/pypy3.12/config-3.12-x86_64-linux-gnu/Makefile ====================================================================== FAIL: test_posix_venv_scheme (test.test_sysconfig.TestSysConfig.test_posix_venv_scheme) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sysconfig.py", line 171, in test_posix_venv_scheme self.assertEqual(libpath, sysconfig.get_path('purelib', scheme='posix_venv', vars=vars)) ^^^^^^^^^^^ AssertionError: 'venv/lib/python3.12/site-packages' != 'venv/lib/pypy3.12/site-packages' - venv/lib/python3.12/site-packages ? ^^^^ + venv/lib/pypy3.12/site-packages ? ^^ ====================================================================== FAIL: test_srcdir (test.test_sysconfig.TestSysConfig.test_srcdir) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sysconfig.py", line 481, in test_srcdir self.assertEqual(makefile_dir, srcdir) ^^^^^^^^^^^ AssertionError: '/bui[16 chars]t-linux-x86-64/build/lib/pypy3.12/config-3.12-x86_64-linux-gnu' != '/bui[16 chars]t-linux-x86-64/build/pypy/goal' - /build_dir/pypy-c-jit-linux-x86-64/build/lib/pypy3.12/config-3.12-x86_64-linux-gnu + /build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal ---------------------------------------------------------------------- Ran 28 tests in 0.613s FAILED (failures=3, skipped=2) 0:00:00 load avg: 0.74 [1/1/1] test_sysconfig failed (3 failures) == Tests result: FAILURE == 1 test failed: test_sysconfig Total duration: 702 ms Total tests: run=28 failures=3 skipped=2 Total test files: run=1/1 failed=1 Result: FAILURE test test_sysconfig failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1753636æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2074596906 0:00:00 load avg: 0.74 Run 1 test sequentially in a single process 0:00:00 load avg: 0.74 [1/1] test_syslog test_closelog (test.test_syslog.Test.test_closelog) ... ok test_log_mask (test.test_syslog.Test.test_log_mask) ... ok test_openlog (test.test_syslog.Test.test_openlog) ... ok test_openlog_noargs (test.test_syslog.Test.test_openlog_noargs) ... ok test_setlogmask (test.test_syslog.Test.test_setlogmask) ... ok test_subinterpreter_closelog (test.test_syslog.Test.test_subinterpreter_closelog) ... ERROR test_subinterpreter_openlog (test.test_syslog.Test.test_subinterpreter_openlog) ... ERROR test_subinterpreter_syslog (test.test_syslog.Test.test_subinterpreter_syslog) ... test_subinterpreter_syslog (test.test_syslog.Test.test_subinterpreter_syslog) [before openlog()] ... ERROR test_subinterpreter_syslog (test.test_syslog.Test.test_subinterpreter_syslog) [after openlog()] ... ERROR test_syslog (test.test_syslog.Test.test_syslog) ... ok test_syslog_implicit_open (test.test_syslog.Test.test_syslog_implicit_open) ... ok test_syslog_threaded (test.test_syslog.Test.test_syslog_threaded) ... ok ====================================================================== ERROR: test_subinterpreter_closelog (test.test_syslog.Test.test_subinterpreter_closelog) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syslog.py", line 140, in test_subinterpreter_closelog res = support.run_in_subinterp(code) ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py", line 1785, in run_in_subinterp return _testcapi.run_in_subinterp(code) ^^^^^^^^^^^^^^^^ RuntimeError: sub-interpreter creation failed ====================================================================== ERROR: test_subinterpreter_openlog (test.test_syslog.Test.test_subinterpreter_openlog) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syslog.py", line 122, in test_subinterpreter_openlog res = support.run_in_subinterp(code) ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py", line 1785, in run_in_subinterp return _testcapi.run_in_subinterp(code) ^^^^^^^^^^^^^^^^ RuntimeError: sub-interpreter creation failed ====================================================================== ERROR: test_subinterpreter_syslog (test.test_syslog.Test.test_subinterpreter_syslog) [before openlog()] ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syslog.py", line 95, in test_subinterpreter_syslog res = support.run_in_subinterp(code) ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py", line 1785, in run_in_subinterp return _testcapi.run_in_subinterp(code) ^^^^^^^^^^^^^^^^ RuntimeError: sub-interpreter creation failed ====================================================================== ERROR: test_subinterpreter_syslog (test.test_syslog.Test.test_subinterpreter_syslog) [after openlog()] ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syslog.py", line 105, in test_subinterpreter_syslog res = support.run_in_subinterp(code) ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py", line 1785, in run_in_subinterp return _testcapi.run_in_subinterp(code) ^^^^^^^^^^^^^^^^ RuntimeError: sub-interpreter creation failed ---------------------------------------------------------------------- Ran 11 tests in 0.125s FAILED (errors=4) 0:00:00 load avg: 0.74 [1/1/1] test_syslog failed (4 errors) == Tests result: FAILURE == 1 test failed: test_syslog Total duration: 193 ms Total tests: run=11 Total test files: run=1/1 failed=1 Result: FAILURE test test_syslog failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1753652æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 972618726 0:00:00 load avg: 0.74 Run 1 test sequentially in a single process 0:00:00 load avg: 0.74 [1/1] test_tabnanny test_correct_directory (test.test_tabnanny.TestCheck.test_correct_directory) Directory which contains few error free python source code files. ... ok test_correct_directory_verbose (test.test_tabnanny.TestCheck.test_correct_directory_verbose) Directory containing few error free python source code files. ... ok test_correct_file (test.test_tabnanny.TestCheck.test_correct_file) A python source code file without any errors. ... ok test_errored_directory (test.test_tabnanny.TestCheck.test_errored_directory) Directory containing wrongly indented python source code files. ... ok test_when_nannynag_error (test.test_tabnanny.TestCheck.test_when_nannynag_error) A python source code file eligible for raising `tabnanny.NannyNag`. ... FAIL test_when_nannynag_error_verbose (test.test_tabnanny.TestCheck.test_when_nannynag_error_verbose) A python source code file eligible for raising `tabnanny.NannyNag`. ... FAIL test_when_no_file (test.test_tabnanny.TestCheck.test_when_no_file) A python file which does not exist actually in system. ... ok test_when_tokenize_tokenerror (test.test_tabnanny.TestCheck.test_when_tokenize_tokenerror) A python source code file eligible for raising 'tokenize.TokenError'. ... ERROR test_when_wrong_indented (test.test_tabnanny.TestCheck.test_when_wrong_indented) A python source code file eligible for raising `IndentationError`. ... ok test_command_usage (test.test_tabnanny.TestCommandLine.test_command_usage) Should display usage on no arguments. ... ok test_double_verbose_mode (test.test_tabnanny.TestCommandLine.test_double_verbose_mode) Should display detailed error information if double verbose is on. ... test_double_verbose_mode (test.test_tabnanny.TestCommandLine.test_double_verbose_mode) (std='offending line: \'\\tprint("world")\'', output=["checking '/tmp/pytest/tmpt1rgk85o.py' ...", "'/tmp/pytest/tmpt1rgk85o.py': *** Line 3: trouble in tab city! ***", 'offending line: \'\\tprint("world")\\n\'', 'indent not equal e.g. at tab size 1']) Should display detailed error information if double verbose is on. ... FAIL test_quiet_flag (test.test_tabnanny.TestCommandLine.test_quiet_flag) Should display less when quite mode is on. ... ok test_verbose_mode (test.test_tabnanny.TestCommandLine.test_verbose_mode) Should display more error information if verbose mode is on. ... test_verbose_mode (test.test_tabnanny.TestCommandLine.test_verbose_mode) (std='offending line: \'\\tprint("world")\'', output=["'/tmp/pytest/tmp1qrmmm65.py': *** Line 3: trouble in tab city! ***", 'offending line: \'\\tprint("world")\\n\'', 'indent not equal e.g. at tab size 1']) Should display more error information if verbose mode is on. ... FAIL test_with_error_free_file (test.test_tabnanny.TestCommandLine.test_with_error_free_file) Should not display anything if python file is correctly indented. ... ok test_with_errored_file (test.test_tabnanny.TestCommandLine.test_with_errored_file) Should displays error when errored python file is given. ... ok test_errprint (test.test_tabnanny.TestErrPrint.test_errprint) Asserting result of `tabnanny.errprint()` by giving sample inputs. ... ok test_format_witnesses (test.test_tabnanny.TestFormatWitnesses.test_format_witnesses) Asserting formatter result by giving various input samples. ... ok test_all_methods (test.test_tabnanny.TestNannyNag.test_all_methods) Asserting behaviour of `tabnanny.NannyNag` exception. ... ok test_with_correct_code (test.test_tabnanny.TestProcessTokens.test_with_correct_code) A python source code without any whitespace related problems. ... ok test_with_errored_codes_samples (test.test_tabnanny.TestProcessTokens.test_with_errored_codes_samples) A python source code with whitespace related sampled problems. ... ok ====================================================================== ERROR: test_when_tokenize_tokenerror (test.test_tabnanny.TestCheck.test_when_tokenize_tokenerror) A python source code file eligible for raising 'tokenize.TokenError'. ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tabnanny.py", line 216, in test_when_tokenize_tokenerror self.verify_tabnanny_check(file_path, err=err) ^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tabnanny.py", line 162, in verify_tabnanny_check tabnanny.check(dir_or_file) ^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/tabnanny.py", line 104, in check process_tokens(tokenize.generate_tokens(f.readline)) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/tabnanny.py", line 280, in process_tokens _process_tokens(tokens) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/tabnanny.py", line 292, in _process_tokens for (type, token, start, end, line) in tokens: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/tokenize.py", line 584, in _generate_tokens_from_c_tokenizer for info in it: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_tokenize.py", line 723, in __next__ return next(self._iter) ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_tokenize.py", line 594, in _generate raise SyntaxError("EOF in multi-line statement", (lnum, 0)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: function missing required argument 'info[3]' (pos 4) ====================================================================== FAIL: test_when_nannynag_error (test.test_tabnanny.TestCheck.test_when_nannynag_error) A python source code file eligible for raising `tabnanny.NannyNag`. ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tabnanny.py", line 235, in test_when_nannynag_error self.verify_tabnanny_check(file_path, out=out) ^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tabnanny.py", line 163, in verify_tabnanny_check self.assertEqual(stdout.getvalue(), out) ^^^^^^^^^^^ AssertionError: '/tmp/pytest/tmpo3r1fqg8.py 3 \'\\tprint("world")\\n\'\n' != '/tmp/pytest/tmpo3r1fqg8.py 3 \'\\tprint("world")\'\n' - /tmp/pytest/tmpo3r1fqg8.py 3 '\tprint("world")\n' ? -- + /tmp/pytest/tmpo3r1fqg8.py 3 '\tprint("world")' ====================================================================== FAIL: test_when_nannynag_error_verbose (test.test_tabnanny.TestCheck.test_when_nannynag_error_verbose) A python source code file eligible for raising `tabnanny.NannyNag`. ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tabnanny.py", line 229, in test_when_nannynag_error_verbose self.verify_tabnanny_check(file_path, out=out) ^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tabnanny.py", line 163, in verify_tabnanny_check self.assertEqual(stdout.getvalue(), out) ^^^^^^^^^^^ AssertionError: '\'/t[95 chars]orld")\\n\'\nindent not equal e.g. at tab size 1\n' != '\'/t[95 chars]orld")\'\ninconsistent use of tabs and spaces in indentation\n' '/tmp/pytest/tmp7ptl9ser.py': *** Line 3: trouble in tab city! *** - offending line: '\tprint("world")\n' ? -- + offending line: '\tprint("world")' - indent not equal e.g. at tab size 1 + inconsistent use of tabs and spaces in indentation ====================================================================== FAIL: test_double_verbose_mode (test.test_tabnanny.TestCommandLine.test_double_verbose_mode) (std='offending line: \'\\tprint("world")\'', output=["checking '/tmp/pytest/tmpt1rgk85o.py' ...", "'/tmp/pytest/tmpt1rgk85o.py': *** Line 3: trouble in tab city! ***", 'offending line: \'\\tprint("world")\\n\'', 'indent not equal e.g. at tab size 1']) Should display detailed error information if double verbose is on. ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tabnanny.py", line 310, in validate_cmd self.assertIn(_std, _output) ^^^^^^^^ AssertionError: 'offending line: \'\\tprint("world")\'' not found in ["checking '/tmp/pytest/tmpt1rgk85o.py' ...", "'/tmp/pytest/tmpt1rgk85o.py': *** Line 3: trouble in tab city! ***", 'offending line: \'\\tprint("world")\\n\'', 'indent not equal e.g. at tab size 1'] ====================================================================== FAIL: test_verbose_mode (test.test_tabnanny.TestCommandLine.test_verbose_mode) (std='offending line: \'\\tprint("world")\'', output=["'/tmp/pytest/tmp1qrmmm65.py': *** Line 3: trouble in tab city! ***", 'offending line: \'\\tprint("world")\\n\'', 'indent not equal e.g. at tab size 1']) Should display more error information if verbose mode is on. ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tabnanny.py", line 310, in validate_cmd self.assertIn(_std, _output) ^^^^^^^^ AssertionError: 'offending line: \'\\tprint("world")\'' not found in ["'/tmp/pytest/tmp1qrmmm65.py': *** Line 3: trouble in tab city! ***", 'offending line: \'\\tprint("world")\\n\'', 'indent not equal e.g. at tab size 1'] ---------------------------------------------------------------------- Ran 20 tests in 0.347s FAILED (failures=4, errors=1) 0:00:00 load avg: 0.74 [1/1/1] test_tabnanny failed (1 error, 4 failures) == Tests result: FAILURE == 1 test failed: test_tabnanny Total duration: 516 ms Total tests: run=20 failures=4 Total test files: run=1/1 failed=1 Result: FAILURE test test_tabnanny failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1753664æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1925903343 0:00:00 load avg: 0.74 Run 1 test sequentially in a single process 0:00:00 load avg: 0.74 [1/1] test_tarfile test_empty (test.test_tarfile.AppendTest.test_empty) ... ok test_empty_fileobj (test.test_tarfile.AppendTest.test_empty_fileobj) ... ok test_existing (test.test_tarfile.AppendTest.test_existing) ... ok test_fileobj (test.test_tarfile.AppendTest.test_fileobj) ... ok test_incomplete (test.test_tarfile.AppendTest.test_incomplete) ... ok test_invalid (test.test_tarfile.AppendTest.test_invalid) ... ok test_non_existing (test.test_tarfile.AppendTest.test_non_existing) ... ok test_null (test.test_tarfile.AppendTest.test_null) ... ok test_premature_eof (test.test_tarfile.AppendTest.test_premature_eof) ... ok test_trailing_garbage (test.test_tarfile.AppendTest.test_trailing_garbage) ... ok test_append_compressed (test.test_tarfile.Bz2AppendTest.test_append_compressed) ... ok test_compression_levels (test.test_tarfile.Bz2CompressStreamWriteTest.test_compression_levels) ... ok test_compression_levels (test.test_tarfile.Bz2CompressWriteTest.test_compression_levels) ... ok test_create (test.test_tarfile.Bz2CreateTest.test_create) ... ok test_create_existing (test.test_tarfile.Bz2CreateTest.test_create_existing) ... ok test_create_existing_taropen (test.test_tarfile.Bz2CreateTest.test_create_existing_taropen) ... ok test_create_pathlike_name (test.test_tarfile.Bz2CreateTest.test_create_pathlike_name) ... ok test_create_taropen (test.test_tarfile.Bz2CreateTest.test_create_taropen) ... ok test_create_taropen_pathlike_name (test.test_tarfile.Bz2CreateTest.test_create_taropen_pathlike_name) ... ok test_create_with_compresslevel (test.test_tarfile.Bz2CreateTest.test_create_with_compresslevel) ... ok test_eof_marker (test.test_tarfile.Bz2CreateTest.test_eof_marker) ... ok test_fileobj_no_close (test.test_tarfile.Bz2CreateTest.test_fileobj_no_close) ... ok test_detect_file (test.test_tarfile.Bz2DetectReadTest.test_detect_file) ... ok test_detect_fileobj (test.test_tarfile.Bz2DetectReadTest.test_detect_fileobj) ... ok test_detect_stream_bz2 (test.test_tarfile.Bz2DetectReadTest.test_detect_stream_bz2) ... ok test_list (test.test_tarfile.Bz2ListTest.test_list) ... ok test_list_members (test.test_tarfile.Bz2ListTest.test_list_members) ... ok test_list_verbose (test.test_tarfile.Bz2ListTest.test_list_verbose) ... FAIL test_bytes_name_attribute (test.test_tarfile.Bz2MiscReadTest.test_bytes_name_attribute) ... skipped 'BZ2File have no name attribute' test_check_members (test.test_tarfile.Bz2MiscReadTest.test_check_members) ... ok test_deprecation_if_no_filter_passed_to_extract (test.test_tarfile.Bz2MiscReadTest.test_deprecation_if_no_filter_passed_to_extract) ... ok test_deprecation_if_no_filter_passed_to_extractall (test.test_tarfile.Bz2MiscReadTest.test_deprecation_if_no_filter_passed_to_extractall) ... ok test_empty_name_attribute (test.test_tarfile.Bz2MiscReadTest.test_empty_name_attribute) ... ok test_empty_tarfile (test.test_tarfile.Bz2MiscReadTest.test_empty_tarfile) ... ok test_extract_directory (test.test_tarfile.Bz2MiscReadTest.test_extract_directory) ... ok test_extract_hardlink (test.test_tarfile.Bz2MiscReadTest.test_extract_hardlink) ... ok test_extract_pathlike_dir (test.test_tarfile.Bz2MiscReadTest.test_extract_pathlike_dir) ... ok test_extractall (test.test_tarfile.Bz2MiscReadTest.test_extractall) ... ok test_extractall_pathlike_dir (test.test_tarfile.Bz2MiscReadTest.test_extractall_pathlike_dir) ... ok test_extractfile_attrs (test.test_tarfile.Bz2MiscReadTest.test_extractfile_attrs) ... ok test_fail_comp (test.test_tarfile.Bz2MiscReadTest.test_fail_comp) ... ok test_fileobj_with_offset (test.test_tarfile.Bz2MiscReadTest.test_fileobj_with_offset) ... ok test_find_members (test.test_tarfile.Bz2MiscReadTest.test_find_members) ... ok test_ignore_zeros (test.test_tarfile.Bz2MiscReadTest.test_ignore_zeros) ... ok test_illegal_mode_arg (test.test_tarfile.Bz2MiscReadTest.test_illegal_mode_arg) ... ok test_init_close_fobj (test.test_tarfile.Bz2MiscReadTest.test_init_close_fobj) ... ok test_int_name_attribute (test.test_tarfile.Bz2MiscReadTest.test_int_name_attribute) ... ok test_is_tarfile_erroneous (test.test_tarfile.Bz2MiscReadTest.test_is_tarfile_erroneous) ... ok test_is_tarfile_keeps_position (test.test_tarfile.Bz2MiscReadTest.test_is_tarfile_keeps_position) ... ok test_is_tarfile_valid (test.test_tarfile.Bz2MiscReadTest.test_is_tarfile_valid) ... ok test_length_zero_header (test.test_tarfile.Bz2MiscReadTest.test_length_zero_header) ... ok test_next_on_empty_tarfile (test.test_tarfile.Bz2MiscReadTest.test_next_on_empty_tarfile) ... ok test_no_name_argument (test.test_tarfile.Bz2MiscReadTest.test_no_name_argument) ... skipped 'BZ2File have no name attribute' test_no_name_attribute (test.test_tarfile.Bz2MiscReadTest.test_no_name_attribute) ... ok test_non_existent_tarfile (test.test_tarfile.Bz2MiscReadTest.test_non_existent_tarfile) ... ok test_null_tarfile (test.test_tarfile.Bz2MiscReadTest.test_null_tarfile) ... ok test_parallel_iteration (test.test_tarfile.Bz2MiscReadTest.test_parallel_iteration) ... ok test_pathlike_bytes_name (test.test_tarfile.Bz2MiscReadTest.test_pathlike_bytes_name) ... ok test_pathlike_name (test.test_tarfile.Bz2MiscReadTest.test_pathlike_name) ... ok test_premature_end_of_archive (test.test_tarfile.Bz2MiscReadTest.test_premature_end_of_archive) ... ok test_v7_dirtype (test.test_tarfile.Bz2MiscReadTest.test_v7_dirtype) ... ok test_xstar_type (test.test_tarfile.Bz2MiscReadTest.test_xstar_type) ... ok test_zlib_error_does_not_leak (test.test_tarfile.Bz2MiscReadTest.test_zlib_error_does_not_leak) ... ok test_partial_input (test.test_tarfile.Bz2PartialReadTest.test_partial_input) ... ok test_partial_input_bz2 (test.test_tarfile.Bz2PartialReadTest.test_partial_input_bz2) ... ok test_compare_members (test.test_tarfile.Bz2StreamReadTest.test_compare_members) ... ok test_empty_tarfile (test.test_tarfile.Bz2StreamReadTest.test_empty_tarfile) ... ok test_extractfile_attrs (test.test_tarfile.Bz2StreamReadTest.test_extractfile_attrs) ... ok test_fileobj_regular_file (test.test_tarfile.Bz2StreamReadTest.test_fileobj_regular_file) ... ok test_ignore_zeros (test.test_tarfile.Bz2StreamReadTest.test_ignore_zeros) ... ok test_is_tarfile_erroneous (test.test_tarfile.Bz2StreamReadTest.test_is_tarfile_erroneous) ... ok test_is_tarfile_keeps_position (test.test_tarfile.Bz2StreamReadTest.test_is_tarfile_keeps_position) ... ok test_is_tarfile_valid (test.test_tarfile.Bz2StreamReadTest.test_is_tarfile_valid) ... ok test_length_zero_header (test.test_tarfile.Bz2StreamReadTest.test_length_zero_header) ... ok test_non_existent_tarfile (test.test_tarfile.Bz2StreamReadTest.test_non_existent_tarfile) ... ok test_null_tarfile (test.test_tarfile.Bz2StreamReadTest.test_null_tarfile) ... ok test_premature_end_of_archive (test.test_tarfile.Bz2StreamReadTest.test_premature_end_of_archive) ... ok test_provoke_stream_error (test.test_tarfile.Bz2StreamReadTest.test_provoke_stream_error) ... ok test_read_through (test.test_tarfile.Bz2StreamReadTest.test_read_through) ... ok test_eof_marker (test.test_tarfile.Bz2StreamWriteTest.test_eof_marker) ... ok test_file_mode (test.test_tarfile.Bz2StreamWriteTest.test_file_mode) ... ok test_fileobj_no_close (test.test_tarfile.Bz2StreamWriteTest.test_fileobj_no_close) ... ok test_stream_padding (test.test_tarfile.Bz2StreamWriteTest.test_stream_padding) ... ok test_add_dir_getmember (test.test_tarfile.Bz2UstarReadTest.test_add_dir_getmember) ... ok test_fileobj_iter (test.test_tarfile.Bz2UstarReadTest.test_fileobj_iter) ... ok test_fileobj_link1 (test.test_tarfile.Bz2UstarReadTest.test_fileobj_link1) ... ok test_fileobj_link2 (test.test_tarfile.Bz2UstarReadTest.test_fileobj_link2) ... ok test_fileobj_readlines (test.test_tarfile.Bz2UstarReadTest.test_fileobj_readlines) ... ok test_fileobj_regular_file (test.test_tarfile.Bz2UstarReadTest.test_fileobj_regular_file) ... ok test_fileobj_seek (test.test_tarfile.Bz2UstarReadTest.test_fileobj_seek) ... ok test_fileobj_symlink1 (test.test_tarfile.Bz2UstarReadTest.test_fileobj_symlink1) ... ok test_fileobj_symlink2 (test.test_tarfile.Bz2UstarReadTest.test_fileobj_symlink2) ... ok test_fileobj_text (test.test_tarfile.Bz2UstarReadTest.test_fileobj_text) ... ok test_issue14160 (test.test_tarfile.Bz2UstarReadTest.test_issue14160) ... ok test_100_char_name (test.test_tarfile.Bz2WriteTest.test_100_char_name) ... ok test_abs_pathnames (test.test_tarfile.Bz2WriteTest.test_abs_pathnames) ... ok test_add_self (test.test_tarfile.Bz2WriteTest.test_add_self) ... ok test_cwd (test.test_tarfile.Bz2WriteTest.test_cwd) ... ok test_directory_size (test.test_tarfile.Bz2WriteTest.test_directory_size) ... ok test_eof_marker (test.test_tarfile.Bz2WriteTest.test_eof_marker) ... ok test_extractall_symlinks (test.test_tarfile.Bz2WriteTest.test_extractall_symlinks) ... ok test_file_size (test.test_tarfile.Bz2WriteTest.test_file_size) ... ok test_fileobj_no_close (test.test_tarfile.Bz2WriteTest.test_fileobj_no_close) ... ok test_filter (test.test_tarfile.Bz2WriteTest.test_filter) ... ok test_gettarinfo_pathlike_name (test.test_tarfile.Bz2WriteTest.test_gettarinfo_pathlike_name) ... ok test_link_size (test.test_tarfile.Bz2WriteTest.test_link_size) ... ok test_open_nonwritable_fileobj (test.test_tarfile.Bz2WriteTest.test_open_nonwritable_fileobj) ... ok test_ordered_recursion (test.test_tarfile.Bz2WriteTest.test_ordered_recursion) ... ok test_pathnames (test.test_tarfile.Bz2WriteTest.test_pathnames) ... ok test_symlink_size (test.test_tarfile.Bz2WriteTest.test_symlink_size) ... ok test_tar_size (test.test_tarfile.Bz2WriteTest.test_tar_size) ... ok test_bad_use (test.test_tarfile.CommandLineTest.test_bad_use) ... ok test_create_command (test.test_tarfile.CommandLineTest.test_create_command) ... ok test_create_command_compressed (test.test_tarfile.CommandLineTest.test_create_command_compressed) ... ok test_create_command_dot_started_filename (test.test_tarfile.CommandLineTest.test_create_command_dot_started_filename) ... ok test_create_command_dotless_filename (test.test_tarfile.CommandLineTest.test_create_command_dotless_filename) ... ok test_create_command_verbose (test.test_tarfile.CommandLineTest.test_create_command_verbose) ... ok test_extract_command (test.test_tarfile.CommandLineTest.test_extract_command) ... ok test_extract_command_different_directory (test.test_tarfile.CommandLineTest.test_extract_command_different_directory) ... ok test_extract_command_filter (test.test_tarfile.CommandLineTest.test_extract_command_filter) ... ok test_extract_command_invalid_file (test.test_tarfile.CommandLineTest.test_extract_command_invalid_file) ... ok test_extract_command_verbose (test.test_tarfile.CommandLineTest.test_extract_command_verbose) ... ok test_list_command (test.test_tarfile.CommandLineTest.test_list_command) ... ok test_list_command_invalid_file (test.test_tarfile.CommandLineTest.test_list_command_invalid_file) ... ok test_list_command_verbose (test.test_tarfile.CommandLineTest.test_list_command_verbose) ... ok test_test_command (test.test_tarfile.CommandLineTest.test_test_command) ... ok test_test_command_invalid_file (test.test_tarfile.CommandLineTest.test_test_command_invalid_file) ... ok test_test_command_verbose (test.test_tarfile.CommandLineTest.test_test_command_verbose) ... ok test_compresslevel_wrong_modes (test.test_tarfile.CompressLevelRaises.test_compresslevel_wrong_modes) ... ok test_wrong_compresslevels (test.test_tarfile.CompressLevelRaises.test_wrong_compresslevels) ... ok test_basic (test.test_tarfile.ContextManagerTest.test_basic) ... ok test_closed (test.test_tarfile.ContextManagerTest.test_closed) ... ok test_eof (test.test_tarfile.ContextManagerTest.test_eof) ... ok test_exception (test.test_tarfile.ContextManagerTest.test_exception) ... ok test_fileobj (test.test_tarfile.ContextManagerTest.test_fileobj) ... ok test_no_eof (test.test_tarfile.ContextManagerTest.test_no_eof) ... ok test_create (test.test_tarfile.CreateTest.test_create) ... ok test_create_existing (test.test_tarfile.CreateTest.test_create_existing) ... ok test_create_existing_taropen (test.test_tarfile.CreateTest.test_create_existing_taropen) ... ok test_create_pathlike_name (test.test_tarfile.CreateTest.test_create_pathlike_name) ... ok test_create_taropen (test.test_tarfile.CreateTest.test_create_taropen) ... ok test_create_taropen_pathlike_name (test.test_tarfile.CreateTest.test_create_taropen_pathlike_name) ... ok test_eof_marker (test.test_tarfile.CreateTest.test_eof_marker) ... ok test_fileobj_no_close (test.test_tarfile.CreateTest.test_fileobj_no_close) ... ok test_create (test.test_tarfile.CreateWithXModeTest.test_create) ... ok test_create_existing (test.test_tarfile.CreateWithXModeTest.test_create_existing) ... ok test_create_pathlike_name (test.test_tarfile.CreateWithXModeTest.test_create_pathlike_name) ... ok test_create_taropen_pathlike_name (test.test_tarfile.CreateWithXModeTest.test_create_taropen_pathlike_name) ... ok test_eof_marker (test.test_tarfile.CreateWithXModeTest.test_eof_marker) ... ok test_fileobj_no_close (test.test_tarfile.CreateWithXModeTest.test_fileobj_no_close) ... ok test_detect_file (test.test_tarfile.DetectReadTest.test_detect_file) ... ok test_detect_fileobj (test.test_tarfile.DetectReadTest.test_detect_fileobj) ... ok test_eof_marker (test.test_tarfile.DeviceHeaderTest.test_eof_marker) ... ok test_fileobj_no_close (test.test_tarfile.DeviceHeaderTest.test_fileobj_no_close) ... ok test_headers_written_only_for_device_files (test.test_tarfile.DeviceHeaderTest.test_headers_written_only_for_device_files) ... ok test_header_offset (test.test_tarfile.GNUReadTest.test_header_offset) ... ok test_longname_directory (test.test_tarfile.GNUReadTest.test_longname_directory) ... ok test_read_longlink (test.test_tarfile.GNUReadTest.test_read_longlink) ... ok test_read_longname (test.test_tarfile.GNUReadTest.test_read_longname) ... ok test_sparse_file_00 (test.test_tarfile.GNUReadTest.test_sparse_file_00) ... ok test_sparse_file_01 (test.test_tarfile.GNUReadTest.test_sparse_file_01) ... ok test_sparse_file_10 (test.test_tarfile.GNUReadTest.test_sparse_file_10) ... ok test_sparse_file_old (test.test_tarfile.GNUReadTest.test_sparse_file_old) ... ok test_truncated_longname (test.test_tarfile.GNUReadTest.test_truncated_longname) ... ok test_bad_pax_header (test.test_tarfile.GNUUnicodeTest.test_bad_pax_header) ... ok test_iso8859_1_filename (test.test_tarfile.GNUUnicodeTest.test_iso8859_1_filename) ... ok test_uname_unicode (test.test_tarfile.GNUUnicodeTest.test_uname_unicode) ... ok test_unicode_argument (test.test_tarfile.GNUUnicodeTest.test_unicode_argument) ... ok test_unicode_filename_error (test.test_tarfile.GNUUnicodeTest.test_unicode_filename_error) ... ok test_utf7_filename (test.test_tarfile.GNUUnicodeTest.test_utf7_filename) ... ok test_utf8_filename (test.test_tarfile.GNUUnicodeTest.test_utf8_filename) ... ok test_longlink_1023 (test.test_tarfile.GNUWriteTest.test_longlink_1023) ... ok test_longlink_1024 (test.test_tarfile.GNUWriteTest.test_longlink_1024) ... ok test_longlink_1025 (test.test_tarfile.GNUWriteTest.test_longlink_1025) ... ok test_longname_1023 (test.test_tarfile.GNUWriteTest.test_longname_1023) ... ok test_longname_1024 (test.test_tarfile.GNUWriteTest.test_longname_1024) ... ok test_longname_1025 (test.test_tarfile.GNUWriteTest.test_longname_1025) ... ok test_longnamelink_1023 (test.test_tarfile.GNUWriteTest.test_longnamelink_1023) ... ok test_longnamelink_1024 (test.test_tarfile.GNUWriteTest.test_longnamelink_1024) ... ok test_longnamelink_1025 (test.test_tarfile.GNUWriteTest.test_longnamelink_1025) ... ok test_compression_levels (test.test_tarfile.GzCompressStreamWriteTest.test_compression_levels) ... ok test_compression_levels (test.test_tarfile.GzCompressWriteTest.test_compression_levels) ... ok test_append_compressed (test.test_tarfile.GzipAppendTest.test_append_compressed) ... ok runTest (test.test_tarfile.GzipBrokenHeaderCorrectException.runTest) ... ok test_create (test.test_tarfile.GzipCreateTest.test_create) ... ok test_create_existing (test.test_tarfile.GzipCreateTest.test_create_existing) ... ok test_create_existing_taropen (test.test_tarfile.GzipCreateTest.test_create_existing_taropen) ... ok test_create_pathlike_name (test.test_tarfile.GzipCreateTest.test_create_pathlike_name) ... ok test_create_taropen (test.test_tarfile.GzipCreateTest.test_create_taropen) ... ok test_create_taropen_pathlike_name (test.test_tarfile.GzipCreateTest.test_create_taropen_pathlike_name) ... ok test_create_with_compresslevel (test.test_tarfile.GzipCreateTest.test_create_with_compresslevel) ... ok test_eof_marker (test.test_tarfile.GzipCreateTest.test_eof_marker) ... ok test_fileobj_no_close (test.test_tarfile.GzipCreateTest.test_fileobj_no_close) ... ok test_detect_file (test.test_tarfile.GzipDetectReadTest.test_detect_file) ... ok test_detect_fileobj (test.test_tarfile.GzipDetectReadTest.test_detect_fileobj) ... ok test_list (test.test_tarfile.GzipListTest.test_list) ... ok test_list_members (test.test_tarfile.GzipListTest.test_list_members) ... ok test_list_verbose (test.test_tarfile.GzipListTest.test_list_verbose) ... FAIL test_bytes_name_attribute (test.test_tarfile.GzipMiscReadTest.test_bytes_name_attribute) ... ok test_check_members (test.test_tarfile.GzipMiscReadTest.test_check_members) ... ok test_deprecation_if_no_filter_passed_to_extract (test.test_tarfile.GzipMiscReadTest.test_deprecation_if_no_filter_passed_to_extract) ... ok test_deprecation_if_no_filter_passed_to_extractall (test.test_tarfile.GzipMiscReadTest.test_deprecation_if_no_filter_passed_to_extractall) ... ok test_empty_name_attribute (test.test_tarfile.GzipMiscReadTest.test_empty_name_attribute) ... ok test_empty_tarfile (test.test_tarfile.GzipMiscReadTest.test_empty_tarfile) ... ok test_extract_directory (test.test_tarfile.GzipMiscReadTest.test_extract_directory) ... ok test_extract_hardlink (test.test_tarfile.GzipMiscReadTest.test_extract_hardlink) ... ok test_extract_pathlike_dir (test.test_tarfile.GzipMiscReadTest.test_extract_pathlike_dir) ... ok test_extractall (test.test_tarfile.GzipMiscReadTest.test_extractall) ... ok test_extractall_pathlike_dir (test.test_tarfile.GzipMiscReadTest.test_extractall_pathlike_dir) ... ok test_extractfile_attrs (test.test_tarfile.GzipMiscReadTest.test_extractfile_attrs) ... ok test_fail_comp (test.test_tarfile.GzipMiscReadTest.test_fail_comp) ... ok test_fileobj_with_offset (test.test_tarfile.GzipMiscReadTest.test_fileobj_with_offset) ... ok test_find_members (test.test_tarfile.GzipMiscReadTest.test_find_members) ... ok test_ignore_zeros (test.test_tarfile.GzipMiscReadTest.test_ignore_zeros) ... ok test_illegal_mode_arg (test.test_tarfile.GzipMiscReadTest.test_illegal_mode_arg) ... ok test_init_close_fobj (test.test_tarfile.GzipMiscReadTest.test_init_close_fobj) ... ok test_int_name_attribute (test.test_tarfile.GzipMiscReadTest.test_int_name_attribute) ... ok test_is_tarfile_erroneous (test.test_tarfile.GzipMiscReadTest.test_is_tarfile_erroneous) ... ok test_is_tarfile_keeps_position (test.test_tarfile.GzipMiscReadTest.test_is_tarfile_keeps_position) ... ok test_is_tarfile_valid (test.test_tarfile.GzipMiscReadTest.test_is_tarfile_valid) ... ok test_length_zero_header (test.test_tarfile.GzipMiscReadTest.test_length_zero_header) ... ok test_next_on_empty_tarfile (test.test_tarfile.GzipMiscReadTest.test_next_on_empty_tarfile) ... ok test_no_name_argument (test.test_tarfile.GzipMiscReadTest.test_no_name_argument) ... ok test_no_name_attribute (test.test_tarfile.GzipMiscReadTest.test_no_name_attribute) ... ok test_non_existent_tarfile (test.test_tarfile.GzipMiscReadTest.test_non_existent_tarfile) ... ok test_null_tarfile (test.test_tarfile.GzipMiscReadTest.test_null_tarfile) ... ok test_parallel_iteration (test.test_tarfile.GzipMiscReadTest.test_parallel_iteration) ... ok test_pathlike_bytes_name (test.test_tarfile.GzipMiscReadTest.test_pathlike_bytes_name) ... ok test_pathlike_name (test.test_tarfile.GzipMiscReadTest.test_pathlike_name) ... ok test_premature_end_of_archive (test.test_tarfile.GzipMiscReadTest.test_premature_end_of_archive) ... ok test_v7_dirtype (test.test_tarfile.GzipMiscReadTest.test_v7_dirtype) ... ok test_xstar_type (test.test_tarfile.GzipMiscReadTest.test_xstar_type) ... ok test_zlib_error_does_not_leak (test.test_tarfile.GzipMiscReadTest.test_zlib_error_does_not_leak) ... ok test_compare_members (test.test_tarfile.GzipStreamReadTest.test_compare_members) ... ok test_empty_tarfile (test.test_tarfile.GzipStreamReadTest.test_empty_tarfile) ... ok test_extractfile_attrs (test.test_tarfile.GzipStreamReadTest.test_extractfile_attrs) ... ok test_fileobj_regular_file (test.test_tarfile.GzipStreamReadTest.test_fileobj_regular_file) ... ok test_ignore_zeros (test.test_tarfile.GzipStreamReadTest.test_ignore_zeros) ... ok test_is_tarfile_erroneous (test.test_tarfile.GzipStreamReadTest.test_is_tarfile_erroneous) ... ok test_is_tarfile_keeps_position (test.test_tarfile.GzipStreamReadTest.test_is_tarfile_keeps_position) ... ok test_is_tarfile_valid (test.test_tarfile.GzipStreamReadTest.test_is_tarfile_valid) ... ok test_length_zero_header (test.test_tarfile.GzipStreamReadTest.test_length_zero_header) ... ok test_non_existent_tarfile (test.test_tarfile.GzipStreamReadTest.test_non_existent_tarfile) ... ok test_null_tarfile (test.test_tarfile.GzipStreamReadTest.test_null_tarfile) ... ok test_premature_end_of_archive (test.test_tarfile.GzipStreamReadTest.test_premature_end_of_archive) ... ok test_provoke_stream_error (test.test_tarfile.GzipStreamReadTest.test_provoke_stream_error) ... ok test_read_through (test.test_tarfile.GzipStreamReadTest.test_read_through) ... ok test_eof_marker (test.test_tarfile.GzipStreamWriteTest.test_eof_marker) ... ok test_file_mode (test.test_tarfile.GzipStreamWriteTest.test_file_mode) ... ok test_fileobj_no_close (test.test_tarfile.GzipStreamWriteTest.test_fileobj_no_close) ... ok test_source_directory_not_leaked (test.test_tarfile.GzipStreamWriteTest.test_source_directory_not_leaked) Ensure the source directory is not included in the tar header ... ok test_stream_padding (test.test_tarfile.GzipStreamWriteTest.test_stream_padding) ... ok test_add_dir_getmember (test.test_tarfile.GzipUstarReadTest.test_add_dir_getmember) ... ok test_fileobj_iter (test.test_tarfile.GzipUstarReadTest.test_fileobj_iter) ... ok test_fileobj_link1 (test.test_tarfile.GzipUstarReadTest.test_fileobj_link1) ... ok test_fileobj_link2 (test.test_tarfile.GzipUstarReadTest.test_fileobj_link2) ... ok test_fileobj_readlines (test.test_tarfile.GzipUstarReadTest.test_fileobj_readlines) ... ok test_fileobj_regular_file (test.test_tarfile.GzipUstarReadTest.test_fileobj_regular_file) ... ok test_fileobj_seek (test.test_tarfile.GzipUstarReadTest.test_fileobj_seek) ... ok test_fileobj_symlink1 (test.test_tarfile.GzipUstarReadTest.test_fileobj_symlink1) ... ok test_fileobj_symlink2 (test.test_tarfile.GzipUstarReadTest.test_fileobj_symlink2) ... ok test_fileobj_text (test.test_tarfile.GzipUstarReadTest.test_fileobj_text) ... ok test_issue14160 (test.test_tarfile.GzipUstarReadTest.test_issue14160) ... ok test_100_char_name (test.test_tarfile.GzipWriteTest.test_100_char_name) ... ok test_abs_pathnames (test.test_tarfile.GzipWriteTest.test_abs_pathnames) ... ok test_add_self (test.test_tarfile.GzipWriteTest.test_add_self) ... ok test_cwd (test.test_tarfile.GzipWriteTest.test_cwd) ... ok test_directory_size (test.test_tarfile.GzipWriteTest.test_directory_size) ... ok test_eof_marker (test.test_tarfile.GzipWriteTest.test_eof_marker) ... ok test_extractall_symlinks (test.test_tarfile.GzipWriteTest.test_extractall_symlinks) ... ok test_file_size (test.test_tarfile.GzipWriteTest.test_file_size) ... ok test_fileobj_no_close (test.test_tarfile.GzipWriteTest.test_fileobj_no_close) ... ok test_filter (test.test_tarfile.GzipWriteTest.test_filter) ... ok test_gettarinfo_pathlike_name (test.test_tarfile.GzipWriteTest.test_gettarinfo_pathlike_name) ... ok test_link_size (test.test_tarfile.GzipWriteTest.test_link_size) ... ok test_open_nonwritable_fileobj (test.test_tarfile.GzipWriteTest.test_open_nonwritable_fileobj) ... ok test_ordered_recursion (test.test_tarfile.GzipWriteTest.test_ordered_recursion) ... ok test_pathnames (test.test_tarfile.GzipWriteTest.test_pathnames) ... ok test_symlink_size (test.test_tarfile.GzipWriteTest.test_symlink_size) ... ok test_tar_size (test.test_tarfile.GzipWriteTest.test_tar_size) ... ok test_add_hardlink (test.test_tarfile.HardlinkTest.test_add_hardlink) ... ok test_add_twice (test.test_tarfile.HardlinkTest.test_add_twice) ... ok test_dereference_hardlink (test.test_tarfile.HardlinkTest.test_dereference_hardlink) ... ok test_gnu_limits (test.test_tarfile.LimitsTest.test_gnu_limits) ... ok test_pax_limits (test.test_tarfile.LimitsTest.test_pax_limits) ... ok test_ustar_limits (test.test_tarfile.LimitsTest.test_ustar_limits) ... ok test_hardlink_extraction1 (test.test_tarfile.LinkEmulationTest.test_hardlink_extraction1) ... skipped 'requires os.link to be missing' test_hardlink_extraction2 (test.test_tarfile.LinkEmulationTest.test_hardlink_extraction2) ... skipped 'requires os.link to be missing' test_symlink_extraction1 (test.test_tarfile.LinkEmulationTest.test_symlink_extraction1) ... skipped 'requires os.link to be missing' test_symlink_extraction2 (test.test_tarfile.LinkEmulationTest.test_symlink_extraction2) ... skipped 'requires os.link to be missing' test_list (test.test_tarfile.ListTest.test_list) ... ok test_list_members (test.test_tarfile.ListTest.test_list_members) ... ok test_list_verbose (test.test_tarfile.ListTest.test_list_verbose) ... FAIL test_append_compressed (test.test_tarfile.LzmaAppendTest.test_append_compressed) ... ok test_create (test.test_tarfile.LzmaCreateTest.test_create) ... ok test_create_existing (test.test_tarfile.LzmaCreateTest.test_create_existing) ... ok test_create_existing_taropen (test.test_tarfile.LzmaCreateTest.test_create_existing_taropen) ... ok test_create_pathlike_name (test.test_tarfile.LzmaCreateTest.test_create_pathlike_name) ... ok test_create_taropen (test.test_tarfile.LzmaCreateTest.test_create_taropen) ... ok test_create_taropen_pathlike_name (test.test_tarfile.LzmaCreateTest.test_create_taropen_pathlike_name) ... ok test_create_with_preset (test.test_tarfile.LzmaCreateTest.test_create_with_preset) ... ok test_eof_marker (test.test_tarfile.LzmaCreateTest.test_eof_marker) ... ok test_fileobj_no_close (test.test_tarfile.LzmaCreateTest.test_fileobj_no_close) ... ok test_detect_file (test.test_tarfile.LzmaDetectReadTest.test_detect_file) ... ok test_detect_fileobj (test.test_tarfile.LzmaDetectReadTest.test_detect_fileobj) ... ok test_list (test.test_tarfile.LzmaListTest.test_list) ... ok test_list_members (test.test_tarfile.LzmaListTest.test_list_members) ... ok test_list_verbose (test.test_tarfile.LzmaListTest.test_list_verbose) ... FAIL test_bytes_name_attribute (test.test_tarfile.LzmaMiscReadTest.test_bytes_name_attribute) ... skipped 'LZMAFile have no name attribute' test_check_members (test.test_tarfile.LzmaMiscReadTest.test_check_members) ... ok test_deprecation_if_no_filter_passed_to_extract (test.test_tarfile.LzmaMiscReadTest.test_deprecation_if_no_filter_passed_to_extract) ... ok test_deprecation_if_no_filter_passed_to_extractall (test.test_tarfile.LzmaMiscReadTest.test_deprecation_if_no_filter_passed_to_extractall) ... ok test_empty_name_attribute (test.test_tarfile.LzmaMiscReadTest.test_empty_name_attribute) ... ok test_empty_tarfile (test.test_tarfile.LzmaMiscReadTest.test_empty_tarfile) ... ok test_extract_directory (test.test_tarfile.LzmaMiscReadTest.test_extract_directory) ... ok test_extract_hardlink (test.test_tarfile.LzmaMiscReadTest.test_extract_hardlink) ... ok test_extract_pathlike_dir (test.test_tarfile.LzmaMiscReadTest.test_extract_pathlike_dir) ... ok test_extractall (test.test_tarfile.LzmaMiscReadTest.test_extractall) ... ok test_extractall_pathlike_dir (test.test_tarfile.LzmaMiscReadTest.test_extractall_pathlike_dir) ... ok test_extractfile_attrs (test.test_tarfile.LzmaMiscReadTest.test_extractfile_attrs) ... ok test_fail_comp (test.test_tarfile.LzmaMiscReadTest.test_fail_comp) ... ok test_fileobj_with_offset (test.test_tarfile.LzmaMiscReadTest.test_fileobj_with_offset) ... ok test_find_members (test.test_tarfile.LzmaMiscReadTest.test_find_members) ... ok test_ignore_zeros (test.test_tarfile.LzmaMiscReadTest.test_ignore_zeros) ... ok test_illegal_mode_arg (test.test_tarfile.LzmaMiscReadTest.test_illegal_mode_arg) ... ok test_init_close_fobj (test.test_tarfile.LzmaMiscReadTest.test_init_close_fobj) ... ok test_int_name_attribute (test.test_tarfile.LzmaMiscReadTest.test_int_name_attribute) ... ok test_is_tarfile_erroneous (test.test_tarfile.LzmaMiscReadTest.test_is_tarfile_erroneous) ... ok test_is_tarfile_keeps_position (test.test_tarfile.LzmaMiscReadTest.test_is_tarfile_keeps_position) ... ok test_is_tarfile_valid (test.test_tarfile.LzmaMiscReadTest.test_is_tarfile_valid) ... ok test_length_zero_header (test.test_tarfile.LzmaMiscReadTest.test_length_zero_header) ... ok test_next_on_empty_tarfile (test.test_tarfile.LzmaMiscReadTest.test_next_on_empty_tarfile) ... ok test_no_name_argument (test.test_tarfile.LzmaMiscReadTest.test_no_name_argument) ... skipped 'LZMAFile have no name attribute' test_no_name_attribute (test.test_tarfile.LzmaMiscReadTest.test_no_name_attribute) ... ok test_non_existent_tarfile (test.test_tarfile.LzmaMiscReadTest.test_non_existent_tarfile) ... ok test_null_tarfile (test.test_tarfile.LzmaMiscReadTest.test_null_tarfile) ... ok test_parallel_iteration (test.test_tarfile.LzmaMiscReadTest.test_parallel_iteration) ... ok test_pathlike_bytes_name (test.test_tarfile.LzmaMiscReadTest.test_pathlike_bytes_name) ... ok test_pathlike_name (test.test_tarfile.LzmaMiscReadTest.test_pathlike_name) ... ok test_premature_end_of_archive (test.test_tarfile.LzmaMiscReadTest.test_premature_end_of_archive) ... ok test_v7_dirtype (test.test_tarfile.LzmaMiscReadTest.test_v7_dirtype) ... ok test_xstar_type (test.test_tarfile.LzmaMiscReadTest.test_xstar_type) ... ok test_zlib_error_does_not_leak (test.test_tarfile.LzmaMiscReadTest.test_zlib_error_does_not_leak) ... ok test_compare_members (test.test_tarfile.LzmaStreamReadTest.test_compare_members) ... ok test_empty_tarfile (test.test_tarfile.LzmaStreamReadTest.test_empty_tarfile) ... ok test_extractfile_attrs (test.test_tarfile.LzmaStreamReadTest.test_extractfile_attrs) ... ok test_fileobj_regular_file (test.test_tarfile.LzmaStreamReadTest.test_fileobj_regular_file) ... ok test_ignore_zeros (test.test_tarfile.LzmaStreamReadTest.test_ignore_zeros) ... ok test_is_tarfile_erroneous (test.test_tarfile.LzmaStreamReadTest.test_is_tarfile_erroneous) ... ok test_is_tarfile_keeps_position (test.test_tarfile.LzmaStreamReadTest.test_is_tarfile_keeps_position) ... ok test_is_tarfile_valid (test.test_tarfile.LzmaStreamReadTest.test_is_tarfile_valid) ... ok test_length_zero_header (test.test_tarfile.LzmaStreamReadTest.test_length_zero_header) ... ok test_non_existent_tarfile (test.test_tarfile.LzmaStreamReadTest.test_non_existent_tarfile) ... ok test_null_tarfile (test.test_tarfile.LzmaStreamReadTest.test_null_tarfile) ... ok test_premature_end_of_archive (test.test_tarfile.LzmaStreamReadTest.test_premature_end_of_archive) ... ok test_provoke_stream_error (test.test_tarfile.LzmaStreamReadTest.test_provoke_stream_error) ... ok test_read_through (test.test_tarfile.LzmaStreamReadTest.test_read_through) ... ok test_eof_marker (test.test_tarfile.LzmaStreamWriteTest.test_eof_marker) ... ok test_file_mode (test.test_tarfile.LzmaStreamWriteTest.test_file_mode) ... ok test_fileobj_no_close (test.test_tarfile.LzmaStreamWriteTest.test_fileobj_no_close) ... ok test_stream_padding (test.test_tarfile.LzmaStreamWriteTest.test_stream_padding) ... ok test_add_dir_getmember (test.test_tarfile.LzmaUstarReadTest.test_add_dir_getmember) ... ok test_fileobj_iter (test.test_tarfile.LzmaUstarReadTest.test_fileobj_iter) ... ok test_fileobj_link1 (test.test_tarfile.LzmaUstarReadTest.test_fileobj_link1) ... ok test_fileobj_link2 (test.test_tarfile.LzmaUstarReadTest.test_fileobj_link2) ... ok test_fileobj_readlines (test.test_tarfile.LzmaUstarReadTest.test_fileobj_readlines) ... ok test_fileobj_regular_file (test.test_tarfile.LzmaUstarReadTest.test_fileobj_regular_file) ... ok test_fileobj_seek (test.test_tarfile.LzmaUstarReadTest.test_fileobj_seek) ... ok test_fileobj_symlink1 (test.test_tarfile.LzmaUstarReadTest.test_fileobj_symlink1) ... ok test_fileobj_symlink2 (test.test_tarfile.LzmaUstarReadTest.test_fileobj_symlink2) ... ok test_fileobj_text (test.test_tarfile.LzmaUstarReadTest.test_fileobj_text) ... ok test_issue14160 (test.test_tarfile.LzmaUstarReadTest.test_issue14160) ... ok test_100_char_name (test.test_tarfile.LzmaWriteTest.test_100_char_name) ... ok test_abs_pathnames (test.test_tarfile.LzmaWriteTest.test_abs_pathnames) ... ok test_add_self (test.test_tarfile.LzmaWriteTest.test_add_self) ... ok test_cwd (test.test_tarfile.LzmaWriteTest.test_cwd) ... ok test_directory_size (test.test_tarfile.LzmaWriteTest.test_directory_size) ... ok test_eof_marker (test.test_tarfile.LzmaWriteTest.test_eof_marker) ... ok test_extractall_symlinks (test.test_tarfile.LzmaWriteTest.test_extractall_symlinks) ... ok test_file_size (test.test_tarfile.LzmaWriteTest.test_file_size) ... ok test_fileobj_no_close (test.test_tarfile.LzmaWriteTest.test_fileobj_no_close) ... ok test_filter (test.test_tarfile.LzmaWriteTest.test_filter) ... ok test_gettarinfo_pathlike_name (test.test_tarfile.LzmaWriteTest.test_gettarinfo_pathlike_name) ... ok test_link_size (test.test_tarfile.LzmaWriteTest.test_link_size) ... ok test_open_nonwritable_fileobj (test.test_tarfile.LzmaWriteTest.test_open_nonwritable_fileobj) ... ok test_ordered_recursion (test.test_tarfile.LzmaWriteTest.test_ordered_recursion) ... ok test_pathnames (test.test_tarfile.LzmaWriteTest.test_pathnames) ... ok test_symlink_size (test.test_tarfile.LzmaWriteTest.test_symlink_size) ... ok test_tar_size (test.test_tarfile.LzmaWriteTest.test_tar_size) ... ok test_find_blktype (test.test_tarfile.MemberReadTest.test_find_blktype) ... ok test_find_chrtype (test.test_tarfile.MemberReadTest.test_find_chrtype) ... ok test_find_conttype (test.test_tarfile.MemberReadTest.test_find_conttype) ... ok test_find_dirtype (test.test_tarfile.MemberReadTest.test_find_dirtype) ... ok test_find_dirtype_with_size (test.test_tarfile.MemberReadTest.test_find_dirtype_with_size) ... ok test_find_fifotype (test.test_tarfile.MemberReadTest.test_find_fifotype) ... ok test_find_gnusparse (test.test_tarfile.MemberReadTest.test_find_gnusparse) ... ok test_find_gnusparse_00 (test.test_tarfile.MemberReadTest.test_find_gnusparse_00) ... ok test_find_gnusparse_01 (test.test_tarfile.MemberReadTest.test_find_gnusparse_01) ... ok test_find_gnusparse_10 (test.test_tarfile.MemberReadTest.test_find_gnusparse_10) ... ok test_find_lnktype (test.test_tarfile.MemberReadTest.test_find_lnktype) ... ok test_find_pax_umlauts (test.test_tarfile.MemberReadTest.test_find_pax_umlauts) ... ok test_find_regtype (test.test_tarfile.MemberReadTest.test_find_regtype) ... ok test_find_regtype_oldv7 (test.test_tarfile.MemberReadTest.test_find_regtype_oldv7) ... ok test_find_sparse (test.test_tarfile.MemberReadTest.test_find_sparse) ... ok test_find_symtype (test.test_tarfile.MemberReadTest.test_find_symtype) ... ok test_find_umlauts (test.test_tarfile.MemberReadTest.test_find_umlauts) ... ok test_find_ustar_longname (test.test_tarfile.MemberReadTest.test_find_ustar_longname) ... ok test_bytes_name_attribute (test.test_tarfile.MiscReadTest.test_bytes_name_attribute) ... ok test_check_members (test.test_tarfile.MiscReadTest.test_check_members) ... ok test_deprecation_if_no_filter_passed_to_extract (test.test_tarfile.MiscReadTest.test_deprecation_if_no_filter_passed_to_extract) ... ok test_deprecation_if_no_filter_passed_to_extractall (test.test_tarfile.MiscReadTest.test_deprecation_if_no_filter_passed_to_extractall) ... ok test_empty_name_attribute (test.test_tarfile.MiscReadTest.test_empty_name_attribute) ... ok test_empty_tarfile (test.test_tarfile.MiscReadTest.test_empty_tarfile) ... ok test_extract_directory (test.test_tarfile.MiscReadTest.test_extract_directory) ... ok test_extract_hardlink (test.test_tarfile.MiscReadTest.test_extract_hardlink) ... ok test_extract_pathlike_dir (test.test_tarfile.MiscReadTest.test_extract_pathlike_dir) ... ok test_extractall (test.test_tarfile.MiscReadTest.test_extractall) ... ok test_extractall_pathlike_dir (test.test_tarfile.MiscReadTest.test_extractall_pathlike_dir) ... ok test_extractfile_attrs (test.test_tarfile.MiscReadTest.test_extractfile_attrs) ... ok test_fileobj_with_offset (test.test_tarfile.MiscReadTest.test_fileobj_with_offset) ... ok test_find_members (test.test_tarfile.MiscReadTest.test_find_members) ... ok test_ignore_zeros (test.test_tarfile.MiscReadTest.test_ignore_zeros) ... ok test_illegal_mode_arg (test.test_tarfile.MiscReadTest.test_illegal_mode_arg) ... ok test_init_close_fobj (test.test_tarfile.MiscReadTest.test_init_close_fobj) ... ok test_int_name_attribute (test.test_tarfile.MiscReadTest.test_int_name_attribute) ... ok test_is_tarfile_erroneous (test.test_tarfile.MiscReadTest.test_is_tarfile_erroneous) ... ok test_is_tarfile_keeps_position (test.test_tarfile.MiscReadTest.test_is_tarfile_keeps_position) ... ok test_is_tarfile_valid (test.test_tarfile.MiscReadTest.test_is_tarfile_valid) ... ok test_length_zero_header (test.test_tarfile.MiscReadTest.test_length_zero_header) ... ok test_next_on_empty_tarfile (test.test_tarfile.MiscReadTest.test_next_on_empty_tarfile) ... ok test_no_name_argument (test.test_tarfile.MiscReadTest.test_no_name_argument) ... ok test_no_name_attribute (test.test_tarfile.MiscReadTest.test_no_name_attribute) ... ok test_non_existent_tarfile (test.test_tarfile.MiscReadTest.test_non_existent_tarfile) ... ok test_null_tarfile (test.test_tarfile.MiscReadTest.test_null_tarfile) ... ok test_parallel_iteration (test.test_tarfile.MiscReadTest.test_parallel_iteration) ... ok test_pathlike_bytes_name (test.test_tarfile.MiscReadTest.test_pathlike_bytes_name) ... ok test_pathlike_name (test.test_tarfile.MiscReadTest.test_pathlike_name) ... ok test_premature_end_of_archive (test.test_tarfile.MiscReadTest.test_premature_end_of_archive) ... ok test_v7_dirtype (test.test_tarfile.MiscReadTest.test_v7_dirtype) ... ok test_xstar_type (test.test_tarfile.MiscReadTest.test_xstar_type) ... ok test_zlib_error_does_not_leak (test.test_tarfile.MiscReadTest.test_zlib_error_does_not_leak) ... ok test__all__ (test.test_tarfile.MiscTest.test__all__) ... ok test_char_fields (test.test_tarfile.MiscTest.test_char_fields) ... ok test_deferred_directory_attributes_update (test.test_tarfile.MiscTest.test_deferred_directory_attributes_update) ... ok test_number_field_limits (test.test_tarfile.MiscTest.test_number_field_limits) ... ok test_read_number_fields (test.test_tarfile.MiscTest.test_read_number_fields) ... ok test_useful_error_message_when_modules_missing (test.test_tarfile.MiscTest.test_useful_error_message_when_modules_missing) ... ok test_write_number_fields (test.test_tarfile.MiscTest.test_write_number_fields) ... ok test_extractall_none_gid (test.test_tarfile.NoneInfoExtractTests_Data.test_extractall_none_gid) ... ok test_extractall_none_gname (test.test_tarfile.NoneInfoExtractTests_Data.test_extractall_none_gname) ... ok test_extractall_none_mode (test.test_tarfile.NoneInfoExtractTests_Data.test_extractall_none_mode) ... ok test_extractall_none_mtime (test.test_tarfile.NoneInfoExtractTests_Data.test_extractall_none_mtime) ... ok test_extractall_none_ownership (test.test_tarfile.NoneInfoExtractTests_Data.test_extractall_none_ownership) ... ok test_extractall_none_uid (test.test_tarfile.NoneInfoExtractTests_Data.test_extractall_none_uid) ... ok test_extractall_none_uname (test.test_tarfile.NoneInfoExtractTests_Data.test_extractall_none_uname) ... ok test_extractall_none_gid (test.test_tarfile.NoneInfoExtractTests_Default.test_extractall_none_gid) ... ok test_extractall_none_gname (test.test_tarfile.NoneInfoExtractTests_Default.test_extractall_none_gname) ... ok test_extractall_none_mode (test.test_tarfile.NoneInfoExtractTests_Default.test_extractall_none_mode) ... ok test_extractall_none_mtime (test.test_tarfile.NoneInfoExtractTests_Default.test_extractall_none_mtime) ... ok test_extractall_none_ownership (test.test_tarfile.NoneInfoExtractTests_Default.test_extractall_none_ownership) ... ok test_extractall_none_uid (test.test_tarfile.NoneInfoExtractTests_Default.test_extractall_none_uid) ... ok test_extractall_none_uname (test.test_tarfile.NoneInfoExtractTests_Default.test_extractall_none_uname) ... ok test_extractall_none_gid (test.test_tarfile.NoneInfoExtractTests_FullyTrusted.test_extractall_none_gid) ... ok test_extractall_none_gname (test.test_tarfile.NoneInfoExtractTests_FullyTrusted.test_extractall_none_gname) ... ok test_extractall_none_mode (test.test_tarfile.NoneInfoExtractTests_FullyTrusted.test_extractall_none_mode) ... ok test_extractall_none_mtime (test.test_tarfile.NoneInfoExtractTests_FullyTrusted.test_extractall_none_mtime) ... ok test_extractall_none_ownership (test.test_tarfile.NoneInfoExtractTests_FullyTrusted.test_extractall_none_ownership) ... ok test_extractall_none_uid (test.test_tarfile.NoneInfoExtractTests_FullyTrusted.test_extractall_none_uid) ... ok test_extractall_none_uname (test.test_tarfile.NoneInfoExtractTests_FullyTrusted.test_extractall_none_uname) ... ok test_extractall_none_gid (test.test_tarfile.NoneInfoExtractTests_Tar.test_extractall_none_gid) ... ok test_extractall_none_gname (test.test_tarfile.NoneInfoExtractTests_Tar.test_extractall_none_gname) ... ok test_extractall_none_mode (test.test_tarfile.NoneInfoExtractTests_Tar.test_extractall_none_mode) ... ok test_extractall_none_mtime (test.test_tarfile.NoneInfoExtractTests_Tar.test_extractall_none_mtime) ... ok test_extractall_none_ownership (test.test_tarfile.NoneInfoExtractTests_Tar.test_extractall_none_ownership) ... ok test_extractall_none_uid (test.test_tarfile.NoneInfoExtractTests_Tar.test_extractall_none_uid) ... ok test_extractall_none_uname (test.test_tarfile.NoneInfoExtractTests_Tar.test_extractall_none_uname) ... ok test_add (test.test_tarfile.NoneInfoTests_Misc.test_add) ... ok test_list (test.test_tarfile.NoneInfoTests_Misc.test_list) ... ok test_extract_with_numeric_owner (test.test_tarfile.NumericOwnerTest.test_extract_with_numeric_owner) ... ok test_extract_without_numeric_owner (test.test_tarfile.NumericOwnerTest.test_extract_without_numeric_owner) ... ok test_extractall_with_numeric_owner (test.test_tarfile.NumericOwnerTest.test_extractall_with_numeric_owner) ... ok test_keyword_only (test.test_tarfile.NumericOwnerTest.test_keyword_only) ... ok test_early_stop_at_invalid_offset_header (test.test_tarfile.OffsetValidationTests.test_early_stop_at_invalid_offset_header) ... ok test_ignore_invalid_archive (test.test_tarfile.OffsetValidationTests.test_ignore_invalid_archive) ... ok test_ignore_invalid_offset_headers (test.test_tarfile.OffsetValidationTests.test_ignore_invalid_offset_headers) ... ok test_invalid_offset_header_validations (test.test_tarfile.OffsetValidationTests.test_invalid_offset_header_validations) ... ok test_overwrite_broken_dir_symlink_as_dir (test.test_tarfile.OverwriteTests.test_overwrite_broken_dir_symlink_as_dir) ... ok test_overwrite_broken_dir_symlink_as_implicit_dir (test.test_tarfile.OverwriteTests.test_overwrite_broken_dir_symlink_as_implicit_dir) ... ok test_overwrite_broken_file_symlink_as_file (test.test_tarfile.OverwriteTests.test_overwrite_broken_file_symlink_as_file) ... ok test_overwrite_dir_as_dir (test.test_tarfile.OverwriteTests.test_overwrite_dir_as_dir) ... ok test_overwrite_dir_as_file (test.test_tarfile.OverwriteTests.test_overwrite_dir_as_file) ... ok test_overwrite_dir_as_implicit_dir (test.test_tarfile.OverwriteTests.test_overwrite_dir_as_implicit_dir) ... ok test_overwrite_dir_symlink_as_dir (test.test_tarfile.OverwriteTests.test_overwrite_dir_symlink_as_dir) ... ok test_overwrite_dir_symlink_as_implicit_dir (test.test_tarfile.OverwriteTests.test_overwrite_dir_symlink_as_implicit_dir) ... ok test_overwrite_file_as_dir (test.test_tarfile.OverwriteTests.test_overwrite_file_as_dir) ... ok test_overwrite_file_as_file (test.test_tarfile.OverwriteTests.test_overwrite_file_as_file) ... ok test_overwrite_file_as_implicit_dir (test.test_tarfile.OverwriteTests.test_overwrite_file_as_implicit_dir) ... ok test_overwrite_file_symlink_as_file (test.test_tarfile.OverwriteTests.test_overwrite_file_symlink_as_file) ... ok test_binary_header (test.test_tarfile.PAXUnicodeTest.test_binary_header) ... ok test_iso8859_1_filename (test.test_tarfile.PAXUnicodeTest.test_iso8859_1_filename) ... ok test_uname_unicode (test.test_tarfile.PAXUnicodeTest.test_uname_unicode) ... ok test_unicode_argument (test.test_tarfile.PAXUnicodeTest.test_unicode_argument) ... ok test_utf7_filename (test.test_tarfile.PAXUnicodeTest.test_utf7_filename) ... ok test_utf8_filename (test.test_tarfile.PAXUnicodeTest.test_utf8_filename) ... ok test_header_offset (test.test_tarfile.PaxReadTest.test_header_offset) ... ok test_longname_directory (test.test_tarfile.PaxReadTest.test_longname_directory) ... ok test_pax_global_headers (test.test_tarfile.PaxReadTest.test_pax_global_headers) ... ok test_pax_header_bad_formats (test.test_tarfile.PaxReadTest.test_pax_header_bad_formats) ... ok test_pax_number_fields (test.test_tarfile.PaxReadTest.test_pax_number_fields) ... ok test_read_longlink (test.test_tarfile.PaxReadTest.test_read_longlink) ... ok test_read_longname (test.test_tarfile.PaxReadTest.test_read_longname) ... ok test_truncated_longname (test.test_tarfile.PaxReadTest.test_truncated_longname) ... ok test_create_pax_header (test.test_tarfile.PaxWriteTest.test_create_pax_header) ... ok test_longlink_1023 (test.test_tarfile.PaxWriteTest.test_longlink_1023) ... ok test_longlink_1024 (test.test_tarfile.PaxWriteTest.test_longlink_1024) ... ok test_longlink_1025 (test.test_tarfile.PaxWriteTest.test_longlink_1025) ... ok test_longname_1023 (test.test_tarfile.PaxWriteTest.test_longname_1023) ... ok test_longname_1024 (test.test_tarfile.PaxWriteTest.test_longname_1024) ... ok test_longname_1025 (test.test_tarfile.PaxWriteTest.test_longname_1025) ... ok test_longnamelink_1023 (test.test_tarfile.PaxWriteTest.test_longnamelink_1023) ... ok test_longnamelink_1024 (test.test_tarfile.PaxWriteTest.test_longnamelink_1024) ... ok test_longnamelink_1025 (test.test_tarfile.PaxWriteTest.test_longnamelink_1025) ... ok test_pax_extended_header (test.test_tarfile.PaxWriteTest.test_pax_extended_header) ... ok test_pax_global_header (test.test_tarfile.PaxWriteTest.test_pax_global_header) ... ok test_replace_all (test.test_tarfile.ReplaceTests.test_replace_all) ... ok test_replace_deep (test.test_tarfile.ReplaceTests.test_replace_deep) ... ok test_replace_internal (test.test_tarfile.ReplaceTests.test_replace_internal) ... ok test_replace_name (test.test_tarfile.ReplaceTests.test_replace_name) ... ok test_replace_shallow (test.test_tarfile.ReplaceTests.test_replace_shallow) ... ok test_compare_members (test.test_tarfile.StreamReadTest.test_compare_members) ... ok test_empty_tarfile (test.test_tarfile.StreamReadTest.test_empty_tarfile) ... ok test_extractfile_attrs (test.test_tarfile.StreamReadTest.test_extractfile_attrs) ... ok test_fileobj_regular_file (test.test_tarfile.StreamReadTest.test_fileobj_regular_file) ... ok test_ignore_zeros (test.test_tarfile.StreamReadTest.test_ignore_zeros) ... ok test_is_tarfile_erroneous (test.test_tarfile.StreamReadTest.test_is_tarfile_erroneous) ... ok test_is_tarfile_keeps_position (test.test_tarfile.StreamReadTest.test_is_tarfile_keeps_position) ... ok test_is_tarfile_valid (test.test_tarfile.StreamReadTest.test_is_tarfile_valid) ... ok test_length_zero_header (test.test_tarfile.StreamReadTest.test_length_zero_header) ... ok test_non_existent_tarfile (test.test_tarfile.StreamReadTest.test_non_existent_tarfile) ... ok test_null_tarfile (test.test_tarfile.StreamReadTest.test_null_tarfile) ... ok test_premature_end_of_archive (test.test_tarfile.StreamReadTest.test_premature_end_of_archive) ... ok test_provoke_stream_error (test.test_tarfile.StreamReadTest.test_provoke_stream_error) ... ok test_read_through (test.test_tarfile.StreamReadTest.test_read_through) ... ok test_eof_marker (test.test_tarfile.StreamWriteTest.test_eof_marker) ... ok test_file_mode (test.test_tarfile.StreamWriteTest.test_file_mode) ... ok test_fileobj_no_close (test.test_tarfile.StreamWriteTest.test_fileobj_no_close) ... ok test_stream_padding (test.test_tarfile.StreamWriteTest.test_stream_padding) ... ok test_absolute (test.test_tarfile.TestExtractionFilters.test_absolute) ... ok test_absolute_hardlink (test.test_tarfile.TestExtractionFilters.test_absolute_hardlink) ... ok test_absolute_symlink (test.test_tarfile.TestExtractionFilters.test_absolute_symlink) ... ok test_bad_filter_name (test.test_tarfile.TestExtractionFilters.test_bad_filter_name) ... ok test_benign_file (test.test_tarfile.TestExtractionFilters.test_benign_file) ... ok test_chains (test.test_tarfile.TestExtractionFilters.test_chains) ... ok test_change_default_filter_on_class (test.test_tarfile.TestExtractionFilters.test_change_default_filter_on_class) ... ok test_change_default_filter_on_instance (test.test_tarfile.TestExtractionFilters.test_change_default_filter_on_instance) ... ok test_change_default_filter_on_subclass (test.test_tarfile.TestExtractionFilters.test_change_default_filter_on_subclass) ... ok test_change_default_filter_to_string (test.test_tarfile.TestExtractionFilters.test_change_default_filter_to_string) ... ok test_chmod_outside_dir (test.test_tarfile.TestExtractionFilters.test_chmod_outside_dir) ... ok test_custom_filter (test.test_tarfile.TestExtractionFilters.test_custom_filter) ... ok test_data_filter (test.test_tarfile.TestExtractionFilters.test_data_filter) ... ok test_deep_symlink (test.test_tarfile.TestExtractionFilters.test_deep_symlink) ... ok test_default_filter_warns (test.test_tarfile.TestExtractionFilters.test_default_filter_warns) Ensure the default filter warns ... ok test_errorlevel (test.test_tarfile.TestExtractionFilters.test_errorlevel) ... ok test_exfiltration_via_symlink (test.test_tarfile.TestExtractionFilters.test_exfiltration_via_symlink) ... ok test_fully_trusted_filter (test.test_tarfile.TestExtractionFilters.test_fully_trusted_filter) ... ok test_link_fallback_normalizes (test.test_tarfile.TestExtractionFilters.test_link_fallback_normalizes) ... ok test_modes (test.test_tarfile.TestExtractionFilters.test_modes) ... FAIL test_parent_symlink (test.test_tarfile.TestExtractionFilters.test_parent_symlink) ... ok test_parent_symlink2 (test.test_tarfile.TestExtractionFilters.test_parent_symlink2) ... ok test_pipe (test.test_tarfile.TestExtractionFilters.test_pipe) ... ok test_realpath_limit_attack (test.test_tarfile.TestExtractionFilters.test_realpath_limit_attack) ... ok test_sly_relative0 (test.test_tarfile.TestExtractionFilters.test_sly_relative0) ... ok test_sly_relative2 (test.test_tarfile.TestExtractionFilters.test_sly_relative2) ... ok test_sneaky_hardlink_fallback (test.test_tarfile.TestExtractionFilters.test_sneaky_hardlink_fallback) ... ok test_special_files (test.test_tarfile.TestExtractionFilters.test_special_files) ... ok test_stateful_filter (test.test_tarfile.TestExtractionFilters.test_stateful_filter) ... ok test_tar_filter (test.test_tarfile.TestExtractionFilters.test_tar_filter) ... ok test_add_dir_getmember (test.test_tarfile.UstarReadTest.test_add_dir_getmember) ... ok test_fileobj_iter (test.test_tarfile.UstarReadTest.test_fileobj_iter) ... ok test_fileobj_link1 (test.test_tarfile.UstarReadTest.test_fileobj_link1) ... ok test_fileobj_link2 (test.test_tarfile.UstarReadTest.test_fileobj_link2) ... ok test_fileobj_readlines (test.test_tarfile.UstarReadTest.test_fileobj_readlines) ... ok test_fileobj_regular_file (test.test_tarfile.UstarReadTest.test_fileobj_regular_file) ... ok test_fileobj_seek (test.test_tarfile.UstarReadTest.test_fileobj_seek) ... ok test_fileobj_symlink1 (test.test_tarfile.UstarReadTest.test_fileobj_symlink1) ... ok test_fileobj_symlink2 (test.test_tarfile.UstarReadTest.test_fileobj_symlink2) ... ok test_fileobj_text (test.test_tarfile.UstarReadTest.test_fileobj_text) ... ok test_issue14160 (test.test_tarfile.UstarReadTest.test_issue14160) ... ok test_iso8859_1_filename (test.test_tarfile.UstarUnicodeTest.test_iso8859_1_filename) ... ok test_uname_unicode (test.test_tarfile.UstarUnicodeTest.test_uname_unicode) ... ok test_unicode_argument (test.test_tarfile.UstarUnicodeTest.test_unicode_argument) ... ok test_unicode_filename_error (test.test_tarfile.UstarUnicodeTest.test_unicode_filename_error) ... ok test_unicode_link1 (test.test_tarfile.UstarUnicodeTest.test_unicode_link1) ... ok test_unicode_link2 (test.test_tarfile.UstarUnicodeTest.test_unicode_link2) ... ok test_unicode_longname1 (test.test_tarfile.UstarUnicodeTest.test_unicode_longname1) ... ok test_unicode_longname2 (test.test_tarfile.UstarUnicodeTest.test_unicode_longname2) ... ok test_unicode_longname3 (test.test_tarfile.UstarUnicodeTest.test_unicode_longname3) ... ok test_unicode_longname4 (test.test_tarfile.UstarUnicodeTest.test_unicode_longname4) ... ok test_unicode_name1 (test.test_tarfile.UstarUnicodeTest.test_unicode_name1) ... ok test_unicode_name2 (test.test_tarfile.UstarUnicodeTest.test_unicode_name2) ... ok test_utf7_filename (test.test_tarfile.UstarUnicodeTest.test_utf7_filename) ... ok test_utf8_filename (test.test_tarfile.UstarUnicodeTest.test_utf8_filename) ... ok test_100_char_name (test.test_tarfile.WriteTest.test_100_char_name) ... ok test_abs_pathnames (test.test_tarfile.WriteTest.test_abs_pathnames) ... ok test_add_self (test.test_tarfile.WriteTest.test_add_self) ... ok test_cwd (test.test_tarfile.WriteTest.test_cwd) ... ok test_directory_size (test.test_tarfile.WriteTest.test_directory_size) ... ok test_eof_marker (test.test_tarfile.WriteTest.test_eof_marker) ... ok test_extractall_symlinks (test.test_tarfile.WriteTest.test_extractall_symlinks) ... ok test_file_size (test.test_tarfile.WriteTest.test_file_size) ... ok test_fileobj_no_close (test.test_tarfile.WriteTest.test_fileobj_no_close) ... ok test_filter (test.test_tarfile.WriteTest.test_filter) ... ok test_gettarinfo_pathlike_name (test.test_tarfile.WriteTest.test_gettarinfo_pathlike_name) ... ok test_link_size (test.test_tarfile.WriteTest.test_link_size) ... ok test_open_nonwritable_fileobj (test.test_tarfile.WriteTest.test_open_nonwritable_fileobj) ... ok test_ordered_recursion (test.test_tarfile.WriteTest.test_ordered_recursion) ... ok test_pathnames (test.test_tarfile.WriteTest.test_pathnames) ... ok test_symlink_size (test.test_tarfile.WriteTest.test_symlink_size) ... ok test_tar_size (test.test_tarfile.WriteTest.test_tar_size) ... ok ====================================================================== FAIL: test_list_verbose (test.test_tarfile.Bz2ListTest.test_list_verbose) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tarfile.py", line 322, in test_list_verbose self.assertRegex(out, (br'\?rw-r--r-- tarfile/tarfile\s+7011 ' ^^^^^^^^^^^ AssertionError: Regex didn't match: b'\\?rw-r--r-- tarfile/tarfile\\s+7011 \\d{4}-\\d\\d-\\d\\d\\s+\\d\\d:\\d\\d:\\d\\d ustar/\\w+type ?\\r?\\n\\?rw-r--r-- tarfile/tarfile\\s+7011 \\d{4}-\\d\\d-\\d\\d\\s+\\d\\d:\\d\\d:\\d\\d ustar/\\w+type ?\\r?\\n' not found in b'-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 ustar/conttype \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 ustar/regtype \n-rwxr-xr-x tarfile/tarfile 0 2003-01-05 23:19:43 ustar/dirtype/ \n-rwxr-xr-x tarfile/tarfile 255 2003-01-05 23:19:43 ustar/dirtype-with-size/ \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 ustar/lnktype link to ustar/regtype \n-rwxrwxrwx tarfile/tarfile 0 2003-01-05 23:19:43 ustar/symtype -> regtype \n-rw-rw---- tarfile/tarfile 3,0 2003-01-05 23:19:43 ustar/blktype \n-rw-rw-rw- tarfile/tarfile 1,3 2003-01-05 23:19:43 ustar/chrtype \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 ustar/fifotype \n-rw-r--r-- tarfile/tarfile 86016 2003-01-05 23:19:43 ustar/sparse \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 ustar/umlauts-\\udcc4\\udcd6\\udcdc\\udce4\\udcf6\\udcfc\\udcdf \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 ustar/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/1234567/longname \n-rwxrwxrwx tarfile/tarfile 0 2003-01-05 23:19:43 ./ustar/linktest2/symtype -> ../linktest1/regtype \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 ustar/linktest1/regtype \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 ./ustar/linktest2/lnktype link to ./ustar/linktest1/regtype \n-rwxrwxrwx tarfile/tarfile 0 2003-01-05 23:19:43 symtype2 -> ustar/regtype \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 gnu/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 gnu/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longlink link to gnu/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname \n-rw-r--r-- tarfile/tarfile 86016 2003-01-05 23:19:43 gnu/sparse \n-rw-r--r-- tarfile/tarfile 86016 2003-01-05 23:19:43 gnu/sparse-0.0 \n-rw-r--r-- tarfile/tarfile 86016 2003-01-05 23:19:43 gnu/sparse-0.1 \n-rw-r--r-- tarfile/tarfile 86016 2003-01-05 23:19:43 gnu/sparse-1.0 \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 gnu/regtype-gnu-uid \n-rw-r--r-- 1000/100 7011 2003-01-05 23:19:43 misc/regtype-old-v7 \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 misc/regtype-hpux-signed-chksum-\\udcc4\\udcd6\\udcdc\\udce4\\udcf6\\udcfc\\udcdf \n-rw-r--r-- 1000/100 7011 2003-01-05 23:19:43 misc/regtype-old-v7-signed-chksum-\\udcc4\\udcd6\\udcdc\\udce4\\udcf6\\udcfc\\udcdf \ndrwxr-xr-x 1000/100 0 2003-01-05 23:19:43 misc/dirtype-old-v7/ \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 misc/regtype-suntar \n-rw-r--r-- lars/users 7011 2003-01-05 23:19:43 misc/regtype-xstar \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 pax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longlink link to pax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/umlauts-\\xc4\\xd6\\xdc\\xe4\\xf6\\xfc\\xdf \n-rw-r--r-- foo/bar 7011 2003-01-05 23:19:43 pax/regtype1 \n-rw-r--r-- 1000/bar 7011 2003-01-05 23:19:43 pax/regtype2 \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/regtype3 \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/regtype4 \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/bad-pax-\\udce4\\udcf6\\udcfc \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/hdrcharset-\\udce4\\udcf6\\udcfc \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 misc/eof \n' ====================================================================== FAIL: test_list_verbose (test.test_tarfile.GzipListTest.test_list_verbose) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tarfile.py", line 322, in test_list_verbose self.assertRegex(out, (br'\?rw-r--r-- tarfile/tarfile\s+7011 ' ^^^^^^^^^^^ AssertionError: Regex didn't match: b'\\?rw-r--r-- tarfile/tarfile\\s+7011 \\d{4}-\\d\\d-\\d\\d\\s+\\d\\d:\\d\\d:\\d\\d ustar/\\w+type ?\\r?\\n\\?rw-r--r-- tarfile/tarfile\\s+7011 \\d{4}-\\d\\d-\\d\\d\\s+\\d\\d:\\d\\d:\\d\\d ustar/\\w+type ?\\r?\\n' not found in b'-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 ustar/conttype \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 ustar/regtype \n-rwxr-xr-x tarfile/tarfile 0 2003-01-05 23:19:43 ustar/dirtype/ \n-rwxr-xr-x tarfile/tarfile 255 2003-01-05 23:19:43 ustar/dirtype-with-size/ \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 ustar/lnktype link to ustar/regtype \n-rwxrwxrwx tarfile/tarfile 0 2003-01-05 23:19:43 ustar/symtype -> regtype \n-rw-rw---- tarfile/tarfile 3,0 2003-01-05 23:19:43 ustar/blktype \n-rw-rw-rw- tarfile/tarfile 1,3 2003-01-05 23:19:43 ustar/chrtype \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 ustar/fifotype \n-rw-r--r-- tarfile/tarfile 86016 2003-01-05 23:19:43 ustar/sparse \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 ustar/umlauts-\\udcc4\\udcd6\\udcdc\\udce4\\udcf6\\udcfc\\udcdf \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 ustar/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/1234567/longname \n-rwxrwxrwx tarfile/tarfile 0 2003-01-05 23:19:43 ./ustar/linktest2/symtype -> ../linktest1/regtype \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 ustar/linktest1/regtype \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 ./ustar/linktest2/lnktype link to ./ustar/linktest1/regtype \n-rwxrwxrwx tarfile/tarfile 0 2003-01-05 23:19:43 symtype2 -> ustar/regtype \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 gnu/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 gnu/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longlink link to gnu/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname \n-rw-r--r-- tarfile/tarfile 86016 2003-01-05 23:19:43 gnu/sparse \n-rw-r--r-- tarfile/tarfile 86016 2003-01-05 23:19:43 gnu/sparse-0.0 \n-rw-r--r-- tarfile/tarfile 86016 2003-01-05 23:19:43 gnu/sparse-0.1 \n-rw-r--r-- tarfile/tarfile 86016 2003-01-05 23:19:43 gnu/sparse-1.0 \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 gnu/regtype-gnu-uid \n-rw-r--r-- 1000/100 7011 2003-01-05 23:19:43 misc/regtype-old-v7 \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 misc/regtype-hpux-signed-chksum-\\udcc4\\udcd6\\udcdc\\udce4\\udcf6\\udcfc\\udcdf \n-rw-r--r-- 1000/100 7011 2003-01-05 23:19:43 misc/regtype-old-v7-signed-chksum-\\udcc4\\udcd6\\udcdc\\udce4\\udcf6\\udcfc\\udcdf \ndrwxr-xr-x 1000/100 0 2003-01-05 23:19:43 misc/dirtype-old-v7/ \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 misc/regtype-suntar \n-rw-r--r-- lars/users 7011 2003-01-05 23:19:43 misc/regtype-xstar \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 pax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longlink link to pax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/umlauts-\\xc4\\xd6\\xdc\\xe4\\xf6\\xfc\\xdf \n-rw-r--r-- foo/bar 7011 2003-01-05 23:19:43 pax/regtype1 \n-rw-r--r-- 1000/bar 7011 2003-01-05 23:19:43 pax/regtype2 \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/regtype3 \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/regtype4 \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/bad-pax-\\udce4\\udcf6\\udcfc \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/hdrcharset-\\udce4\\udcf6\\udcfc \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 misc/eof \n' ====================================================================== FAIL: test_list_verbose (test.test_tarfile.ListTest.test_list_verbose) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tarfile.py", line 322, in test_list_verbose self.assertRegex(out, (br'\?rw-r--r-- tarfile/tarfile\s+7011 ' ^^^^^^^^^^^ AssertionError: Regex didn't match: b'\\?rw-r--r-- tarfile/tarfile\\s+7011 \\d{4}-\\d\\d-\\d\\d\\s+\\d\\d:\\d\\d:\\d\\d ustar/\\w+type ?\\r?\\n\\?rw-r--r-- tarfile/tarfile\\s+7011 \\d{4}-\\d\\d-\\d\\d\\s+\\d\\d:\\d\\d:\\d\\d ustar/\\w+type ?\\r?\\n' not found in b'-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 ustar/conttype \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 ustar/regtype \n-rwxr-xr-x tarfile/tarfile 0 2003-01-05 23:19:43 ustar/dirtype/ \n-rwxr-xr-x tarfile/tarfile 255 2003-01-05 23:19:43 ustar/dirtype-with-size/ \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 ustar/lnktype link to ustar/regtype \n-rwxrwxrwx tarfile/tarfile 0 2003-01-05 23:19:43 ustar/symtype -> regtype \n-rw-rw---- tarfile/tarfile 3,0 2003-01-05 23:19:43 ustar/blktype \n-rw-rw-rw- tarfile/tarfile 1,3 2003-01-05 23:19:43 ustar/chrtype \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 ustar/fifotype \n-rw-r--r-- tarfile/tarfile 86016 2003-01-05 23:19:43 ustar/sparse \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 ustar/umlauts-\\udcc4\\udcd6\\udcdc\\udce4\\udcf6\\udcfc\\udcdf \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 ustar/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/1234567/longname \n-rwxrwxrwx tarfile/tarfile 0 2003-01-05 23:19:43 ./ustar/linktest2/symtype -> ../linktest1/regtype \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 ustar/linktest1/regtype \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 ./ustar/linktest2/lnktype link to ./ustar/linktest1/regtype \n-rwxrwxrwx tarfile/tarfile 0 2003-01-05 23:19:43 symtype2 -> ustar/regtype \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 gnu/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 gnu/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longlink link to gnu/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname \n-rw-r--r-- tarfile/tarfile 86016 2003-01-05 23:19:43 gnu/sparse \n-rw-r--r-- tarfile/tarfile 86016 2003-01-05 23:19:43 gnu/sparse-0.0 \n-rw-r--r-- tarfile/tarfile 86016 2003-01-05 23:19:43 gnu/sparse-0.1 \n-rw-r--r-- tarfile/tarfile 86016 2003-01-05 23:19:43 gnu/sparse-1.0 \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 gnu/regtype-gnu-uid \n-rw-r--r-- 1000/100 7011 2003-01-05 23:19:43 misc/regtype-old-v7 \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 misc/regtype-hpux-signed-chksum-\\udcc4\\udcd6\\udcdc\\udce4\\udcf6\\udcfc\\udcdf \n-rw-r--r-- 1000/100 7011 2003-01-05 23:19:43 misc/regtype-old-v7-signed-chksum-\\udcc4\\udcd6\\udcdc\\udce4\\udcf6\\udcfc\\udcdf \ndrwxr-xr-x 1000/100 0 2003-01-05 23:19:43 misc/dirtype-old-v7/ \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 misc/regtype-suntar \n-rw-r--r-- lars/users 7011 2003-01-05 23:19:43 misc/regtype-xstar \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 pax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longlink link to pax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/umlauts-\\xc4\\xd6\\xdc\\xe4\\xf6\\xfc\\xdf \n-rw-r--r-- foo/bar 7011 2003-01-05 23:19:43 pax/regtype1 \n-rw-r--r-- 1000/bar 7011 2003-01-05 23:19:43 pax/regtype2 \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/regtype3 \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/regtype4 \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/bad-pax-\\udce4\\udcf6\\udcfc \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/hdrcharset-\\udce4\\udcf6\\udcfc \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 misc/eof \n' ====================================================================== FAIL: test_list_verbose (test.test_tarfile.LzmaListTest.test_list_verbose) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tarfile.py", line 322, in test_list_verbose self.assertRegex(out, (br'\?rw-r--r-- tarfile/tarfile\s+7011 ' ^^^^^^^^^^^ AssertionError: Regex didn't match: b'\\?rw-r--r-- tarfile/tarfile\\s+7011 \\d{4}-\\d\\d-\\d\\d\\s+\\d\\d:\\d\\d:\\d\\d ustar/\\w+type ?\\r?\\n\\?rw-r--r-- tarfile/tarfile\\s+7011 \\d{4}-\\d\\d-\\d\\d\\s+\\d\\d:\\d\\d:\\d\\d ustar/\\w+type ?\\r?\\n' not found in b'-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 ustar/conttype \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 ustar/regtype \n-rwxr-xr-x tarfile/tarfile 0 2003-01-05 23:19:43 ustar/dirtype/ \n-rwxr-xr-x tarfile/tarfile 255 2003-01-05 23:19:43 ustar/dirtype-with-size/ \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 ustar/lnktype link to ustar/regtype \n-rwxrwxrwx tarfile/tarfile 0 2003-01-05 23:19:43 ustar/symtype -> regtype \n-rw-rw---- tarfile/tarfile 3,0 2003-01-05 23:19:43 ustar/blktype \n-rw-rw-rw- tarfile/tarfile 1,3 2003-01-05 23:19:43 ustar/chrtype \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 ustar/fifotype \n-rw-r--r-- tarfile/tarfile 86016 2003-01-05 23:19:43 ustar/sparse \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 ustar/umlauts-\\udcc4\\udcd6\\udcdc\\udce4\\udcf6\\udcfc\\udcdf \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 ustar/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/12345/1234567/longname \n-rwxrwxrwx tarfile/tarfile 0 2003-01-05 23:19:43 ./ustar/linktest2/symtype -> ../linktest1/regtype \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 ustar/linktest1/regtype \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 ./ustar/linktest2/lnktype link to ./ustar/linktest1/regtype \n-rwxrwxrwx tarfile/tarfile 0 2003-01-05 23:19:43 symtype2 -> ustar/regtype \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 gnu/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 gnu/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longlink link to gnu/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname \n-rw-r--r-- tarfile/tarfile 86016 2003-01-05 23:19:43 gnu/sparse \n-rw-r--r-- tarfile/tarfile 86016 2003-01-05 23:19:43 gnu/sparse-0.0 \n-rw-r--r-- tarfile/tarfile 86016 2003-01-05 23:19:43 gnu/sparse-0.1 \n-rw-r--r-- tarfile/tarfile 86016 2003-01-05 23:19:43 gnu/sparse-1.0 \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 gnu/regtype-gnu-uid \n-rw-r--r-- 1000/100 7011 2003-01-05 23:19:43 misc/regtype-old-v7 \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 misc/regtype-hpux-signed-chksum-\\udcc4\\udcd6\\udcdc\\udce4\\udcf6\\udcfc\\udcdf \n-rw-r--r-- 1000/100 7011 2003-01-05 23:19:43 misc/regtype-old-v7-signed-chksum-\\udcc4\\udcd6\\udcdc\\udce4\\udcf6\\udcfc\\udcdf \ndrwxr-xr-x 1000/100 0 2003-01-05 23:19:43 misc/dirtype-old-v7/ \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 misc/regtype-suntar \n-rw-r--r-- lars/users 7011 2003-01-05 23:19:43 misc/regtype-xstar \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 pax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longlink link to pax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/umlauts-\\xc4\\xd6\\xdc\\xe4\\xf6\\xfc\\xdf \n-rw-r--r-- foo/bar 7011 2003-01-05 23:19:43 pax/regtype1 \n-rw-r--r-- 1000/bar 7011 2003-01-05 23:19:43 pax/regtype2 \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/regtype3 \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/regtype4 \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/bad-pax-\\udce4\\udcf6\\udcfc \n-rw-r--r-- tarfile/tarfile 7011 2003-01-05 23:19:43 pax/hdrcharset-\\udce4\\udcf6\\udcfc \n-rw-r--r-- tarfile/tarfile 0 2003-01-05 23:19:43 misc/eof \n' ====================================================================== FAIL: test_modes (test.test_tarfile.TestExtractionFilters.test_modes) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tarfile.py", line 4193, in test_modes self.expect_file('all_bits', mode='?rwsrwsrwt') ^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tarfile.py", line 3586, in expect_file self.assertEqual(got, mode) ^^^^^^^^^^^ AssertionError: '-rwsrwsrwt' != '?rwsrwsrwt' - -rwsrwsrwt ? ^ + ?rwsrwsrwt ? ^ ---------------------------------------------------------------------- Ran 619 tests in 13.446s FAILED (failures=5, skipped=8) 0:00:13 load avg: 0.80 [1/1/1] test_tarfile failed (5 failures) == Tests result: FAILURE == 1 test failed: test_tarfile Total duration: 13.7 sec Total tests: run=619 failures=5 skipped=8 Total test files: run=1/1 failed=1 Result: FAILURE test test_tarfile failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1753727æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1762728462 0:00:00 load avg: 0.80 Run 1 test sequentially in a single process 0:00:00 load avg: 0.80 [1/1] test_tcl patchlevel = 8.6.14 test_huge_string_builtins (test.test_tcl.BigmemTclTest.test_huge_string_builtins) ... skipped 'implementation detail specific to cpython' test_huge_string_builtins2 (test.test_tcl.BigmemTclTest.test_huge_string_builtins2) ... skipped 'implementation detail specific to cpython' test_huge_string_call (test.test_tcl.BigmemTclTest.test_huge_string_call) ... skipped 'implementation detail specific to cpython' testCall (test.test_tcl.TclTest.testCall) ... ok testCallException (test.test_tcl.TclTest.testCallException) ... ok testCallException2 (test.test_tcl.TclTest.testCallException2) ... ok testEval (test.test_tcl.TclTest.testEval) ... ok testEvalException (test.test_tcl.TclTest.testEvalException) ... ok testEvalException2 (test.test_tcl.TclTest.testEvalException2) ... ok testEvalFile (test.test_tcl.TclTest.testEvalFile) ... ok testEvalFileException (test.test_tcl.TclTest.testEvalFileException) ... ok testGetVar (test.test_tcl.TclTest.testGetVar) ... ok testGetVarArray (test.test_tcl.TclTest.testGetVarArray) ... ok testGetVarArrayException (test.test_tcl.TclTest.testGetVarArrayException) ... ok testGetVarException (test.test_tcl.TclTest.testGetVarException) ... ok testLoadWithUNC (test.test_tcl.TclTest.testLoadWithUNC) ... skipped 'Requires Windows' testPackageRequireException (test.test_tcl.TclTest.testPackageRequireException) ... ok testSetVar (test.test_tcl.TclTest.testSetVar) ... ok testSetVarArray (test.test_tcl.TclTest.testSetVarArray) ... ok testUnsetVar (test.test_tcl.TclTest.testUnsetVar) ... ok testUnsetVarArray (test.test_tcl.TclTest.testUnsetVarArray) ... ok testUnsetVarException (test.test_tcl.TclTest.testUnsetVarException) ... ok test_booleans (test.test_tcl.TclTest.test_booleans) ... ok test_call_passing_null (test.test_tcl.TclTest.test_call_passing_null) ... ok test_call_returns_tcl_obj (test.test_tcl.TclTest.test_call_returns_tcl_obj) ... ERROR test_eval_null_in_result (test.test_tcl.TclTest.test_eval_null_in_result) ... ok test_eval_returns_tcl_obj (test.test_tcl.TclTest.test_eval_returns_tcl_obj) ... FAIL test_eval_surrogates_in_result (test.test_tcl.TclTest.test_eval_surrogates_in_result) ... ok test_evalfile_null_in_result (test.test_tcl.TclTest.test_evalfile_null_in_result) ... ok test_evalfile_surrogates_in_result (test.test_tcl.TclTest.test_evalfile_surrogates_in_result) ... ok test_expr_bignum (test.test_tcl.TclTest.test_expr_bignum) ... ok test_exprboolean (test.test_tcl.TclTest.test_exprboolean) ... ok test_exprdouble (test.test_tcl.TclTest.test_exprdouble) ... ok test_exprlong (test.test_tcl.TclTest.test_exprlong) ... ok test_exprstring (test.test_tcl.TclTest.test_exprstring) ... ok test_getboolean (test.test_tcl.TclTest.test_getboolean) ... ok test_getdouble (test.test_tcl.TclTest.test_getdouble) ... ok test_getint (test.test_tcl.TclTest.test_getint) ... ok test_getvar_returns_tcl_obj (test.test_tcl.TclTest.test_getvar_returns_tcl_obj) ... ERROR test_join (test.test_tcl.TclTest.test_join) ... ok test_new_tcl_obj (test.test_tcl.TclTest.test_new_tcl_obj) ... skipped 'implementation detail specific to cpython' test_passing_tcl_obj (test.test_tcl.TclTest.test_passing_tcl_obj) ... FAIL test_passing_values (test.test_tcl.TclTest.test_passing_values) ... ok test_setvar_passing_null (test.test_tcl.TclTest.test_setvar_passing_null) ... ok test_splitdict (test.test_tcl.TclTest.test_splitdict) ... ok test_splitlist (test.test_tcl.TclTest.test_splitlist) ... ok test_user_command (test.test_tcl.TclTest.test_user_command) ... ok testFlattenLen (test.test_tcl.TkinterTest.testFlattenLen) ... ok ====================================================================== ERROR: test_call_returns_tcl_obj (test.test_tcl.TclTest.test_call_returns_tcl_obj) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tcl.py", line 102, in test_call_returns_tcl_obj self.assertEqual(str(a), expected) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_tkinter/tclobj.py", line 222, in __str__ return tkffi.string(tklib.Tcl_GetString(self._value)).decode('utf-8') ^^^^^^ UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in position 4: invalid continuation byte ====================================================================== ERROR: test_getvar_returns_tcl_obj (test.test_tcl.TclTest.test_getvar_returns_tcl_obj) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tcl.py", line 154, in test_getvar_returns_tcl_obj self.assertEqual(str(a), expected) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_tkinter/tclobj.py", line 222, in __str__ return tkffi.string(tklib.Tcl_GetString(self._value)).decode('utf-8') ^^^^^^ UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in position 4: invalid continuation byte ====================================================================== FAIL: test_eval_returns_tcl_obj (test.test_tcl.TclTest.test_eval_returns_tcl_obj) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_tkinter/tclobj.py", line 34, in FromTclString return s.decode('utf-8') ^^^^^^ UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in position 4: invalid continuation byte During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tcl.py", line 67, in test_eval_returns_tcl_obj a = tcl.eval('set a') ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_tkinter/app.py", line 356, in eval return FromTclString(result) ^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_tkinter/tclobj.py", line 47, in FromTclString assert pos + 6 <= len(r) ^^^^^^^^^^^^^^^^^ AssertionError ====================================================================== FAIL: test_passing_tcl_obj (test.test_tcl.TclTest.test_passing_tcl_obj) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_tkinter/tclobj.py", line 34, in FromTclString return s.decode('utf-8') ^^^^^^ UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in position 4: invalid continuation byte During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tcl.py", line 605, in test_passing_tcl_obj tcl.eval(r'testfunc $a') ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_tkinter/app.py", line 354, in eval self.raiseTclError() ^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_tkinter/app.py", line 176, in raiseTclError raise self.exc_info[1].with_traceback(self.exc_info[2]) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_tkinter/app.py", line 81, in PythonCmd args = [FromTclString(tkffi.string(arg)) for arg in argv[1:argc]] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_tkinter/app.py", line 81, in <listcomp> args = [FromTclString(tkffi.string(arg)) for arg in argv[1:argc]] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_tkinter/tclobj.py", line 47, in FromTclString assert pos + 6 <= len(r) ^^^^^^^^^^^^^^^^^ AssertionError ---------------------------------------------------------------------- Ran 48 tests in 0.121s FAILED (failures=2, errors=2, skipped=5) 0:00:00 load avg: 0.80 [1/1/1] test_tcl failed (2 errors, 2 failures) == Tests result: FAILURE == 1 test failed: test_tcl Total duration: 221 ms Total tests: run=48 failures=2 skipped=5 Total test files: run=1/1 failed=1 Result: FAILURE test test_tcl failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1753744æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3391817381 0:00:00 load avg: 0.80 Run 1 test sequentially in a single process 0:00:00 load avg: 0.80 [1/1] test_tempfile test_nonempty_list (test.test_tempfile.TestCandidateTempdirList.test_nonempty_list) ... ok test_wanted_dirs (test.test_tempfile.TestCandidateTempdirList.test_wanted_dirs) ... ok test_exports (test.test_tempfile.TestExports.test_exports) ... ok test_retval (test.test_tempfile.TestGetCandidateNames.test_retval) ... ok test_same_thing (test.test_tempfile.TestGetCandidateNames.test_same_thing) ... ok test_no_files_left_behind (test.test_tempfile.TestGetDefaultTempdir.test_no_files_left_behind) ... ok test_case_sensitive (test.test_tempfile.TestGetTempDir.test_case_sensitive) ... ok test_directory_exists (test.test_tempfile.TestGetTempDir.test_directory_exists) ... ok test_directory_writable (test.test_tempfile.TestGetTempDir.test_directory_writable) ... ok test_same_thing (test.test_tempfile.TestGetTempDir.test_same_thing) ... ok test_sane_template (test.test_tempfile.TestGetTempPrefix.test_sane_template) ... ok test_usable_template (test.test_tempfile.TestGetTempPrefix.test_usable_template) ... ok test_infer_return_type_multiples (test.test_tempfile.TestLowLevelInternals.test_infer_return_type_multiples) ... ok test_infer_return_type_multiples_and_none (test.test_tempfile.TestLowLevelInternals.test_infer_return_type_multiples_and_none) ... ok test_infer_return_type_pathlib (test.test_tempfile.TestLowLevelInternals.test_infer_return_type_pathlib) ... ok test_infer_return_type_pathlike (test.test_tempfile.TestLowLevelInternals.test_infer_return_type_pathlike) ... ok test_infer_return_type_singles (test.test_tempfile.TestLowLevelInternals.test_infer_return_type_singles) ... ok test_basic (test.test_tempfile.TestMkdtemp.test_basic) ... ok test_basic_many (test.test_tempfile.TestMkdtemp.test_basic_many) ... ok test_basic_with_bytes_names (test.test_tempfile.TestMkdtemp.test_basic_with_bytes_names) ... ok test_choose_directory (test.test_tempfile.TestMkdtemp.test_choose_directory) ... ok test_collision_with_existing_directory (test.test_tempfile.TestMkdtemp.test_collision_with_existing_directory) ... ok test_collision_with_existing_file (test.test_tempfile.TestMkdtemp.test_collision_with_existing_file) ... ok test_for_tempdir_is_bytes_issue40701_api_warts (test.test_tempfile.TestMkdtemp.test_for_tempdir_is_bytes_issue40701_api_warts) ... ok test_mode (test.test_tempfile.TestMkdtemp.test_mode) ... ok test_mode_win32 (test.test_tempfile.TestMkdtemp.test_mode_win32) ... skipped 'Only on Windows.' test_non_directory (test.test_tempfile.TestMkdtemp.test_non_directory) ... ok test_nonexisting_directory (test.test_tempfile.TestMkdtemp.test_nonexisting_directory) ... ok test_path_is_absolute (test.test_tempfile.TestMkdtemp.test_path_is_absolute) ... ok test_read_only_directory (test.test_tempfile.TestMkdtemp.test_read_only_directory) ... ok test_basic (test.test_tempfile.TestMkstemp.test_basic) ... ok test_basic_with_bytes_names (test.test_tempfile.TestMkstemp.test_basic_with_bytes_names) ... ok test_choose_directory (test.test_tempfile.TestMkstemp.test_choose_directory) ... ok test_for_tempdir_is_bytes_issue40701_api_warts (test.test_tempfile.TestMkstemp.test_for_tempdir_is_bytes_issue40701_api_warts) ... ok test_basic (test.test_tempfile.TestMkstempInner.test_basic) ... ok test_basic_many (test.test_tempfile.TestMkstempInner.test_basic_many) ... ok test_basic_with_bytes_names (test.test_tempfile.TestMkstempInner.test_basic_with_bytes_names) ... ok test_choose_directory (test.test_tempfile.TestMkstempInner.test_choose_directory) ... ok test_collision_with_existing_directory (test.test_tempfile.TestMkstempInner.test_collision_with_existing_directory) ... ok test_collision_with_existing_file (test.test_tempfile.TestMkstempInner.test_collision_with_existing_file) ... ok test_file_mode (test.test_tempfile.TestMkstempInner.test_file_mode) ... ok test_noinherit (test.test_tempfile.TestMkstempInner.test_noinherit) ... ok test_non_directory (test.test_tempfile.TestMkstempInner.test_non_directory) ... ok test_nonexisting_directory (test.test_tempfile.TestMkstempInner.test_nonexisting_directory) ... ok test_read_only_directory (test.test_tempfile.TestMkstempInner.test_read_only_directory) ... ok test_textmode (test.test_tempfile.TestMkstempInner.test_textmode) ... skipped 'text mode not available' test_basic (test.test_tempfile.TestMktemp.test_basic) ... ERROR test_many (test.test_tempfile.TestMktemp.test_many) ... ok test_bad_encoding (test.test_tempfile.TestNamedTemporaryFile.test_bad_encoding) ... ok test_bad_mode (test.test_tempfile.TestNamedTemporaryFile.test_bad_mode) ... ok test_basic (test.test_tempfile.TestNamedTemporaryFile.test_basic) ... ok test_context_man_not_del_if_delete_false (test.test_tempfile.TestNamedTemporaryFile.test_context_man_not_del_if_delete_false) ... ok test_context_man_not_del_on_close_if_delete_on_close_false (test.test_tempfile.TestNamedTemporaryFile.test_context_man_not_del_on_close_if_delete_on_close_false) ... ok test_context_man_ok_to_delete_manually (test.test_tempfile.TestNamedTemporaryFile.test_context_man_ok_to_delete_manually) ... ok test_context_manager (test.test_tempfile.TestNamedTemporaryFile.test_context_manager) ... ok test_correct_finalizer_work_if_already_deleted (test.test_tempfile.TestNamedTemporaryFile.test_correct_finalizer_work_if_already_deleted) ... ok test_creates_named (test.test_tempfile.TestNamedTemporaryFile.test_creates_named) ... ok test_del_by_finalizer (test.test_tempfile.TestNamedTemporaryFile.test_del_by_finalizer) ... ERROR test_del_on_close (test.test_tempfile.TestNamedTemporaryFile.test_del_on_close) ... ok test_dis_del_on_close (test.test_tempfile.TestNamedTemporaryFile.test_dis_del_on_close) ... ok test_iter (test.test_tempfile.TestNamedTemporaryFile.test_iter) ... ok test_method_lookup (test.test_tempfile.TestNamedTemporaryFile.test_method_lookup) ... ok test_multiple_close (test.test_tempfile.TestNamedTemporaryFile.test_multiple_close) ... ok test_unexpected_error (test.test_tempfile.TestNamedTemporaryFile.test_unexpected_error) ... ok test_get_eight_char_str (test.test_tempfile.TestRandomNameSequence.test_get_eight_char_str) ... ok test_many (test.test_tempfile.TestRandomNameSequence.test_many) ... ok test_process_awareness (test.test_tempfile.TestRandomNameSequence.test_process_awareness) ... ok test_basic (test.test_tempfile.TestSpooledTemporaryFile.test_basic) ... ok test_bound_methods (test.test_tempfile.TestSpooledTemporaryFile.test_bound_methods) ... ok test_class_getitem (test.test_tempfile.TestSpooledTemporaryFile.test_class_getitem) ... ok test_context_manager_after_rollover (test.test_tempfile.TestSpooledTemporaryFile.test_context_manager_after_rollover) ... ok test_context_manager_before_rollover (test.test_tempfile.TestSpooledTemporaryFile.test_context_manager_before_rollover) ... ok test_context_manager_during_rollover (test.test_tempfile.TestSpooledTemporaryFile.test_context_manager_during_rollover) ... ok test_del_on_close (test.test_tempfile.TestSpooledTemporaryFile.test_del_on_close) ... ok test_del_rolled_file (test.test_tempfile.TestSpooledTemporaryFile.test_del_rolled_file) ... ok test_del_unrolled_file (test.test_tempfile.TestSpooledTemporaryFile.test_del_unrolled_file) ... ok test_fileno (test.test_tempfile.TestSpooledTemporaryFile.test_fileno) ... ok test_iobase_interface (test.test_tempfile.TestSpooledTemporaryFile.test_iobase_interface) ... ok test_is_iobase (test.test_tempfile.TestSpooledTemporaryFile.test_is_iobase) ... ok test_multiple_close_after_rollover (test.test_tempfile.TestSpooledTemporaryFile.test_multiple_close_after_rollover) ... ok test_multiple_close_before_rollover (test.test_tempfile.TestSpooledTemporaryFile.test_multiple_close_before_rollover) ... ok test_properties (test.test_tempfile.TestSpooledTemporaryFile.test_properties) ... ok test_rewrite_small (test.test_tempfile.TestSpooledTemporaryFile.test_rewrite_small) ... ok test_sparse (test.test_tempfile.TestSpooledTemporaryFile.test_sparse) ... ok test_text_mode (test.test_tempfile.TestSpooledTemporaryFile.test_text_mode) ... ok test_text_newline_and_encoding (test.test_tempfile.TestSpooledTemporaryFile.test_text_newline_and_encoding) ... ok test_truncate_with_size_parameter (test.test_tempfile.TestSpooledTemporaryFile.test_truncate_with_size_parameter) ... ok test_write_sequential (test.test_tempfile.TestSpooledTemporaryFile.test_write_sequential) ... ok test_writelines (test.test_tempfile.TestSpooledTemporaryFile.test_writelines) ... ok test_writelines_fast_path (test.test_tempfile.TestSpooledTemporaryFile.test_writelines_fast_path) ... ok test_writelines_rollover (test.test_tempfile.TestSpooledTemporaryFile.test_writelines_rollover) ... ok test_writelines_sequential (test.test_tempfile.TestSpooledTemporaryFile.test_writelines_sequential) ... ok test_cleanup_with_symlink_flags (test.test_tempfile.TestTemporaryDirectory.test_cleanup_with_symlink_flags) ... skipped 'requires os.chflags' test_cleanup_with_symlink_modes (test.test_tempfile.TestTemporaryDirectory.test_cleanup_with_symlink_modes) ... ok test_cleanup_with_symlink_to_a_directory (test.test_tempfile.TestTemporaryDirectory.test_cleanup_with_symlink_to_a_directory) ... ok test_cleanup_with_used_directory (test.test_tempfile.TestTemporaryDirectory.test_cleanup_with_used_directory) ... skipped 'Only on Windows.' test_context_manager (test.test_tempfile.TestTemporaryDirectory.test_context_manager) ... ok test_del_on_collection (test.test_tempfile.TestTemporaryDirectory.test_del_on_collection) ... skipped 'implementation detail specific to cpython' test_del_on_collection_ignore_errors (test.test_tempfile.TestTemporaryDirectory.test_del_on_collection_ignore_errors) Test that ignoring errors works when TemporaryDirectory is gced. ... skipped 'implementation detail specific to cpython' test_del_on_shutdown (test.test_tempfile.TestTemporaryDirectory.test_del_on_shutdown) ... ok test_del_on_shutdown_ignore_errors (test.test_tempfile.TestTemporaryDirectory.test_del_on_shutdown_ignore_errors) Test ignoring errors works when a tempdir is gc'ed on shutdown. ... ok test_delete_false (test.test_tempfile.TestTemporaryDirectory.test_delete_false) ... ok test_exit_on_shutdown (test.test_tempfile.TestTemporaryDirectory.test_exit_on_shutdown) ... ok test_explicit_cleanup (test.test_tempfile.TestTemporaryDirectory.test_explicit_cleanup) ... ok test_explicit_cleanup_correct_error (test.test_tempfile.TestTemporaryDirectory.test_explicit_cleanup_correct_error) ... skipped 'Only on Windows.' test_explicit_cleanup_ignore_errors (test.test_tempfile.TestTemporaryDirectory.test_explicit_cleanup_ignore_errors) Test that cleanup doesn't return an error when ignoring them. ... ok test_flags (test.test_tempfile.TestTemporaryDirectory.test_flags) ... skipped 'requires os.chflags' test_mkdtemp_failure (test.test_tempfile.TestTemporaryDirectory.test_mkdtemp_failure) ... ok test_modes (test.test_tempfile.TestTemporaryDirectory.test_modes) ... ok test_multiple_close (test.test_tempfile.TestTemporaryDirectory.test_multiple_close) ... ok test_warnings_on_cleanup (test.test_tempfile.TestTemporaryDirectory.test_warnings_on_cleanup) ... FAIL test_bad_encoding (test.test_tempfile.TestTemporaryFile.test_bad_encoding) ... ok test_bad_mode (test.test_tempfile.TestTemporaryFile.test_bad_mode) ... ok test_basic (test.test_tempfile.TestTemporaryFile.test_basic) ... ok test_has_no_name (test.test_tempfile.TestTemporaryFile.test_has_no_name) ... ok test_mode_and_encoding (test.test_tempfile.TestTemporaryFile.test_mode_and_encoding) ... ok test_multiple_close (test.test_tempfile.TestTemporaryFile.test_multiple_close) ... ok test_unexpected_error (test.test_tempfile.TestTemporaryFile.test_unexpected_error) ... ok ====================================================================== ERROR: test_basic (test.test_tempfile.TestMktemp.test_basic) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tempfile.py", line 896, in tearDown os.rmdir(self.dir) ^^^^^ OSError: [Errno 39] Directory not empty: '/tmp/pytest/tmpyvbjh277' ====================================================================== ERROR: test_del_by_finalizer (test.test_tempfile.TestNamedTemporaryFile.test_del_by_finalizer) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tempfile.py", line 1124, in test_del_by_finalizer self.assertFalse(os.path.exists(tmp_name), ^^^^^^^^^^^ AssertionError: True is not false : NamedTemporaryFile '/tmp/pytest/tmp10bosrn2/tmpr8odvv90' exists after finalizer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tempfile.py", line 1128, in test_del_by_finalizer os.rmdir(dir) ^^^^^ OSError: [Errno 39] Directory not empty: '/tmp/pytest/tmp10bosrn2' ====================================================================== FAIL: test_warnings_on_cleanup (test.test_tempfile.TestTemporaryDirectory.test_warnings_on_cleanup) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tempfile.py", line 1968, in test_warnings_on_cleanup with warnings_helper.check_warnings(('Implicitly', File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 144, in __exit__ next(self.gen) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/warnings_helper.py", line 185, in _filterwarnings raise AssertionError("unhandled warning %s" % reraise[0]) AssertionError: unhandled warning {message : ResourceWarning('Unclosed file <tempfile.SpooledTemporaryFile object at 0x00007efe6451cc28>'), category : 'ResourceWarning', filename : '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/tempfile.py', lineno : 472, line : None} ---------------------------------------------------------------------- Ran 118 tests in 0.874s FAILED (failures=1, errors=2, skipped=8) 0:00:01 load avg: 0.80 [1/1/1] test_tempfile failed (2 errors, 1 failure) == Tests result: FAILURE == 1 test failed: test_tempfile Total duration: 1.1 sec Total tests: run=118 failures=1 skipped=8 Total test files: run=1/1 failed=1 Result: FAILURE test test_tempfile failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1753760æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2460693475 0:00:00 load avg: 0.80 Run 1 test sequentially in a single process 0:00:00 load avg: 0.80 [1/1] test_termios test_tcdrain (test.test_termios.TestFunctions.test_tcdrain) ... ok test_tcdrain_errors (test.test_termios.TestFunctions.test_tcdrain_errors) ... ok test_tcflow (test.test_termios.TestFunctions.test_tcflow) ... ok test_tcflow_errors (test.test_termios.TestFunctions.test_tcflow_errors) ... ok test_tcflush (test.test_termios.TestFunctions.test_tcflush) ... ok test_tcflush_errors (test.test_termios.TestFunctions.test_tcflush_errors) ... ok test_tcgetattr (test.test_termios.TestFunctions.test_tcgetattr) ... ok test_tcgetattr_errors (test.test_termios.TestFunctions.test_tcgetattr_errors) ... ok test_tcgetwinsize (test.test_termios.TestFunctions.test_tcgetwinsize) ... ok test_tcgetwinsize_errors (test.test_termios.TestFunctions.test_tcgetwinsize_errors) ... ok test_tcsendbreak (test.test_termios.TestFunctions.test_tcsendbreak) ... ok test_tcsendbreak_errors (test.test_termios.TestFunctions.test_tcsendbreak_errors) ... ok test_tcsetattr (test.test_termios.TestFunctions.test_tcsetattr) ... ok test_tcsetattr_errors (test.test_termios.TestFunctions.test_tcsetattr_errors) ... ERROR test_tcsetwinsize (test.test_termios.TestFunctions.test_tcsetwinsize) ... ok test_tcsetwinsize_errors (test.test_termios.TestFunctions.test_tcsetwinsize_errors) ... ok test_constants (test.test_termios.TestModule.test_constants) ... ok test_exception (test.test_termios.TestModule.test_exception) ... ok ====================================================================== ERROR: test_tcsetattr_errors (test.test_termios.TestFunctions.test_tcsetattr_errors) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_termios.py", line 69, in test_tcsetattr_errors self.assertRaises(TypeError, termios.tcsetattr, self.fd, termios.TCSANOW, attrs[:-1] + [attrs[-1][:-1]]) ^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/case.py", line 778, in assertRaises return context.handle('assertRaises', args, kwargs) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/case.py", line 238, in handle callable_obj(*args, **kwargs) SystemError: unexpected internal exception (please report a bug): <IndexError object at 0x7fe34daba828>; internal traceback was dumped to stderr ---------------------------------------------------------------------- Ran 18 tests in 0.009s FAILED (errors=1) 0:00:00 load avg: 0.80 [1/1/1] test_termios failed (1 error) == Tests result: FAILURE == 1 test failed: test_termios Total duration: 78 ms Total tests: run=18 Total test files: run=1/1 failed=1 Result: FAILURE RPython traceback: File "pypy_interpreter.c", line 52209, in BuiltinCode_funcrun_obj File "implement_1.c", line 15847, in BuiltinActivation_UwS_ObjSpace_W_Root_int_W_Root File "pypy_module_termios.c", line 1836, in tcsetattr ... test test_termios failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1753770æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3113741782 0:00:00 load avg: 0.80 Run 1 test sequentially in a single process 0:00:00 load avg: 0.80 [1/1] test_thread test_barrier (test.test_thread.BarrierTest.test_barrier) ... task 0 will run for 0us task 0 entering 0 task 1 will run for 60us task 1 entering 0 task 2 will run for 12us task 2 entering 0 task 3 will run for 60us task 3 entering 0 task 4 will run for 68us task 4 entering 0 task 5 will run for 76us task 5 entering 0 task 6 will run for 92us task 6 entering 0 task 7 will run for 10us task 7 entering 0 task 8 will run for 45us waiting for tasks to end task 8 entering 0 task 9 will run for 35us task 9 entering 0 task 9 leaving barrier task 9 will run for 90us task 0 leaving barrier task 1 leaving barrier task 2 leaving barrier task 2 will run for 60us task 3 leaving barrier task 3 will run for 39us task 1 will run for 67us task 9 entering 1 task 0 will run for 0us task 3 entering 1 task 4 leaving barrier task 2 entering 1 task 4 will run for 82us task 5 leaving barrier task 0 entering 1 task 1 entering 1 task 7 leaving barrier task 8 leaving barrier task 5 will run for 40us task 4 entering 1 task 6 leaving barrier task 7 will run for 83us task 8 will run for 54us task 6 will run for 0us task 5 entering 1 task 6 entering 1 task 8 entering 1 task 7 entering 1 task 7 leaving barrier task 7 will run for 85us task 9 leaving barrier task 9 will run for 42us task 3 leaving barrier task 2 leaving barrier task 2 will run for 87us task 3 will run for 50us task 1 leaving barrier task 4 leaving barrier task 9 entering 2 task 7 entering 2 task 5 leaving barrier task 6 leaving barrier task 6 will run for 15us task 8 leaving barrier task 1 will run for 100us task 4 will run for 92us task 6 entering 2 task 2 entering 2 task 5 will run for 59us task 8 will run for 16us task 0 leaving barrier task 0 will run for 0us task 3 entering 2 task 1 entering 2 task 8 entering 2 task 4 entering 2 task 0 entering 2 task 5 entering 2 task 5 leaving barrier task 9 leaving barrier task 7 leaving barrier task 6 leaving barrier task 2 leaving barrier task 3 leaving barrier task 1 leaving barrier task 8 leaving barrier task 4 leaving barrier task 0 leaving barrier tasks done ok test_acquire_contended (test.test_thread.LockTests.test_acquire_contended) ... ok test_acquire_destroy (test.test_thread.LockTests.test_acquire_destroy) ... ok test_acquire_release (test.test_thread.LockTests.test_acquire_release) ... ok test_at_fork_reinit (test.test_thread.LockTests.test_at_fork_reinit) ... ok test_constructor (test.test_thread.LockTests.test_constructor) ... ok test_different_thread (test.test_thread.LockTests.test_different_thread) ... ok test_locked_repr (test.test_thread.LockTests.test_locked_repr) ... ok test_reacquire (test.test_thread.LockTests.test_reacquire) ... ok test_repr (test.test_thread.LockTests.test_repr) ... ok test_state_after_timeout (test.test_thread.LockTests.test_state_after_timeout) ... ok test_thread_leak (test.test_thread.LockTests.test_thread_leak) ... ok test_timeout (test.test_thread.LockTests.test_timeout) ... ok test_try_acquire (test.test_thread.LockTests.test_try_acquire) ... ok test_try_acquire_contended (test.test_thread.LockTests.test_try_acquire_contended) ... ok test_weakref_deleted (test.test_thread.LockTests.test_weakref_deleted) ... ok test_weakref_exists (test.test_thread.LockTests.test_weakref_exists) ... ok test_with (test.test_thread.LockTests.test_with) ... ok test_forkinthread (test.test_thread.TestForkInThread.test_forkinthread) ... ok test__count (test.test_thread.ThreadRunningTests.test__count) ... ok test_nt_and_posix_stack_size (test.test_thread.ThreadRunningTests.test_nt_and_posix_stack_size) ... caught expected ValueError setting stack_size(4096) successfully set stack_size(262144) successfully set stack_size(1048576) successfully set stack_size(0) trying stack_size = (262144) creating task 1 creating task 2 task 1 will run for 20us creating task 3 task 2 will run for 69us task 1 done task 3 will run for 34us task 2 done task 3 done creating task 4 creating task 5 task 4 will run for 63us creating task 6 task 5 will run for 4us task 4 done creating task 7 task 5 done task 6 will run for 22us task 6 done task 7 will run for 70us task 7 done creating task 8 creating task 9 creating task 10 task 8 will run for 51us task 9 will run for 17us waiting for all tasks to complete task 10 will run for 34us task 9 done task 8 done task 10 done all tasks done trying stack_size = (1048576) creating task 1 creating task 2 creating task 3 task 1 will run for 49us task 2 will run for 77us task 1 done task 2 done creating task 4 task 3 will run for 99us creating task 5 task 4 will run for 20us creating task 6 creating task 7 task 3 done task 5 will run for 6us task 6 will run for 20us task 5 done task 6 done creating task 8 task 7 will run for 19us task 4 done task 7 done task 8 will run for 37us task 8 done creating task 9 creating task 10 task 9 will run for 43us waiting for all tasks to complete task 10 will run for 99us task 9 done task 10 done all tasks done ok test_stack_size (test.test_thread.ThreadRunningTests.test_stack_size) ... ok test_starting_threads (test.test_thread.ThreadRunningTests.test_starting_threads) ... creating task 1 creating task 2 creating task 3 task 1 will run for 10us task 2 will run for 38us task 1 done task 2 done creating task 4 creating task 5 task 3 will run for 60us task 4 will run for 96us task 3 done creating task 6 task 4 done creating task 7 task 5 will run for 76us task 6 will run for 29us task 6 done task 5 done creating task 8 creating task 9 task 7 will run for 72us task 7 done task 8 will run for 27us task 8 done task 9 will run for 87us task 9 done creating task 10 waiting for tasks to complete... task 10 will run for 86us task 10 done all tasks done ok test_unraisable_exception (test.test_thread.ThreadRunningTests.test_unraisable_exception) ... FAIL ====================================================================== FAIL: test_unraisable_exception (test.test_thread.ThreadRunningTests.test_unraisable_exception) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_thread.py", line 159, in test_unraisable_exception self.assertEqual(cm.unraisable.err_msg, ^^^^^^^^^^^ AssertionError: 'Exception ignored in thread 140192479168256 started by ' != 'Exception ignored in thread started by' - Exception ignored in thread 140192479168256 started by ? ---------------- - + Exception ignored in thread started by ---------------------------------------------------------------------- Ran 24 tests in 1.166s FAILED (failures=1) 0:00:01 load avg: 0.82 [1/1/1] test_thread failed (1 failure) == Tests result: FAILURE == 1 test failed: test_thread Total duration: 1.2 sec Total tests: run=24 failures=1 Total test files: run=1/1 failed=1 Result: FAILURE test test_thread failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1753870æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 451341859 0:00:00 load avg: 0.82 Run 1 test sequentially in a single process 0:00:00 load avg: 0.82 [1/1] test_threading test_atexit_after_shutdown (test.test_threading.AtexitTests.test_atexit_after_shutdown) ... ok test_atexit_called_once (test.test_threading.AtexitTests.test_atexit_called_once) ... FAIL test_atexit_output (test.test_threading.AtexitTests.test_atexit_output) ... ok test_abort (test.test_threading.BarrierTests.test_abort) Test that an abort will put the barrier in a broken state ... ok test_abort_and_reset (test.test_threading.BarrierTests.test_abort_and_reset) Test that a barrier can be reset after being broken. ... ok test_action (test.test_threading.BarrierTests.test_action) Test the 'action' callback ... ok test_barrier (test.test_threading.BarrierTests.test_barrier) Test that a barrier is passed in lockstep ... ok test_barrier_10 (test.test_threading.BarrierTests.test_barrier_10) Test that a barrier works for 10 consecutive runs ... ok test_constructor (test.test_threading.BarrierTests.test_constructor) ... ok test_default_timeout (test.test_threading.BarrierTests.test_default_timeout) Test the barrier's default timeout ... ok test_repr (test.test_threading.BarrierTests.test_repr) ... ok test_reset (test.test_threading.BarrierTests.test_reset) Test that a 'reset' on a barrier frees the waiting threads ... ok test_single_thread (test.test_threading.BarrierTests.test_single_thread) ... ok test_timeout (test.test_threading.BarrierTests.test_timeout) Test wait(timeout) ... ok test_wait_return (test.test_threading.BarrierTests.test_wait_return) test the return value from barrier.wait ... ok test_acquire (test.test_threading.BoundedSemaphoreTests.test_acquire) ... ok test_acquire_contended (test.test_threading.BoundedSemaphoreTests.test_acquire_contended) ... ok test_acquire_destroy (test.test_threading.BoundedSemaphoreTests.test_acquire_destroy) ... ok test_acquire_timeout (test.test_threading.BoundedSemaphoreTests.test_acquire_timeout) ... ok test_constructor (test.test_threading.BoundedSemaphoreTests.test_constructor) ... ok test_default_value (test.test_threading.BoundedSemaphoreTests.test_default_value) ... ok test_multirelease (test.test_threading.BoundedSemaphoreTests.test_multirelease) ... ok test_release_unacquired (test.test_threading.BoundedSemaphoreTests.test_release_unacquired) ... ok test_repr (test.test_threading.BoundedSemaphoreTests.test_repr) ... ok test_try_acquire (test.test_threading.BoundedSemaphoreTests.test_try_acquire) ... ok test_try_acquire_contended (test.test_threading.BoundedSemaphoreTests.test_try_acquire_contended) ... ok test_with (test.test_threading.BoundedSemaphoreTests.test_with) ... ok test__is_owned (test.test_threading.CRLockTests.test__is_owned) ... ok test_acquire_contended (test.test_threading.CRLockTests.test_acquire_contended) ... ok test_acquire_destroy (test.test_threading.CRLockTests.test_acquire_destroy) ... ok test_acquire_release (test.test_threading.CRLockTests.test_acquire_release) ... ok test_constructor (test.test_threading.CRLockTests.test_constructor) ... ok test_different_thread (test.test_threading.CRLockTests.test_different_thread) ... ok test_locked_repr (test.test_threading.CRLockTests.test_locked_repr) ... ok test_reacquire (test.test_threading.CRLockTests.test_reacquire) ... ok test_recursion_count (test.test_threading.CRLockTests.test_recursion_count) ... ok test_release_save_unacquired (test.test_threading.CRLockTests.test_release_save_unacquired) ... ok test_release_unacquired (test.test_threading.CRLockTests.test_release_unacquired) ... ok test_repr (test.test_threading.CRLockTests.test_repr) ... ok test_thread_leak (test.test_threading.CRLockTests.test_thread_leak) ... ok test_timeout (test.test_threading.CRLockTests.test_timeout) ... ok test_try_acquire (test.test_threading.CRLockTests.test_try_acquire) ... ok test_try_acquire_contended (test.test_threading.CRLockTests.test_try_acquire_contended) ... ok test_weakref_deleted (test.test_threading.CRLockTests.test_weakref_deleted) ... ok test_weakref_exists (test.test_threading.CRLockTests.test_weakref_exists) ... ok test_with (test.test_threading.CRLockTests.test_with) ... ok test__is_owned (test.test_threading.ConditionAsRLockTests.test__is_owned) ... ok test_acquire_contended (test.test_threading.ConditionAsRLockTests.test_acquire_contended) ... ok test_acquire_destroy (test.test_threading.ConditionAsRLockTests.test_acquire_destroy) ... ok test_acquire_release (test.test_threading.ConditionAsRLockTests.test_acquire_release) ... ok test_constructor (test.test_threading.ConditionAsRLockTests.test_constructor) ... ok test_different_thread (test.test_threading.ConditionAsRLockTests.test_different_thread) ... ok test_locked_repr (test.test_threading.ConditionAsRLockTests.test_locked_repr) ... ok test_reacquire (test.test_threading.ConditionAsRLockTests.test_reacquire) ... ok test_recursion_count (test.test_threading.ConditionAsRLockTests.test_recursion_count) ... skipped 'Condition does not expose _recursion_count()' test_release_save_unacquired (test.test_threading.ConditionAsRLockTests.test_release_save_unacquired) ... ok test_release_unacquired (test.test_threading.ConditionAsRLockTests.test_release_unacquired) ... ok test_repr (test.test_threading.ConditionAsRLockTests.test_repr) ... ok test_thread_leak (test.test_threading.ConditionAsRLockTests.test_thread_leak) ... ok test_timeout (test.test_threading.ConditionAsRLockTests.test_timeout) ... ok test_try_acquire (test.test_threading.ConditionAsRLockTests.test_try_acquire) ... ok test_try_acquire_contended (test.test_threading.ConditionAsRLockTests.test_try_acquire_contended) ... ok test_weakref_deleted (test.test_threading.ConditionAsRLockTests.test_weakref_deleted) ... ok test_weakref_exists (test.test_threading.ConditionAsRLockTests.test_weakref_exists) ... ok test_with (test.test_threading.ConditionAsRLockTests.test_with) ... ok test_acquire (test.test_threading.ConditionTests.test_acquire) ... ok test_notify (test.test_threading.ConditionTests.test_notify) ... ok test_timeout (test.test_threading.ConditionTests.test_timeout) ... ok test_unacquired_notify (test.test_threading.ConditionTests.test_unacquired_notify) ... ok test_unacquired_wait (test.test_threading.ConditionTests.test_unacquired_wait) ... ok test_waitfor (test.test_threading.ConditionTests.test_waitfor) ... ok test_waitfor_timeout (test.test_threading.ConditionTests.test_waitfor_timeout) ... ok test_at_fork_reinit (test.test_threading.EventTests.test_at_fork_reinit) ... ok test_is_set (test.test_threading.EventTests.test_is_set) ... ok test_notify (test.test_threading.EventTests.test_notify) ... ok test_repr (test.test_threading.EventTests.test_repr) ... ok test_set_and_clear (test.test_threading.EventTests.test_set_and_clear) ... ok test_timeout (test.test_threading.EventTests.test_timeout) ... ok test_custom_excepthook (test.test_threading.ExceptHookTests.test_custom_excepthook) ... ok test_custom_excepthook_fail (test.test_threading.ExceptHookTests.test_custom_excepthook_fail) ... ok test_excepthook (test.test_threading.ExceptHookTests.test_excepthook) ... ok test_excepthook_thread_None (test.test_threading.ExceptHookTests.test_excepthook_thread_None) ... skipped 'implementation detail specific to cpython' test_original_excepthook (test.test_threading.ExceptHookTests.test_original_excepthook) ... ok test_system_exit (test.test_threading.ExceptHookTests.test_system_exit) ... ok test_can_interrupt_tight_loops (test.test_threading.InterruptMainTests.test_can_interrupt_tight_loops) ... ok test_interrupt_main_invalid_signal (test.test_threading.InterruptMainTests.test_interrupt_main_invalid_signal) ... ok test_interrupt_main_mainthread (test.test_threading.InterruptMainTests.test_interrupt_main_mainthread) ... ok test_interrupt_main_noerror (test.test_threading.InterruptMainTests.test_interrupt_main_noerror) ... ok test_interrupt_main_subthread (test.test_threading.InterruptMainTests.test_interrupt_main_subthread) ... ok test_interrupt_main_with_signal_handler (test.test_threading.InterruptMainTests.test_interrupt_main_with_signal_handler) ... ok test_acquire_contended (test.test_threading.LockTests.test_acquire_contended) ... ok test_acquire_destroy (test.test_threading.LockTests.test_acquire_destroy) ... ok test_acquire_release (test.test_threading.LockTests.test_acquire_release) ... ok test_at_fork_reinit (test.test_threading.LockTests.test_at_fork_reinit) ... ok test_constructor (test.test_threading.LockTests.test_constructor) ... ok test_different_thread (test.test_threading.LockTests.test_different_thread) ... ok test_locked_repr (test.test_threading.LockTests.test_locked_repr) ... ok test_reacquire (test.test_threading.LockTests.test_reacquire) ... ok test_repr (test.test_threading.LockTests.test_repr) ... ok test_state_after_timeout (test.test_threading.LockTests.test_state_after_timeout) ... ok test_thread_leak (test.test_threading.LockTests.test_thread_leak) ... ok test_timeout (test.test_threading.LockTests.test_timeout) ... ok test_try_acquire (test.test_threading.LockTests.test_try_acquire) ... ok test_try_acquire_contended (test.test_threading.LockTests.test_try_acquire_contended) ... ok test_weakref_deleted (test.test_threading.LockTests.test_weakref_deleted) ... ok test_weakref_exists (test.test_threading.LockTests.test_weakref_exists) ... ok test_with (test.test_threading.LockTests.test_with) ... ok test__all__ (test.test_threading.MiscTestCase.test__all__) ... ok test_gh112826_missing__thread__is_main_interpreter (test.test_threading.MiscTestCase.test_gh112826_missing__thread__is_main_interpreter) ... FAIL test__is_owned (test.test_threading.PyRLockTests.test__is_owned) ... ok test_acquire_contended (test.test_threading.PyRLockTests.test_acquire_contended) ... ok test_acquire_destroy (test.test_threading.PyRLockTests.test_acquire_destroy) ... ok test_acquire_release (test.test_threading.PyRLockTests.test_acquire_release) ... ok test_constructor (test.test_threading.PyRLockTests.test_constructor) ... ok test_different_thread (test.test_threading.PyRLockTests.test_different_thread) ... ok test_locked_repr (test.test_threading.PyRLockTests.test_locked_repr) ... ok test_reacquire (test.test_threading.PyRLockTests.test_reacquire) ... ok test_recursion_count (test.test_threading.PyRLockTests.test_recursion_count) ... ok test_release_save_unacquired (test.test_threading.PyRLockTests.test_release_save_unacquired) ... ok test_release_unacquired (test.test_threading.PyRLockTests.test_release_unacquired) ... ok test_repr (test.test_threading.PyRLockTests.test_repr) ... ok test_thread_leak (test.test_threading.PyRLockTests.test_thread_leak) ... ok test_timeout (test.test_threading.PyRLockTests.test_timeout) ... ok test_try_acquire (test.test_threading.PyRLockTests.test_try_acquire) ... ok test_try_acquire_contended (test.test_threading.PyRLockTests.test_try_acquire_contended) ... ok test_weakref_deleted (test.test_threading.PyRLockTests.test_weakref_deleted) ... ok test_weakref_exists (test.test_threading.PyRLockTests.test_weakref_exists) ... ok test_with (test.test_threading.PyRLockTests.test_with) ... ok test_acquire (test.test_threading.SemaphoreTests.test_acquire) ... ok test_acquire_contended (test.test_threading.SemaphoreTests.test_acquire_contended) ... ok test_acquire_destroy (test.test_threading.SemaphoreTests.test_acquire_destroy) ... ok test_acquire_timeout (test.test_threading.SemaphoreTests.test_acquire_timeout) ... ok test_constructor (test.test_threading.SemaphoreTests.test_constructor) ... ok test_default_value (test.test_threading.SemaphoreTests.test_default_value) ... ok test_multirelease (test.test_threading.SemaphoreTests.test_multirelease) ... ok test_release_unacquired (test.test_threading.SemaphoreTests.test_release_unacquired) ... ok test_repr (test.test_threading.SemaphoreTests.test_repr) ... ok test_try_acquire (test.test_threading.SemaphoreTests.test_try_acquire) ... ok test_try_acquire_contended (test.test_threading.SemaphoreTests.test_try_acquire_contended) ... ok test_with (test.test_threading.SemaphoreTests.test_with) ... ok test_daemon_threads_fatal_error (test.test_threading.SubinterpThreadingTests.test_daemon_threads_fatal_error) ... skipped 'implementation detail specific to cpython' test_daemon_threads_not_allowed (test.test_threading.SubinterpThreadingTests.test_daemon_threads_not_allowed) ... skipped 'implementation detail specific to cpython' test_threads_join (test.test_threading.SubinterpThreadingTests.test_threads_join) ... skipped 'implementation detail specific to cpython' test_threads_join_2 (test.test_threading.SubinterpThreadingTests.test_threads_join_2) ... skipped 'implementation detail specific to cpython' test_threads_join_with_no_main (test.test_threading.SubinterpThreadingTests.test_threads_join_with_no_main) ... skipped 'subinterpreters required' test_threads_not_allowed (test.test_threading.SubinterpThreadingTests.test_threads_not_allowed) ... skipped 'implementation detail specific to cpython' test_1_join_on_shutdown (test.test_threading.ThreadJoinOnShutdown.test_1_join_on_shutdown) ... ok test_2_join_in_forked_process (test.test_threading.ThreadJoinOnShutdown.test_2_join_in_forked_process) ... ok test_3_join_in_forked_from_thread (test.test_threading.ThreadJoinOnShutdown.test_3_join_in_forked_from_thread) ... ok test_4_daemon_threads (test.test_threading.ThreadJoinOnShutdown.test_4_daemon_threads) ... ok test_clear_threads_states_after_fork (test.test_threading.ThreadJoinOnShutdown.test_clear_threads_states_after_fork) ... ok test_reinit_tls_after_fork (test.test_threading.ThreadJoinOnShutdown.test_reinit_tls_after_fork) ... ok test_thread_from_thread (test.test_threading.ThreadJoinOnShutdown.test_thread_from_thread) ... ok test_BoundedSemaphore_limit (test.test_threading.ThreadTests.test_BoundedSemaphore_limit) ... ok test_PyThreadState_SetAsyncExc (test.test_threading.ThreadTests.test_PyThreadState_SetAsyncExc) ... skipped 'implementation detail specific to cpython' test_args_argument (test.test_threading.ThreadTests.test_args_argument) ... ok test_boolean_target (test.test_threading.ThreadTests.test_boolean_target) ... ok test_daemon_param (test.test_threading.ThreadTests.test_daemon_param) ... ok test_disallow_instantiation (test.test_threading.ThreadTests.test_disallow_instantiation) ... skipped 'implementation detail specific to cpython' test_dummy_thread_after_fork (test.test_threading.ThreadTests.test_dummy_thread_after_fork) ... FAIL test_enumerate_after_join (test.test_threading.ThreadTests.test_enumerate_after_join) ... ok test_finalization_shutdown (test.test_threading.ThreadTests.test_finalization_shutdown) ... ok test_finalize_running_thread (test.test_threading.ThreadTests.test_finalize_running_thread) ... skipped 'implementation detail specific to cpython' test_finalize_with_trace (test.test_threading.ThreadTests.test_finalize_with_trace) ... ok test_foreign_thread (test.test_threading.ThreadTests.test_foreign_thread) ... ok test_frame_tstate_tracing (test.test_threading.ThreadTests.test_frame_tstate_tracing) ... skipped 'implementation detail specific to cpython' test_getprofile (test.test_threading.ThreadTests.test_getprofile) ... ok test_getprofile_all_threads (test.test_threading.ThreadTests.test_getprofile_all_threads) ... ok test_gettrace (test.test_threading.ThreadTests.test_gettrace) ... ok test_gettrace_all_threads (test.test_threading.ThreadTests.test_gettrace_all_threads) ... ok test_ident_of_no_threading_threads (test.test_threading.ThreadTests.test_ident_of_no_threading_threads) ... ok test_import_from_another_thread (test.test_threading.ThreadTests.test_import_from_another_thread) ... ok test_is_alive_after_fork (test.test_threading.ThreadTests.test_is_alive_after_fork) ... ok test_join_nondaemon_on_shutdown (test.test_threading.ThreadTests.test_join_nondaemon_on_shutdown) ... ok test_leak_without_join (test.test_threading.ThreadTests.test_leak_without_join) ... ok test_limbo_cleanup (test.test_threading.ThreadTests.test_limbo_cleanup) ... ok test_locals_at_exit (test.test_threading.ThreadTests.test_locals_at_exit) ... skipped 'implementation detail specific to cpython' test_main_thread (test.test_threading.ThreadTests.test_main_thread) ... ok test_main_thread_after_fork (test.test_threading.ThreadTests.test_main_thread_after_fork) ... ok test_main_thread_after_fork_from_dummy_thread (test.test_threading.ThreadTests.test_main_thread_after_fork_from_dummy_thread) ... ok test_main_thread_after_fork_from_foreign_thread (test.test_threading.ThreadTests.test_main_thread_after_fork_from_foreign_thread) ... ok test_main_thread_after_fork_from_nonmain_thread (test.test_threading.ThreadTests.test_main_thread_after_fork_from_nonmain_thread) ... FAIL test_main_thread_during_shutdown (test.test_threading.ThreadTests.test_main_thread_during_shutdown) ... skipped 'implementation detail specific to cpython' test_name (test.test_threading.ThreadTests.test_name) ... skipped 'implementation detail specific to cpython' test_no_refcycle_through_target (test.test_threading.ThreadTests.test_no_refcycle_through_target) ... skipped 'implementation detail specific to cpython' test_old_threading_api (test.test_threading.ThreadTests.test_old_threading_api) ... ok test_repr_daemon (test.test_threading.ThreadTests.test_repr_daemon) ... ok test_repr_stopped (test.test_threading.ThreadTests.test_repr_stopped) ... ok test_shutdown_locks (test.test_threading.ThreadTests.test_shutdown_locks) ... skipped 'implementation detail specific to cpython' test_start_new_thread_at_finalization (test.test_threading.ThreadTests.test_start_new_thread_at_finalization) ... FAIL test_start_new_thread_failed (test.test_threading.ThreadTests.test_start_new_thread_failed) ... ok test_tstate_lock (test.test_threading.ThreadTests.test_tstate_lock) ... ok test_various_ops (test.test_threading.ThreadTests.test_various_ops) ... task <thread 0> will run for 69.0 usec 1 tasks are running task <thread 0> done <thread 0> is finished. 0 tasks are running task <thread 1> will run for 37.7 usec 1 tasks are running task <thread 1> done <thread 1> is finished. 0 tasks are running task <thread 2> will run for 55.4 usec 1 tasks are running task <thread 2> done <thread 2> is finished. 0 tasks are running task <thread 3> will run for 85.6 usec 1 tasks are running task <thread 4> will run for 49.9 usec 2 tasks are running task <thread 3> done <thread 3> is finished. 1 tasks are running task <thread 5> will run for 79.9 usec 2 tasks are running task <thread 4> done <thread 4> is finished. 1 tasks are running task <thread 5> done <thread 5> is finished. 0 tasks are running task <thread 6> will run for 40.4 usec 1 tasks are running task <thread 6> done <thread 6> is finished. 0 tasks are running task <thread 7> will run for 72.1 usec 1 tasks are running task <thread 7> done <thread 7> is finished. 0 tasks are running task <thread 8> will run for 96.9 usec 1 tasks are running task <thread 8> done <thread 8> is finished. 0 tasks are running task <thread 9> will run for 46.0 usec 1 tasks are running task <thread 9> done <thread 9> is finished. 0 tasks are running waiting for all tasks to complete all tasks done ok test_various_ops_large_stack (test.test_threading.ThreadTests.test_various_ops_large_stack) ... with 1 MiB thread stack size... task <thread 0> will run for 19.3 usec 1 tasks are running task <thread 0> done <thread 0> is finished. 0 tasks are running task <thread 1> will run for 13.4 usec 1 tasks are running task <thread 1> done <thread 1> is finished. 0 tasks are running task <thread 2> will run for 49.6 usec 1 tasks are running task <thread 2> done <thread 2> is finished. 0 tasks are running task <thread 3> will run for 62.3 usec 1 tasks are running task <thread 3> done <thread 3> is finished. 0 tasks are running task <thread 4> will run for 37.2 usec 1 tasks are running task <thread 4> done <thread 4> is finished. 0 tasks are running task <thread 5> will run for 32.5 usec 1 tasks are running task <thread 5> done <thread 5> is finished. 0 tasks are running task <thread 6> will run for 13.9 usec 1 tasks are running task <thread 6> done <thread 6> is finished. 0 tasks are running task <thread 7> will run for 72.0 usec 1 tasks are running task <thread 7> done <thread 7> is finished. 0 tasks are running task <thread 8> will run for 97.1 usec 1 tasks are running task <thread 9> will run for 91.5 usec 2 tasks are running task <thread 8> done <thread 8> is finished. 1 tasks are running task <thread 9> done <thread 9> is finished. 0 tasks are running waiting for all tasks to complete all tasks done ok test_various_ops_small_stack (test.test_threading.ThreadTests.test_various_ops_small_stack) ... with 256 KiB thread stack size... task <thread 0> will run for 34.4 usec 1 tasks are running task <thread 0> done <thread 0> is finished. 0 tasks are running task <thread 1> will run for 58.6 usec 1 tasks are running task <thread 1> done <thread 1> is finished. 0 tasks are running task <thread 2> will run for 74.6 usec 1 tasks are running task <thread 2> done <thread 2> is finished. 0 tasks are running task <thread 3> will run for 62.3 usec 1 tasks are running task <thread 4> will run for 19.2 usec 2 tasks are running task <thread 3> done <thread 3> is finished. 1 tasks are running task <thread 4> done <thread 4> is finished. 0 tasks are running task <thread 5> will run for 31.8 usec 1 tasks are running task <thread 6> will run for 91.1 usec 2 tasks are running task <thread 5> done <thread 5> is finished. 1 tasks are running task <thread 6> done <thread 6> is finished. 0 tasks are running task <thread 7> will run for 65.3 usec 1 tasks are running task <thread 7> done <thread 7> is finished. 0 tasks are running task <thread 8> will run for 92.5 usec 1 tasks are running task <thread 8> done <thread 8> is finished. 0 tasks are running task <thread 9> will run for 35.0 usec 1 tasks are running waiting for all tasks to complete task <thread 9> done <thread 9> is finished. 0 tasks are running all tasks done ok test_bare_raise_in_brand_new_thread (test.test_threading.ThreadingExceptionTests.test_bare_raise_in_brand_new_thread) ... ok test_daemonize_active_thread (test.test_threading.ThreadingExceptionTests.test_daemonize_active_thread) ... ok test_joining_current_thread (test.test_threading.ThreadingExceptionTests.test_joining_current_thread) ... ok test_joining_inactive_thread (test.test_threading.ThreadingExceptionTests.test_joining_inactive_thread) ... ok test_multithread_modify_file_noerror (test.test_threading.ThreadingExceptionTests.test_multithread_modify_file_noerror) ... ok test_print_exception (test.test_threading.ThreadingExceptionTests.test_print_exception) ... ok test_print_exception_gh_102056 (test.test_threading.ThreadingExceptionTests.test_print_exception_gh_102056) ... ==== test running for 1324 seconds ==== ==========================timedout========================== _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1755031æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 833401452 0:00:00 load avg: 1.00 Run 1 test sequentially in a single process 0:00:00 load avg: 1.00 [1/1] test_time test_large_year (test.test_time.TestAsctime4dyear.test_large_year) ... ok test_negative (test.test_time.TestAsctime4dyear.test_negative) ... ok test_year (test.test_time.TestAsctime4dyear.test_year) ... ok test_AsMicroseconds (test.test_time.TestCPyTime.test_AsMicroseconds) ... ok test_AsMilliseconds (test.test_time.TestCPyTime.test_AsMilliseconds) ... ok test_AsSecondsDouble (test.test_time.TestCPyTime.test_AsSecondsDouble) ... ok test_AsTimespec (test.test_time.TestCPyTime.test_AsTimespec) ... ok test_AsTimespec_clamp (test.test_time.TestCPyTime.test_AsTimespec_clamp) ... ok test_AsTimeval (test.test_time.TestCPyTime.test_AsTimeval) ... ok test_AsTimeval_clamp (test.test_time.TestCPyTime.test_AsTimeval_clamp) ... ok test_FromSeconds (test.test_time.TestCPyTime.test_FromSeconds) ... ok test_FromSecondsObject (test.test_time.TestCPyTime.test_FromSecondsObject) ... ok test_bug_3061 (test.test_time.TestLocale.test_bug_3061) ... ok test_object_to_time_t (test.test_time.TestOldPyTime.test_object_to_time_t) ... ok test_object_to_timespec (test.test_time.TestOldPyTime.test_object_to_timespec) ... ok test_object_to_timeval (test.test_time.TestOldPyTime.test_object_to_timeval) ... ok test_localtime_timezone (test.test_time.TestPytime.test_localtime_timezone) ... ok test_short_times (test.test_time.TestPytime.test_short_times) ... ok test_strptime_timezone (test.test_time.TestPytime.test_strptime_timezone) ... ok test_4dyear (test.test_time.TestStrftime4dyear.test_4dyear) ... ok test_large_year (test.test_time.TestStrftime4dyear.test_large_year) ... ok test_negative (test.test_time.TestStrftime4dyear.test_negative) ... ok test_year (test.test_time.TestStrftime4dyear.test_year) ... ok test_clock_functions (test.test_time.TestTimeWeaklinking.test_clock_functions) ... skipped 'test weak linking on macOS' test_asctime (test.test_time.TimeTestCase.test_asctime) ... ok test_asctime_bounding_check (test.test_time.TimeTestCase.test_asctime_bounding_check) ... ok test_clock_getres (test.test_time.TimeTestCase.test_clock_getres) ... ok test_clock_monotonic (test.test_time.TimeTestCase.test_clock_monotonic) ... ok test_clock_realtime (test.test_time.TimeTestCase.test_clock_realtime) ... ok test_clock_settime (test.test_time.TimeTestCase.test_clock_settime) ... ok test_conversions (test.test_time.TimeTestCase.test_conversions) ... ok test_ctime (test.test_time.TimeTestCase.test_ctime) ... ok test_ctime_without_arg (test.test_time.TimeTestCase.test_ctime_without_arg) ... ok test_data_attributes (test.test_time.TimeTestCase.test_data_attributes) ... ok test_default_values_for_zero (test.test_time.TimeTestCase.test_default_values_for_zero) ... ok test_epoch (test.test_time.TimeTestCase.test_epoch) ... ok test_get_clock_info (test.test_time.TimeTestCase.test_get_clock_info) ... ok test_gmtime_without_arg (test.test_time.TimeTestCase.test_gmtime_without_arg) ... ok test_insane_timestamps (test.test_time.TimeTestCase.test_insane_timestamps) ... ok test_localtime_failure (test.test_time.TimeTestCase.test_localtime_failure) ... ok test_localtime_without_arg (test.test_time.TimeTestCase.test_localtime_without_arg) ... ok test_mktime (test.test_time.TimeTestCase.test_mktime) ... ok test_mktime_error (test.test_time.TimeTestCase.test_mktime_error) ... skipped 'disabled because of a bug in glibc. Issue #13309' test_monotonic (test.test_time.TimeTestCase.test_monotonic) ... ok test_monotonic_settime (test.test_time.TimeTestCase.test_monotonic_settime) ... skipped '[Errno 1] Operation not permitted' test_perf_counter (test.test_time.TimeTestCase.test_perf_counter) ... ok test_process_time (test.test_time.TimeTestCase.test_process_time) ... ok test_pthread_getcpuclockid (test.test_time.TimeTestCase.test_pthread_getcpuclockid) ... skipped 'need time.pthread_getcpuclockid()' test_sleep (test.test_time.TimeTestCase.test_sleep) ... ok test_sleep_exceptions (test.test_time.TimeTestCase.test_sleep_exceptions) ... ok test_strftime (test.test_time.TimeTestCase.test_strftime) ... ok test_strftime_bounding_check (test.test_time.TimeTestCase.test_strftime_bounding_check) ... ok test_strftime_format_check (test.test_time.TimeTestCase.test_strftime_format_check) ... ok test_strftime_invalid_format (test.test_time.TimeTestCase.test_strftime_invalid_format) ... ok test_strftime_special (test.test_time.TimeTestCase.test_strftime_special) ... FAIL test_strptime (test.test_time.TimeTestCase.test_strptime) ... ok test_strptime_bytes (test.test_time.TimeTestCase.test_strptime_bytes) ... ok test_strptime_exception_context (test.test_time.TimeTestCase.test_strptime_exception_context) ... ok test_thread_time (test.test_time.TimeTestCase.test_thread_time) ... ok test_time (test.test_time.TimeTestCase.test_time) ... ok test_time_ns_type (test.test_time.TimeTestCase.test_time_ns_type) ... ok test_tzset (test.test_time.TimeTestCase.test_tzset) ... ok ====================================================================== FAIL: test_strftime_special (test.test_time.TimeTestCase.test_strftime_special) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_time.py", line 220, in test_strftime_special self.assertEqual(time.strftime('\udcf0\udc9f\udc90\udc8d', tt), '\udcf0\udc9f\udc90\udc8d') ^^^^^^^^^^^ AssertionError: '🐍' != '\udcf0\udc9f\udc90\udc8d' - 🐍 + \udcf0\udc9f\udc90\udc8d ---------------------------------------------------------------------- Ran 62 tests in 3.270s FAILED (failures=1, skipped=4) 0:00:03 load avg: 1.08 [1/1/1] test_time failed (1 failure) == Tests result: FAILURE == 1 test failed: test_time Total duration: 3.4 sec Total tests: run=62 failures=1 skipped=4 Total test files: run=1/1 failed=1 Result: FAILURE test test_time failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1755054æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1854888481 0:00:00 load avg: 1.13 Run 1 test sequentially in a single process 0:00:00 load avg: 1.13 [1/1] test_trace test_loop_caller_importing (test.test_trace.TestCallers.test_loop_caller_importing) ... FAIL test_count_and_summary (test.test_trace.TestCommandLine.test_count_and_summary) ... ok test_failures (test.test_trace.TestCommandLine.test_failures) ... ok test_listfuncs_flag_success (test.test_trace.TestCommandLine.test_listfuncs_flag_success) ... ok test_run_as_module (test.test_trace.TestCommandLine.test_run_as_module) ... ok test_sys_argv_list (test.test_trace.TestCommandLine.test_sys_argv_list) ... ok test_coverage (test.test_trace.TestCoverage.test_coverage) ... skipped "resource 'cpu' is not enabled" test_coverage_ignore (test.test_trace.TestCoverage.test_coverage_ignore) ... ok test_coverageresults_update (test.test_trace.TestCoverage.test_coverageresults_update) ... ok test_issue9936 (test.test_trace.TestCoverage.test_issue9936) ... ERROR test_cover_files_written_no_highlight (test.test_trace.TestCoverageCommandLineOutput.test_cover_files_written_no_highlight) ... ok test_cover_files_written_with_highlight (test.test_trace.TestCoverageCommandLineOutput.test_cover_files_written_with_highlight) ... ok test_arg_errors (test.test_trace.TestFuncs.test_arg_errors) ... ok test_inst_method_calling (test.test_trace.TestFuncs.test_inst_method_calling) ... FAIL test_loop_caller_importing (test.test_trace.TestFuncs.test_loop_caller_importing) ... ok test_simple_caller (test.test_trace.TestFuncs.test_simple_caller) ... ok test_traced_decorated_function (test.test_trace.TestFuncs.test_traced_decorated_function) ... ok test_linear_methods (test.test_trace.TestLineCounts.test_linear_methods) ... ok test_trace_func_generator (test.test_trace.TestLineCounts.test_trace_func_generator) ... ok test_trace_list_comprehension (test.test_trace.TestLineCounts.test_trace_list_comprehension) ... FAIL test_traced_decorated_function (test.test_trace.TestLineCounts.test_traced_decorated_function) ... ok test_traced_func_importing (test.test_trace.TestLineCounts.test_traced_func_importing) ... ok test_traced_func_linear (test.test_trace.TestLineCounts.test_traced_func_linear) ... ok test_traced_func_loop (test.test_trace.TestLineCounts.test_traced_func_loop) ... ok test_exec_counts (test.test_trace.TestRunExecCounts.test_exec_counts) ... ok test_no_source_file (test.test_trace.TestTrace.test_no_source_file) ... ok test_ignored (test.test_trace.Test_Ignore.test_ignored) ... ok ====================================================================== ERROR: test_issue9936 (test.test_trace.TestCoverage.test_issue9936) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_trace.py", line 409, in test_issue9936 self._coverage(tracer, cmd) ^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_trace.py", line 374, in _coverage r.write_results(show_missing=True, summary=True, coverdir=TESTFN) ^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/trace.py", line 272, in write_results with open(filename, 'rb') as fp: ^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '<builtin>/frozen importlib._bootstrap_external' ====================================================================== FAIL: test_loop_caller_importing (test.test_trace.TestCallers.test_loop_caller_importing) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_trace.py", line 352, in test_loop_caller_importing self.assertEqual(self.tracer.results().callers, expected) ^^^^^^^^^^^ AssertionError: {(('/[69 chars]e', 'runfunc'), ('/build_dir/pypy-c-jit-linux-[1058 chars]): 1} != {(('/[69 chars]e', 'Trace.runfunc'), ('/build_dir/pypy-c-jit-[1064 chars]): 1} Diff is 1513 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_inst_method_calling (test.test_trace.TestFuncs.test_inst_method_calling) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_trace.py", line 313, in test_inst_method_calling self.assertEqual(self.tracer.results().calledfuncs, expected) ^^^^^^^^^^^ AssertionError: {('/b[83 chars]e', 'inst_method_calling'): 1, ('/build_dir/py[213 chars]): 1} != {('/b[83 chars]e', 'TracedClass.inst_method_calling'): 1, ('/[237 chars]): 1} Diff is 844 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_trace_list_comprehension (test.test_trace.TestLineCounts.test_trace_list_comprehension) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_trace.py", line 195, in test_trace_list_comprehension self.assertEqual(self.tracer.results().counts, expected) ^^^^^^^^^^^ AssertionError: {('/b[159 chars]6): 12, ('/build_dir/pypy-c-jit-linux-x86-64/b[127 chars]): 1} != {('/b[159 chars]6): 11, ('/build_dir/pypy-c-jit-linux-x86-64/b[127 chars]: 10} {('/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_trace.py', 79): 10, ('/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_trace.py', 85): 1, - ('/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_trace.py', 86): 12, ? ^ + ('/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_trace.py', 86): 11, ? ^ ('/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_trace.py', 87): 1} ---------------------------------------------------------------------- Ran 27 tests in 15.720s FAILED (failures=3, errors=1, skipped=1) 0:00:15 load avg: 1.32 [1/1/1] test_trace failed (1 error, 3 failures) == Tests result: FAILURE == 1 test failed: test_trace Total duration: 15.8 sec Total tests: run=27 failures=3 skipped=1 Total test files: run=1/1 failed=1 Result: FAILURE Not printing coverage data for '<builtin>/frozen importlib._bootstrap_external': [Errno 2] No such file or directory: '<builtin>/frozen importlib._bootstrap_external' test test_trace failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1755075æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2886915367 0:00:00 load avg: 1.32 Run 1 test sequentially in a single process 0:00:00 load avg: 1.32 [1/1] test_traceback test_KeyboardInterrupt_at_first_line_of_frame (test.test_traceback.CExcReportingTests.test_KeyboardInterrupt_at_first_line_of_frame) ... skipped 'implementation detail specific to cpython' test_cause (test.test_traceback.CExcReportingTests.test_cause) ... skipped 'implementation detail specific to cpython' test_cause_and_context (test.test_traceback.CExcReportingTests.test_cause_and_context) ... skipped 'implementation detail specific to cpython' test_cause_recursive (test.test_traceback.CExcReportingTests.test_cause_recursive) ... skipped 'implementation detail specific to cpython' test_context (test.test_traceback.CExcReportingTests.test_context) ... skipped 'implementation detail specific to cpython' test_context_suppression (test.test_traceback.CExcReportingTests.test_context_suppression) ... skipped 'implementation detail specific to cpython' test_exception_angle_bracketed_filename (test.test_traceback.CExcReportingTests.test_exception_angle_bracketed_filename) ... skipped 'implementation detail specific to cpython' test_exception_bad__str__ (test.test_traceback.CExcReportingTests.test_exception_bad__str__) ... skipped 'implementation detail specific to cpython' test_exception_group_basic (test.test_traceback.CExcReportingTests.test_exception_group_basic) ... skipped 'implementation detail specific to cpython' test_exception_group_cause (test.test_traceback.CExcReportingTests.test_exception_group_cause) ... skipped 'implementation detail specific to cpython' test_exception_group_context_with_context (test.test_traceback.CExcReportingTests.test_exception_group_context_with_context) ... skipped 'implementation detail specific to cpython' test_exception_group_depth_limit (test.test_traceback.CExcReportingTests.test_exception_group_depth_limit) ... skipped 'implementation detail specific to cpython' test_exception_group_nested (test.test_traceback.CExcReportingTests.test_exception_group_nested) ... skipped 'implementation detail specific to cpython' test_exception_group_width_limit (test.test_traceback.CExcReportingTests.test_exception_group_width_limit) ... skipped 'implementation detail specific to cpython' test_exception_group_with_multiple_notes (test.test_traceback.CExcReportingTests.test_exception_group_with_multiple_notes) ... skipped 'implementation detail specific to cpython' test_exception_group_with_notes (test.test_traceback.CExcReportingTests.test_exception_group_with_notes) ... skipped 'implementation detail specific to cpython' test_exception_group_wrapped_naked (test.test_traceback.CExcReportingTests.test_exception_group_wrapped_naked) ... skipped 'implementation detail specific to cpython' test_exception_modulename (test.test_traceback.CExcReportingTests.test_exception_modulename) ... test_exception_modulename (test.test_traceback.CExcReportingTests.test_exception_modulename) (modulename='__main__') ... skipped 'implementation detail specific to cpython' test_exception_modulename (test.test_traceback.CExcReportingTests.test_exception_modulename) (modulename='builtins') ... skipped 'implementation detail specific to cpython' test_exception_modulename (test.test_traceback.CExcReportingTests.test_exception_modulename) (modulename='some_module') ... skipped 'implementation detail specific to cpython' test_exception_modulename_not_unicode (test.test_traceback.CExcReportingTests.test_exception_modulename_not_unicode) ... skipped 'implementation detail specific to cpython' test_exception_qualname (test.test_traceback.CExcReportingTests.test_exception_qualname) ... skipped 'implementation detail specific to cpython' test_exception_with_invalid_notes (test.test_traceback.CExcReportingTests.test_exception_with_invalid_notes) ... skipped 'implementation detail specific to cpython' test_exception_with_multiple_notes (test.test_traceback.CExcReportingTests.test_exception_with_multiple_notes) ... test_exception_with_multiple_notes (test.test_traceback.CExcReportingTests.test_exception_with_multiple_notes) (e=ValueError(42)) ... skipped 'implementation detail specific to cpython' test_exception_with_multiple_notes (test.test_traceback.CExcReportingTests.test_exception_with_multiple_notes) (e=SyntaxError('bad syntax')) ... skipped 'implementation detail specific to cpython' test_exception_with_note (test.test_traceback.CExcReportingTests.test_exception_with_note) ... skipped 'implementation detail specific to cpython' test_message_none (test.test_traceback.CExcReportingTests.test_message_none) ... skipped 'implementation detail specific to cpython' test_simple (test.test_traceback.CExcReportingTests.test_simple) ... skipped 'implementation detail specific to cpython' test_syntax_error_no_lineno (test.test_traceback.CExcReportingTests.test_syntax_error_no_lineno) ... skipped 'implementation detail specific to cpython' test_syntax_error_offset_at_eol (test.test_traceback.CExcReportingTests.test_syntax_error_offset_at_eol) ... skipped 'implementation detail specific to cpython' test_syntax_error_various_offsets (test.test_traceback.CExcReportingTests.test_syntax_error_various_offsets) ... skipped 'implementation detail specific to cpython' test_attribute_error_inside_nested_getattr (test.test_traceback.CPythonSuggestionFormattingTests.test_attribute_error_inside_nested_getattr) ... skipped 'implementation detail specific to cpython' test_attribute_error_with_bad_name (test.test_traceback.CPythonSuggestionFormattingTests.test_attribute_error_with_bad_name) ... skipped 'implementation detail specific to cpython' test_attribute_error_with_failing_dict (test.test_traceback.CPythonSuggestionFormattingTests.test_attribute_error_with_failing_dict) ... skipped 'implementation detail specific to cpython' test_getattr_error_bad_suggestions_do_not_trigger_for_small_names (test.test_traceback.CPythonSuggestionFormattingTests.test_getattr_error_bad_suggestions_do_not_trigger_for_small_names) ... skipped 'implementation detail specific to cpython' test_getattr_suggestions (test.test_traceback.CPythonSuggestionFormattingTests.test_getattr_suggestions) ... skipped 'implementation detail specific to cpython' test_getattr_suggestions_do_not_trigger_for_big_dicts (test.test_traceback.CPythonSuggestionFormattingTests.test_getattr_suggestions_do_not_trigger_for_big_dicts) ... skipped 'implementation detail specific to cpython' test_getattr_suggestions_do_not_trigger_for_long_attributes (test.test_traceback.CPythonSuggestionFormattingTests.test_getattr_suggestions_do_not_trigger_for_long_attributes) ... skipped 'implementation detail specific to cpython' test_getattr_suggestions_for_same_name (test.test_traceback.CPythonSuggestionFormattingTests.test_getattr_suggestions_for_same_name) ... skipped 'implementation detail specific to cpython' test_getattr_suggestions_invalid_args (test.test_traceback.CPythonSuggestionFormattingTests.test_getattr_suggestions_invalid_args) ... skipped 'implementation detail specific to cpython' test_getattr_suggestions_no_args (test.test_traceback.CPythonSuggestionFormattingTests.test_getattr_suggestions_no_args) ... skipped 'implementation detail specific to cpython' test_import_from_error_bad_suggestions_do_not_trigger_for_small_names (test.test_traceback.CPythonSuggestionFormattingTests.test_import_from_error_bad_suggestions_do_not_trigger_for_small_names) ... skipped 'implementation detail specific to cpython' test_import_from_error_with_bad_name (test.test_traceback.CPythonSuggestionFormattingTests.test_import_from_error_with_bad_name) ... skipped 'implementation detail specific to cpython' test_import_from_suggestions (test.test_traceback.CPythonSuggestionFormattingTests.test_import_from_suggestions) ... skipped 'implementation detail specific to cpython' test_import_from_suggestions_do_not_trigger_for_big_namespaces (test.test_traceback.CPythonSuggestionFormattingTests.test_import_from_suggestions_do_not_trigger_for_big_namespaces) ... skipped 'implementation detail specific to cpython' test_import_from_suggestions_do_not_trigger_for_long_attributes (test.test_traceback.CPythonSuggestionFormattingTests.test_import_from_suggestions_do_not_trigger_for_long_attributes) ... skipped 'implementation detail specific to cpython' test_name_error_bad_suggestions_do_not_trigger_for_small_names (test.test_traceback.CPythonSuggestionFormattingTests.test_name_error_bad_suggestions_do_not_trigger_for_small_names) ... skipped 'implementation detail specific to cpython' test_name_error_for_private_stdlib_modules (test.test_traceback.CPythonSuggestionFormattingTests.test_name_error_for_private_stdlib_modules) ... skipped 'implementation detail specific to cpython' test_name_error_for_stdlib_modules (test.test_traceback.CPythonSuggestionFormattingTests.test_name_error_for_stdlib_modules) ... skipped 'implementation detail specific to cpython' test_name_error_suggestions (test.test_traceback.CPythonSuggestionFormattingTests.test_name_error_suggestions) ... skipped 'implementation detail specific to cpython' test_name_error_suggestions_do_not_trigger_for_long_names (test.test_traceback.CPythonSuggestionFormattingTests.test_name_error_suggestions_do_not_trigger_for_long_names) ... skipped 'implementation detail specific to cpython' test_name_error_suggestions_do_not_trigger_for_too_many_locals (test.test_traceback.CPythonSuggestionFormattingTests.test_name_error_suggestions_do_not_trigger_for_too_many_locals) ... skipped 'implementation detail specific to cpython' test_name_error_suggestions_from_builtins (test.test_traceback.CPythonSuggestionFormattingTests.test_name_error_suggestions_from_builtins) ... skipped 'implementation detail specific to cpython' test_name_error_suggestions_from_builtins_when_builtins_is_module (test.test_traceback.CPythonSuggestionFormattingTests.test_name_error_suggestions_from_builtins_when_builtins_is_module) ... skipped 'implementation detail specific to cpython' test_name_error_suggestions_from_globals (test.test_traceback.CPythonSuggestionFormattingTests.test_name_error_suggestions_from_globals) ... skipped 'implementation detail specific to cpython' test_name_error_with_custom_exceptions (test.test_traceback.CPythonSuggestionFormattingTests.test_name_error_with_custom_exceptions) ... skipped 'implementation detail specific to cpython' test_name_error_with_instance (test.test_traceback.CPythonSuggestionFormattingTests.test_name_error_with_instance) ... skipped 'implementation detail specific to cpython' test_unbound_local_error_does_not_match (test.test_traceback.CPythonSuggestionFormattingTests.test_unbound_local_error_does_not_match) ... skipped 'implementation detail specific to cpython' test_unbound_local_error_with_instance (test.test_traceback.CPythonSuggestionFormattingTests.test_unbound_local_error_with_instance) ... skipped 'implementation detail specific to cpython' test_basic_caret (test.test_traceback.CPythonTracebackErrorCaretTests.test_basic_caret) ... skipped 'implementation detail specific to cpython' test_byte_offset_multiline (test.test_traceback.CPythonTracebackErrorCaretTests.test_byte_offset_multiline) ... skipped 'implementation detail specific to cpython' test_byte_offset_wide_chars_subscript (test.test_traceback.CPythonTracebackErrorCaretTests.test_byte_offset_wide_chars_subscript) ... skipped 'implementation detail specific to cpython' test_byte_offset_with_emojis_term_highlight (test.test_traceback.CPythonTracebackErrorCaretTests.test_byte_offset_with_emojis_term_highlight) ... skipped 'implementation detail specific to cpython' test_byte_offset_with_wide_characters_middle (test.test_traceback.CPythonTracebackErrorCaretTests.test_byte_offset_with_wide_characters_middle) ... skipped 'implementation detail specific to cpython' test_byte_offset_with_wide_characters_term_highlight (test.test_traceback.CPythonTracebackErrorCaretTests.test_byte_offset_with_wide_characters_term_highlight) ... skipped 'implementation detail specific to cpython' test_caret_exception_group (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_exception_group) ... skipped 'implementation detail specific to cpython' test_caret_for_binary_operators (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_binary_operators) ... skipped 'implementation detail specific to cpython' test_caret_for_binary_operators_two_char (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_binary_operators_two_char) ... skipped 'implementation detail specific to cpython' test_caret_for_binary_operators_with_spaces_and_parenthesis (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_binary_operators_with_spaces_and_parenthesis) ... skipped 'implementation detail specific to cpython' test_caret_for_binary_operators_with_unicode (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_binary_operators_with_unicode) ... skipped 'implementation detail specific to cpython' test_caret_for_failed_assertion (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_failed_assertion) ... skipped 'implementation detail specific to cpython' test_caret_for_subscript (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_subscript) ... skipped 'implementation detail specific to cpython' test_caret_for_subscript_unicode (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_subscript_unicode) ... skipped 'implementation detail specific to cpython' test_caret_for_subscript_with_spaces_and_parenthesis (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_subscript_with_spaces_and_parenthesis) ... skipped 'implementation detail specific to cpython' test_caret_in_type_annotation (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_in_type_annotation) ... skipped 'implementation detail specific to cpython' test_caret_multiline_expression (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_multiline_expression) ... skipped 'implementation detail specific to cpython' test_caret_multiline_expression_bin_op (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_multiline_expression_bin_op) ... skipped 'implementation detail specific to cpython' test_caret_multiline_expression_syntax_error (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_multiline_expression_syntax_error) ... skipped 'implementation detail specific to cpython' test_decorator_application_lineno_correct (test.test_traceback.CPythonTracebackErrorCaretTests.test_decorator_application_lineno_correct) ... skipped 'implementation detail specific to cpython' test_line_with_unicode (test.test_traceback.CPythonTracebackErrorCaretTests.test_line_with_unicode) ... skipped 'implementation detail specific to cpython' test_multiline_method_call_a (test.test_traceback.CPythonTracebackErrorCaretTests.test_multiline_method_call_a) ... skipped 'implementation detail specific to cpython' test_multiline_method_call_b (test.test_traceback.CPythonTracebackErrorCaretTests.test_multiline_method_call_b) ... skipped 'implementation detail specific to cpython' test_multiline_method_call_c (test.test_traceback.CPythonTracebackErrorCaretTests.test_multiline_method_call_c) ... skipped 'implementation detail specific to cpython' test_secondary_caret_not_elided (test.test_traceback.CPythonTracebackErrorCaretTests.test_secondary_caret_not_elided) ... skipped 'implementation detail specific to cpython' test_specialization_variations (test.test_traceback.CPythonTracebackErrorCaretTests.test_specialization_variations) ... skipped 'implementation detail specific to cpython' test_traceback_specialization_with_syntax_error (test.test_traceback.CPythonTracebackErrorCaretTests.test_traceback_specialization_with_syntax_error) ... skipped 'implementation detail specific to cpython' test_traceback_very_long_line (test.test_traceback.CPythonTracebackErrorCaretTests.test_traceback_very_long_line) ... skipped 'implementation detail specific to cpython' test_wide_characters_unicode_with_problematic_byte_offset (test.test_traceback.CPythonTracebackErrorCaretTests.test_wide_characters_unicode_with_problematic_byte_offset) ... skipped 'implementation detail specific to cpython' test_basic_caret (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_basic_caret) ... skipped 'implementation detail specific to cpython' test_byte_offset_multiline (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_byte_offset_multiline) ... skipped 'implementation detail specific to cpython' test_byte_offset_wide_chars_subscript (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_byte_offset_wide_chars_subscript) ... skipped 'implementation detail specific to cpython' test_byte_offset_with_emojis_term_highlight (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_byte_offset_with_emojis_term_highlight) ... skipped 'implementation detail specific to cpython' test_byte_offset_with_wide_characters_middle (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_byte_offset_with_wide_characters_middle) ... skipped 'implementation detail specific to cpython' test_byte_offset_with_wide_characters_term_highlight (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_byte_offset_with_wide_characters_term_highlight) ... skipped 'implementation detail specific to cpython' test_caret_exception_group (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_exception_group) ... skipped 'implementation detail specific to cpython' test_caret_for_binary_operators (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_binary_operators) ... skipped 'implementation detail specific to cpython' test_caret_for_binary_operators_two_char (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_binary_operators_two_char) ... skipped 'implementation detail specific to cpython' test_caret_for_binary_operators_with_spaces_and_parenthesis (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_binary_operators_with_spaces_and_parenthesis) ... skipped 'implementation detail specific to cpython' test_caret_for_binary_operators_with_unicode (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_binary_operators_with_unicode) ... skipped 'implementation detail specific to cpython' test_caret_for_failed_assertion (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_failed_assertion) ... skipped 'implementation detail specific to cpython' test_caret_for_subscript (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_subscript) ... skipped 'implementation detail specific to cpython' test_caret_for_subscript_unicode (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_subscript_unicode) ... skipped 'implementation detail specific to cpython' test_caret_for_subscript_with_spaces_and_parenthesis (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_subscript_with_spaces_and_parenthesis) ... skipped 'implementation detail specific to cpython' test_caret_in_type_annotation (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_in_type_annotation) ... skipped 'implementation detail specific to cpython' test_caret_multiline_expression (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_multiline_expression) ... skipped 'implementation detail specific to cpython' test_caret_multiline_expression_bin_op (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_multiline_expression_bin_op) ... skipped 'implementation detail specific to cpython' test_caret_multiline_expression_syntax_error (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_multiline_expression_syntax_error) ... skipped 'implementation detail specific to cpython' test_decorator_application_lineno_correct (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_decorator_application_lineno_correct) ... skipped 'implementation detail specific to cpython' test_line_with_unicode (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_line_with_unicode) ... skipped 'implementation detail specific to cpython' test_multiline_method_call_a (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_multiline_method_call_a) ... skipped 'implementation detail specific to cpython' test_multiline_method_call_b (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_multiline_method_call_b) ... skipped 'implementation detail specific to cpython' test_multiline_method_call_c (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_multiline_method_call_c) ... skipped 'implementation detail specific to cpython' test_secondary_caret_not_elided (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_secondary_caret_not_elided) ... skipped 'implementation detail specific to cpython' test_specialization_variations (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_specialization_variations) ... skipped 'implementation detail specific to cpython' test_traceback_specialization_with_syntax_error (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_traceback_specialization_with_syntax_error) ... skipped 'implementation detail specific to cpython' test_traceback_very_long_line (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_traceback_very_long_line) ... skipped 'implementation detail specific to cpython' test_wide_characters_unicode_with_problematic_byte_offset (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_wide_characters_unicode_with_problematic_byte_offset) ... skipped 'implementation detail specific to cpython' test_extract_stack (test.test_traceback.LimitTests.test_extract_stack) ... ok test_extract_tb (test.test_traceback.LimitTests.test_extract_tb) ... ok test_format_exception (test.test_traceback.LimitTests.test_format_exception) ... ok test_all (test.test_traceback.MiscTest.test_all) ... ok test_levenshtein_distance (test.test_traceback.MiscTest.test_levenshtein_distance) ... ok test_levenshtein_distance_short_circuit (test.test_traceback.MiscTest.test_levenshtein_distance_short_circuit) ... skipped "resource 'cpu' is not enabled" test_clear (test.test_traceback.MiscTracebackCases.test_clear) ... ok test_extract_stack (test.test_traceback.MiscTracebackCases.test_extract_stack) ... ok test_attribute_error_inside_nested_getattr (test.test_traceback.PurePythonSuggestionFormattingTests.test_attribute_error_inside_nested_getattr) ... ok test_attribute_error_with_bad_name (test.test_traceback.PurePythonSuggestionFormattingTests.test_attribute_error_with_bad_name) ... ok test_attribute_error_with_failing_dict (test.test_traceback.PurePythonSuggestionFormattingTests.test_attribute_error_with_failing_dict) ... ok test_getattr_error_bad_suggestions_do_not_trigger_for_small_names (test.test_traceback.PurePythonSuggestionFormattingTests.test_getattr_error_bad_suggestions_do_not_trigger_for_small_names) ... ok test_getattr_suggestions (test.test_traceback.PurePythonSuggestionFormattingTests.test_getattr_suggestions) ... ok test_getattr_suggestions_do_not_trigger_for_big_dicts (test.test_traceback.PurePythonSuggestionFormattingTests.test_getattr_suggestions_do_not_trigger_for_big_dicts) ... ok test_getattr_suggestions_do_not_trigger_for_long_attributes (test.test_traceback.PurePythonSuggestionFormattingTests.test_getattr_suggestions_do_not_trigger_for_long_attributes) ... ok test_getattr_suggestions_for_same_name (test.test_traceback.PurePythonSuggestionFormattingTests.test_getattr_suggestions_for_same_name) ... ok test_getattr_suggestions_invalid_args (test.test_traceback.PurePythonSuggestionFormattingTests.test_getattr_suggestions_invalid_args) ... ok test_getattr_suggestions_no_args (test.test_traceback.PurePythonSuggestionFormattingTests.test_getattr_suggestions_no_args) ... ok test_import_from_error_bad_suggestions_do_not_trigger_for_small_names (test.test_traceback.PurePythonSuggestionFormattingTests.test_import_from_error_bad_suggestions_do_not_trigger_for_small_names) ... ok test_import_from_error_with_bad_name (test.test_traceback.PurePythonSuggestionFormattingTests.test_import_from_error_with_bad_name) ... ok test_import_from_suggestions (test.test_traceback.PurePythonSuggestionFormattingTests.test_import_from_suggestions) ... FAIL test_import_from_suggestions_do_not_trigger_for_big_namespaces (test.test_traceback.PurePythonSuggestionFormattingTests.test_import_from_suggestions_do_not_trigger_for_big_namespaces) ... ok test_import_from_suggestions_do_not_trigger_for_long_attributes (test.test_traceback.PurePythonSuggestionFormattingTests.test_import_from_suggestions_do_not_trigger_for_long_attributes) ... ok test_name_error_bad_suggestions_do_not_trigger_for_small_names (test.test_traceback.PurePythonSuggestionFormattingTests.test_name_error_bad_suggestions_do_not_trigger_for_small_names) ... ok test_name_error_for_private_stdlib_modules (test.test_traceback.PurePythonSuggestionFormattingTests.test_name_error_for_private_stdlib_modules) ... ok test_name_error_for_stdlib_modules (test.test_traceback.PurePythonSuggestionFormattingTests.test_name_error_for_stdlib_modules) ... ok test_name_error_suggestions (test.test_traceback.PurePythonSuggestionFormattingTests.test_name_error_suggestions) ... ok test_name_error_suggestions_do_not_trigger_for_long_names (test.test_traceback.PurePythonSuggestionFormattingTests.test_name_error_suggestions_do_not_trigger_for_long_names) ... ok test_name_error_suggestions_do_not_trigger_for_too_many_locals (test.test_traceback.PurePythonSuggestionFormattingTests.test_name_error_suggestions_do_not_trigger_for_too_many_locals) ... ok test_name_error_suggestions_from_builtins (test.test_traceback.PurePythonSuggestionFormattingTests.test_name_error_suggestions_from_builtins) ... ok test_name_error_suggestions_from_builtins_when_builtins_is_module (test.test_traceback.PurePythonSuggestionFormattingTests.test_name_error_suggestions_from_builtins_when_builtins_is_module) ... ok test_name_error_suggestions_from_globals (test.test_traceback.PurePythonSuggestionFormattingTests.test_name_error_suggestions_from_globals) ... ok test_name_error_with_custom_exceptions (test.test_traceback.PurePythonSuggestionFormattingTests.test_name_error_with_custom_exceptions) ... ok test_name_error_with_instance (test.test_traceback.PurePythonSuggestionFormattingTests.test_name_error_with_instance) ... ok test_unbound_local_error_does_not_match (test.test_traceback.PurePythonSuggestionFormattingTests.test_unbound_local_error_does_not_match) ... ok test_unbound_local_error_with_instance (test.test_traceback.PurePythonSuggestionFormattingTests.test_unbound_local_error_with_instance) ... ok test_basic_caret (test.test_traceback.PurePythonTracebackErrorCaretTests.test_basic_caret) ... ok test_byte_offset_multiline (test.test_traceback.PurePythonTracebackErrorCaretTests.test_byte_offset_multiline) ... ok test_byte_offset_wide_chars_subscript (test.test_traceback.PurePythonTracebackErrorCaretTests.test_byte_offset_wide_chars_subscript) ... ok test_byte_offset_with_emojis_term_highlight (test.test_traceback.PurePythonTracebackErrorCaretTests.test_byte_offset_with_emojis_term_highlight) ... ok test_byte_offset_with_wide_characters_middle (test.test_traceback.PurePythonTracebackErrorCaretTests.test_byte_offset_with_wide_characters_middle) ... ok test_byte_offset_with_wide_characters_term_highlight (test.test_traceback.PurePythonTracebackErrorCaretTests.test_byte_offset_with_wide_characters_term_highlight) ... ok test_caret_exception_group (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_exception_group) ... ok test_caret_for_binary_operators (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_binary_operators) ... ok test_caret_for_binary_operators_two_char (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_binary_operators_two_char) ... ok test_caret_for_binary_operators_with_spaces_and_parenthesis (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_binary_operators_with_spaces_and_parenthesis) ... ok test_caret_for_binary_operators_with_unicode (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_binary_operators_with_unicode) ... ok test_caret_for_failed_assertion (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_failed_assertion) ... ok test_caret_for_subscript (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_subscript) ... ok test_caret_for_subscript_unicode (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_subscript_unicode) ... ok test_caret_for_subscript_with_spaces_and_parenthesis (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_subscript_with_spaces_and_parenthesis) ... ok test_caret_in_type_annotation (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_in_type_annotation) ... ok test_caret_multiline_expression (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_multiline_expression) ... ok test_caret_multiline_expression_bin_op (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_multiline_expression_bin_op) ... ok test_caret_multiline_expression_syntax_error (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_multiline_expression_syntax_error) ... FAIL test_decorator_application_lineno_correct (test.test_traceback.PurePythonTracebackErrorCaretTests.test_decorator_application_lineno_correct) ... ok test_line_with_unicode (test.test_traceback.PurePythonTracebackErrorCaretTests.test_line_with_unicode) ... ok test_multiline_method_call_a (test.test_traceback.PurePythonTracebackErrorCaretTests.test_multiline_method_call_a) ... ok test_multiline_method_call_b (test.test_traceback.PurePythonTracebackErrorCaretTests.test_multiline_method_call_b) ... ok test_multiline_method_call_c (test.test_traceback.PurePythonTracebackErrorCaretTests.test_multiline_method_call_c) ... skipped 'implementation detail specific to cpython' test_secondary_caret_not_elided (test.test_traceback.PurePythonTracebackErrorCaretTests.test_secondary_caret_not_elided) ... ok test_specialization_variations (test.test_traceback.PurePythonTracebackErrorCaretTests.test_specialization_variations) ... ok test_traceback_specialization_with_syntax_error (test.test_traceback.PurePythonTracebackErrorCaretTests.test_traceback_specialization_with_syntax_error) ... FAIL test_traceback_very_long_line (test.test_traceback.PurePythonTracebackErrorCaretTests.test_traceback_very_long_line) ... FAIL test_wide_characters_unicode_with_problematic_byte_offset (test.test_traceback.PurePythonTracebackErrorCaretTests.test_wide_characters_unicode_with_problematic_byte_offset) ... ok test_KeyboardInterrupt_at_first_line_of_frame (test.test_traceback.PyExcReportingTests.test_KeyboardInterrupt_at_first_line_of_frame) ... skipped 'implementation detail specific to cpython' test_cause (test.test_traceback.PyExcReportingTests.test_cause) ... ok test_cause_and_context (test.test_traceback.PyExcReportingTests.test_cause_and_context) ... ok test_cause_recursive (test.test_traceback.PyExcReportingTests.test_cause_recursive) ... ok test_context (test.test_traceback.PyExcReportingTests.test_context) ... ok test_context_suppression (test.test_traceback.PyExcReportingTests.test_context_suppression) ... ok test_exception_angle_bracketed_filename (test.test_traceback.PyExcReportingTests.test_exception_angle_bracketed_filename) ... ok test_exception_bad__str__ (test.test_traceback.PyExcReportingTests.test_exception_bad__str__) ... ok test_exception_group_basic (test.test_traceback.PyExcReportingTests.test_exception_group_basic) ... ok test_exception_group_cause (test.test_traceback.PyExcReportingTests.test_exception_group_cause) ... ok test_exception_group_context_with_context (test.test_traceback.PyExcReportingTests.test_exception_group_context_with_context) ... ok test_exception_group_depth_limit (test.test_traceback.PyExcReportingTests.test_exception_group_depth_limit) ... ok test_exception_group_nested (test.test_traceback.PyExcReportingTests.test_exception_group_nested) ... ok test_exception_group_width_limit (test.test_traceback.PyExcReportingTests.test_exception_group_width_limit) ... ok test_exception_group_with_multiple_notes (test.test_traceback.PyExcReportingTests.test_exception_group_with_multiple_notes) ... ok test_exception_group_with_notes (test.test_traceback.PyExcReportingTests.test_exception_group_with_notes) ... ok test_exception_group_wrapped_naked (test.test_traceback.PyExcReportingTests.test_exception_group_wrapped_naked) ... FAIL test_exception_modulename (test.test_traceback.PyExcReportingTests.test_exception_modulename) ... ok test_exception_modulename_not_unicode (test.test_traceback.PyExcReportingTests.test_exception_modulename_not_unicode) ... ok test_exception_qualname (test.test_traceback.PyExcReportingTests.test_exception_qualname) ... ok test_exception_with_invalid_notes (test.test_traceback.PyExcReportingTests.test_exception_with_invalid_notes) ... ok test_exception_with_multiple_notes (test.test_traceback.PyExcReportingTests.test_exception_with_multiple_notes) ... ok test_exception_with_note (test.test_traceback.PyExcReportingTests.test_exception_with_note) ... ok test_message_none (test.test_traceback.PyExcReportingTests.test_message_none) ... ok test_simple (test.test_traceback.PyExcReportingTests.test_simple) ... ok test_syntax_error_no_lineno (test.test_traceback.PyExcReportingTests.test_syntax_error_no_lineno) ... ok test_syntax_error_offset_at_eol (test.test_traceback.PyExcReportingTests.test_syntax_error_offset_at_eol) ... ok test_syntax_error_various_offsets (test.test_traceback.PyExcReportingTests.test_syntax_error_various_offsets) ... ok test_basics (test.test_traceback.TestFrame.test_basics) ... ok test_explicit_line (test.test_traceback.TestFrame.test_explicit_line) ... ok test_lazy_lines (test.test_traceback.TestFrame.test_lazy_lines) ... ok test_len (test.test_traceback.TestFrame.test_len) ... ok test_no_line (test.test_traceback.TestFrame.test_no_line) ... ok test_custom_format_frame (test.test_traceback.TestStack.test_custom_format_frame) ... ok test_dropping_frames (test.test_traceback.TestStack.test_dropping_frames) ... skipped 'implementation detail specific to cpython' test_extract_stack (test.test_traceback.TestStack.test_extract_stack) ... ok test_extract_stack_limit (test.test_traceback.TestStack.test_extract_stack_limit) ... ok test_extract_stack_lookup_lines (test.test_traceback.TestStack.test_extract_stack_lookup_lines) ... ok test_extract_stackup_deferred_lookup_lines (test.test_traceback.TestStack.test_extract_stackup_deferred_lookup_lines) ... ok test_format_locals (test.test_traceback.TestStack.test_format_locals) ... ok test_format_smoke (test.test_traceback.TestStack.test_format_smoke) ... ok test_from_list (test.test_traceback.TestStack.test_from_list) ... ok test_from_list_edited_stack (test.test_traceback.TestStack.test_from_list_edited_stack) ... ok test_locals (test.test_traceback.TestStack.test_locals) ... ok test_no_locals (test.test_traceback.TestStack.test_no_locals) ... ok test_walk_stack (test.test_traceback.TestStack.test_walk_stack) ... skipped 'implementation detail specific to cpython' test_walk_tb (test.test_traceback.TestStack.test_walk_tb) ... ok test_cause (test.test_traceback.TestTracebackException.test_cause) ... ok test_compact_no_cause (test.test_traceback.TestTracebackException.test_compact_no_cause) ... ok test_compact_with_cause (test.test_traceback.TestTracebackException.test_compact_with_cause) ... ok test_comparison_basic (test.test_traceback.TestTracebackException.test_comparison_basic) ... ok test_comparison_equivalent_exceptions_are_equal (test.test_traceback.TestTracebackException.test_comparison_equivalent_exceptions_are_equal) ... ok test_comparison_params_variations (test.test_traceback.TestTracebackException.test_comparison_params_variations) ... ok test_context (test.test_traceback.TestTracebackException.test_context) ... ok test_from_exception (test.test_traceback.TestTracebackException.test_from_exception) ... ok test_limit (test.test_traceback.TestTracebackException.test_limit) ... ok test_locals (test.test_traceback.TestTracebackException.test_locals) ... ok test_long_context_chain (test.test_traceback.TestTracebackException.test_long_context_chain) ... ok test_lookup_lines (test.test_traceback.TestTracebackException.test_lookup_lines) ... ok test_no_locals (test.test_traceback.TestTracebackException.test_no_locals) ... ok test_no_refs_to_exception_and_traceback_objects (test.test_traceback.TestTracebackException.test_no_refs_to_exception_and_traceback_objects) ... skipped 'implementation detail specific to cpython' test_print (test.test_traceback.TestTracebackException.test_print) ... ok test_smoke (test.test_traceback.TestTracebackException.test_smoke) ... ok test_traceback_header (test.test_traceback.TestTracebackException.test_traceback_header) ... ok test_unhashable (test.test_traceback.TestTracebackException.test_unhashable) ... ok test_comparison (test.test_traceback.TestTracebackException_ExceptionGroups.test_comparison) ... ok test_exception_group_construction (test.test_traceback.TestTracebackException_ExceptionGroups.test_exception_group_construction) ... ok test_exception_group_format (test.test_traceback.TestTracebackException_ExceptionGroups.test_exception_group_format) ... ok test_exception_group_format_exception_only (test.test_traceback.TestTracebackException_ExceptionGroups.test_exception_group_format_exception_only) ... ok test_max_group_depth (test.test_traceback.TestTracebackException_ExceptionGroups.test_max_group_depth) ... ok test_max_group_width (test.test_traceback.TestTracebackException_ExceptionGroups.test_max_group_width) ... ok test_bad_indentation (test.test_traceback.TracebackCases.test_bad_indentation) ... ok test_base_exception (test.test_traceback.TracebackCases.test_base_exception) ... ok test_caret (test.test_traceback.TracebackCases.test_caret) ... ok test_encoded_file (test.test_traceback.TracebackCases.test_encoded_file) ... ok test_exception_is_None (test.test_traceback.TracebackCases.test_exception_is_None) ... ok test_format_exception_exc (test.test_traceback.TracebackCases.test_format_exception_exc) ... ok test_format_exception_only_bad__str__ (test.test_traceback.TracebackCases.test_format_exception_only_bad__str__) ... ok test_format_exception_only_exc (test.test_traceback.TracebackCases.test_format_exception_only_exc) ... ok test_no_caret_with_no_debug_ranges_flag (test.test_traceback.TracebackCases.test_no_caret_with_no_debug_ranges_flag) ... skipped 'implementation detail specific to cpython' test_no_caret_with_no_debug_ranges_flag_python_traceback (test.test_traceback.TracebackCases.test_no_caret_with_no_debug_ranges_flag_python_traceback) ... skipped 'implementation detail specific to cpython' test_nocaret (test.test_traceback.TracebackCases.test_nocaret) ... ok test_print_exception (test.test_traceback.TracebackCases.test_print_exception) ... ok test_print_exception_exc (test.test_traceback.TracebackCases.test_print_exception_exc) ... ok test_print_last (test.test_traceback.TracebackCases.test_print_last) ... ok test_print_traceback_at_exit (test.test_traceback.TracebackCases.test_print_traceback_at_exit) ... skipped 'implementation detail not available on pypy' test_recursion_error_during_traceback (test.test_traceback.TracebackCases.test_recursion_error_during_traceback) ... ok test_signatures (test.test_traceback.TracebackCases.test_signatures) ... ok test_exception_group_deep_recursion_capi (test.test_traceback.TracebackFormatTests.test_exception_group_deep_recursion_capi) ... skipped 'implementation detail specific to cpython' test_exception_group_deep_recursion_traceback (test.test_traceback.TracebackFormatTests.test_exception_group_deep_recursion_traceback) ... ok test_format_stack (test.test_traceback.TracebackFormatTests.test_format_stack) ... ok test_print_exception_bad_type_capi (test.test_traceback.TracebackFormatTests.test_print_exception_bad_type_capi) ... skipped 'implementation detail specific to cpython' test_print_exception_bad_type_python (test.test_traceback.TracebackFormatTests.test_print_exception_bad_type_python) ... ok test_print_stack (test.test_traceback.TracebackFormatTests.test_print_stack) ... ok test_recursive_traceback_cpython_internal (test.test_traceback.TracebackFormatTests.test_recursive_traceback_cpython_internal) ... skipped 'implementation detail specific to cpython' test_recursive_traceback_python (test.test_traceback.TracebackFormatTests.test_recursive_traceback_python) ... ok test_stack_format (test.test_traceback.TracebackFormatTests.test_stack_format) ... ok test_traceback_format (test.test_traceback.TracebackFormatTests.test_traceback_format) ... skipped 'implementation detail specific to cpython' test_traceback_format_with_cleared_frames (test.test_traceback.TracebackFormatTests.test_traceback_format_with_cleared_frames) ... skipped 'implementation detail specific to cpython' test_unhashable (test.test_traceback.TracebackFormatTests.test_unhashable) ... skipped 'implementation detail specific to cpython' ====================================================================== FAIL: test_import_from_suggestions (test.test_traceback.PurePythonSuggestionFormattingTests.test_import_from_suggestions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_traceback.py", line 3353, in test_import_from_suggestions self.assertIn(suggestion, actual) ^^^^^^^^ AssertionError: "'bluchin'?" not found in "ImportError: cannot import name 'bluch' from 'ZXvNDflhXwmcTYgT' (/tmp/pytest/tmp5rdazmm6/ZXvNDflhXwmcTYgT.py)" ====================================================================== FAIL: test_caret_multiline_expression_syntax_error (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_multiline_expression_syntax_error) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_traceback.py", line 545, in test_caret_multiline_expression_syntax_error self.assertEqual(result_lines, expected_f.splitlines()) ^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[413 chars] for z in', ' range(10), b, c)'[25 chars]^^^'] != ['Tra[413 chars] ^'] First differing element 8: ' for z in' ' ^' First list contains 2 additional elements. First extra element 9: ' range(10), b, c)' ['Traceback (most recent call last):', ' File ' '"/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_traceback.py", ' 'line 407, in get_exception', ' callable()', ' File ' '"/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_traceback.py", ' 'line 528, in f_with_multiline', ' return compile(code, "?", "exec")', ' ^^^^^^^^^^^^^^^^^^^^^^^^^^', ' File "?", line 7', ' foo(a, z', + ' ^'] - ' for z in', - ' range(10), b, c)', - ' ^^^^^^^^^^^^^^'] ====================================================================== FAIL: test_traceback_specialization_with_syntax_error (test.test_traceback.PurePythonTracebackErrorCaretTests.test_traceback_specialization_with_syntax_error) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_traceback.py", line 726, in test_traceback_specialization_with_syntax_error self.assertEqual(result_lines, expected_error.splitlines()) ^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[173 chars]ile "/build_dir/pypy-c-jit-linux-x86-64/build/[242 chars]^^^'] != ['Tra[173 chars]ile "@test_1755075_tmpæ", line 1, in <module>'[30 chars]^^^'] First differing element 3: ' File "/build_dir/pypy-c-jit-linux-x86-64/build/[45 chars]ll__' ' File "@test_1755075_tmpæ", line 1, in <module>' First list contains 3 additional elements. First extra element 6: ' File "@test_1755075_tmpæ", line 1, in <module>' ['Traceback (most recent call last):', ' File ' '"/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_traceback.py", ' 'line 407, in get_exception', ' callable()', - ' File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/functools.py", ' - 'line 303, in __call__', - ' return self.func(*self.args, *args, **keywords)', - ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^', ' File "@test_1755075_tmpæ", line 1, in <module>', ' 1 $ 0 / 1 / 2', ' ^^^^^'] ====================================================================== FAIL: test_traceback_very_long_line (test.test_traceback.PurePythonTracebackErrorCaretTests.test_traceback_very_long_line) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_traceback.py", line 748, in test_traceback_very_long_line self.assertEqual(result_lines, expected_error.splitlines()) ^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[173 chars]ile "/build_dir/pypy-c-jit-linux-x86-64/build/[481 chars]aaa'] != ['Tra[173 chars]ile "@test_1755075_tmpæ", line 1, in <module>'[542 chars]^^^'] First differing element 3: ' File "/build_dir/pypy-c-jit-linux-x86-64/build/[45 chars]ll__' ' File "@test_1755075_tmpæ", line 1, in <module>' First list contains 2 additional elements. First extra element 6: ' File "@test_1755075_tmpæ", line 1, in <module>' Diff is 1831 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_exception_group_wrapped_naked (test.test_traceback.PyExcReportingTests.test_exception_group_wrapped_naked) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_traceback.py", line 2205, in test_exception_group_wrapped_naked self.assertEqual(report, expected) ^^^^^^^^^^^ AssertionError: ' + [204 chars]n | ExceptionGroup: (1 sub-exception)\n +-+[282 chars]--\n' != ' + [204 chars]n | File "/build_dir/pypy-c-jit-linux-x86-6[425 chars]--\n' Diff is 696 characters long. Set self.maxDiff to None to see it. ---------------------------------------------------------------------- Ran 279 tests in 1.541s FAILED (failures=5, skipped=132) 0:00:01 load avg: 1.32 [1/1/1] test_traceback failed (5 failures) == Tests result: FAILURE == 1 test failed: test_traceback Total duration: 1.7 sec Total tests: run=279 failures=5 skipped=132 Total test files: run=1/1 failed=1 Result: FAILURE test test_traceback failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1755097æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3837092561 0:00:00 load avg: 1.32 Run 1 test sequentially in a single process 0:00:00 load avg: 1.32 [1/1] test_tracemalloc 0:00:00 load avg: 1.32 [1/1/1] test_tracemalloc failed (uncaught exception) == Tests result: FAILURE == 1 test failed: test_tracemalloc Total duration: 75 ms Total tests: run=0 Total test files: run=1/1 failed=1 Result: FAILURE test test_tracemalloc crashed -- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc _load_run_test(result, runtests) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 128, in _load_run_test test_mod = importlib.import_module(module_name) ^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<builtin>/frozen importlib._bootstrap_external", line 1011, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tracemalloc.py", line 5, in <module> import tracemalloc File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/tracemalloc.py", line 9, in <module> from _tracemalloc import * ModuleNotFoundError: No module named '_tracemalloc' _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1755122æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 165094789 0:00:00 load avg: 1.32 Run 1 test sequentially in a single process 0:00:00 load avg: 1.32 [1/1] test_type_aliases test_attributes_with_exec (test.test_type_aliases.TypeAliasConstructorTest.test_attributes_with_exec) ... ok test_basic (test.test_type_aliases.TypeAliasConstructorTest.test_basic) ... ok test_errors (test.test_type_aliases.TypeAliasConstructorTest.test_errors) ... ok test_generic (test.test_type_aliases.TypeAliasConstructorTest.test_generic) ... FAIL test_keywords (test.test_type_aliases.TypeAliasConstructorTest.test_keywords) ... ok test_not_generic (test.test_type_aliases.TypeAliasConstructorTest.test_not_generic) ... ok test_pickling (test.test_type_aliases.TypeAliasPickleTest.test_pickling) ... ok test_pickling_local (test.test_type_aliases.TypeAliasPickleTest.test_pickling_local) ... ok test_immutable (test.test_type_aliases.TypeAliasTypeTest.test_immutable) ... FAIL test_module (test.test_type_aliases.TypeAliasTypeTest.test_module) ... ok test_no_subclassing (test.test_type_aliases.TypeAliasTypeTest.test_no_subclassing) ... FAIL test_union (test.test_type_aliases.TypeAliasTypeTest.test_union) ... FAIL test_alias_access_01 (test.test_type_aliases.TypeParamsAccessTest.test_alias_access_01) ... ok test_alias_access_02 (test.test_type_aliases.TypeParamsAccessTest.test_alias_access_02) ... ok test_alias_access_03 (test.test_type_aliases.TypeParamsAccessTest.test_alias_access_03) ... ok test_alias_value_01 (test.test_type_aliases.TypeParamsAliasValueTest.test_alias_value_01) ... ok test_alias_value_02 (test.test_type_aliases.TypeParamsAliasValueTest.test_alias_value_02) ... ok test_alias_value_03 (test.test_type_aliases.TypeParamsAliasValueTest.test_alias_value_03) ... ok test_alias_value_04 (test.test_type_aliases.TypeParamsAliasValueTest.test_alias_value_04) ... ok test_raising (test.test_type_aliases.TypeParamsAliasValueTest.test_raising) ... FAIL test_recursive_repr (test.test_type_aliases.TypeParamsAliasValueTest.test_recursive_repr) ... ok test_repr (test.test_type_aliases.TypeParamsAliasValueTest.test_repr) ... FAIL test_subscripting (test.test_type_aliases.TypeParamsAliasValueTest.test_subscripting) ... FAIL test_exec_with_unusual_globals (test.test_type_aliases.TypeParamsExoticGlobalsTest.test_exec_with_unusual_globals) ... ok test_name_collisions (test.test_type_aliases.TypeParamsInvalidTest.test_name_collisions) ... ok test_name_non_collision_02 (test.test_type_aliases.TypeParamsInvalidTest.test_name_non_collision_02) ... ok test_name_non_collision_03 (test.test_type_aliases.TypeParamsInvalidTest.test_name_non_collision_03) ... ok ====================================================================== FAIL: test_generic (test.test_type_aliases.TypeAliasConstructorTest.test_generic) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_aliases.py", line 215, in test_generic self.assertIs(type(TA[int]), types.GenericAlias) ^^^^^^^^ AssertionError: <class 'typing._GenericAlias'> is not <class '_pypy_generic_alias.GenericAlias'> ====================================================================== FAIL: test_immutable (test.test_type_aliases.TypeAliasTypeTest.test_immutable) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_aliases.py", line 249, in test_immutable with self.assertRaises(TypeError): AssertionError: TypeError not raised ====================================================================== FAIL: test_no_subclassing (test.test_type_aliases.TypeAliasTypeTest.test_no_subclassing) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_aliases.py", line 253, in test_no_subclassing with self.assertRaisesRegex(TypeError, "not an acceptable base type"): AssertionError: TypeError not raised ====================================================================== FAIL: test_union (test.test_type_aliases.TypeAliasTypeTest.test_union) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_aliases.py", line 261, in test_union self.assertIsInstance(union, types.UnionType) ^^^^^^^^^^^^^^^^ AssertionError: typing.Union[Alias1, Alias2] is not an instance of <class '_pypy_generic_alias.UnionType'> ====================================================================== FAIL: test_raising (test.test_type_aliases.TypeParamsAliasValueTest.test_raising) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_aliases.py", line 178, in test_raising MissingName.__value__ ^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_pypy_typing.py", line 111, in __get__ value = getattr(instance, f"__evaluate_{self._name}__")() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_aliases.py", line 173, in MissingName type MissingName = list[_My_X] ^^^^^ NameError: free variable '_My_X' referenced before assignment in enclosing scope During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_aliases.py", line 174, in test_raising with self.assertRaisesRegex( AssertionError: "cannot access free variable '_My_X' where it is not associated with a value" does not match "free variable '_My_X' referenced before assignment in enclosing scope" ====================================================================== FAIL: test_repr (test.test_type_aliases.TypeParamsAliasValueTest.test_repr) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_aliases.py", line 150, in test_repr self.assertEqual(repr(VeryGeneric[int, bytes, str, [float, object]]), ^^^^^^^^^^^ AssertionError: "VeryGeneric[int, bytes, str, [<class 'float'>, <class 'object'>]]" != 'VeryGeneric[int, bytes, str, [float, object]]' - VeryGeneric[int, bytes, str, [<class 'float'>, <class 'object'>]] ? -------- -- -------- -- + VeryGeneric[int, bytes, str, [float, object]] ====================================================================== FAIL: test_subscripting (test.test_type_aliases.TypeParamsAliasValueTest.test_subscripting) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_aliases.py", line 135, in test_subscripting self.assertIsInstance(specialized, types.GenericAlias) ^^^^^^^^^^^^^^^^ AssertionError: Generic[int] is not an instance of <class '_pypy_generic_alias.GenericAlias'> ---------------------------------------------------------------------- Ran 27 tests in 0.028s FAILED (failures=7) 0:00:00 load avg: 1.32 [1/1/1] test_type_aliases failed (7 failures) == Tests result: FAILURE == 1 test failed: test_type_aliases Total duration: 114 ms Total tests: run=27 failures=7 Total test files: run=1/1 failed=1 Result: FAILURE test test_type_aliases failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1755132æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1874962265 0:00:00 load avg: 1.38 Run 1 test sequentially in a single process 0:00:00 load avg: 1.38 [1/1] test_type_cache 0:00:00 load avg: 1.38 [1/1/1] test_type_cache failed (uncaught exception) == Tests result: FAILURE == 1 test failed: test_type_cache Total duration: 61 ms Total tests: run=0 Total test files: run=1/1 failed=1 Result: FAILURE test test_type_cache crashed -- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc _load_run_test(result, runtests) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 128, in _load_run_test test_mod = importlib.import_module(module_name) ^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<builtin>/frozen importlib._bootstrap_external", line 1011, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_cache.py", line 15, in <module> type_assign_version = _testcapi.type_assign_version ^^^^^^^^^^^^^^^^^^^ AttributeError: module '_testcapi' has no attribute 'type_assign_version' _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1755137æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1164891770 0:00:00 load avg: 1.38 Run 1 test sequentially in a single process 0:00:00 load avg: 1.38 [1/1] test_type_comments test_asynccomp (test.test_type_comments.TypeCommentTests.test_asynccomp) ... ok test_asyncdef (test.test_type_comments.TypeCommentTests.test_asyncdef) ... ok test_asyncvar (test.test_type_comments.TypeCommentTests.test_asyncvar) ... ok test_forstmt (test.test_type_comments.TypeCommentTests.test_forstmt) ... ok test_fstring (test.test_type_comments.TypeCommentTests.test_fstring) ... ERROR test_func_type_input (test.test_type_comments.TypeCommentTests.test_func_type_input) ... ok test_funcdef (test.test_type_comments.TypeCommentTests.test_funcdef) ... ok test_ignores (test.test_type_comments.TypeCommentTests.test_ignores) ... ok test_inappropriate_type_comments (test.test_type_comments.TypeCommentTests.test_inappropriate_type_comments) Tests for inappropriately-placed type comments. ... ok test_longargs (test.test_type_comments.TypeCommentTests.test_longargs) ... ok test_matmul (test.test_type_comments.TypeCommentTests.test_matmul) ... ok test_nonasciidef (test.test_type_comments.TypeCommentTests.test_nonasciidef) ... ok test_redundantdef (test.test_type_comments.TypeCommentTests.test_redundantdef) ... ok test_underscorednumber (test.test_type_comments.TypeCommentTests.test_underscorednumber) ... ok test_vardecl (test.test_type_comments.TypeCommentTests.test_vardecl) ... ok test_withstmt (test.test_type_comments.TypeCommentTests.test_withstmt) ... ok ====================================================================== ERROR: test_fstring (test.test_type_comments.TypeCommentTests.test_fstring) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_comments.py", line 235, in parse_all yield self.parse(source, feature_version) ^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_comments.py", line 227, in parse return ast.parse(source, type_comments=True, ^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/ast.py", line 52, in parse return compile(source, filename, mode, flags, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<unknown>", line 2 f"{a}" ^^^^^^ SyntaxError: Format strings are only supported in Python (3, 6) and above. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_comments.py", line 275, in test_fstring for tree in self.parse_all(fstring): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_comments.py", line 237, in parse_all raise SyntaxError(str(err) + f" feature_version={feature_version}") SyntaxError: Format strings are only supported in Python (3, 6) and above. (<unknown>, line 2) feature_version=(3, 4) ---------------------------------------------------------------------- Ran 16 tests in 0.020s FAILED (errors=1) 0:00:00 load avg: 1.38 [1/1/1] test_type_comments failed (1 error) == Tests result: FAILURE == 1 test failed: test_type_comments Total duration: 99 ms Total tests: run=16 Total test files: run=1/1 failed=1 Result: FAILURE test test_type_comments failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1755142æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 4081474955 0:00:00 load avg: 1.38 Run 1 test sequentially in a single process 0:00:00 load avg: 1.38 [1/1] test_type_params test_types_new_class_no_callback (test.test_type_params.DynamicClassTest.test_types_new_class_no_callback) ... ok test_types_new_class_with_callback (test.test_type_params.DynamicClassTest.test_types_new_class_with_callback) ... ok test_class_access_01 (test.test_type_params.TypeParamsAccessTest.test_class_access_01) ... ok test_class_access_02 (test.test_type_params.TypeParamsAccessTest.test_class_access_02) ... ok test_class_access_03 (test.test_type_params.TypeParamsAccessTest.test_class_access_03) ... ok test_class_base_containing_lambda (test.test_type_params.TypeParamsAccessTest.test_class_base_containing_lambda) ... ok test_class_deref (test.test_type_params.TypeParamsAccessTest.test_class_deref) ... ok test_class_scope_interaction_01 (test.test_type_params.TypeParamsAccessTest.test_class_scope_interaction_01) ... ok test_class_scope_interaction_02 (test.test_type_params.TypeParamsAccessTest.test_class_scope_interaction_02) ... ok test_comprehension_01 (test.test_type_params.TypeParamsAccessTest.test_comprehension_01) ... ok test_comprehension_02 (test.test_type_params.TypeParamsAccessTest.test_comprehension_02) ... ok test_function_access_01 (test.test_type_params.TypeParamsAccessTest.test_function_access_01) ... ok test_function_access_02 (test.test_type_params.TypeParamsAccessTest.test_function_access_02) ... ok test_function_access_03 (test.test_type_params.TypeParamsAccessTest.test_function_access_03) ... ok test_gen_exp_in_generic_method (test.test_type_params.TypeParamsAccessTest.test_gen_exp_in_generic_method) ... ok test_gen_exp_in_nested_class (test.test_type_params.TypeParamsAccessTest.test_gen_exp_in_nested_class) ... ok test_gen_exp_in_nested_generic_class (test.test_type_params.TypeParamsAccessTest.test_gen_exp_in_nested_generic_class) ... ok test_listcomp_in_nested_class (test.test_type_params.TypeParamsAccessTest.test_listcomp_in_nested_class) ... ok test_listcomp_in_nested_generic_class (test.test_type_params.TypeParamsAccessTest.test_listcomp_in_nested_generic_class) ... ok test_method_access_01 (test.test_type_params.TypeParamsAccessTest.test_method_access_01) ... ok test_nested_access_01 (test.test_type_params.TypeParamsAccessTest.test_nested_access_01) ... ok test_nested_scope_in_generic_alias (test.test_type_params.TypeParamsAccessTest.test_nested_scope_in_generic_alias) ... ok test_out_of_scope_01 (test.test_type_params.TypeParamsAccessTest.test_out_of_scope_01) ... ok test_out_of_scope_02 (test.test_type_params.TypeParamsAccessTest.test_out_of_scope_02) ... ok test_reference_previous_typevar (test.test_type_params.TypeParamsAccessTest.test_reference_previous_typevar) ... ok test_shadowing_nonlocal (test.test_type_params.TypeParamsAccessTest.test_shadowing_nonlocal) ... ok test_super (test.test_type_params.TypeParamsAccessTest.test_super) ... ok test_type_alias_containing_lambda (test.test_type_params.TypeParamsAccessTest.test_type_alias_containing_lambda) ... ok test_type_special_case (test.test_type_params.TypeParamsAccessTest.test_type_special_case) ... FAIL test_alias (test.test_type_params.TypeParamsClassScopeTest.test_alias) ... ok test_binding_uses_global (test.test_type_params.TypeParamsClassScopeTest.test_binding_uses_global) ... ok test_bound (test.test_type_params.TypeParamsClassScopeTest.test_bound) ... ok test_explicit_global (test.test_type_params.TypeParamsClassScopeTest.test_explicit_global) ... ok test_explicit_global_with_assignment (test.test_type_params.TypeParamsClassScopeTest.test_explicit_global_with_assignment) ... ok test_explicit_global_with_no_static_bound (test.test_type_params.TypeParamsClassScopeTest.test_explicit_global_with_no_static_bound) ... ok test_explicit_nonlocal (test.test_type_params.TypeParamsClassScopeTest.test_explicit_nonlocal) ... ok test_modified_later (test.test_type_params.TypeParamsClassScopeTest.test_modified_later) ... FAIL test_nested_free (test.test_type_params.TypeParamsClassScopeTest.test_nested_free) ... ERROR test_no_binding_uses_nonlocal (test.test_type_params.TypeParamsClassScopeTest.test_no_binding_uses_nonlocal) ... ok test_complex_base (test.test_type_params.TypeParamsComplexCallsTest.test_complex_base) ... ok test_defaults (test.test_type_params.TypeParamsComplexCallsTest.test_defaults) ... ok test_starargs_base (test.test_type_params.TypeParamsComplexCallsTest.test_starargs_base) ... ok test_disallowed_expressions (test.test_type_params.TypeParamsInvalidTest.test_disallowed_expressions) ... ok test_incorrect_mro_explicit_object (test.test_type_params.TypeParamsInvalidTest.test_incorrect_mro_explicit_object) ... FAIL test_name_collisions (test.test_type_params.TypeParamsInvalidTest.test_name_collisions) ... ok test_name_non_collision_02 (test.test_type_params.TypeParamsInvalidTest.test_name_non_collision_02) ... ok test_name_non_collision_03 (test.test_type_params.TypeParamsInvalidTest.test_name_non_collision_03) ... ok test_name_non_collision_04 (test.test_type_params.TypeParamsInvalidTest.test_name_non_collision_04) ... ok test_name_non_collision_05 (test.test_type_params.TypeParamsInvalidTest.test_name_non_collision_05) ... ok test_name_non_collision_06 (test.test_type_params.TypeParamsInvalidTest.test_name_non_collision_06) ... ok test_name_non_collision_07 (test.test_type_params.TypeParamsInvalidTest.test_name_non_collision_07) ... ok test_name_non_collision_08 (test.test_type_params.TypeParamsInvalidTest.test_name_non_collision_08) ... ok test_name_non_collision_10 (test.test_type_params.TypeParamsInvalidTest.test_name_non_collision_10) ... ok test_name_non_collision_13 (test.test_type_params.TypeParamsInvalidTest.test_name_non_collision_13) ... ok test_name_non_collision_9 (test.test_type_params.TypeParamsInvalidTest.test_name_non_collision_9) ... ok test_evaluation_error (test.test_type_params.TypeParamsLazyEvaluationTest.test_evaluation_error) ... ok test_qualname (test.test_type_params.TypeParamsLazyEvaluationTest.test_qualname) ... ok test_recursive_class (test.test_type_params.TypeParamsLazyEvaluationTest.test_recursive_class) ... ok test_mangling (test.test_type_params.TypeParamsManglingTest.test_mangling) ... ERROR test_no_leaky_mangling_in_class (test.test_type_params.TypeParamsManglingTest.test_no_leaky_mangling_in_class) ... ok test_no_leaky_mangling_in_function (test.test_type_params.TypeParamsManglingTest.test_no_leaky_mangling_in_function) ... ok test_no_leaky_mangling_in_module (test.test_type_params.TypeParamsManglingTest.test_no_leaky_mangling_in_module) ... ok test_no_mangling_in_bases (test.test_type_params.TypeParamsManglingTest.test_no_mangling_in_bases) ... ok test_no_mangling_in_nested_scopes (test.test_type_params.TypeParamsManglingTest.test_no_mangling_in_nested_scopes) ... ok test_type_params_are_mangled (test.test_type_params.TypeParamsManglingTest.test_type_params_are_mangled) ... ERROR test_nonlocal_allowed (test.test_type_params.TypeParamsNonlocalTest.test_nonlocal_allowed) ... ok test_nonlocal_disallowed_01 (test.test_type_params.TypeParamsNonlocalTest.test_nonlocal_disallowed_01) ... ok test_nonlocal_disallowed_02 (test.test_type_params.TypeParamsNonlocalTest.test_nonlocal_disallowed_02) ... ok test_nonlocal_disallowed_03 (test.test_type_params.TypeParamsNonlocalTest.test_nonlocal_disallowed_03) ... ok test_pickling_classes (test.test_type_params.TypeParamsPickleTest.test_pickling_classes) ... ok test_pickling_functions (test.test_type_params.TypeParamsPickleTest.test_pickling_functions) ... ok test_broken_class_namespace (test.test_type_params.TypeParamsRuntimeTest.test_broken_class_namespace) ... ok test_name_error (test.test_type_params.TypeParamsRuntimeTest.test_name_error) ... ok test_traditional_01 (test.test_type_params.TypeParamsTraditionalTypeVarsTest.test_traditional_01) ... ok test_traditional_02 (test.test_type_params.TypeParamsTraditionalTypeVarsTest.test_traditional_02) ... ok test_traditional_03 (test.test_type_params.TypeParamsTraditionalTypeVarsTest.test_traditional_03) ... ok test_typeparams_dunder_class_01 (test.test_type_params.TypeParamsTypeParamsDunder.test_typeparams_dunder_class_01) ... ok test_typeparams_dunder_class_02 (test.test_type_params.TypeParamsTypeParamsDunder.test_typeparams_dunder_class_02) ... ok test_typeparams_dunder_class_03 (test.test_type_params.TypeParamsTypeParamsDunder.test_typeparams_dunder_class_03) ... ok test_typeparams_dunder_function_01 (test.test_type_params.TypeParamsTypeParamsDunder.test_typeparams_dunder_function_01) ... ok test_typeparams_dunder_function_02 (test.test_type_params.TypeParamsTypeParamsDunder.test_typeparams_dunder_function_02) ... ok test_typeparams_dunder_function_03 (test.test_type_params.TypeParamsTypeParamsDunder.test_typeparams_dunder_function_03) ... ok test_paramspec_01 (test.test_type_params.TypeParamsTypeVarParamSpecTest.test_paramspec_01) ... ok test_paramspec_02 (test.test_type_params.TypeParamsTypeVarParamSpecTest.test_paramspec_02) ... ok test_typevar_01 (test.test_type_params.TypeParamsTypeVarTest.test_typevar_01) ... ok test_typevar_coroutine (test.test_type_params.TypeParamsTypeVarTest.test_typevar_coroutine) ... ok test_typevar_generator (test.test_type_params.TypeParamsTypeVarTest.test_typevar_generator) ... ok test_typevartuple_01 (test.test_type_params.TypeParamsTypeVarTupleTest.test_typevartuple_01) ... ok test_typevartuple_02 (test.test_type_params.TypeParamsTypeVarTupleTest.test_typevartuple_02) ... ok test_weakrefs (test.test_type_params.TypeParamsWeakRefTest.test_weakrefs) ... ok ====================================================================== ERROR: test_nested_free (test.test_type_params.TypeParamsClassScopeTest.test_nested_free) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_params.py", line 703, in test_nested_free ns = run_code(""" ^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py", line 665, in run_code exec(textwrap.dedent(code), ns) SystemError: unexpected internal exception (please report a bug): <KeyError object at 0x7f9b6dd49e58>; internal traceback was dumped to stderr ====================================================================== ERROR: test_mangling (test.test_type_params.TypeParamsManglingTest.test_mangling) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_params.py", line 743, in test_mangling class Foo[__T]: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_params.py", line 743, in Foo class Foo[__T]: File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_params.py", line 744, in Foo param = __T ^^^ NameError: name '_Foo__T' is not defined ====================================================================== ERROR: test_type_params_are_mangled (test.test_type_params.TypeParamsManglingTest.test_type_params_are_mangled) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_params.py", line 840, in test_type_params_are_mangled ns = run_code(""" ^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py", line 665, in run_code exec(textwrap.dedent(code), ns) File "<string>", line 4, in <module> File "<string>", line 4, in Foo File "<string>", line 5, in Foo NameError: name '_Foo__T' is not defined ====================================================================== FAIL: test_type_special_case (test.test_type_params.TypeParamsAccessTest.test_type_special_case) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_params.py", line 504, in test_type_special_case self.assertEqual(type.__type_params__, ()) ^^^^^^^^^^^ AssertionError: <getset_descriptor object at 0x00007f9b6e00c400> != () ====================================================================== FAIL: test_modified_later (test.test_type_params.TypeParamsClassScopeTest.test_modified_later) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_params.py", line 607, in test_modified_later self.assertIs(X.foo.__type_params__[0].__bound__, float) ^^^^^^^^ AssertionError: <class 'int'> is not <class 'float'> ====================================================================== FAIL: test_incorrect_mro_explicit_object (test.test_type_params.TypeParamsInvalidTest.test_incorrect_mro_explicit_object) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_params.py", line 153, in test_incorrect_mro_explicit_object class My[X](object): ... File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_params.py", line 153, in My class My[X](object): ... TypeError: cycle among base classes: object < Generic < object During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_params.py", line 152, in test_incorrect_mro_explicit_object with self.assertRaisesRegex(TypeError, r"\(MRO\) for bases object, Generic"): AssertionError: "\(MRO\) for bases object, Generic" does not match "cycle among base classes: object < Generic < object" ---------------------------------------------------------------------- Ran 90 tests in 0.074s FAILED (failures=3, errors=3) 0:00:00 load avg: 1.38 [1/1/1] test_type_params failed (3 errors, 3 failures) == Tests result: FAILURE == 1 test failed: test_type_params Total duration: 262 ms Total tests: run=90 failures=3 Total test files: run=1/1 failed=1 Result: FAILURE RPython traceback: File "pypy_interpreter.c", line 52209, in BuiltinCode_funcrun_obj File "implement_11.c", line 56630, in BuiltinActivation_UwS_ObjSpace_W_Root_W_Root_W_R_20 File "pypy_interpreter_5.c", line 22155, in PyFrame_exec_ File "pypy_interpreter_1.c", line 17839, in PythonAstCompiler__compile_ast File "pypy_interpreter_astcompiler.c", line 1963, in compile_ast File "implement_3.c", line 2519, in dispatcher_visit_Module File "pypy_interpreter_astcompiler.c", line 32493, in PythonCodeGenerator__handle_body File "pypy_interpreter_astcompiler.c", line 14499, in PythonCodeGenerator__visit_body File "pypy_interpreter_astcompiler_2.c", line 6987, in _visit_function__pypy_interpreter_astcompiler_as File "pypy_interpreter_astcompiler_2.c", line 40236, in _make_function_body__pypy_interpreter_astcompile File "pypy_interpreter_astcompiler_2.c", line 15121, in PythonCodeGenerator_sub_scope File "pypy_interpreter_astcompiler.c", line 14499, in PythonCodeGenerator__visit_body File "pypy_interpreter_astcompiler_1.c", line 51690, in PythonCodeGenerator_visit_ClassDef File "pypy_interpreter_astcompiler_2.c", line 14466, in PythonCodeGenerator__make_class_body File "pypy_interpreter_astcompiler_2.c", line 15121, in PythonCodeGenerator_sub_scope File "pypy_interpreter_astcompiler_1.c", line 48538, in ClassCodeGenerator__compile File "pypy_interpreter_astcompiler.c", line 32493, in PythonCodeGenerator__handle_body File "pypy_interpreter_astcompiler.c", line 14499, in PythonCodeGenerator__visit_body File "pypy_interpreter_astcompiler_1.c", line 52101, in PythonCodeGenerator_visit_ClassDef File "pypy_interpreter_astcompiler_2.c", line 15121, in PythonCodeGenerator_sub_scope File "pypy_interpreter_astcompiler_2.c", line 45014, in GenericClassTypeParamsCodeGenerator__compile File "pypy_interpreter_astcompiler_2.c", line 14502, in PythonCodeGenerator__make_class_body File "pypy_interpreter_astcompiler_2.c", line 15906, in PythonCodeGenerator__make_function test test_type_params failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1755152æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3242119149 0:00:00 load avg: 1.38 Run 1 test sequentially in a single process 0:00:00 load avg: 1.38 [1/1] test_types 0:00:00 load avg: 1.38 [1/1/1] test_types failed (uncaught exception) == Tests result: FAILURE == 1 test failed: test_types Total duration: 180 ms Total tests: run=0 Total test files: run=1/1 failed=1 Result: FAILURE test test_types crashed -- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc _load_run_test(result, runtests) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 128, in _load_run_test test_mod = importlib.import_module(module_name) ^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<builtin>/frozen importlib._bootstrap_external", line 1011, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_types.py", line 7, in <module> from test.test_import import no_rerun File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_import/__init__.py", line 24, in <module> import _testinternalcapi ModuleNotFoundError: No module named '_testinternalcapi' _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1755157æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 4003768184 0:00:00 load avg: 1.38 Run 1 test sequentially in a single process 0:00:00 load avg: 1.38 [1/1] test_typing test_all (test.test_typing.AllTests.test_all) ... ok test_all_exported_names (test.test_typing.AllTests.test_all_exported_names) ... ok test_annotated_cached_with_types (test.test_typing.AnnotatedTests.test_annotated_cached_with_types) ... ok test_annotated_in_other_types (test.test_typing.AnnotatedTests.test_annotated_in_other_types) ... ok test_annotated_mro (test.test_typing.AnnotatedTests.test_annotated_mro) ... ok test_attr_passthrough (test.test_typing.AnnotatedTests.test_attr_passthrough) ... ok test_cannot_check_instance (test.test_typing.AnnotatedTests.test_cannot_check_instance) ... ok test_cannot_check_subclass (test.test_typing.AnnotatedTests.test_cannot_check_subclass) ... ok test_cannot_getattr_typevar (test.test_typing.AnnotatedTests.test_cannot_getattr_typevar) ... ok test_cannot_instantiate_forward (test.test_typing.AnnotatedTests.test_cannot_instantiate_forward) ... ok test_cannot_instantiate_type_var (test.test_typing.AnnotatedTests.test_cannot_instantiate_type_var) ... ok test_cannot_subclass (test.test_typing.AnnotatedTests.test_cannot_subclass) ... ok test_deduplicate_from_union (test.test_typing.AnnotatedTests.test_deduplicate_from_union) ... ok test_dir (test.test_typing.AnnotatedTests.test_dir) ... ok test_flatten (test.test_typing.AnnotatedTests.test_flatten) ... ok test_hash_eq (test.test_typing.AnnotatedTests.test_hash_eq) ... ok test_instantiate (test.test_typing.AnnotatedTests.test_instantiate) ... ok test_instantiate_generic (test.test_typing.AnnotatedTests.test_instantiate_generic) ... ok test_instantiate_immutable (test.test_typing.AnnotatedTests.test_instantiate_immutable) ... ok test_new (test.test_typing.AnnotatedTests.test_new) ... ok test_order_in_union (test.test_typing.AnnotatedTests.test_order_in_union) ... ok test_pickle (test.test_typing.AnnotatedTests.test_pickle) ... ok test_repr (test.test_typing.AnnotatedTests.test_repr) ... ok test_special_form_containment (test.test_typing.AnnotatedTests.test_special_form_containment) ... ok test_specialize (test.test_typing.AnnotatedTests.test_specialize) ... ok test_subst (test.test_typing.AnnotatedTests.test_subst) ... ok test_too_few_type_args (test.test_typing.AnnotatedTests.test_too_few_type_args) ... ok test_typevar_subst (test.test_typing.AnnotatedTests.test_typevar_subst) ... ok test_any_instance_type_error (test.test_typing.AnyTests.test_any_instance_type_error) ... ok test_any_works_with_alias (test.test_typing.AnyTests.test_any_works_with_alias) ... ok test_can_subclass (test.test_typing.AnyTests.test_can_subclass) ... ok test_cannot_instantiate (test.test_typing.AnyTests.test_cannot_instantiate) ... ok test_errors (test.test_typing.AnyTests.test_errors) ... ok test_multiple_inheritance_with_custom_constructors (test.test_typing.AnyTests.test_multiple_inheritance_with_custom_constructors) ... ok test_repr (test.test_typing.AnyTests.test_repr) ... ok test_subclassing_with_custom_constructor (test.test_typing.AnyTests.test_subclassing_with_custom_constructor) ... ok test_exception (test.test_typing.AssertNeverTests.test_exception) ... ok test_basics (test.test_typing.AssertTypeTests.test_basics) ... ok test_errors (test.test_typing.AssertTypeTests.test_errors) ... ok test_basics (test.test_typing.CastTests.test_basics) ... ok test_errors (test.test_typing.CastTests.test_errors) ... ok test_basics (test.test_typing.ClassVarTests.test_basics) ... ok test_cannot_init (test.test_typing.ClassVarTests.test_cannot_init) ... ok test_cannot_subclass (test.test_typing.ClassVarTests.test_cannot_subclass) ... ok test_no_isinstance (test.test_typing.ClassVarTests.test_no_isinstance) ... ok test_repr (test.test_typing.ClassVarTests.test_repr) ... ok test_abstractset (test.test_typing.CollectionsAbcTests.test_abstractset) ... ok test_async_generator (test.test_typing.CollectionsAbcTests.test_async_generator) ... ok test_async_iterable (test.test_typing.CollectionsAbcTests.test_async_iterable) ... ok test_async_iterator (test.test_typing.CollectionsAbcTests.test_async_iterator) ... ok test_awaitable (test.test_typing.CollectionsAbcTests.test_awaitable) ... ok test_bytestring (test.test_typing.CollectionsAbcTests.test_bytestring) ... ok test_chainmap_instantiation (test.test_typing.CollectionsAbcTests.test_chainmap_instantiation) ... ok test_chainmap_subclass (test.test_typing.CollectionsAbcTests.test_chainmap_subclass) ... ok test_collection (test.test_typing.CollectionsAbcTests.test_collection) ... ok test_collections_as_base (test.test_typing.CollectionsAbcTests.test_collections_as_base) ... ok test_container (test.test_typing.CollectionsAbcTests.test_container) ... ok test_coroutine (test.test_typing.CollectionsAbcTests.test_coroutine) ... ok test_counter (test.test_typing.CollectionsAbcTests.test_counter) ... ok test_counter_instantiation (test.test_typing.CollectionsAbcTests.test_counter_instantiation) ... ok test_counter_subclass_instantiation (test.test_typing.CollectionsAbcTests.test_counter_subclass_instantiation) ... ok test_defaultdict_instantiation (test.test_typing.CollectionsAbcTests.test_defaultdict_instantiation) ... ok test_defaultdict_subclass (test.test_typing.CollectionsAbcTests.test_defaultdict_subclass) ... ok test_deque (test.test_typing.CollectionsAbcTests.test_deque) ... ok test_deque_instantiation (test.test_typing.CollectionsAbcTests.test_deque_instantiation) ... ok test_dict (test.test_typing.CollectionsAbcTests.test_dict) ... ok test_dict_subclass (test.test_typing.CollectionsAbcTests.test_dict_subclass) ... ok test_dict_subscribe (test.test_typing.CollectionsAbcTests.test_dict_subscribe) ... ok test_frozenset (test.test_typing.CollectionsAbcTests.test_frozenset) ... ok test_frozenset_subclass_instantiation (test.test_typing.CollectionsAbcTests.test_frozenset_subclass_instantiation) ... ok test_generator (test.test_typing.CollectionsAbcTests.test_generator) ... ok test_hashable (test.test_typing.CollectionsAbcTests.test_hashable) ... ok test_iterable (test.test_typing.CollectionsAbcTests.test_iterable) ... ok test_iterator (test.test_typing.CollectionsAbcTests.test_iterator) ... ok test_list (test.test_typing.CollectionsAbcTests.test_list) ... ok test_list_subclass (test.test_typing.CollectionsAbcTests.test_list_subclass) ... ok test_mapping (test.test_typing.CollectionsAbcTests.test_mapping) ... ok test_mutablemapping (test.test_typing.CollectionsAbcTests.test_mutablemapping) ... ok test_mutablesequence (test.test_typing.CollectionsAbcTests.test_mutablesequence) ... ok test_mutableset (test.test_typing.CollectionsAbcTests.test_mutableset) ... ok test_no_async_generator_instantiation (test.test_typing.CollectionsAbcTests.test_no_async_generator_instantiation) ... ok test_no_dict_instantiation (test.test_typing.CollectionsAbcTests.test_no_dict_instantiation) ... ok test_no_frozenset_instantiation (test.test_typing.CollectionsAbcTests.test_no_frozenset_instantiation) ... ok test_no_generator_instantiation (test.test_typing.CollectionsAbcTests.test_no_generator_instantiation) ... ok test_no_list_instantiation (test.test_typing.CollectionsAbcTests.test_no_list_instantiation) ... ok test_no_set_instantiation (test.test_typing.CollectionsAbcTests.test_no_set_instantiation) ... ok test_no_tuple_instantiation (test.test_typing.CollectionsAbcTests.test_no_tuple_instantiation) ... ok test_or_and_ror (test.test_typing.CollectionsAbcTests.test_or_and_ror) ... ok test_ordereddict_instantiation (test.test_typing.CollectionsAbcTests.test_ordereddict_instantiation) ... ok test_ordereddict_subclass (test.test_typing.CollectionsAbcTests.test_ordereddict_subclass) ... ok test_sequence (test.test_typing.CollectionsAbcTests.test_sequence) ... ok test_set (test.test_typing.CollectionsAbcTests.test_set) ... ok test_set_subclass_instantiation (test.test_typing.CollectionsAbcTests.test_set_subclass_instantiation) ... ok test_sized (test.test_typing.CollectionsAbcTests.test_sized) ... ok test_subclassing (test.test_typing.CollectionsAbcTests.test_subclassing) ... ok test_subclassing_async_generator (test.test_typing.CollectionsAbcTests.test_subclassing_async_generator) ... ok test_subclassing_register (test.test_typing.CollectionsAbcTests.test_subclassing_register) ... ok test_subclassing_subclasshook (test.test_typing.CollectionsAbcTests.test_subclassing_subclasshook) ... ok test_basic (test.test_typing.CollectionsCallableTests.test_basic) ... ok test_callable_instance_type_error (test.test_typing.CollectionsCallableTests.test_callable_instance_type_error) ... ok test_callable_instance_works (test.test_typing.CollectionsCallableTests.test_callable_instance_works) ... ok test_callable_with_ellipsis (test.test_typing.CollectionsCallableTests.test_callable_with_ellipsis) ... ok test_callable_wrong_forms (test.test_typing.CollectionsCallableTests.test_callable_wrong_forms) ... ok test_cannot_instantiate (test.test_typing.CollectionsCallableTests.test_cannot_instantiate) ... ok test_concatenate (test.test_typing.CollectionsCallableTests.test_concatenate) ... ok test_dir (test.test_typing.CollectionsCallableTests.test_dir) ... ok test_ellipsis_in_generic (test.test_typing.CollectionsCallableTests.test_ellipsis_in_generic) ... ok test_eq_hash (test.test_typing.CollectionsCallableTests.test_eq_hash) ... ok test_errors (test.test_typing.CollectionsCallableTests.test_errors) ... ok test_nested_paramspec (test.test_typing.CollectionsCallableTests.test_nested_paramspec) ... ok test_or_and_ror (test.test_typing.CollectionsCallableTests.test_or_and_ror) ... ok test_paramspec (test.test_typing.CollectionsCallableTests.test_paramspec) ... ok test_pickle (test.test_typing.CollectionsCallableTests.test_pickle) ... ok test_repr (test.test_typing.CollectionsCallableTests.test_repr) ... ok test_self_subclass (test.test_typing.CollectionsCallableTests.test_self_subclass) ... ok test_type_erasure (test.test_typing.CollectionsCallableTests.test_type_erasure) ... ok test_type_subst_error (test.test_typing.CollectionsCallableTests.test_type_subst_error) ... ok test_var_substitution (test.test_typing.CollectionsCallableTests.test_var_substitution) ... ok test_weakref (test.test_typing.CollectionsCallableTests.test_weakref) ... ok test_basics (test.test_typing.ConcatenateTests.test_basics) ... ok test_dir (test.test_typing.ConcatenateTests.test_dir) ... ok test_invalid_uses (test.test_typing.ConcatenateTests.test_invalid_uses) ... ok test_valid_uses (test.test_typing.ConcatenateTests.test_valid_uses) ... ok test_var_substitution (test.test_typing.ConcatenateTests.test_var_substitution) ... ok test_base_class (test.test_typing.DataclassTransformTests.test_base_class) ... ok test_decorator (test.test_typing.DataclassTransformTests.test_decorator) ... ok test_metaclass (test.test_typing.DataclassTransformTests.test_metaclass) ... ok test_dunder_final (test.test_typing.FinalDecoratorTests.test_dunder_final) ... ok test_final_unmodified (test.test_typing.FinalDecoratorTests.test_final_unmodified) ... ok test_basics (test.test_typing.FinalTests.test_basics) ... ok test_cannot_init (test.test_typing.FinalTests.test_cannot_init) ... ok test_cannot_subclass (test.test_typing.FinalTests.test_cannot_subclass) ... ok test_no_isinstance (test.test_typing.FinalTests.test_no_isinstance) ... ok test_repr (test.test_typing.FinalTests.test_repr) ... ok test_basics (test.test_typing.ForwardRefTests.test_basics) ... ok test_callable_forward (test.test_typing.ForwardRefTests.test_callable_forward) ... ok test_callable_with_ellipsis_forward (test.test_typing.ForwardRefTests.test_callable_with_ellipsis_forward) ... ok test_default_globals (test.test_typing.ForwardRefTests.test_default_globals) ... ok test_delayed_syntax_error (test.test_typing.ForwardRefTests.test_delayed_syntax_error) ... ok test_double_forward (test.test_typing.ForwardRefTests.test_double_forward) ... ok test_final_forward_ref (test.test_typing.ForwardRefTests.test_final_forward_ref) ... ok test_forward_equality (test.test_typing.ForwardRefTests.test_forward_equality) ... ok test_forward_equality_gth (test.test_typing.ForwardRefTests.test_forward_equality_gth) ... ok test_forward_equality_hash (test.test_typing.ForwardRefTests.test_forward_equality_hash) ... ok test_forward_equality_namespace (test.test_typing.ForwardRefTests.test_forward_equality_namespace) ... ok test_forward_recursion_actually (test.test_typing.ForwardRefTests.test_forward_recursion_actually) ... ok test_forward_repr (test.test_typing.ForwardRefTests.test_forward_repr) ... ok test_forwardref_instance_type_error (test.test_typing.ForwardRefTests.test_forwardref_instance_type_error) ... ok test_forwardref_only_str_arg (test.test_typing.ForwardRefTests.test_forwardref_only_str_arg) ... ok test_forwardref_subclass_type_error (test.test_typing.ForwardRefTests.test_forwardref_subclass_type_error) ... ok test_meta_no_type_check (test.test_typing.ForwardRefTests.test_meta_no_type_check) ... ok test_name_error (test.test_typing.ForwardRefTests.test_name_error) ... ok test_nested_classvar_fails_forward_ref_check (test.test_typing.ForwardRefTests.test_nested_classvar_fails_forward_ref_check) ... ok test_no_type_check (test.test_typing.ForwardRefTests.test_no_type_check) ... ok test_no_type_check_TypeError (test.test_typing.ForwardRefTests.test_no_type_check_TypeError) ... ok test_no_type_check_class (test.test_typing.ForwardRefTests.test_no_type_check_class) ... ok test_no_type_check_class_and_static_methods (test.test_typing.ForwardRefTests.test_no_type_check_class_and_static_methods) ... ok test_no_type_check_foreign_functions (test.test_typing.ForwardRefTests.test_no_type_check_foreign_functions) ... ok test_no_type_check_forward_ref_as_string (test.test_typing.ForwardRefTests.test_no_type_check_forward_ref_as_string) ... ok test_no_type_check_lambda (test.test_typing.ForwardRefTests.test_no_type_check_lambda) ... ok test_no_type_check_nested_types (test.test_typing.ForwardRefTests.test_no_type_check_nested_types) ... ok test_no_type_check_no_bases (test.test_typing.ForwardRefTests.test_no_type_check_no_bases) ... ok test_no_type_check_other_module (test.test_typing.ForwardRefTests.test_no_type_check_other_module) ... ok test_or (test.test_typing.ForwardRefTests.test_or) ... ok test_special_forms_forward (test.test_typing.ForwardRefTests.test_special_forms_forward) ... ok test_syntax_error (test.test_typing.ForwardRefTests.test_syntax_error) ... ok test_syntax_error_empty_string (test.test_typing.ForwardRefTests.test_syntax_error_empty_string) ... ok test_tuple_forward (test.test_typing.ForwardRefTests.test_tuple_forward) ... ok test_union_forward (test.test_typing.ForwardRefTests.test_union_forward) ... ok test_union_forward_recursion (test.test_typing.ForwardRefTests.test_union_forward_recursion) ... ok test_one_parameter (test.test_typing.GenericAliasSubstitutionTests.test_one_parameter) ... ok test_three_parameters (test.test_typing.GenericAliasSubstitutionTests.test_three_parameters) ... ok test_two_parameters (test.test_typing.GenericAliasSubstitutionTests.test_two_parameters) ... ok test_variadic_parameters (test.test_typing.GenericAliasSubstitutionTests.test_variadic_parameters) ... ok test_abc_bases (test.test_typing.GenericTests.test_abc_bases) ... ok test_abc_registry_kept (test.test_typing.GenericTests.test_abc_registry_kept) ... ok test_all_repr_eq_any (test.test_typing.GenericTests.test_all_repr_eq_any) ... ok test_basics (test.test_typing.GenericTests.test_basics) ... ok test_chain_repr (test.test_typing.GenericTests.test_chain_repr) ... ok test_complex_subclasses (test.test_typing.GenericTests.test_complex_subclasses) ... ok test_copy_and_deepcopy (test.test_typing.GenericTests.test_copy_and_deepcopy) ... ok test_copy_generic_instances (test.test_typing.GenericTests.test_copy_generic_instances) ... ok test_dict (test.test_typing.GenericTests.test_dict) ... ok test_eq_1 (test.test_typing.GenericTests.test_eq_1) ... ok test_eq_2 (test.test_typing.GenericTests.test_eq_2) ... ok test_errors (test.test_typing.GenericTests.test_errors) ... ok test_extended_generic_rules_eq (test.test_typing.GenericTests.test_extended_generic_rules_eq) ... ok test_extended_generic_rules_repr (test.test_typing.GenericTests.test_extended_generic_rules_repr) ... ok test_extended_generic_rules_subclassing (test.test_typing.GenericTests.test_extended_generic_rules_subclassing) ... ok test_fail_with_bare_generic (test.test_typing.GenericTests.test_fail_with_bare_generic) ... ok test_fail_with_bare_union (test.test_typing.GenericTests.test_fail_with_bare_union) ... ok test_false_subclasses (test.test_typing.GenericTests.test_false_subclasses) ... ok test_generic_errors (test.test_typing.GenericTests.test_generic_errors) ... ok test_generic_forward_ref (test.test_typing.GenericTests.test_generic_forward_ref) ... ok test_generic_hashes (test.test_typing.GenericTests.test_generic_hashes) ... ok test_generic_pep585_forward_ref (test.test_typing.GenericTests.test_generic_pep585_forward_ref) ... ok test_immutability_by_copy_and_pickle (test.test_typing.GenericTests.test_immutability_by_copy_and_pickle) ... ok test_implicit_any (test.test_typing.GenericTests.test_implicit_any) ... ok test_init (test.test_typing.GenericTests.test_init) ... ok test_init_subclass (test.test_typing.GenericTests.test_init_subclass) ... ok test_init_subclass_super_called (test.test_typing.GenericTests.test_init_subclass_super_called) ... ok test_multi_subscr_base (test.test_typing.GenericTests.test_multi_subscr_base) ... ok test_multiple_bases (test.test_typing.GenericTests.test_multiple_bases) ... ok test_multiple_inheritance (test.test_typing.GenericTests.test_multiple_inheritance) ... ok test_multiple_inheritance_special (test.test_typing.GenericTests.test_multiple_inheritance_special) ... ok test_naive_runtime_checks (test.test_typing.GenericTests.test_naive_runtime_checks) ... ok test_nested (test.test_typing.GenericTests.test_nested) ... ok test_new_no_args (test.test_typing.GenericTests.test_new_no_args) ... ok test_new_repr (test.test_typing.GenericTests.test_new_repr) ... ok test_new_repr_bare (test.test_typing.GenericTests.test_new_repr_bare) ... ok test_new_repr_complex (test.test_typing.GenericTests.test_new_repr_complex) ... ok test_new_with_args (test.test_typing.GenericTests.test_new_with_args) ... ok test_new_with_args2 (test.test_typing.GenericTests.test_new_with_args2) ... ok test_non_generic_subscript (test.test_typing.GenericTests.test_non_generic_subscript) ... ok test_orig_bases (test.test_typing.GenericTests.test_orig_bases) ... ok test_parameter_detection (test.test_typing.GenericTests.test_parameter_detection) ... ok test_parameterized_slots (test.test_typing.GenericTests.test_parameterized_slots) ... ok test_parameterized_slots_dict (test.test_typing.GenericTests.test_parameterized_slots_dict) ... ok test_pep695_generic_class_with_future_annotations (test.test_typing.GenericTests.test_pep695_generic_class_with_future_annotations) ... ok test_pep695_generic_class_with_future_annotations_and_local_shadowing (test.test_typing.GenericTests.test_pep695_generic_class_with_future_annotations_and_local_shadowing) ... ok test_pep695_generic_class_with_future_annotations_name_clash_with_global_vars (test.test_typing.GenericTests.test_pep695_generic_class_with_future_annotations_name_clash_with_global_vars) ... ok test_pep_695_generic_function_with_future_annotations (test.test_typing.GenericTests.test_pep_695_generic_function_with_future_annotations) ... ok test_pep_695_generic_function_with_future_annotations_name_clash_with_global_vars (test.test_typing.GenericTests.test_pep_695_generic_function_with_future_annotations_name_clash_with_global_vars) ... ok test_pep_695_generic_method_with_future_annotations (test.test_typing.GenericTests.test_pep_695_generic_method_with_future_annotations) ... ok test_pep_695_generic_method_with_future_annotations_name_clash_with_global_vars (test.test_typing.GenericTests.test_pep_695_generic_method_with_future_annotations_name_clash_with_global_vars) ... ok test_pep_695_generics_with_future_annotations_nested_in_function (test.test_typing.GenericTests.test_pep_695_generics_with_future_annotations_nested_in_function) ... ok test_pickle (test.test_typing.GenericTests.test_pickle) ... ok test_repr (test.test_typing.GenericTests.test_repr) ... ok test_repr_2 (test.test_typing.GenericTests.test_repr_2) ... ok test_repr_3 (test.test_typing.GenericTests.test_repr_3) ... ok test_setattr_exceptions (test.test_typing.GenericTests.test_setattr_exceptions) ... ok test_subclass_special_form (test.test_typing.GenericTests.test_subclass_special_form) ... ok test_subscript_meta (test.test_typing.GenericTests.test_subscript_meta) ... ok test_subscripted_generics_as_proxies (test.test_typing.GenericTests.test_subscripted_generics_as_proxies) ... ok test_type_erasure (test.test_typing.GenericTests.test_type_erasure) ... ok test_type_erasure_special (test.test_typing.GenericTests.test_type_erasure_special) ... ok test_weakref_all (test.test_typing.GenericTests.test_weakref_all) ... ok test_forward_ref_and_final (test.test_typing.GetTypeHintTests.test_forward_ref_and_final) ... ok test_get_type_hints_ClassVar (test.test_typing.GetTypeHintTests.test_get_type_hints_ClassVar) ... ok test_get_type_hints_annotated (test.test_typing.GetTypeHintTests.test_get_type_hints_annotated) ... ok test_get_type_hints_annotated_bad_module (test.test_typing.GetTypeHintTests.test_get_type_hints_annotated_bad_module) ... ok test_get_type_hints_annotated_in_union (test.test_typing.GetTypeHintTests.test_get_type_hints_annotated_in_union) ... ok test_get_type_hints_annotated_refs (test.test_typing.GetTypeHintTests.test_get_type_hints_annotated_refs) ... ok test_get_type_hints_annotated_with_none_default (test.test_typing.GetTypeHintTests.test_get_type_hints_annotated_with_none_default) ... ok test_get_type_hints_bad_module (test.test_typing.GetTypeHintTests.test_get_type_hints_bad_module) ... ok test_get_type_hints_classes (test.test_typing.GetTypeHintTests.test_get_type_hints_classes) ... ok test_get_type_hints_classes_no_implicit_optional (test.test_typing.GetTypeHintTests.test_get_type_hints_classes_no_implicit_optional) ... ok test_get_type_hints_classes_str_annotations (test.test_typing.GetTypeHintTests.test_get_type_hints_classes_str_annotations) ... ok test_get_type_hints_collections_abc_callable (test.test_typing.GetTypeHintTests.test_get_type_hints_collections_abc_callable) ... ok test_get_type_hints_for_builtins (test.test_typing.GetTypeHintTests.test_get_type_hints_for_builtins) ... ok test_get_type_hints_for_object_with_annotations (test.test_typing.GetTypeHintTests.test_get_type_hints_for_object_with_annotations) ... ok test_get_type_hints_from_various_objects (test.test_typing.GetTypeHintTests.test_get_type_hints_from_various_objects) ... ok test_get_type_hints_modules (test.test_typing.GetTypeHintTests.test_get_type_hints_modules) ... ok test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests.test_get_type_hints_modules_forwardref) ... skipped 'known bug' test_get_type_hints_typeddict (test.test_typing.GetTypeHintTests.test_get_type_hints_typeddict) ... ok test_get_type_hints_wrapped_decoratored_func (test.test_typing.GetTypeHintTests.test_get_type_hints_wrapped_decoratored_func) ... ok test_previous_behavior (test.test_typing.GetTypeHintTests.test_previous_behavior) ... ok test_respect_no_type_check (test.test_typing.GetTypeHintTests.test_respect_no_type_check) ... ok test_top_level_class_var (test.test_typing.GetTypeHintTests.test_top_level_class_var) ... ok test_get_args (test.test_typing.GetUtilitiesTestCase.test_get_args) ... ok test_get_origin (test.test_typing.GetUtilitiesTestCase.test_get_origin) ... ok test_binaryio (test.test_typing.IOTests.test_binaryio) ... ok test_io (test.test_typing.IOTests.test_io) ... ok test_io_submodule (test.test_typing.IOTests.test_io_submodule) ... ok test_textio (test.test_typing.IOTests.test_textio) ... ok test_alias (test.test_typing.LiteralStringTests.test_alias) ... ok test_basics (test.test_typing.LiteralStringTests.test_basics) ... ok test_cannot_init (test.test_typing.LiteralStringTests.test_cannot_init) ... ok test_cannot_subclass (test.test_typing.LiteralStringTests.test_cannot_subclass) ... ok test_cannot_subscript (test.test_typing.LiteralStringTests.test_cannot_subscript) ... ok test_equality (test.test_typing.LiteralStringTests.test_equality) ... ok test_no_isinstance (test.test_typing.LiteralStringTests.test_no_isinstance) ... ok test_repr (test.test_typing.LiteralStringTests.test_repr) ... ok test_args (test.test_typing.LiteralTests.test_args) ... ok test_basics (test.test_typing.LiteralTests.test_basics) ... ok test_cannot_init (test.test_typing.LiteralTests.test_cannot_init) ... ok test_dir (test.test_typing.LiteralTests.test_dir) ... ok test_does_not_flatten_enum (test.test_typing.LiteralTests.test_does_not_flatten_enum) ... ok test_enum (test.test_typing.LiteralTests.test_enum) ... ok test_equal (test.test_typing.LiteralTests.test_equal) ... ok test_flatten (test.test_typing.LiteralTests.test_flatten) ... ok test_hash (test.test_typing.LiteralTests.test_hash) ... ok test_illegal_parameters_do_not_raise_runtime_errors (test.test_typing.LiteralTests.test_illegal_parameters_do_not_raise_runtime_errors) ... ok test_literals_inside_other_types (test.test_typing.LiteralTests.test_literals_inside_other_types) ... ok test_no_isinstance_or_issubclass (test.test_typing.LiteralTests.test_no_isinstance_or_issubclass) ... ok test_no_multiple_subscripts (test.test_typing.LiteralTests.test_no_multiple_subscripts) ... ok test_no_subclassing (test.test_typing.LiteralTests.test_no_subclassing) ... ok test_repr (test.test_typing.LiteralTests.test_repr) ... ok test_annotation_usage (test.test_typing.NamedTupleTests.test_annotation_usage) ... ok test_annotation_usage_with_default (test.test_typing.NamedTupleTests.test_annotation_usage_with_default) ... ok test_annotation_usage_with_methods (test.test_typing.NamedTupleTests.test_annotation_usage_with_methods) ... ok test_basics (test.test_typing.NamedTupleTests.test_basics) ... ok test_copy_and_pickle (test.test_typing.NamedTupleTests.test_copy_and_pickle) ... ok test_empty_namedtuple (test.test_typing.NamedTupleTests.test_empty_namedtuple) ... ok test_generic (test.test_typing.NamedTupleTests.test_generic) ... ok test_generic_pep695 (test.test_typing.NamedTupleTests.test_generic_pep695) ... ok test_multiple_inheritance (test.test_typing.NamedTupleTests.test_multiple_inheritance) ... ok test_namedtuple_errors (test.test_typing.NamedTupleTests.test_namedtuple_errors) ... ok test_namedtuple_keyword_usage (test.test_typing.NamedTupleTests.test_namedtuple_keyword_usage) ... ok test_namedtuple_special_keyword_names (test.test_typing.NamedTupleTests.test_namedtuple_special_keyword_names) ... ok test_non_generic_subscript (test.test_typing.NamedTupleTests.test_non_generic_subscript) ... ok test_orig_bases (test.test_typing.NamedTupleTests.test_orig_bases) ... ok test_cannot_instantiate (test.test_typing.NeverTests.test_cannot_instantiate) ... ok test_cannot_subclass (test.test_typing.NeverTests.test_cannot_subclass) ... ok test_equality (test.test_typing.NeverTests.test_equality) ... ok test_get_origin (test.test_typing.NeverTests.test_get_origin) ... ok test_get_type_hints (test.test_typing.NeverTests.test_get_type_hints) ... ok test_instance_type_error (test.test_typing.NeverTests.test_instance_type_error) ... ok test_not_generic (test.test_typing.NeverTests.test_not_generic) ... ok test_repr (test.test_typing.NeverTests.test_repr) ... ok test_subclass_type_error (test.test_typing.NeverTests.test_subclass_type_error) ... ok test_basic (test.test_typing.NewTypeTests.test_basic) ... ok test_error_message_when_subclassing (test.test_typing.NewTypeTests.test_error_message_when_subclassing) ... ok test_errors (test.test_typing.NewTypeTests.test_errors) ... ok test_missing__name__ (test.test_typing.NewTypeTests.test_missing__name__) ... ok test_or (test.test_typing.NewTypeTests.test_or) ... ok test_pickle (test.test_typing.NewTypeTests.test_pickle) ... ok test_repr (test.test_typing.NewTypeTests.test_repr) ... ok test_special_attrs (test.test_typing.NewTypeTests.test_special_attrs) ... ok test_cannot_instantiate (test.test_typing.NoReturnTests.test_cannot_instantiate) ... ok test_cannot_subclass (test.test_typing.NoReturnTests.test_cannot_subclass) ... ok test_equality (test.test_typing.NoReturnTests.test_equality) ... ok test_get_origin (test.test_typing.NoReturnTests.test_get_origin) ... ok test_get_type_hints (test.test_typing.NoReturnTests.test_get_type_hints) ... ok test_instance_type_error (test.test_typing.NoReturnTests.test_instance_type_error) ... ok test_not_equality (test.test_typing.NoReturnTests.test_not_equality) ... ok test_not_generic (test.test_typing.NoReturnTests.test_not_generic) ... ok test_repr (test.test_typing.NoReturnTests.test_repr) ... ok test_subclass_type_error (test.test_typing.NoReturnTests.test_subclass_type_error) ... ok test_basics (test.test_typing.NotRequiredTests.test_basics) ... ok test_cannot_init (test.test_typing.NotRequiredTests.test_cannot_init) ... ok test_cannot_subclass (test.test_typing.NotRequiredTests.test_cannot_subclass) ... ok test_no_isinstance (test.test_typing.NotRequiredTests.test_no_isinstance) ... ok test_repr (test.test_typing.NotRequiredTests.test_repr) ... ok test_async_contextmanager (test.test_typing.OtherABCTests.test_async_contextmanager) ... ok test_contextmanager (test.test_typing.OtherABCTests.test_contextmanager) ... ok test_overload_fails (test.test_typing.OverloadTests.test_overload_fails) ... ok test_overload_on_compiled_functions (test.test_typing.OverloadTests.test_overload_on_compiled_functions) ... skipped 'implementation detail specific to cpython' test_overload_registry (test.test_typing.OverloadTests.test_overload_registry) ... ok test_overload_registry_repeated (test.test_typing.OverloadTests.test_overload_registry_repeated) ... ok test_overload_succeeds (test.test_typing.OverloadTests.test_overload_succeeds) ... ok test_multiple_decorators (test.test_typing.OverrideDecoratorTests.test_multiple_decorators) ... ok test_override (test.test_typing.OverrideDecoratorTests.test_override) ... ok test_property (test.test_typing.OverrideDecoratorTests.test_property) ... ok test_silent_failure (test.test_typing.OverrideDecoratorTests.test_silent_failure) ... ok test_args_kwargs (test.test_typing.ParamSpecTests.test_args_kwargs) ... ok test_bad_var_substitution (test.test_typing.ParamSpecTests.test_bad_var_substitution) ... ok test_basic_plain (test.test_typing.ParamSpecTests.test_basic_plain) ... ok test_basic_with_exec (test.test_typing.ParamSpecTests.test_basic_with_exec) ... ok test_cannot_subclass (test.test_typing.ParamSpecTests.test_cannot_subclass) ... FAIL test_multiple_paramspecs_in_user_generics (test.test_typing.ParamSpecTests.test_multiple_paramspecs_in_user_generics) ... ok test_paramspec_gets_copied (test.test_typing.ParamSpecTests.test_paramspec_gets_copied) ... ok test_paramspec_in_nested_generics (test.test_typing.ParamSpecTests.test_paramspec_in_nested_generics) ... ok test_stringized (test.test_typing.ParamSpecTests.test_stringized) ... ok test_type_var_subst_for_other_type_vars (test.test_typing.ParamSpecTests.test_type_var_subst_for_other_type_vars) ... ok test_typevartuple_and_paramspecs_in_generic_aliases (test.test_typing.ParamSpecTests.test_typevartuple_and_paramspecs_in_generic_aliases) ... ok test_typevartuple_and_paramspecs_in_user_generics (test.test_typing.ParamSpecTests.test_typevartuple_and_paramspecs_in_user_generics) ... ok test_user_generics (test.test_typing.ParamSpecTests.test_user_generics) ... ok test_valid_uses (test.test_typing.ParamSpecTests.test_valid_uses) ... ok test_var_substitution (test.test_typing.ParamSpecTests.test_var_substitution) ... ok test_basic_protocol (test.test_typing.ProtocolTests.test_basic_protocol) ... ok test_builtin_protocol_allowlist (test.test_typing.ProtocolTests.test_builtin_protocol_allowlist) ... ok test_bundled_protocol_instance_works (test.test_typing.ProtocolTests.test_bundled_protocol_instance_works) ... ok test_cannot_instantiate_abstract (test.test_typing.ProtocolTests.test_cannot_instantiate_abstract) ... ok test_collections_protocols_allowed (test.test_typing.ProtocolTests.test_collections_protocols_allowed) ... ok test_concrete_class_inheriting_init_from_protocol (test.test_typing.ProtocolTests.test_concrete_class_inheriting_init_from_protocol) ... ok test_custom_subclasshook (test.test_typing.ProtocolTests.test_custom_subclasshook) ... ok test_custom_subclasshook_2 (test.test_typing.ProtocolTests.test_custom_subclasshook_2) ... ok test_defining_generic_protocols (test.test_typing.ProtocolTests.test_defining_generic_protocols) ... ok test_defining_generic_protocols_old_style (test.test_typing.ProtocolTests.test_defining_generic_protocols_old_style) ... ok test_empty_protocol_decorated_with_final (test.test_typing.ProtocolTests.test_empty_protocol_decorated_with_final) ... ok test_everything_implements_empty_protocol (test.test_typing.ProtocolTests.test_everything_implements_empty_protocol) ... ok test_function_implements_protocol (test.test_typing.ProtocolTests.test_function_implements_protocol) ... ok test_generic_protocols_eq (test.test_typing.ProtocolTests.test_generic_protocols_eq) ... ok test_generic_protocols_repr (test.test_typing.ProtocolTests.test_generic_protocols_repr) ... ok test_generic_protocols_special_from_generic (test.test_typing.ProtocolTests.test_generic_protocols_special_from_generic) ... ok test_generic_protocols_special_from_protocol (test.test_typing.ProtocolTests.test_generic_protocols_special_from_protocol) ... ok test_implicit_issubclass_between_two_protocols (test.test_typing.ProtocolTests.test_implicit_issubclass_between_two_protocols) ... ok test_init_called (test.test_typing.ProtocolTests.test_init_called) ... ok test_interaction_with_isinstance_checks_on_superclasses_with_ABCMeta (test.test_typing.ProtocolTests.test_interaction_with_isinstance_checks_on_superclasses_with_ABCMeta) ... ok test_interaction_with_isinstance_checks_on_superclasses_with_ABCMeta_2 (test.test_typing.ProtocolTests.test_interaction_with_isinstance_checks_on_superclasses_with_ABCMeta_2) ... ok test_isinstance_checks_not_at_whim_of_gc (test.test_typing.ProtocolTests.test_isinstance_checks_not_at_whim_of_gc) ... ok test_issubclass_and_isinstance_on_Protocol_itself (test.test_typing.ProtocolTests.test_issubclass_and_isinstance_on_Protocol_itself) ... ok test_issubclass_fails_correctly (test.test_typing.ProtocolTests.test_issubclass_fails_correctly) ... ok test_new_called (test.test_typing.ProtocolTests.test_new_called) ... ok test_no_inheritance_from_nominal (test.test_typing.ProtocolTests.test_no_inheritance_from_nominal) ... ok test_no_instantiation (test.test_typing.ProtocolTests.test_no_instantiation) ... ok test_no_runtime_deco_on_nominal (test.test_typing.ProtocolTests.test_no_runtime_deco_on_nominal) ... ok test_no_weird_caching_with_issubclass_after_isinstance (test.test_typing.ProtocolTests.test_no_weird_caching_with_issubclass_after_isinstance) ... ok test_no_weird_caching_with_issubclass_after_isinstance_2 (test.test_typing.ProtocolTests.test_no_weird_caching_with_issubclass_after_isinstance_2) ... ok test_no_weird_caching_with_issubclass_after_isinstance_3 (test.test_typing.ProtocolTests.test_no_weird_caching_with_issubclass_after_isinstance_3) ... ok test_no_weird_caching_with_issubclass_after_isinstance_pep695 (test.test_typing.ProtocolTests.test_no_weird_caching_with_issubclass_after_isinstance_pep695) ... ok test_non_protocol_subclasses (test.test_typing.ProtocolTests.test_non_protocol_subclasses) ... ok test_non_runtime_protocol_isinstance_check (test.test_typing.ProtocolTests.test_non_runtime_protocol_isinstance_check) ... ok test_none_on_callable_blocks_implementation (test.test_typing.ProtocolTests.test_none_on_callable_blocks_implementation) ... ok test_none_on_non_callable_doesnt_block_implementation (test.test_typing.ProtocolTests.test_none_on_non_callable_doesnt_block_implementation) ... ok test_none_treated_correctly (test.test_typing.ProtocolTests.test_none_treated_correctly) ... ok test_nonruntime_protocol_interaction_with_evil_classproperty (test.test_typing.ProtocolTests.test_nonruntime_protocol_interaction_with_evil_classproperty) ... ok test_pep695_generic_protocol_callable_members (test.test_typing.ProtocolTests.test_pep695_generic_protocol_callable_members) ... ok test_pep695_generics_can_be_runtime_checkable (test.test_typing.ProtocolTests.test_pep695_generics_can_be_runtime_checkable) ... ok test_protocol_checks_after_subscript (test.test_typing.ProtocolTests.test_protocol_checks_after_subscript) ... ok test_protocol_decorated_with_final_callable_members (test.test_typing.ProtocolTests.test_protocol_decorated_with_final_callable_members) ... ok test_protocol_decorated_with_final_mixed_members (test.test_typing.ProtocolTests.test_protocol_decorated_with_final_mixed_members) ... ok test_protocol_decorated_with_final_noncallable_members (test.test_typing.ProtocolTests.test_protocol_decorated_with_final_noncallable_members) ... ok test_protocol_defining_init_does_not_get_overridden (test.test_typing.ProtocolTests.test_protocol_defining_init_does_not_get_overridden) ... ok test_protocols_bad_subscripts (test.test_typing.ProtocolTests.test_protocols_bad_subscripts) ... ok test_protocols_in_unions (test.test_typing.ProtocolTests.test_protocols_in_unions) ... ok test_protocols_isinstance (test.test_typing.ProtocolTests.test_protocols_isinstance) ... ok test_protocols_isinstance___slots__ (test.test_typing.ProtocolTests.test_protocols_isinstance___slots__) ... ok test_protocols_isinstance_attribute_access_with_side_effects (test.test_typing.ProtocolTests.test_protocols_isinstance_attribute_access_with_side_effects) ... ok test_protocols_isinstance_init (test.test_typing.ProtocolTests.test_protocols_isinstance_init) ... ok test_protocols_isinstance_monkeypatching (test.test_typing.ProtocolTests.test_protocols_isinstance_monkeypatching) ... ok test_protocols_isinstance_not_fooled_by_custom_dir (test.test_typing.ProtocolTests.test_protocols_isinstance_not_fooled_by_custom_dir) ... ok test_protocols_isinstance_properties_and_descriptors (test.test_typing.ProtocolTests.test_protocols_isinstance_properties_and_descriptors) ... ok test_protocols_isinstance_py36 (test.test_typing.ProtocolTests.test_protocols_isinstance_py36) ... ok test_protocols_issubclass (test.test_typing.ProtocolTests.test_protocols_issubclass) ... ok test_protocols_issubclass_non_callable (test.test_typing.ProtocolTests.test_protocols_issubclass_non_callable) ... ok test_protocols_pickleable (test.test_typing.ProtocolTests.test_protocols_pickleable) ... ok test_protocols_support_register (test.test_typing.ProtocolTests.test_protocols_support_register) ... ok test_reversible (test.test_typing.ProtocolTests.test_reversible) ... ok test_runtime_checkable_generic (test.test_typing.ProtocolTests.test_runtime_checkable_generic) ... ok test_runtime_checkable_generic_non_protocol (test.test_typing.ProtocolTests.test_runtime_checkable_generic_non_protocol) ... ok test_runtime_protocol_interaction_with_evil_classproperty (test.test_typing.ProtocolTests.test_runtime_protocol_interaction_with_evil_classproperty) ... ok test_subprotocols_extending (test.test_typing.ProtocolTests.test_subprotocols_extending) ... ok test_subprotocols_merging (test.test_typing.ProtocolTests.test_subprotocols_merging) ... ok test_super_call_init (test.test_typing.ProtocolTests.test_super_call_init) ... ok test_supports_abs (test.test_typing.ProtocolTests.test_supports_abs) ... ok test_supports_bytes (test.test_typing.ProtocolTests.test_supports_bytes) ... ok test_supports_complex (test.test_typing.ProtocolTests.test_supports_complex) ... ok test_supports_float (test.test_typing.ProtocolTests.test_supports_float) ... ok test_supports_index (test.test_typing.ProtocolTests.test_supports_index) ... ok test_supports_int (test.test_typing.ProtocolTests.test_supports_int) ... ok test_supports_round (test.test_typing.ProtocolTests.test_supports_round) ... ok test_alias_equality (test.test_typing.RETests.test_alias_equality) ... ok test_basics (test.test_typing.RETests.test_basics) ... ok test_cannot_subclass (test.test_typing.RETests.test_cannot_subclass) ... ok test_errors (test.test_typing.RETests.test_errors) ... ok test_re_submodule (test.test_typing.RETests.test_re_submodule) ... ok test_re_submodule_access_basics (test.test_typing.RETests.test_re_submodule_access_basics) ... ok test_repr (test.test_typing.RETests.test_repr) ... ok test_basics (test.test_typing.RequiredTests.test_basics) ... ok test_cannot_init (test.test_typing.RequiredTests.test_cannot_init) ... ok test_cannot_subclass (test.test_typing.RequiredTests.test_cannot_subclass) ... ok test_no_isinstance (test.test_typing.RequiredTests.test_no_isinstance) ... ok test_repr (test.test_typing.RequiredTests.test_repr) ... ok test_reveal_type (test.test_typing.RevealTypeTests.test_reveal_type) ... ok test_alias (test.test_typing.SelfTests.test_alias) ... ok test_basics (test.test_typing.SelfTests.test_basics) ... ok test_cannot_init (test.test_typing.SelfTests.test_cannot_init) ... ok test_cannot_subclass (test.test_typing.SelfTests.test_cannot_subclass) ... ok test_cannot_subscript (test.test_typing.SelfTests.test_cannot_subscript) ... ok test_equality (test.test_typing.SelfTests.test_equality) ... ok test_no_isinstance (test.test_typing.SelfTests.test_no_isinstance) ... ok test_repr (test.test_typing.SelfTests.test_repr) ... ok test_genericalias_dir (test.test_typing.SpecialAttrsTests.test_genericalias_dir) ... ok test_special_attrs (test.test_typing.SpecialAttrsTests.test_special_attrs) ... ok test_special_attrs2 (test.test_typing.SpecialAttrsTests.test_special_attrs2) ... FAIL test_no_duplicates_if_replacement_not_in_templates (test.test_typing.TemplateReplacementTests.test_no_duplicates_if_replacement_not_in_templates) ... ok test_two_templates_two_replacements_yields_correct_renders (test.test_typing.TemplateReplacementTests.test_two_templates_two_replacements_yields_correct_renders) ... ok test_c_functions (test.test_typing.TestModules.test_c_functions) ... ok test_basics (test.test_typing.TupleTests.test_basics) ... ok test_equality (test.test_typing.TupleTests.test_equality) ... ok test_errors (test.test_typing.TupleTests.test_errors) ... ok test_repr (test.test_typing.TupleTests.test_repr) ... ok test_tuple_instance_type_error (test.test_typing.TupleTests.test_tuple_instance_type_error) ... ok test_tuple_subclass (test.test_typing.TupleTests.test_tuple_subclass) ... ok test_cannot_instantiate (test.test_typing.TypeAliasTests.test_cannot_instantiate) ... ok test_cannot_subclass (test.test_typing.TypeAliasTests.test_cannot_subclass) ... ok test_cannot_subscript (test.test_typing.TypeAliasTests.test_cannot_subscript) ... ok test_canonical_usage_with_type_comment (test.test_typing.TypeAliasTests.test_canonical_usage_with_type_comment) ... ok test_canonical_usage_with_variable_annotation (test.test_typing.TypeAliasTests.test_canonical_usage_with_variable_annotation) ... ok test_no_isinstance (test.test_typing.TypeAliasTests.test_no_isinstance) ... ok test_no_issubclass (test.test_typing.TypeAliasTests.test_no_issubclass) ... ok test_repr (test.test_typing.TypeAliasTests.test_repr) ... ok test_stringized_usage (test.test_typing.TypeAliasTests.test_stringized_usage) ... ok test_basics (test.test_typing.TypeGuardTests.test_basics) ... ok test_cannot_init (test.test_typing.TypeGuardTests.test_cannot_init) ... ok test_cannot_subclass (test.test_typing.TypeGuardTests.test_cannot_subclass) ... ok test_no_isinstance (test.test_typing.TypeGuardTests.test_no_isinstance) ... ok test_repr (test.test_typing.TypeGuardTests.test_repr) ... ok test_cannot_iterate (test.test_typing.TypeIterationTests.test_cannot_iterate) ... ok test_is_not_instance_of_iterable (test.test_typing.TypeIterationTests.test_is_not_instance_of_iterable) ... ok test_type_basic (test.test_typing.TypeTests.test_type_basic) ... ok test_type_optional (test.test_typing.TypeTests.test_type_optional) ... ok test_type_typevar (test.test_typing.TypeTests.test_type_typevar) ... ok test_attributes (test.test_typing.TypeVarTests.test_attributes) ... ok test_bad_var_substitution (test.test_typing.TypeVarTests.test_bad_var_substitution) ... ok test_basic_plain (test.test_typing.TypeVarTests.test_basic_plain) ... ok test_basic_with_exec (test.test_typing.TypeVarTests.test_basic_with_exec) ... ok test_bound_errors (test.test_typing.TypeVarTests.test_bound_errors) ... ok test_cannot_combine_explicit_and_infer (test.test_typing.TypeVarTests.test_cannot_combine_explicit_and_infer) ... FAIL test_cannot_instantiate_vars (test.test_typing.TypeVarTests.test_cannot_instantiate_vars) ... ok test_cannot_subclass (test.test_typing.TypeVarTests.test_cannot_subclass) ... FAIL test_constrained_error (test.test_typing.TypeVarTests.test_constrained_error) ... ok test_constructor (test.test_typing.TypeVarTests.test_constructor) ... ok test_many_weakrefs (test.test_typing.TypeVarTests.test_many_weakrefs) ... ok test_missing__name__ (test.test_typing.TypeVarTests.test_missing__name__) ... ok test_no_bivariant (test.test_typing.TypeVarTests.test_no_bivariant) ... ok test_no_redefinition (test.test_typing.TypeVarTests.test_no_redefinition) ... ok test_or (test.test_typing.TypeVarTests.test_or) ... ok test_repr (test.test_typing.TypeVarTests.test_repr) ... ok test_typevar_instance_type_error (test.test_typing.TypeVarTests.test_typevar_instance_type_error) ... ok test_typevar_subclass_type_error (test.test_typing.TypeVarTests.test_typevar_subclass_type_error) ... ok test_union_constrained (test.test_typing.TypeVarTests.test_union_constrained) ... ok test_union_unique (test.test_typing.TypeVarTests.test_union_unique) ... ok test_var_substitution (test.test_typing.TypeVarTests.test_var_substitution) ... ok test_pickling_then_unpickling_results_in_same_identity (test.test_typing.TypeVarTuplePicklingTests.test_pickling_then_unpickling_results_in_same_identity) ... ok test_pickling_then_unpickling_tuple_with_typevartuple_equality (test.test_typing.TypeVarTuplePicklingTests.test_pickling_then_unpickling_tuple_with_typevartuple_equality) ... ok test_pickling_then_unpickling_unpacked_results_in_same_identity (test.test_typing.TypeVarTuplePicklingTests.test_pickling_then_unpickling_unpacked_results_in_same_identity) ... ok test_bad_var_substitution (test.test_typing.TypeVarTupleTests.test_bad_var_substitution) ... FAIL test_callable_args_are_correct (test.test_typing.TypeVarTupleTests.test_callable_args_are_correct) ... ok test_cannot_call_instance (test.test_typing.TypeVarTupleTests.test_cannot_call_instance) ... ok test_cannot_subclass (test.test_typing.TypeVarTupleTests.test_cannot_subclass) ... FAIL test_concatenation_in_variadic_args_annotations_are_correct (test.test_typing.TypeVarTupleTests.test_concatenation_in_variadic_args_annotations_are_correct) ... ok test_different_instances_are_different (test.test_typing.TypeVarTupleTests.test_different_instances_are_different) ... ok test_exec (test.test_typing.TypeVarTupleTests.test_exec) ... ok test_get_type_hints_on_unpack_args (test.test_typing.TypeVarTupleTests.test_get_type_hints_on_unpack_args) ... ok test_get_type_hints_on_unpack_args_string (test.test_typing.TypeVarTupleTests.test_get_type_hints_on_unpack_args_string) ... ok test_instance_is_equal_to_itself (test.test_typing.TypeVarTupleTests.test_instance_is_equal_to_itself) ... ok test_instance_isinstance_of_typevartuple (test.test_typing.TypeVarTupleTests.test_instance_isinstance_of_typevartuple) ... ok test_module (test.test_typing.TypeVarTupleTests.test_module) ... ok test_name (test.test_typing.TypeVarTupleTests.test_name) ... ok test_parameterised_tuple_is_equal_to_itself (test.test_typing.TypeVarTupleTests.test_parameterised_tuple_is_equal_to_itself) ... ok test_repr_is_correct (test.test_typing.TypeVarTupleTests.test_repr_is_correct) ... ok test_tuple_args_and_parameters_are_correct (test.test_typing.TypeVarTupleTests.test_tuple_args_and_parameters_are_correct) ... ok test_tuple_args_are_correct (test.test_typing.TypeVarTupleTests.test_tuple_args_are_correct) ... ok test_type_concatenation_in_tuple_argument_list_succeeds (test.test_typing.TypeVarTupleTests.test_type_concatenation_in_tuple_argument_list_succeeds) ... ok test_type_concatenation_in_variadic_class_argument_list_succeeds (test.test_typing.TypeVarTupleTests.test_type_concatenation_in_variadic_class_argument_list_succeeds) ... ok test_unpacked_typevartuple_is_equal_to_itself (test.test_typing.TypeVarTupleTests.test_unpacked_typevartuple_is_equal_to_itself) ... ok test_var_substitution (test.test_typing.TypeVarTupleTests.test_var_substitution) ... ok test_variadic_args_annotations_are_correct (test.test_typing.TypeVarTupleTests.test_variadic_args_annotations_are_correct) ... ok test_variadic_args_with_ellipsis_annotations_are_correct (test.test_typing.TypeVarTupleTests.test_variadic_args_with_ellipsis_annotations_are_correct) ... ok test_variadic_class_alias_repr_is_correct (test.test_typing.TypeVarTupleTests.test_variadic_class_alias_repr_is_correct) ... ok test_variadic_class_arg_ordering_matters (test.test_typing.TypeVarTupleTests.test_variadic_class_arg_ordering_matters) ... ok test_variadic_class_arg_typevartuple_identity_matters (test.test_typing.TypeVarTupleTests.test_variadic_class_arg_typevartuple_identity_matters) ... ok test_variadic_class_args_are_correct (test.test_typing.TypeVarTupleTests.test_variadic_class_args_are_correct) ... ok test_variadic_class_definition_using_concrete_types_fails (test.test_typing.TypeVarTupleTests.test_variadic_class_definition_using_concrete_types_fails) ... ok test_variadic_class_definition_using_packed_typevartuple_fails (test.test_typing.TypeVarTupleTests.test_variadic_class_definition_using_packed_typevartuple_fails) ... FAIL test_variadic_class_origin_is_correct (test.test_typing.TypeVarTupleTests.test_variadic_class_origin_is_correct) ... ok test_variadic_class_repr_is_correct (test.test_typing.TypeVarTupleTests.test_variadic_class_repr_is_correct) ... ok test_variadic_class_same_args_results_in_equalty (test.test_typing.TypeVarTupleTests.test_variadic_class_same_args_results_in_equalty) ... ok test_variadic_class_with_2_typevars_accepts_2_or_more_args (test.test_typing.TypeVarTupleTests.test_variadic_class_with_2_typevars_accepts_2_or_more_args) ... ok test_variadic_class_with_duplicate_typevartuples_fails (test.test_typing.TypeVarTupleTests.test_variadic_class_with_duplicate_typevartuples_fails) ... ok tests_tuple_arg_ordering_matters (test.test_typing.TypeVarTupleTests.tests_tuple_arg_ordering_matters) ... ok test_basics_functional_syntax (test.test_typing.TypedDictTests.test_basics_functional_syntax) ... ok test_basics_keywords_syntax (test.test_typing.TypedDictTests.test_basics_keywords_syntax) ... ok test_generic_inheritance (test.test_typing.TypedDictTests.test_generic_inheritance) ... ok test_get_type_hints (test.test_typing.TypedDictTests.test_get_type_hints) ... ok test_get_type_hints_generic (test.test_typing.TypedDictTests.test_get_type_hints_generic) ... ok test_implicit_any_inheritance (test.test_typing.TypedDictTests.test_implicit_any_inheritance) ... ok test_is_typeddict (test.test_typing.TypedDictTests.test_is_typeddict) ... ok test_keys_inheritance (test.test_typing.TypedDictTests.test_keys_inheritance) ... ok test_keys_inheritance_with_same_name (test.test_typing.TypedDictTests.test_keys_inheritance_with_same_name) ... ok test_multiple_inheritance (test.test_typing.TypedDictTests.test_multiple_inheritance) ... ok test_multiple_inheritance_with_same_key (test.test_typing.TypedDictTests.test_multiple_inheritance_with_same_key) ... ok test_non_generic_subscript (test.test_typing.TypedDictTests.test_non_generic_subscript) ... ok test_optional (test.test_typing.TypedDictTests.test_optional) ... ok test_optional_keys (test.test_typing.TypedDictTests.test_optional_keys) ... ok test_orig_bases (test.test_typing.TypedDictTests.test_orig_bases) ... ok test_pep695_generic_typeddict (test.test_typing.TypedDictTests.test_pep695_generic_typeddict) ... ok test_pickle (test.test_typing.TypedDictTests.test_pickle) ... ok test_pickle_generic (test.test_typing.TypedDictTests.test_pickle_generic) ... ok test_py36_class_syntax_usage (test.test_typing.TypedDictTests.test_py36_class_syntax_usage) ... ok test_required_notrequired_keys (test.test_typing.TypedDictTests.test_required_notrequired_keys) ... ok test_total (test.test_typing.TypedDictTests.test_total) ... ok test_typeddict_create_errors (test.test_typing.TypedDictTests.test_typeddict_create_errors) ... ok test_typeddict_errors (test.test_typing.TypedDictTests.test_typeddict_errors) ... ok test_typeddict_special_keyword_names (test.test_typing.TypedDictTests.test_typeddict_special_keyword_names) ... ok test_basic (test.test_typing.TypingCallableTests.test_basic) ... ok test_callable_instance_type_error (test.test_typing.TypingCallableTests.test_callable_instance_type_error) ... ok test_callable_instance_works (test.test_typing.TypingCallableTests.test_callable_instance_works) ... ok test_callable_with_ellipsis (test.test_typing.TypingCallableTests.test_callable_with_ellipsis) ... ok test_callable_wrong_forms (test.test_typing.TypingCallableTests.test_callable_wrong_forms) ... ok test_cannot_instantiate (test.test_typing.TypingCallableTests.test_cannot_instantiate) ... ok test_concatenate (test.test_typing.TypingCallableTests.test_concatenate) ... ok test_consistency (test.test_typing.TypingCallableTests.test_consistency) ... ok test_dir (test.test_typing.TypingCallableTests.test_dir) ... ok test_ellipsis_in_generic (test.test_typing.TypingCallableTests.test_ellipsis_in_generic) ... ok test_eq_hash (test.test_typing.TypingCallableTests.test_eq_hash) ... ok test_errors (test.test_typing.TypingCallableTests.test_errors) ... ok test_nested_paramspec (test.test_typing.TypingCallableTests.test_nested_paramspec) ... ok test_or_and_ror (test.test_typing.TypingCallableTests.test_or_and_ror) ... ok test_paramspec (test.test_typing.TypingCallableTests.test_paramspec) ... ok test_pickle (test.test_typing.TypingCallableTests.test_pickle) ... ok test_repr (test.test_typing.TypingCallableTests.test_repr) ... ok test_self_subclass (test.test_typing.TypingCallableTests.test_self_subclass) ... ok test_type_erasure (test.test_typing.TypingCallableTests.test_type_erasure) ... ok test_type_subst_error (test.test_typing.TypingCallableTests.test_type_subst_error) ... ok test_var_substitution (test.test_typing.TypingCallableTests.test_var_substitution) ... ok test_weakref (test.test_typing.TypingCallableTests.test_weakref) ... ok test_base_class_kept (test.test_typing.UnionTests.test_base_class_kept) ... ok test_basics (test.test_typing.UnionTests.test_basics) ... ok test_cannot_instantiate (test.test_typing.UnionTests.test_cannot_instantiate) ... ok test_cannot_subclass (test.test_typing.UnionTests.test_cannot_subclass) ... ok test_dir (test.test_typing.UnionTests.test_dir) ... ok test_empty (test.test_typing.UnionTests.test_empty) ... ok test_etree (test.test_typing.UnionTests.test_etree) ... ok test_function_repr_union (test.test_typing.UnionTests.test_function_repr_union) ... ok test_no_eval_union (test.test_typing.UnionTests.test_no_eval_union) ... ok test_optional (test.test_typing.UnionTests.test_optional) ... ok test_optional_isinstance (test.test_typing.UnionTests.test_optional_isinstance) ... ok test_optional_isinstance_type_error (test.test_typing.UnionTests.test_optional_isinstance_type_error) ... ok test_optional_issubclass (test.test_typing.UnionTests.test_optional_issubclass) ... ok test_optional_issubclass_type_error (test.test_typing.UnionTests.test_optional_issubclass_type_error) ... ok test_repr (test.test_typing.UnionTests.test_repr) ... ok test_single_class_disappears (test.test_typing.UnionTests.test_single_class_disappears) ... ok test_union_any (test.test_typing.UnionTests.test_union_any) ... ok test_union_compare_other (test.test_typing.UnionTests.test_union_compare_other) ... ok test_union_generalization (test.test_typing.UnionTests.test_union_generalization) ... ok test_union_isinstance (test.test_typing.UnionTests.test_union_isinstance) ... ok test_union_isinstance_type_error (test.test_typing.UnionTests.test_union_isinstance_type_error) ... ok test_union_issubclass (test.test_typing.UnionTests.test_union_issubclass) ... ok test_union_issubclass_type_error (test.test_typing.UnionTests.test_union_issubclass_type_error) ... ok test_union_object (test.test_typing.UnionTests.test_union_object) ... ok test_union_of_literals (test.test_typing.UnionTests.test_union_of_literals) ... ok test_union_of_unhashable (test.test_typing.UnionTests.test_union_of_unhashable) ... ok test_union_str_pattern (test.test_typing.UnionTests.test_union_str_pattern) ... ok test_union_union (test.test_typing.UnionTests.test_union_union) ... ok test_unordered (test.test_typing.UnionTests.test_unordered) ... ok test_accepts_single_type (test.test_typing.UnpackTests.test_accepts_single_type) ... ok test_builtin_tuple (test.test_typing.UnpackTests.test_builtin_tuple) ... ok test_cannot_be_called (test.test_typing.UnpackTests.test_cannot_be_called) ... ok test_dir (test.test_typing.UnpackTests.test_dir) ... ok test_rejects_multiple_parameterization (test.test_typing.UnpackTests.test_rejects_multiple_parameterization) ... ok test_rejects_multiple_types (test.test_typing.UnpackTests.test_rejects_multiple_types) ... ok test_unpack_wrong_type (test.test_typing.UnpackTests.test_unpack_wrong_type) ... ok test_usage_with_kwargs (test.test_typing.UnpackTests.test_usage_with_kwargs) ... ok ParamSpec (typing) Doctest: typing.ParamSpec ... ok TypedDict (typing) Doctest: typing.TypedDict ... ok _collect_parameters (typing) Doctest: typing._collect_parameters ... ok _should_unflatten_callable_args (typing) Doctest: typing._should_unflatten_callable_args ... ok get_args (typing) Doctest: typing.get_args ... ok get_origin (typing) Doctest: typing.get_origin ... ok is_typeddict (typing) Doctest: typing.is_typeddict ... ok ====================================================================== FAIL: test_cannot_subclass (test.test_typing.ParamSpecTests.test_cannot_subclass) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_typing.py", line 9261, in test_cannot_subclass with self.assertRaisesRegex(TypeError, NOT_A_BASE_TYPE % 'ParamSpec'): AssertionError: TypeError not raised ====================================================================== FAIL: test_special_attrs2 (test.test_typing.SpecialAttrsTests.test_special_attrs2) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_typing.py", line 9539, in test_special_attrs2 with self.assertRaises(TypeError): AssertionError: TypeError not raised ====================================================================== FAIL: test_cannot_combine_explicit_and_infer (test.test_typing.TypeVarTests.test_cannot_combine_explicit_and_infer) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_typing.py", line 523, in test_cannot_combine_explicit_and_infer with self.assertRaises(ValueError): AssertionError: ValueError not raised ====================================================================== FAIL: test_cannot_subclass (test.test_typing.TypeVarTests.test_cannot_subclass) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_typing.py", line 491, in test_cannot_subclass with self.assertRaisesRegex(TypeError, NOT_A_BASE_TYPE % 'TypeVar'): AssertionError: TypeError not raised ====================================================================== FAIL: test_bad_var_substitution (test.test_typing.TypeVarTupleTests.test_bad_var_substitution) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_typing.py", line 1186, in test_bad_var_substitution with self.assertRaises(TypeError): AssertionError: TypeError not raised ====================================================================== FAIL: test_cannot_subclass (test.test_typing.TypeVarTupleTests.test_cannot_subclass) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_typing.py", line 1321, in test_cannot_subclass with self.assertRaisesRegex(TypeError, NOT_A_BASE_TYPE % 'TypeVarTuple'): AssertionError: TypeError not raised ====================================================================== FAIL: test_variadic_class_definition_using_packed_typevartuple_fails (test.test_typing.TypeVarTupleTests.test_variadic_class_definition_using_packed_typevartuple_fails) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_typing.py", line 1551, in test_variadic_class_definition_using_packed_typevartuple_fails with self.assertRaises(TypeError): AssertionError: TypeError not raised ---------------------------------------------------------------------- Ran 634 tests in 0.680s FAILED (failures=7, skipped=2) 0:00:01 load avg: 1.38 [1/1/1] test_typing failed (7 failures) == Tests result: FAILURE == 1 test failed: test_typing Total duration: 1.0 sec Total tests: run=634 failures=7 skipped=2 Total test files: run=1/1 failed=1 Result: FAILURE test test_typing failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1755172æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 249560932 0:00:00 load avg: 1.38 Run 1 test sequentially in a single process 0:00:00 load avg: 1.38 [1/1] test_unicode test_formatter_field_name_split (test.test_unicode.StringModuleTest.test_formatter_field_name_split) ... ok test_formatter_parser (test.test_unicode.StringModuleTest.test_formatter_parser) ... ok test_str_subclass_attr (test.test_unicode.StringModuleTest.test_str_subclass_attr) ... ok test___contains__ (test.test_unicode.UnicodeTest.test___contains__) ... ok test_adaptive_find (test.test_unicode.UnicodeTest.test_adaptive_find) ... ok test_additional_rsplit (test.test_unicode.UnicodeTest.test_additional_rsplit) ... ok test_additional_split (test.test_unicode.UnicodeTest.test_additional_split) ... ok test_ascii (test.test_unicode.UnicodeTest.test_ascii) ... ok test_bug1001011 (test.test_unicode.UnicodeTest.test_bug1001011) ... ok test_bytes_comparison (test.test_unicode.UnicodeTest.test_bytes_comparison) ... ok test_capitalize (test.test_unicode.UnicodeTest.test_capitalize) ... ok test_capitalize_nonascii (test.test_unicode.UnicodeTest.test_capitalize_nonascii) ... ok test_case_operation_overflow (test.test_unicode.UnicodeTest.test_case_operation_overflow) ... skipped 'requires 32-bit system' test_casefold (test.test_unicode.UnicodeTest.test_casefold) ... ok test_center (test.test_unicode.UnicodeTest.test_center) ... ok test_check_encoding_errors (test.test_unicode.UnicodeTest.test_check_encoding_errors) ... ok test_codecs (test.test_unicode.UnicodeTest.test_codecs) ... ok test_codecs_charmap (test.test_unicode.UnicodeTest.test_codecs_charmap) ... ok test_codecs_errors (test.test_unicode.UnicodeTest.test_codecs_errors) ... ok test_codecs_idna (test.test_unicode.UnicodeTest.test_codecs_idna) ... ok test_codecs_utf7 (test.test_unicode.UnicodeTest.test_codecs_utf7) ... ok test_codecs_utf8 (test.test_unicode.UnicodeTest.test_codecs_utf8) ... ok test_compare (test.test_unicode.UnicodeTest.test_compare) ... ok test_comparison (test.test_unicode.UnicodeTest.test_comparison) ... ok test_concatenation (test.test_unicode.UnicodeTest.test_concatenation) ... ok test_constructor (test.test_unicode.UnicodeTest.test_constructor) ... ok test_constructor_defaults (test.test_unicode.UnicodeTest.test_constructor_defaults) Check the constructor argument defaults. ... ok test_constructor_keyword_args (test.test_unicode.UnicodeTest.test_constructor_keyword_args) Pass various keyword argument combinations to the constructor. ... ok test_contains (test.test_unicode.UnicodeTest.test_contains) ... ok test_conversion (test.test_unicode.UnicodeTest.test_conversion) ... ok test_count (test.test_unicode.UnicodeTest.test_count) ... ok test_endswith (test.test_unicode.UnicodeTest.test_endswith) ... ok test_exhausted_iterator (test.test_unicode.UnicodeTest.test_exhausted_iterator) ... ok test_expandtabs (test.test_unicode.UnicodeTest.test_expandtabs) ... ok test_expandtabs_optimization (test.test_unicode.UnicodeTest.test_expandtabs_optimization) ... skipped 'implementation detail specific to cpython' test_expandtabs_overflows_gracefully (test.test_unicode.UnicodeTest.test_expandtabs_overflows_gracefully) ... skipped 'only applies to 32-bit platforms' test_extended_getslice (test.test_unicode.UnicodeTest.test_extended_getslice) ... ok test_find (test.test_unicode.UnicodeTest.test_find) ... ok test_find_etc_raise_correct_error_messages (test.test_unicode.UnicodeTest.test_find_etc_raise_correct_error_messages) ... FAIL test_find_many_lengths (test.test_unicode.UnicodeTest.test_find_many_lengths) ... ok test_find_periodic_pattern (test.test_unicode.UnicodeTest.test_find_periodic_pattern) Cover the special path for periodic patterns. ... ok test_find_shift_table_overflow (test.test_unicode.UnicodeTest.test_find_shift_table_overflow) When the table of 8-bit shifts overflows. ... ok test_find_with_memory (test.test_unicode.UnicodeTest.test_find_with_memory) ... ok test_fixtype (test.test_unicode.UnicodeTest.test_fixtype) ... ok test_floatformatting (test.test_unicode.UnicodeTest.test_floatformatting) ... ok test_format (test.test_unicode.UnicodeTest.test_format) ... ok test_format_auto_numbering (test.test_unicode.UnicodeTest.test_format_auto_numbering) ... ok test_format_float (test.test_unicode.UnicodeTest.test_format_float) ... ok test_format_huge_item_number (test.test_unicode.UnicodeTest.test_format_huge_item_number) ... ok test_format_huge_precision (test.test_unicode.UnicodeTest.test_format_huge_precision) ... ok test_format_huge_width (test.test_unicode.UnicodeTest.test_format_huge_width) ... ok test_format_map (test.test_unicode.UnicodeTest.test_format_map) ... ok test_format_subclass (test.test_unicode.UnicodeTest.test_format_subclass) ... ok test_formatting (test.test_unicode.UnicodeTest.test_formatting) ... ok test_formatting_c_limits (test.test_unicode.UnicodeTest.test_formatting_c_limits) ... skipped 'implementation detail specific to cpython' test_formatting_huge_precision (test.test_unicode.UnicodeTest.test_formatting_huge_precision) ... ok test_formatting_huge_precision_c_limits (test.test_unicode.UnicodeTest.test_formatting_huge_precision_c_limits) ... skipped 'implementation detail specific to cpython' test_formatting_huge_width (test.test_unicode.UnicodeTest.test_formatting_huge_width) ... ok test_formatting_with_enum (test.test_unicode.UnicodeTest.test_formatting_with_enum) ... ok test_free_after_iterating (test.test_unicode.UnicodeTest.test_free_after_iterating) ... ok test_getnewargs (test.test_unicode.UnicodeTest.test_getnewargs) ... FAIL test_hash (test.test_unicode.UnicodeTest.test_hash) ... ok test_index (test.test_unicode.UnicodeTest.test_index) ... ok test_inplace_rewrites (test.test_unicode.UnicodeTest.test_inplace_rewrites) ... ok test_invalid_cb_for_2bytes_seq (test.test_unicode.UnicodeTest.test_invalid_cb_for_2bytes_seq) Test that an 'invalid continuation byte' error is raised when the ... ok test_invalid_cb_for_3bytes_seq (test.test_unicode.UnicodeTest.test_invalid_cb_for_3bytes_seq) Test that an 'invalid continuation byte' error is raised when the ... ok test_invalid_cb_for_4bytes_seq (test.test_unicode.UnicodeTest.test_invalid_cb_for_4bytes_seq) Test that an 'invalid continuation byte' error is raised when the ... ok test_invalid_start_byte (test.test_unicode.UnicodeTest.test_invalid_start_byte) Test that an 'invalid start byte' error is raised when the first byte ... ok test_isalnum (test.test_unicode.UnicodeTest.test_isalnum) ... ok test_isalpha (test.test_unicode.UnicodeTest.test_isalpha) ... ok test_isascii (test.test_unicode.UnicodeTest.test_isascii) ... ok test_isdecimal (test.test_unicode.UnicodeTest.test_isdecimal) ... ok test_isdigit (test.test_unicode.UnicodeTest.test_isdigit) ... ok test_isidentifier (test.test_unicode.UnicodeTest.test_isidentifier) ... ok test_isidentifier_legacy (test.test_unicode.UnicodeTest.test_isidentifier_legacy) ... skipped 'implementation detail specific to cpython' test_islower (test.test_unicode.UnicodeTest.test_islower) ... ok test_isnumeric (test.test_unicode.UnicodeTest.test_isnumeric) ... ok test_isprintable (test.test_unicode.UnicodeTest.test_isprintable) ... ok test_isprintable_invariant (test.test_unicode.UnicodeTest.test_isprintable_invariant) ... skipped "resource 'cpu' is not enabled" test_isspace (test.test_unicode.UnicodeTest.test_isspace) ... ok test_isspace_invariant (test.test_unicode.UnicodeTest.test_isspace_invariant) ... skipped "resource 'cpu' is not enabled" test_issue127903 (test.test_unicode.UnicodeTest.test_issue127903) ... ok test_issue18183 (test.test_unicode.UnicodeTest.test_issue18183) ... ok test_issue28598_strsubclass_rhs (test.test_unicode.UnicodeTest.test_issue28598_strsubclass_rhs) ... ok test_issue8271 (test.test_unicode.UnicodeTest.test_issue8271) ... ok test_istitle (test.test_unicode.UnicodeTest.test_istitle) ... ok test_isupper (test.test_unicode.UnicodeTest.test_isupper) ... ok test_iteration (test.test_unicode.UnicodeTest.test_iteration) ... ok test_iterators (test.test_unicode.UnicodeTest.test_iterators) ... ok test_iterators_invocation (test.test_unicode.UnicodeTest.test_iterators_invocation) ... ok test_join (test.test_unicode.UnicodeTest.test_join) ... ok test_join_overflow (test.test_unicode.UnicodeTest.test_join_overflow) ... skipped 'needs too much memory on a 64-bit platform' test_literals (test.test_unicode.UnicodeTest.test_literals) ... ok test_ljust (test.test_unicode.UnicodeTest.test_ljust) ... ok test_lower (test.test_unicode.UnicodeTest.test_lower) ... ok test_maketrans_translate (test.test_unicode.UnicodeTest.test_maketrans_translate) ... ok test_mul (test.test_unicode.UnicodeTest.test_mul) ... ok test_none_arguments (test.test_unicode.UnicodeTest.test_none_arguments) ... ok test_partition (test.test_unicode.UnicodeTest.test_partition) ... ok test_pickle_iterator (test.test_unicode.UnicodeTest.test_pickle_iterator) ... ok test_printable_repr (test.test_unicode.UnicodeTest.test_printable_repr) ... ok test_raiseMemError (test.test_unicode.UnicodeTest.test_raiseMemError) ... test_raiseMemError (test.test_unicode.UnicodeTest.test_raiseMemError) (char='a', struct_size=40, char_size=1) ... ERROR test_raiseMemError (test.test_unicode.UnicodeTest.test_raiseMemError) (char='é', struct_size=56, char_size=1) ... ERROR test_raiseMemError (test.test_unicode.UnicodeTest.test_raiseMemError) (char='€', struct_size=56, char_size=2) ... ERROR test_raiseMemError (test.test_unicode.UnicodeTest.test_raiseMemError) (char='\U0010ffff', struct_size=56, char_size=4) ... ERROR test_removeprefix (test.test_unicode.UnicodeTest.test_removeprefix) ... ok test_removesuffix (test.test_unicode.UnicodeTest.test_removesuffix) ... ok test_repeat_id_preserving (test.test_unicode.UnicodeTest.test_repeat_id_preserving) ... ok test_replace (test.test_unicode.UnicodeTest.test_replace) ... ok test_replace_id (test.test_unicode.UnicodeTest.test_replace_id) ... skipped 'implementation detail specific to cpython' test_replace_overflow (test.test_unicode.UnicodeTest.test_replace_overflow) ... skipped 'only applies to 32-bit platforms' test_replace_uses_two_way_maxcount (test.test_unicode.UnicodeTest.test_replace_uses_two_way_maxcount) ... ok test_repr (test.test_unicode.UnicodeTest.test_repr) ... ok test_resize (test.test_unicode.UnicodeTest.test_resize) ... skipped 'implementation detail specific to cpython' test_rfind (test.test_unicode.UnicodeTest.test_rfind) ... ok test_rindex (test.test_unicode.UnicodeTest.test_rindex) ... ok test_rjust (test.test_unicode.UnicodeTest.test_rjust) ... ok test_rpartition (test.test_unicode.UnicodeTest.test_rpartition) ... ok test_rsplit (test.test_unicode.UnicodeTest.test_rsplit) ... ok test_slice (test.test_unicode.UnicodeTest.test_slice) ... ok test_split (test.test_unicode.UnicodeTest.test_split) ... ok test_splitlines (test.test_unicode.UnicodeTest.test_splitlines) ... ok test_startswith (test.test_unicode.UnicodeTest.test_startswith) ... ok test_startswith_endswith_errors (test.test_unicode.UnicodeTest.test_startswith_endswith_errors) ... ok test_strip (test.test_unicode.UnicodeTest.test_strip) ... ok test_strip_whitespace (test.test_unicode.UnicodeTest.test_strip_whitespace) ... ok test_subclass_add (test.test_unicode.UnicodeTest.test_subclass_add) ... ok test_subscript (test.test_unicode.UnicodeTest.test_subscript) ... FAIL test_surrogates (test.test_unicode.UnicodeTest.test_surrogates) ... ok test_swapcase (test.test_unicode.UnicodeTest.test_swapcase) ... ok test_title (test.test_unicode.UnicodeTest.test_title) ... ok test_ucs4 (test.test_unicode.UnicodeTest.test_ucs4) ... ok test_unexpected_end_of_data (test.test_unicode.UnicodeTest.test_unexpected_end_of_data) Test that an 'unexpected end of data' error is raised when the string ... ok test_unicode_repr (test.test_unicode.UnicodeTest.test_unicode_repr) ... ok test_upper (test.test_unicode.UnicodeTest.test_upper) ... ok test_utf8_decode_invalid_sequences (test.test_unicode.UnicodeTest.test_utf8_decode_invalid_sequences) ... ok test_utf8_decode_valid_sequences (test.test_unicode.UnicodeTest.test_utf8_decode_valid_sequences) ... ok test_zfill (test.test_unicode.UnicodeTest.test_zfill) ... ok ====================================================================== ERROR: test_raiseMemError (test.test_unicode.UnicodeTest.test_raiseMemError) (char='a', struct_size=40, char_size=1) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_unicode.py", line 2510, in test_raiseMemError sys.getsizeof(char * 42), ^^^^^^^^^ TypeError: getsizeof(...) getsizeof(object, default) -> int Return the size of object in bytes. sys.getsizeof(object, default) will always return default on PyPy, and raise a TypeError if default is not provided. First note that the CPython documentation says that this function may raise a TypeError, so if you are seeing it, it means that the program you are using is not correctly handling this case. On PyPy, though, it always raises TypeError. Before looking for alternatives, please take a moment to read the following explanation as to why it is the case. What you are looking for may not be possible. A memory profiler using this function is most likely to give results inconsistent with reality on PyPy. It would be possible to have sys.getsizeof() return a number (with enough work), but that may or may not represent how much memory the object uses. It doesn't even make really sense to ask how much *one* object uses, in isolation with the rest of the system. For example, instances have maps, which are often shared across many instances; in this case the maps would probably be ignored by an implementation of sys.getsizeof(), but their overhead is important in some cases if they are many instances with unique maps. Conversely, equal strings may share their internal string data even if they are different objects---or empty containers may share parts of their internals as long as they are empty. Even stranger, some lists create objects as you read them; if you try to estimate the size in memory of range(10**6) as the sum of all items' size, that operation will by itself create one million integer objects that never existed in the first place. ====================================================================== ERROR: test_raiseMemError (test.test_unicode.UnicodeTest.test_raiseMemError) (char='é', struct_size=56, char_size=1) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_unicode.py", line 2510, in test_raiseMemError sys.getsizeof(char * 42), ^^^^^^^^^ TypeError: getsizeof(...) getsizeof(object, default) -> int Return the size of object in bytes. sys.getsizeof(object, default) will always return default on PyPy, and raise a TypeError if default is not provided. First note that the CPython documentation says that this function may raise a TypeError, so if you are seeing it, it means that the program you are using is not correctly handling this case. On PyPy, though, it always raises TypeError. Before looking for alternatives, please take a moment to read the following explanation as to why it is the case. What you are looking for may not be possible. A memory profiler using this function is most likely to give results inconsistent with reality on PyPy. It would be possible to have sys.getsizeof() return a number (with enough work), but that may or may not represent how much memory the object uses. It doesn't even make really sense to ask how much *one* object uses, in isolation with the rest of the system. For example, instances have maps, which are often shared across many instances; in this case the maps would probably be ignored by an implementation of sys.getsizeof(), but their overhead is important in some cases if they are many instances with unique maps. Conversely, equal strings may share their internal string data even if they are different objects---or empty containers may share parts of their internals as long as they are empty. Even stranger, some lists create objects as you read them; if you try to estimate the size in memory of range(10**6) as the sum of all items' size, that operation will by itself create one million integer objects that never existed in the first place. ====================================================================== ERROR: test_raiseMemError (test.test_unicode.UnicodeTest.test_raiseMemError) (char='€', struct_size=56, char_size=2) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_unicode.py", line 2510, in test_raiseMemError sys.getsizeof(char * 42), ^^^^^^^^^ TypeError: getsizeof(...) getsizeof(object, default) -> int Return the size of object in bytes. sys.getsizeof(object, default) will always return default on PyPy, and raise a TypeError if default is not provided. First note that the CPython documentation says that this function may raise a TypeError, so if you are seeing it, it means that the program you are using is not correctly handling this case. On PyPy, though, it always raises TypeError. Before looking for alternatives, please take a moment to read the following explanation as to why it is the case. What you are looking for may not be possible. A memory profiler using this function is most likely to give results inconsistent with reality on PyPy. It would be possible to have sys.getsizeof() return a number (with enough work), but that may or may not represent how much memory the object uses. It doesn't even make really sense to ask how much *one* object uses, in isolation with the rest of the system. For example, instances have maps, which are often shared across many instances; in this case the maps would probably be ignored by an implementation of sys.getsizeof(), but their overhead is important in some cases if they are many instances with unique maps. Conversely, equal strings may share their internal string data even if they are different objects---or empty containers may share parts of their internals as long as they are empty. Even stranger, some lists create objects as you read them; if you try to estimate the size in memory of range(10**6) as the sum of all items' size, that operation will by itself create one million integer objects that never existed in the first place. ====================================================================== ERROR: test_raiseMemError (test.test_unicode.UnicodeTest.test_raiseMemError) (char='\U0010ffff', struct_size=56, char_size=4) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_unicode.py", line 2510, in test_raiseMemError sys.getsizeof(char * 42), ^^^^^^^^^ TypeError: getsizeof(...) getsizeof(object, default) -> int Return the size of object in bytes. sys.getsizeof(object, default) will always return default on PyPy, and raise a TypeError if default is not provided. First note that the CPython documentation says that this function may raise a TypeError, so if you are seeing it, it means that the program you are using is not correctly handling this case. On PyPy, though, it always raises TypeError. Before looking for alternatives, please take a moment to read the following explanation as to why it is the case. What you are looking for may not be possible. A memory profiler using this function is most likely to give results inconsistent with reality on PyPy. It would be possible to have sys.getsizeof() return a number (with enough work), but that may or may not represent how much memory the object uses. It doesn't even make really sense to ask how much *one* object uses, in isolation with the rest of the system. For example, instances have maps, which are often shared across many instances; in this case the maps would probably be ignored by an implementation of sys.getsizeof(), but their overhead is important in some cases if they are many instances with unique maps. Conversely, equal strings may share their internal string data even if they are different objects---or empty containers may share parts of their internals as long as they are empty. Even stranger, some lists create objects as you read them; if you try to estimate the size in memory of range(10**6) as the sum of all items' size, that operation will by itself create one million integer objects that never existed in the first place. ====================================================================== FAIL: test_find_etc_raise_correct_error_messages (test.test_unicode.UnicodeTest.test_find_etc_raise_correct_error_messages) ---------------------------------------------------------------------- TypeError: str.find() takes from 2 to 4 positional arguments but 5 were given During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/string_tests.py", line 1508, in test_find_etc_raise_correct_error_messages self.assertRaisesRegex(TypeError, r'^find\(', s.find, ^^^^^^^^^^^^^^^^^ AssertionError: "^find\(" does not match "str.find() takes from 2 to 4 positional arguments but 5 were given" ====================================================================== FAIL: test_getnewargs (test.test_unicode.UnicodeTest.test_getnewargs) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_unicode.py", line 2539, in test_getnewargs self.assertIsNot(args[0], text) ^^^^^^^^^^^ AssertionError: unexpectedly identical: 'abc' ====================================================================== FAIL: test_subscript (test.test_unicode.UnicodeTest.test_subscript) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/string_tests.py", line 1267, in test_subscript self.checkraises(TypeError, 'abc', '__getitem__', idx_type, expected_msg=expected_msg) ^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/string_tests.py", line 91, in checkraises self.assertEqual(str(cm.exception), expected_msg) ^^^^^^^^^^^ AssertionError: 'string indices must be integers or slices, not str' != "string indices must be integers, not 'str'" - string indices must be integers or slices, not str ? ---------- + string indices must be integers, not 'str' ? + + ---------------------------------------------------------------------- Ran 135 tests in 0.833s FAILED (failures=3, errors=4, skipped=12) 0:00:00 load avg: 1.38 [1/1/1] test_unicode failed (4 errors, 3 failures) == Tests result: FAILURE == 1 test failed: test_unicode Total duration: 1.0 sec Total tests: run=135 failures=3 skipped=12 Total test files: run=1/1 failed=1 Result: FAILURE /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_unicode.py:2252: SyntaxWarning: invalid octal escape sequence '\202' self.assertRaises(UnicodeError, 'Andr\202 x'.encode, 'ascii') /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_unicode.py:2253: SyntaxWarning: invalid octal escape sequence '\202' self.assertRaises(UnicodeError, 'Andr\202 x'.encode, 'ascii','strict') /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_unicode.py:2254: SyntaxWarning: invalid octal escape sequence '\202' self.assertEqual('Andr\202 x'.encode('ascii','ignore'), b"Andr x") /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_unicode.py:2255: SyntaxWarning: invalid octal escape sequence '\202' self.assertEqual('Andr\202 x'.encode('ascii','replace'), b"Andr? x") /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_unicode.py:2256: SyntaxWarning: invalid octal escape sequence '\202' self.assertEqual('Andr\202 x'.encode('ascii', 'replace'), /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_unicode.py:2257: SyntaxWarning: invalid octal escape sequence '\202' 'Andr\202 x'.encode('ascii', errors='replace')) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_unicode.py:2258: SyntaxWarning: invalid octal escape sequence '\202' self.assertEqual('Andr\202 x'.encode('ascii', 'ignore'), /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_unicode.py:2259: SyntaxWarning: invalid octal escape sequence '\202' 'Andr\202 x'.encode(encoding='ascii', errors='ignore')) test test_unicode failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1755194æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 762205250 0:00:00 load avg: 1.43 Run 1 test sequentially in a single process 0:00:00 load avg: 1.43 [1/1] test_unicodedata test_bug_834676 (test.test_unicodedata.NormalizationTest.test_bug_834676) ... ok test_edge_cases (test.test_unicodedata.NormalizationTest.test_edge_cases) ... ok test_normalization (test.test_unicodedata.NormalizationTest.test_normalization) ... skipped "resource 'cpu' is not enabled" test_bidirectional (test.test_unicodedata.UnicodeFunctionsTest.test_bidirectional) ... ok test_category (test.test_unicodedata.UnicodeFunctionsTest.test_category) ... ok test_combining (test.test_unicodedata.UnicodeFunctionsTest.test_combining) ... ok test_decimal (test.test_unicodedata.UnicodeFunctionsTest.test_decimal) ... ok test_decomposition (test.test_unicodedata.UnicodeFunctionsTest.test_decomposition) ... ok test_digit (test.test_unicodedata.UnicodeFunctionsTest.test_digit) ... ok test_east_asian_width (test.test_unicodedata.UnicodeFunctionsTest.test_east_asian_width) ... ok test_east_asian_width_9_0_changes (test.test_unicodedata.UnicodeFunctionsTest.test_east_asian_width_9_0_changes) ... ok test_east_asian_width_unassigned (test.test_unicodedata.UnicodeFunctionsTest.test_east_asian_width_unassigned) ... ok test_function_checksum (test.test_unicodedata.UnicodeFunctionsTest.test_function_checksum) ... skipped "resource 'cpu' is not enabled" test_issue10254 (test.test_unicodedata.UnicodeFunctionsTest.test_issue10254) ... ok test_issue29456 (test.test_unicodedata.UnicodeFunctionsTest.test_issue29456) ... ok test_mirrored (test.test_unicodedata.UnicodeFunctionsTest.test_mirrored) ... ok test_name_inverse_lookup (test.test_unicodedata.UnicodeFunctionsTest.test_name_inverse_lookup) ... skipped "resource 'cpu' is not enabled" test_numeric (test.test_unicodedata.UnicodeFunctionsTest.test_numeric) ... ok test_pr29 (test.test_unicodedata.UnicodeFunctionsTest.test_pr29) ... ok test_method_checksum (test.test_unicodedata.UnicodeMethodsTest.test_method_checksum) ... skipped "resource 'cpu' is not enabled" test_bug_1704793 (test.test_unicodedata.UnicodeMiscTest.test_bug_1704793) ... ok test_bug_4971 (test.test_unicodedata.UnicodeMiscTest.test_bug_4971) ... ok test_bug_5828 (test.test_unicodedata.UnicodeMiscTest.test_bug_5828) ... skipped "resource 'cpu' is not enabled" test_decimal_numeric_consistent (test.test_unicodedata.UnicodeMiscTest.test_decimal_numeric_consistent) ... ok test_digit_numeric_consistent (test.test_unicodedata.UnicodeMiscTest.test_digit_numeric_consistent) ... ok test_disallow_instantiation (test.test_unicodedata.UnicodeMiscTest.test_disallow_instantiation) ... skipped 'implementation detail specific to cpython' test_failed_import_during_compiling (test.test_unicodedata.UnicodeMiscTest.test_failed_import_during_compiling) ... FAIL test_linebreak_7643 (test.test_unicodedata.UnicodeMiscTest.test_linebreak_7643) ... ok test_ucd_510 (test.test_unicodedata.UnicodeMiscTest.test_ucd_510) ... ok ====================================================================== FAIL: test_failed_import_during_compiling (test.test_unicodedata.UnicodeMiscTest.test_failed_import_during_compiling) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_unicodedata.py", line 271, in test_failed_import_during_compiling result = script_helper.assert_python_failure("-c", code) ^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/script_helper.py", line 177, in assert_python_failure return _assert_python(False, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 0 command line: ['/build_dir/pypy-c-jit-linux-x86-64/build/pypy/goal/pypy3.12-c', '-X', 'faulthandler', '-I', '-c', 'import sys;sys.modules[\'unicodedata\'] = None;eval("\'\\\\N{SOFT HYPHEN}\'")'] stdout: --- --- stderr: --- --- ---------------------------------------------------------------------- Ran 29 tests in 0.095s FAILED (failures=1, skipped=6) 0:00:00 load avg: 1.43 [1/1/1] test_unicodedata failed (1 failure) == Tests result: FAILURE == 1 test failed: test_unicodedata Total duration: 260 ms Total tests: run=29 failures=1 skipped=6 Total test files: run=1/1 failed=1 Result: FAILURE test test_unicodedata failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1755216æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2909606552 0:00:00 load avg: 1.43 Run 1 test sequentially in a single process 0:00:00 load avg: 1.43 [1/1] test_unparse test_backslash_in_format_spec (test.test_unparse.CosmeticTestCase.test_backslash_in_format_spec) ... ok test_class_bases_and_keywords (test.test_unparse.CosmeticTestCase.test_class_bases_and_keywords) ... ok test_docstrings (test.test_unparse.CosmeticTestCase.test_docstrings) ... ok test_docstrings_negative_cases (test.test_unparse.CosmeticTestCase.test_docstrings_negative_cases) ... ok test_fstrings (test.test_unparse.CosmeticTestCase.test_fstrings) ... ok test_lambda_parameters (test.test_unparse.CosmeticTestCase.test_lambda_parameters) ... ok test_multiquote_joined_string (test.test_unparse.CosmeticTestCase.test_multiquote_joined_string) ... test_multiquote_joined_string (test.test_unparse.CosmeticTestCase.test_multiquote_joined_string) (code1='f\'"""{1}\'\'\' ', ast_parse_kwargs={}) ... FAIL test_multiquote_joined_string (test.test_unparse.CosmeticTestCase.test_multiquote_joined_string) (code1='f\'"""{"\\n"}\'\'\' ', ast_parse_kwargs={}) ... FAIL test_quote_in_format_spec (test.test_unparse.CosmeticTestCase.test_quote_in_format_spec) ... ok test_simple_expressions_parens (test.test_unparse.CosmeticTestCase.test_simple_expressions_parens) ... ok test_slices (test.test_unparse.CosmeticTestCase.test_slices) ... ok test_star_expr_assign_target (test.test_unparse.CosmeticTestCase.test_star_expr_assign_target) ... ok test_star_expr_assign_target_multiple (test.test_unparse.CosmeticTestCase.test_star_expr_assign_target_multiple) ... ok test_unary_op_factor (test.test_unparse.CosmeticTestCase.test_unary_op_factor) ... ok test_files (test.test_unparse.DirectoryTestCase.test_files) ... Testing /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/pickle.py Testing /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/random.py Testing /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_bdb.py Testing /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_unparse.py Testing /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_positional_only_arg.py Testing /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_graphlib.py Testing /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syslog.py Testing /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_minidom.py Testing /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_popen.py Testing /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/textwrap.py Testing /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_grammar.py Testing /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_params.py Testing /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py Testing /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_fstring.py test_files (test.test_unparse.DirectoryTestCase.test_files) (code1='# -*- coding: utf-8 -*-\n# There are tests here with unicode string literals and\n# identifiers. There\'s a code in ast.c that was added because of a\n# failure with a non-ascii-only expression. So, I have tests for\n# that. There are workarounds that would let me run tests for that\n# code without unicode identifiers and strings, but just using them\n# directly seems like the easiest and therefore safest thing to do.\n# Unicode identifiers in tests is allowed by PEP 3131.\n\nimport ast\nimport datetime\nimport os\nimport re\nimport sys\nimport types\nimport decimal\nimport unittest\nimport warnings\nfrom test import support\nfrom test.support.os_helper import temp_cwd\nfrom test.support.script_helper import assert_python_failure, assert_python_ok\n\na_global = "global variable"\n\n# You could argue that I\'m too strict in looking for specific error\n# values with assertRaisesRegex, but without it it\'s way too easy to\n# make a syntax error in the test strings. Especially with all of the\n# triple quotes, raw strings, backslashes, etc. I think it\'s a\n# worthwhile tradeoff. When I switched to this method, I found many\n# examples where I wasn\'t testing what I thought I was.\n\n\nclass TestCase(unittest.TestCase):\n def assertAllRaise(self, exception_type, regex, error_strings):\n for str in error_strings:\n with self.subTest(str=str):\n with self.assertRaisesRegex(exception_type, regex):\n eval(str)\n\n def test__format__lookup(self):\n # Make sure __format__ is looked up on the type, not the instance.\n class X:\n def __format__(self, spec):\n return "class"\n\n x = X()\n\n # Add a bound __format__ method to the \'y\' instance, but not\n # the \'x\' instance.\n y = X()\n y.__format__ = types.MethodType(lambda self, spec: "instance", y)\n\n self.assertEqual(f"{y}", format(y))\n self.assertEqual(f"{y}", "class")\n self.assertEqual(format(x), format(y))\n\n # __format__ is not called this way, but still make sure it\n # returns what we expect (so we can make sure we\'re bypassing\n # it).\n self.assertEqual(x.__format__(""), "class")\n self.assertEqual(y.__format__(""), "instance")\n\n # This is how __format__ is actually called.\n self.assertEqual(type(x).__format__(x, ""), "class")\n self.assertEqual(type(y).__format__(y, ""), "class")\n\n def test_ast(self):\n # Inspired by http://bugs.python.org/issue24975\n class X:\n def __init__(self):\n self.called = False\n\n def __call__(self):\n self.called = True\n return 4\n\n x = X()\n expr = """\na = 10\nf\'{a * x()}\'"""\n t = ast.parse(expr)\n c = compile(t, "", "exec")\n\n # Make sure x was not called.\n self.assertFalse(x.called)\n\n # Actually run the code.\n exec(c)\n\n # Make sure x was called.\n self.assertTrue(x.called)\n\n def test_ast_line_numbers(self):\n expr = """\na = 10\nf\'{a * x()}\'"""\n t = ast.parse(expr)\n self.assertEqual(type(t), ast.Module)\n self.assertEqual(len(t.body), 2)\n # check `a = 10`\n self.assertEqual(type(t.body[0]), ast.Assign)\n self.assertEqual(t.body[0].lineno, 2)\n # check `f\'...\'`\n self.assertEqual(type(t.body[1]), ast.Expr)\n self.assertEqual(type(t.body[1].value), ast.JoinedStr)\n self.assertEqual(len(t.body[1].value.values), 1)\n self.assertEqual(type(t.body[1].value.values[0]), ast.FormattedValue)\n self.assertEqual(t.body[1].lineno, 3)\n self.assertEqual(t.body[1].value.lineno, 3)\n self.assertEqual(t.body[1].value.values[0].lineno, 3)\n # check the binop location\n binop = t.body[1].value.values[0].value\n self.assertEqual(type(binop), ast.BinOp)\n self.assertEqual(type(binop.left), ast.Name)\n self.assertEqual(type(binop.op), ast.Mult)\n self.assertEqual(type(binop.right), ast.Call)\n self.assertEqual(binop.lineno, 3)\n self.assertEqual(binop.left.lineno, 3)\n self.assertEqual(binop.right.lineno, 3)\n self.assertEqual(binop.col_offset, 3)\n self.assertEqual(binop.left.col_offset, 3)\n self.assertEqual(binop.right.col_offset, 7)\n\n def test_ast_line_numbers_multiple_formattedvalues(self):\n expr = """\nf\'no formatted values\'\nf\'eggs {a * x()} spam {b + y()}\'"""\n t = ast.parse(expr)\n self.assertEqual(type(t), ast.Module)\n self.assertEqual(len(t.body), 2)\n # check `f\'no formatted value\'`\n self.assertEqual(type(t.body[0]), ast.Expr)\n self.assertEqual(type(t.body[0].value), ast.JoinedStr)\n self.assertEqual(t.body[0].lineno, 2)\n # check `f\'...\'`\n self.assertEqual(type(t.body[1]), ast.Expr)\n self.assertEqual(type(t.body[1].value), ast.JoinedStr)\n self.assertEqual(len(t.body[1].value.values), 4)\n self.assertEqual(type(t.body[1].value.values[0]), ast.Constant)\n self.assertEqual(type(t.body[1].value.values[0].value), str)\n self.assertEqual(type(t.body[1].value.values[1]), ast.FormattedValue)\n self.assertEqual(type(t.body[1].value.values[2]), ast.Constant)\n self.assertEqual(type(t.body[1].value.values[2].value), str)\n self.assertEqual(type(t.body[1].value.values[3]), ast.FormattedValue)\n self.assertEqual(t.body[1].lineno, 3)\n self.assertEqual(t.body[1].value.lineno, 3)\n self.assertEqual(t.body[1].value.values[0].lineno, 3)\n self.assertEqual(t.body[1].value.values[1].lineno, 3)\n self.assertEqual(t.body[1].value.values[2].lineno, 3)\n self.assertEqual(t.body[1].value.values[3].lineno, 3)\n # check the first binop location\n binop1 = t.body[1].value.values[1].value\n self.assertEqual(type(binop1), ast.BinOp)\n self.assertEqual(type(binop1.left), ast.Name)\n self.assertEqual(type(binop1.op), ast.Mult)\n self.assertEqual(type(binop1.right), ast.Call)\n self.assertEqual(binop1.lineno, 3)\n self.assertEqual(binop1.left.lineno, 3)\n self.assertEqual(binop1.right.lineno, 3)\n self.assertEqual(binop1.col_offset, 8)\n self.assertEqual(binop1.left.col_offset, 8)\n self.assertEqual(binop1.right.col_offset, 12)\n # check the second binop location\n binop2 = t.body[1].value.values[3].value\n self.assertEqual(type(binop2), ast.BinOp)\n self.assertEqual(type(binop2.left), ast.Name)\n self.assertEqual(type(binop2.op), ast.Add)\n self.assertEqual(type(binop2.right), ast.Call)\n self.assertEqual(binop2.lineno, 3)\n self.assertEqual(binop2.left.lineno, 3)\n self.assertEqual(binop2.right.lineno, 3)\n self.assertEqual(binop2.col_offset, 23)\n self.assertEqual(binop2.left.col_offset, 23)\n self.assertEqual(binop2.right.col_offset, 27)\n\n def test_ast_line_numbers_nested(self):\n expr = """\na = 10\nf\'{a * f"-{x()}-"}\'"""\n t = ast.parse(expr)\n self.assertEqual(type(t), ast.Module)\n self.assertEqual(len(t.body), 2)\n # check `a = 10`\n self.assertEqual(type(t.body[0]), ast.Assign)\n self.assertEqual(t.body[0].lineno, 2)\n # check `f\'...\'`\n self.assertEqual(type(t.body[1]), ast.Expr)\n self.assertEqual(type(t.body[1].value), ast.JoinedStr)\n self.assertEqual(len(t.body[1].value.values), 1)\n self.assertEqual(type(t.body[1].value.values[0]), ast.FormattedValue)\n self.assertEqual(t.body[1].lineno, 3)\n self.assertEqual(t.body[1].value.lineno, 3)\n self.assertEqual(t.body[1].value.values[0].lineno, 3)\n # check the binop location\n binop = t.body[1].value.values[0].value\n self.assertEqual(type(binop), ast.BinOp)\n self.assertEqual(type(binop.left), ast.Name)\n self.assertEqual(type(binop.op), ast.Mult)\n self.assertEqual(type(binop.right), ast.JoinedStr)\n self.assertEqual(binop.lineno, 3)\n self.assertEqual(binop.left.lineno, 3)\n self.assertEqual(binop.right.lineno, 3)\n self.assertEqual(binop.col_offset, 3)\n self.assertEqual(binop.left.col_offset, 3)\n self.assertEqual(binop.right.col_offset, 7)\n # check the nested call location\n self.assertEqual(len(binop.right.values), 3)\n self.assertEqual(type(binop.right.values[0]), ast.Constant)\n self.assertEqual(type(binop.right.values[0].value), str)\n self.assertEqual(type(binop.right.values[1]), ast.FormattedValue)\n self.assertEqual(type(binop.right.values[2]), ast.Constant)\n self.assertEqual(type(binop.right.values[2].value), str)\n self.assertEqual(binop.right.values[0].lineno, 3)\n self.assertEqual(binop.right.values[1].lineno, 3)\n self.assertEqual(binop.right.values[2].lineno, 3)\n call = binop.right.values[1].value\n self.assertEqual(type(call), ast.Call)\n self.assertEqual(call.lineno, 3)\n self.assertEqual(call.col_offset, 11)\n\n def test_ast_line_numbers_duplicate_expression(self):\n expr = """\na = 10\nf\'{a * x()} {a * x()} {a * x()}\'\n"""\n t = ast.parse(expr)\n self.assertEqual(type(t), ast.Module)\n self.assertEqual(len(t.body), 2)\n # check `a = 10`\n self.assertEqual(type(t.body[0]), ast.Assign)\n self.assertEqual(t.body[0].lineno, 2)\n # check `f\'...\'`\n self.assertEqual(type(t.body[1]), ast.Expr)\n self.assertEqual(type(t.body[1].value), ast.JoinedStr)\n self.assertEqual(len(t.body[1].value.values), 5)\n self.assertEqual(type(t.body[1].value.values[0]), ast.FormattedValue)\n self.assertEqual(type(t.body[1].value.values[1]), ast.Constant)\n self.assertEqual(type(t.body[1].value.values[1].value), str)\n self.assertEqual(type(t.body[1].value.values[2]), ast.FormattedValue)\n self.assertEqual(type(t.body[1].value.values[3]), ast.Constant)\n self.assertEqual(type(t.body[1].value.values[3].value), str)\n self.assertEqual(type(t.body[1].value.values[4]), ast.FormattedValue)\n self.assertEqual(t.body[1].lineno, 3)\n self.assertEqual(t.body[1].value.lineno, 3)\n self.assertEqual(t.body[1].value.values[0].lineno, 3)\n self.assertEqual(t.body[1].value.values[1].lineno, 3)\n self.assertEqual(t.body[1].value.values[2].lineno, 3)\n self.assertEqual(t.body[1].value.values[3].lineno, 3)\n self.assertEqual(t.body[1].value.values[4].lineno, 3)\n # check the first binop location\n binop = t.body[1].value.values[0].value\n self.assertEqual(type(binop), ast.BinOp)\n self.assertEqual(type(binop.left), ast.Name)\n self.assertEqual(type(binop.op), ast.Mult)\n self.assertEqual(type(binop.right), ast.Call)\n self.assertEqual(binop.lineno, 3)\n self.assertEqual(binop.left.lineno, 3)\n self.assertEqual(binop.right.lineno, 3)\n self.assertEqual(binop.col_offset, 3)\n self.assertEqual(binop.left.col_offset, 3)\n self.assertEqual(binop.right.col_offset, 7)\n # check the second binop location\n binop = t.body[1].value.values[2].value\n self.assertEqual(type(binop), ast.BinOp)\n self.assertEqual(type(binop.left), ast.Name)\n self.assertEqual(type(binop.op), ast.Mult)\n self.assertEqual(type(binop.right), ast.Call)\n self.assertEqual(binop.lineno, 3)\n self.assertEqual(binop.left.lineno, 3)\n self.assertEqual(binop.right.lineno, 3)\n self.assertEqual(binop.col_offset, 13)\n self.assertEqual(binop.left.col_offset, 13)\n self.assertEqual(binop.right.col_offset, 17)\n # check the third binop location\n binop = t.body[1].value.values[4].value\n self.assertEqual(type(binop), ast.BinOp)\n self.assertEqual(type(binop.left), ast.Name)\n self.assertEqual(type(binop.op), ast.Mult)\n self.assertEqual(type(binop.right), ast.Call)\n self.assertEqual(binop.lineno, 3)\n self.assertEqual(binop.left.lineno, 3)\n self.assertEqual(binop.right.lineno, 3)\n self.assertEqual(binop.col_offset, 23)\n self.assertEqual(binop.left.col_offset, 23)\n self.assertEqual(binop.right.col_offset, 27)\n\n def test_ast_numbers_fstring_with_formatting(self):\n t = ast.parse(\'f"Here is that pesky {xxx:.3f} again"\')\n self.assertEqual(len(t.body), 1)\n self.assertEqual(t.body[0].lineno, 1)\n\n self.assertEqual(type(t.body[0]), ast.Expr)\n self.assertEqual(type(t.body[0].value), ast.JoinedStr)\n self.assertEqual(len(t.body[0].value.values), 3)\n\n self.assertEqual(type(t.body[0].value.values[0]), ast.Constant)\n self.assertEqual(type(t.body[0].value.values[1]), ast.FormattedValue)\n self.assertEqual(type(t.body[0].value.values[2]), ast.Constant)\n\n _, expr, _ = t.body[0].value.values\n\n name = expr.value\n self.assertEqual(type(name), ast.Name)\n self.assertEqual(name.lineno, 1)\n self.assertEqual(name.end_lineno, 1)\n self.assertEqual(name.col_offset, 22)\n self.assertEqual(name.end_col_offset, 25)\n\n def test_ast_line_numbers_multiline_fstring(self):\n # See bpo-30465 for details.\n expr = """\na = 10\nf\'\'\'\n {a\n *\n x()}\nnon-important content\n\'\'\'\n"""\n t = ast.parse(expr)\n self.assertEqual(type(t), ast.Module)\n self.assertEqual(len(t.body), 2)\n # check `a = 10`\n self.assertEqual(type(t.body[0]), ast.Assign)\n self.assertEqual(t.body[0].lineno, 2)\n # check `f\'...\'`\n self.assertEqual(type(t.body[1]), ast.Expr)\n self.assertEqual(type(t.body[1].value), ast.JoinedStr)\n self.assertEqual(len(t.body[1].value.values), 3)\n self.assertEqual(type(t.body[1].value.values[0]), ast.Constant)\n self.assertEqual(type(t.body[1].value.values[0].value), str)\n self.assertEqual(type(t.body[1].value.values[1]), ast.FormattedValue)\n self.assertEqual(type(t.body[1].value.values[2]), ast.Constant)\n self.assertEqual(type(t.body[1].value.values[2].value), str)\n self.assertEqual(t.body[1].lineno, 3)\n self.assertEqual(t.body[1].value.lineno, 3)\n self.assertEqual(t.body[1].value.values[0].lineno, 3)\n self.assertEqual(t.body[1].value.values[1].lineno, 4)\n self.assertEqual(t.body[1].value.values[2].lineno, 6)\n self.assertEqual(t.body[1].col_offset, 0)\n self.assertEqual(t.body[1].value.col_offset, 0)\n self.assertEqual(t.body[1].value.values[0].col_offset, 4)\n self.assertEqual(t.body[1].value.values[1].col_offset, 2)\n self.assertEqual(t.body[1].value.values[2].col_offset, 11)\n # NOTE: the following lineno information and col_offset is correct for\n # expressions within FormattedValues.\n binop = t.body[1].value.values[1].value\n self.assertEqual(type(binop), ast.BinOp)\n self.assertEqual(type(binop.left), ast.Name)\n self.assertEqual(type(binop.op), ast.Mult)\n self.assertEqual(type(binop.right), ast.Call)\n self.assertEqual(binop.lineno, 4)\n self.assertEqual(binop.left.lineno, 4)\n self.assertEqual(binop.right.lineno, 6)\n self.assertEqual(binop.col_offset, 3)\n self.assertEqual(binop.left.col_offset, 3)\n self.assertEqual(binop.right.col_offset, 7)\n\n expr = """\na = f\'\'\'\n {blech}\n \'\'\'\n"""\n t = ast.parse(expr)\n self.assertEqual(type(t), ast.Module)\n self.assertEqual(len(t.body), 1)\n # Check f\'...\'\n self.assertEqual(type(t.body[0]), ast.Assign)\n self.assertEqual(type(t.body[0].value), ast.JoinedStr)\n self.assertEqual(len(t.body[0].value.values), 3)\n self.assertEqual(type(t.body[0].value.values[1]), ast.FormattedValue)\n self.assertEqual(t.body[0].lineno, 2)\n self.assertEqual(t.body[0].value.lineno, 2)\n self.assertEqual(t.body[0].value.values[0].lineno, 2)\n self.assertEqual(t.body[0].value.values[1].lineno, 3)\n self.assertEqual(t.body[0].value.values[2].lineno, 3)\n self.assertEqual(t.body[0].col_offset, 0)\n self.assertEqual(t.body[0].value.col_offset, 4)\n self.assertEqual(t.body[0].value.values[0].col_offset, 8)\n self.assertEqual(t.body[0].value.values[1].col_offset, 10)\n self.assertEqual(t.body[0].value.values[2].col_offset, 17)\n # Check {blech}\n self.assertEqual(t.body[0].value.values[1].value.lineno, 3)\n self.assertEqual(t.body[0].value.values[1].value.end_lineno, 3)\n self.assertEqual(t.body[0].value.values[1].value.col_offset, 11)\n self.assertEqual(t.body[0].value.values[1].value.end_col_offset, 16)\n\n def test_ast_line_numbers_with_parentheses(self):\n expr = """\nx = (\n f" {test(t)}"\n)"""\n t = ast.parse(expr)\n self.assertEqual(type(t), ast.Module)\n self.assertEqual(len(t.body), 1)\n # check the joinedstr location\n joinedstr = t.body[0].value\n self.assertEqual(type(joinedstr), ast.JoinedStr)\n self.assertEqual(joinedstr.lineno, 3)\n self.assertEqual(joinedstr.end_lineno, 3)\n self.assertEqual(joinedstr.col_offset, 4)\n self.assertEqual(joinedstr.end_col_offset, 17)\n # check the formatted value location\n fv = t.body[0].value.values[1]\n self.assertEqual(type(fv), ast.FormattedValue)\n self.assertEqual(fv.lineno, 3)\n self.assertEqual(fv.end_lineno, 3)\n self.assertEqual(fv.col_offset, 7)\n self.assertEqual(fv.end_col_offset, 16)\n # check the test(t) location\n call = t.body[0].value.values[1].value\n self.assertEqual(type(call), ast.Call)\n self.assertEqual(call.lineno, 3)\n self.assertEqual(call.end_lineno, 3)\n self.assertEqual(call.col_offset, 8)\n self.assertEqual(call.end_col_offset, 15)\n\n expr = """\nx = (\n u\'wat\',\n u"wat",\n b\'wat\',\n b"wat",\n f\'wat\',\n f"wat",\n)\n\ny = (\n u\'\'\'wat\'\'\',\n u\\"\\"\\"wat\\"\\"\\",\n b\'\'\'wat\'\'\',\n b\\"\\"\\"wat\\"\\"\\",\n f\'\'\'wat\'\'\',\n f\\"\\"\\"wat\\"\\"\\",\n)\n """\n t = ast.parse(expr)\n self.assertEqual(type(t), ast.Module)\n self.assertEqual(len(t.body), 2)\n x, y = t.body\n\n # Check the single quoted string offsets first.\n offsets = [(elt.col_offset, elt.end_col_offset) for elt in x.value.elts]\n self.assertTrue(all(offset == (4, 10) for offset in offsets))\n\n # Check the triple quoted string offsets.\n offsets = [(elt.col_offset, elt.end_col_offset) for elt in y.value.elts]\n self.assertTrue(all(offset == (4, 14) for offset in offsets))\n\n expr = """\nx = (\n \'PERL_MM_OPT\', (\n f\'wat\'\n f\'some_string={f(x)} \'\n f\'wat\'\n ),\n)\n"""\n t = ast.parse(expr)\n self.assertEqual(type(t), ast.Module)\n self.assertEqual(len(t.body), 1)\n # check the fstring\n fstring = t.body[0].value.elts[1]\n self.assertEqual(type(fstring), ast.JoinedStr)\n self.assertEqual(len(fstring.values), 3)\n wat1, middle, wat2 = fstring.values\n # check the first wat\n self.assertEqual(type(wat1), ast.Constant)\n self.assertEqual(wat1.lineno, 4)\n self.assertEqual(wat1.end_lineno, 5)\n self.assertEqual(wat1.col_offset, 14)\n self.assertEqual(wat1.end_col_offset, 26)\n # check the call\n call = middle.value\n self.assertEqual(type(call), ast.Call)\n self.assertEqual(call.lineno, 5)\n self.assertEqual(call.end_lineno, 5)\n self.assertEqual(call.col_offset, 27)\n self.assertEqual(call.end_col_offset, 31)\n # check the second wat\n self.assertEqual(type(wat2), ast.Constant)\n self.assertEqual(wat2.lineno, 5)\n self.assertEqual(wat2.end_lineno, 6)\n self.assertEqual(wat2.col_offset, 32)\n # wat ends at the offset 17, but the whole f-string\n # ends at the offset 18 (since the quote is part of the\n # f-string but not the wat string)\n self.assertEqual(wat2.end_col_offset, 17)\n self.assertEqual(fstring.end_col_offset, 18)\n\n def test_ast_fstring_empty_format_spec(self):\n expr = "f\'{expr:}\'"\n\n mod = ast.parse(expr)\n self.assertEqual(type(mod), ast.Module)\n self.assertEqual(len(mod.body), 1)\n\n fstring = mod.body[0].value\n self.assertEqual(type(fstring), ast.JoinedStr)\n self.assertEqual(len(fstring.values), 1)\n\n fv = fstring.values[0]\n self.assertEqual(type(fv), ast.FormattedValue)\n\n format_spec = fv.format_spec\n self.assertEqual(type(format_spec), ast.JoinedStr)\n self.assertEqual(len(format_spec.values), 0)\n\n def test_docstring(self):\n def f():\n f"""Not a docstring"""\n\n self.assertIsNone(f.__doc__)\n\n def g():\n """Not a docstring""" f""\n\n self.assertIsNone(g.__doc__)\n\n def test_literal_eval(self):\n with self.assertRaisesRegex(ValueError, "malformed node or string"):\n ast.literal_eval("f\'x\'")\n\n def test_ast_compile_time_concat(self):\n x = [""]\n\n expr = """x[0] = \'foo\' f\'{3}\'"""\n t = ast.parse(expr)\n c = compile(t, "", "exec")\n exec(c)\n self.assertEqual(x[0], "foo3")\n\n def test_compile_time_concat_errors(self):\n self.assertAllRaise(\n SyntaxError,\n "cannot mix bytes and nonbytes literals",\n [\n r"""f\'\' b\'\'""",\n r"""b\'\' f\'\'""",\n ],\n )\n\n def test_literal(self):\n self.assertEqual(f"", "")\n self.assertEqual(f"a", "a")\n self.assertEqual(f" ", " ")\n\n def test_unterminated_string(self):\n self.assertAllRaise(\n SyntaxError,\n "unterminated string",\n [\n r"""f\'{"x\'""",\n r"""f\'{"x}\'""",\n ],\n )\n # PyPy reports the unclosed \'(\' rather than the unterminated string\n if sys.implementation.name == \'pypy\':\n msg = "f-string: expecting a valid expression after \'{\'"\n else:\n msg = "unterminated string"\n self.assertAllRaise(\n SyntaxError,\n msg,\n [\n r"""f\'{("x\'""",\n r"""f\'{("x}\'""",\n ],\n )\n\n @unittest.skipIf(support.is_wasi, "exhausts limited stack on WASI")\n def test_mismatched_parens(self):\n self.assertAllRaise(\n SyntaxError,\n r"closing parenthesis \'\\}\' " r"does not match opening parenthesis \'\\(\'",\n [\n "f\'{((}\'",\n ],\n )\n self.assertAllRaise(\n SyntaxError,\n r"closing parenthesis \'\\)\' " r"does not match opening parenthesis \'\\[\'",\n [\n "f\'{a[4)}\'",\n ],\n )\n self.assertAllRaise(\n SyntaxError,\n r"closing parenthesis \'\\]\' " r"does not match opening parenthesis \'\\(\'",\n [\n "f\'{a(4]}\'",\n ],\n )\n self.assertAllRaise(\n SyntaxError,\n r"closing parenthesis \'\\}\' " r"does not match opening parenthesis \'\\[\'",\n [\n "f\'{a[4}\'",\n ],\n )\n self.assertAllRaise(\n SyntaxError,\n r"closing parenthesis \'\\}\' " r"does not match opening parenthesis \'\\(\'",\n [\n "f\'{a(4}\'",\n ],\n )\n self.assertRaises(SyntaxError, eval, "f\'{" + "(" * 500 + "}\'")\n\n @unittest.skipIf(support.is_wasi, "exhausts limited stack on WASI")\n def test_fstring_nested_too_deeply(self):\n self.assertAllRaise(\n SyntaxError,\n "f-string: expressions nested too deeply",\n [\'f"{1+2:{1+2:{1+1:{1}}}}"\'],\n )\n\n def create_nested_fstring(n):\n if n == 0:\n return "1+1"\n prev = create_nested_fstring(n - 1)\n return f\'f"{{{prev}}}"\'\n\n self.assertAllRaise(\n SyntaxError, "too many nested f-strings", [create_nested_fstring(160)]\n )\n\n def test_syntax_error_in_nested_fstring(self):\n # See gh-104016 for more information on this crash\n # PyPy tokenizes eagerly and hits its f-string nesting limit first\n if sys.implementation.name == \'pypy\':\n msg = "too many nested f-strings"\n else:\n msg = "invalid syntax"\n self.assertAllRaise(\n SyntaxError, msg, [\'f"{1 1:\' + (\'{f"1:\' * 199)]\n )\n\n def test_double_braces(self):\n self.assertEqual(f"{{", "{")\n self.assertEqual(f"a{{", "a{")\n self.assertEqual(f"{{b", "{b")\n self.assertEqual(f"a{{b", "a{b")\n self.assertEqual(f"}}", "}")\n self.assertEqual(f"a}}", "a}")\n self.assertEqual(f"}}b", "}b")\n self.assertEqual(f"a}}b", "a}b")\n self.assertEqual(f"{{}}", "{}")\n self.assertEqual(f"a{{}}", "a{}")\n self.assertEqual(f"{{b}}", "{b}")\n self.assertEqual(f"{{}}c", "{}c")\n self.assertEqual(f"a{{b}}", "a{b}")\n self.assertEqual(f"a{{}}c", "a{}c")\n self.assertEqual(f"{{b}}c", "{b}c")\n self.assertEqual(f"a{{b}}c", "a{b}c")\n\n self.assertEqual(f"{{{10}", "{10")\n self.assertEqual(f"}}{10}", "}10")\n self.assertEqual(f"}}{{{10}", "}{10")\n self.assertEqual(f"}}a{{{10}", "}a{10")\n\n self.assertEqual(f"{10}{{", "10{")\n self.assertEqual(f"{10}}}", "10}")\n self.assertEqual(f"{10}}}{{", "10}{")\n self.assertEqual(f"{10}}}a{{" "}", "10}a{}")\n\n # Inside of strings, don\'t interpret doubled brackets.\n self.assertEqual(f\'{"{{}}"}\', "{{}}")\n\n self.assertAllRaise(\n TypeError,\n "unhashable type",\n [\n "f\'{ {{}} }\'", # dict in a set\n ],\n )\n\n def test_compile_time_concat(self):\n x = "def"\n self.assertEqual("abc" f"## {x}ghi", "abc## defghi")\n self.assertEqual("abc" f"{x}" "ghi", "abcdefghi")\n self.assertEqual("abc" f"{x}" "gh" f"i{x:4}", "abcdefghidef ")\n self.assertEqual("{x}" f"{x}", "{x}def")\n self.assertEqual("{x" f"{x}", "{xdef")\n self.assertEqual("{x}" f"{x}", "{x}def")\n self.assertEqual("{{x}}" f"{x}", "{{x}}def")\n self.assertEqual("{{x" f"{x}", "{{xdef")\n self.assertEqual("x}}" f"{x}", "x}}def")\n self.assertEqual(f"{x}" "x}}", "defx}}")\n self.assertEqual(f"{x}" "", "def")\n self.assertEqual("" f"{x}" "", "def")\n self.assertEqual("" f"{x}", "def")\n self.assertEqual(f"{x}" "2", "def2")\n self.assertEqual("1" f"{x}" "2", "1def2")\n self.assertEqual("1" f"{x}", "1def")\n self.assertEqual(f"{x}" f"-{x}", "def-def")\n self.assertEqual("" f"", "")\n self.assertEqual("" f"" "", "")\n self.assertEqual("" f"" "" f"", "")\n self.assertEqual(f"", "")\n self.assertEqual(f"" "", "")\n self.assertEqual(f"" "" f"", "")\n self.assertEqual(f"" "" f"" "", "")\n\n # This is not really [f\'{\'] + [f\'}\'] since we treat the inside\n # of braces as a purely new context, so it is actually f\'{ and\n # then eval(\' f\') (a valid expression) and then }\' which would\n # constitute a valid f-string.\n self.assertEqual(f\'{\' f\'}\', " f")\n\n self.assertAllRaise(\n SyntaxError,\n "expecting \'}\'",\n [\n \'\'\'f\'{3\' f"}"\'\'\', # can\'t concat to get a valid f-string\n ],\n )\n\n def test_comments(self):\n # These aren\'t comments, since they\'re in strings.\n d = {"#": "hash"}\n self.assertEqual(f\'{"#"}\', "#")\n self.assertEqual(f\'{d["#"]}\', "hash")\n\n self.assertAllRaise(\n SyntaxError,\n "\'{\' was never closed",\n [\n "f\'{1#}\'", # error because everything after \'#\' is a comment\n "f\'{#}\'",\n "f\'one: {1#}\'",\n "f\'{1# one} {2 this is a comment still#}\'",\n ],\n )\n self.assertAllRaise(\n SyntaxError,\n r"f-string: unmatched \'\\)\'",\n [\n "f\'{)#}\'", # When wrapped in parens, this becomes\n # \'()#)\'. Make sure that doesn\'t compile.\n ],\n )\n self.assertEqual(\n f"""A complex trick: {\n2 # two\n}""",\n "A complex trick: 2",\n )\n self.assertEqual(\n f"""\n{\n40 # forty\n+ # plus\n2 # two\n}""",\n "\\n42",\n )\n self.assertEqual(\n f"""\n{\n40 # forty\n+ # plus\n2 # two\n}""",\n "\\n42",\n )\n\n self.assertEqual(\n f"""\n# this is not a comment\n{ # the following operation it\'s\n3 # this is a number\n* 2}""",\n "\\n# this is not a comment\\n6",\n )\n self.assertEqual(\n f"""\n{# f\'a {comment}\'\n86 # constant\n# nothing more\n}""",\n "\\n86",\n )\n\n self.assertAllRaise(\n SyntaxError,\n r"f-string: valid expression required before \'}\'",\n [\n """f\'\'\'\n{\n# only a comment\n}\'\'\'\n""", # this is equivalent to f\'{}\'\n ],\n )\n\n def test_many_expressions(self):\n # Create a string with many expressions in it. Note that\n # because we have a space in here as a literal, we\'re actually\n # going to use twice as many ast nodes: one for each literal\n # plus one for each expression.\n def build_fstr(n, extra=""):\n return "f\'" + ("{x} " * n) + extra + "\'"\n\n x = "X"\n width = 1\n\n # Test around 256.\n for i in range(250, 260):\n self.assertEqual(eval(build_fstr(i)), (x + " ") * i)\n\n # Test concatenating 2 largs fstrings.\n self.assertEqual(eval(build_fstr(255) * 256), (x + " ") * (255 * 256))\n\n s = build_fstr(253, "{x:{width}} ")\n self.assertEqual(eval(s), (x + " ") * 254)\n\n # Test lots of expressions and constants, concatenated.\n s = "f\'{1}\' \'x\' \'y\'" * 1024\n self.assertEqual(eval(s), "1xy" * 1024)\n\n def test_format_specifier_expressions(self):\n width = 10\n precision = 4\n value = decimal.Decimal("12.34567")\n self.assertEqual(f"result: {value:{width}.{precision}}", "result: 12.35")\n self.assertEqual(f"result: {value:{width!r}.{precision}}", "result: 12.35")\n self.assertEqual(\n f"result: {value:{width:0}.{precision:1}}", "result: 12.35"\n )\n self.assertEqual(\n f"result: {value:{1}{0:0}.{precision:1}}", "result: 12.35"\n )\n self.assertEqual(\n f"result: {value:{ 1}{ 0:0}.{ precision:1}}", "result: 12.35"\n )\n self.assertEqual(f"{10:#{1}0x}", " 0xa")\n self.assertEqual(f\'{10:{"#"}1{0}{"x"}}\', " 0xa")\n self.assertEqual(f\'{-10:-{"#"}1{0}x}\', " -0xa")\n self.assertEqual(f\'{-10:{"-"}#{1}0{"x"}}\', " -0xa")\n self.assertEqual(f"{10:#{3 != {4:5} and width}x}", " 0xa")\n self.assertEqual(\n f"result: {value:{width:{0}}.{precision:1}}", "result: 12.35"\n )\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: expecting \':\' or \'}\'",\n [\n """f\'{"s"!r{":10"}}\'""",\n # This looks like a nested format spec.\n ],\n )\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: expecting a valid expression after \'{\'",\n [ # Invalid syntax inside a nested spec.\n "f\'{4:{/5}}\'",\n ],\n )\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: invalid conversion character",\n [ # No expansion inside conversion or for\n # the : or ! itself.\n """f\'{"s"!{"r"}}\'""",\n ],\n )\n\n def test_custom_format_specifier(self):\n class CustomFormat:\n def __format__(self, format_spec):\n return format_spec\n\n self.assertEqual(f"{CustomFormat():\\n}", "\\n")\n self.assertEqual(f"{CustomFormat():\\u2603}", "☃")\n with self.assertWarns(SyntaxWarning):\n exec(r\'f"{F():¯\\_(ツ)_/¯}"\', {"F": CustomFormat})\n\n def test_side_effect_order(self):\n class X:\n def __init__(self):\n self.i = 0\n\n def __format__(self, spec):\n self.i += 1\n return str(self.i)\n\n x = X()\n self.assertEqual(f"{x} {x}", "1 2")\n\n def test_missing_expression(self):\n self.assertAllRaise(\n SyntaxError,\n "f-string: valid expression required before \'}\'",\n [\n "f\'{}\'",\n "f\'{ }\'" "f\' {} \'",\n "f\'{10:{ }}\'",\n "f\' { } \'",\n # The Python parser ignores also the following\n # whitespace characters in additional to a space.\n "f\'\'\'{\\t\\f\\r\\n}\'\'\'",\n ],\n )\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: valid expression required before \'!\'",\n [\n "f\'{!r}\'",\n "f\'{ !r}\'",\n "f\'{!}\'",\n "f\'\'\'{\\t\\f\\r\\n!a}\'\'\'",\n # Catch empty expression before the\n # missing closing brace.\n "f\'{!\'",\n "f\'{!s:\'",\n # Catch empty expression before the\n # invalid conversion.\n "f\'{!x}\'",\n "f\'{ !xr}\'",\n "f\'{!x:}\'",\n "f\'{!x:a}\'",\n "f\'{ !xr:}\'",\n "f\'{ !xr:a}\'",\n ],\n )\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: valid expression required before \':\'",\n [\n "f\'{:}\'",\n "f\'{ :!}\'",\n "f\'{:2}\'",\n "f\'\'\'{\\t\\f\\r\\n:a}\'\'\'",\n "f\'{:\'",\n ],\n )\n # PyPy\'s eager tokenizer reports the trailing unmatched \']\' instead\n if sys.implementation.name == \'pypy\':\n msg = "f-string: unmatched \']\'"\n else:\n msg = "f-string: valid expression required before \':\'"\n self.assertAllRaise(SyntaxError, msg, ["F\'{[F\'{:\'}[F\'{:\'}]]]"])\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: valid expression required before \'=\'",\n [\n "f\'{=}\'",\n "f\'{ =}\'",\n "f\'{ =:}\'",\n "f\'{ =!}\'",\n "f\'\'\'{\\t\\f\\r\\n=}\'\'\'",\n "f\'{=\'",\n ],\n )\n\n # Different error message is raised for other whitespace characters.\n self.assertAllRaise(\n SyntaxError,\n r"invalid non-printable character U\\+00A0",\n [\n "f\'\'\'{\\xa0}\'\'\'",\n "\\xa0",\n ],\n )\n\n def test_parens_in_expressions(self):\n self.assertEqual(f"{3,}", "(3,)")\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: expecting a valid expression after \'{\'",\n [\n "f\'{,}\'",\n ],\n )\n\n self.assertAllRaise(\n SyntaxError,\n r"f-string: unmatched \'\\)\'",\n [\n "f\'{3)+(4}\'",\n ],\n )\n\n def test_newlines_before_syntax_error(self):\n self.assertAllRaise(\n SyntaxError,\n "f-string: expecting a valid expression after \'{\'",\n ["f\'{.}\'", "\\nf\'{.}\'", "\\n\\nf\'{.}\'"],\n )\n\n def test_backslashes_in_string_part(self):\n self.assertEqual(f"\\t", "\\t")\n self.assertEqual(r"\\t", "\\\\t")\n self.assertEqual(rf"\\t", "\\\\t")\n self.assertEqual(f"{2}\\t", "2\\t")\n self.assertEqual(f"{2}\\t{3}", "2\\t3")\n self.assertEqual(f"\\t{3}", "\\t3")\n\n self.assertEqual(f"\\u0394", "\\u0394")\n self.assertEqual(r"\\u0394", "\\\\u0394")\n self.assertEqual(rf"\\u0394", "\\\\u0394")\n self.assertEqual(f"{2}\\u0394", "2\\u0394")\n self.assertEqual(f"{2}\\u0394{3}", "2\\u03943")\n self.assertEqual(f"\\u0394{3}", "\\u03943")\n\n self.assertEqual(f"\\U00000394", "\\u0394")\n self.assertEqual(r"\\U00000394", "\\\\U00000394")\n self.assertEqual(rf"\\U00000394", "\\\\U00000394")\n self.assertEqual(f"{2}\\U00000394", "2\\u0394")\n self.assertEqual(f"{2}\\U00000394{3}", "2\\u03943")\n self.assertEqual(f"\\U00000394{3}", "\\u03943")\n\n self.assertEqual(f"\\N{GREEK CAPITAL LETTER DELTA}", "\\u0394")\n self.assertEqual(f"{2}\\N{GREEK CAPITAL LETTER DELTA}", "2\\u0394")\n self.assertEqual(f"{2}\\N{GREEK CAPITAL LETTER DELTA}{3}", "2\\u03943")\n self.assertEqual(f"\\N{GREEK CAPITAL LETTER DELTA}{3}", "\\u03943")\n self.assertEqual(f"2\\N{GREEK CAPITAL LETTER DELTA}", "2\\u0394")\n self.assertEqual(f"2\\N{GREEK CAPITAL LETTER DELTA}3", "2\\u03943")\n self.assertEqual(f"\\N{GREEK CAPITAL LETTER DELTA}3", "\\u03943")\n\n self.assertEqual(f"\\x20", " ")\n self.assertEqual(r"\\x20", "\\\\x20")\n self.assertEqual(rf"\\x20", "\\\\x20")\n self.assertEqual(f"{2}\\x20", "2 ")\n self.assertEqual(f"{2}\\x20{3}", "2 3")\n self.assertEqual(f"\\x20{3}", " 3")\n\n self.assertEqual(f"2\\x20", "2 ")\n self.assertEqual(f"2\\x203", "2 3")\n self.assertEqual(f"\\x203", " 3")\n\n with self.assertWarns(SyntaxWarning): # invalid escape sequence\n value = eval(r"f\'\\{6*7}\'")\n self.assertEqual(value, "\\\\42")\n with self.assertWarns(SyntaxWarning): # invalid escape sequence\n value = eval(r"f\'\\g\'")\n self.assertEqual(value, "\\\\g")\n self.assertEqual(f"\\\\{6*7}", "\\\\42")\n self.assertEqual(rf"\\{6*7}", "\\\\42")\n\n AMPERSAND = "spam"\n # Get the right unicode character (&), or pick up local variable\n # depending on the number of backslashes.\n self.assertEqual(f"\\N{AMPERSAND}", "&")\n self.assertEqual(f"\\\\N{AMPERSAND}", "\\\\Nspam")\n self.assertEqual(rf"\\N{AMPERSAND}", "\\\\Nspam")\n self.assertEqual(f"\\\\\\N{AMPERSAND}", "\\\\&")\n\n def test_misformed_unicode_character_name(self):\n # These test are needed because unicode names are parsed\n # differently inside f-strings.\n self.assertAllRaise(\n SyntaxError,\n r"\\(unicode error\\) \'unicodeescape\' codec can\'t decode bytes in position .*: malformed \\\\N character escape",\n [\n r"f\'\\N\'",\n r"f\'\\N \'",\n r"f\'\\N \'", # See bpo-46503.\n r"f\'\\N{\'",\n r"f\'\\N{GREEK CAPITAL LETTER DELTA\'",\n # Here are the non-f-string versions,\n # which should give the same errors.\n r"\'\\N\'",\n r"\'\\N \'",\n r"\'\\N \'",\n r"\'\\N{\'",\n r"\'\\N{GREEK CAPITAL LETTER DELTA\'",\n ],\n )\n\n def test_backslashes_in_expression_part(self):\n self.assertEqual(\n f"{(\n 1 +\n 2\n )}",\n "3",\n )\n\n self.assertEqual("\\N{LEFT CURLY BRACKET}", "{")\n self.assertEqual(f\'{"\\N{LEFT CURLY BRACKET}"}\', "{")\n self.assertEqual(rf\'{"\\N{LEFT CURLY BRACKET}"}\', "{")\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: valid expression required before \'}\'",\n [\n "f\'{\\n}\'",\n ],\n )\n\n def test_invalid_backslashes_inside_fstring_context(self):\n # All of these variations are invalid python syntax,\n # so they are also invalid in f-strings as well.\n cases = [\n formatting.format(expr=expr)\n for formatting in [\n "{expr}",\n "f\'{{{expr}}}\'",\n "rf\'{{{expr}}}\'",\n ]\n for expr in [\n r"\\\'a\\\'",\n r"\\t3",\n r"\\\\"[0],\n ]\n ]\n self.assertAllRaise(\n SyntaxError, "unexpected character after line continuation", cases\n )\n\n def test_no_escapes_for_braces(self):\n """\n Only literal curly braces begin an expression.\n """\n # \\x7b is \'{\'.\n self.assertEqual(f"\\x7b1+1}}", "{1+1}")\n self.assertEqual(f"\\x7b1+1", "{1+1")\n self.assertEqual(f"\\u007b1+1", "{1+1")\n self.assertEqual(f"\\N{LEFT CURLY BRACKET}1+1\\N{RIGHT CURLY BRACKET}", "{1+1}")\n\n def test_newlines_in_expressions(self):\n self.assertEqual(f"{0}", "0")\n self.assertEqual(\n rf"""{3+\n4}""",\n "7",\n )\n\n def test_lambda(self):\n x = 5\n self.assertEqual(f\'{(lambda y:x*y)("8")!r}\', "\'88888\'")\n self.assertEqual(f\'{(lambda y:x*y)("8")!r:10}\', "\'88888\' ")\n self.assertEqual(f\'{(lambda y:x*y)("8"):10}\', "88888 ")\n\n # lambda doesn\'t work without parens, because the colon\n # makes the parser think it\'s a format_spec\n # emit warning if we can match a format_spec\n self.assertAllRaise(\n SyntaxError,\n "f-string: lambda expressions are not allowed " "without parentheses",\n [\n "f\'{lambda x:x}\'",\n "f\'{lambda :x}\'",\n "f\'{lambda *arg, :x}\'",\n "f\'{1, lambda:x}\'",\n "f\'{lambda x:}\'",\n "f\'{lambda :}\'",\n ],\n )\n # Ensure the detection of invalid lambdas doesn\'t trigger detection\n # for valid lambdas in the second error pass\n with self.assertRaisesRegex(SyntaxError, "invalid syntax"):\n compile("lambda name_3=f\'{name_4}\': {name_3}\\n1 $ 1", "<string>", "exec")\n\n # but don\'t emit the paren warning in general cases\n with self.assertRaisesRegex(\n SyntaxError, "f-string: expecting a valid expression after \'{\'"\n ):\n eval("f\'{+ lambda:None}\'")\n\n def test_valid_prefixes(self):\n self.assertEqual(f"{1}", "1")\n self.assertEqual(Rf"{2}", "2")\n self.assertEqual(Rf"{3}", "3")\n\n def test_roundtrip_raw_quotes(self):\n self.assertEqual(rf"\\\'", "\\\\\'")\n self.assertEqual(rf"\\"", \'\\\\"\')\n self.assertEqual(rf"\\"\\\'", "\\\\\\"\\\\\'")\n self.assertEqual(rf"\\\'\\"", "\\\\\'\\\\\\"")\n self.assertEqual(rf"\\"\\\'\\"", \'\\\\"\\\\\\\'\\\\"\')\n self.assertEqual(rf"\\\'\\"\\\'", "\\\\\'\\\\\\"\\\\\'")\n self.assertEqual(rf"\\"\\\'\\"\\\'", "\\\\\\"\\\\\'\\\\\\"\\\\\'")\n\n def test_fstring_backslash_before_double_bracket(self):\n deprecated_cases = [\n (r"f\'\\{{\\}}\'", "\\\\{\\\\}"),\n (r"f\'\\{{\'", "\\\\{"),\n (r"f\'\\{{{1+1}\'", "\\\\{2"),\n (r"f\'\\}}{1+1}\'", "\\\\}2"),\n (r"f\'{1+1}\\}}\'", "2\\\\}"),\n ]\n for case, expected_result in deprecated_cases:\n with self.subTest(case=case, expected_result=expected_result):\n with self.assertWarns(SyntaxWarning):\n result = eval(case)\n self.assertEqual(result, expected_result)\n self.assertEqual(rf"\\{{\\}}", "\\\\{\\\\}")\n self.assertEqual(rf"\\{{", "\\\\{")\n self.assertEqual(rf"\\{{{1+1}", "\\\\{2")\n self.assertEqual(rf"\\}}{1+1}", "\\\\}2")\n self.assertEqual(rf"{1+1}\\}}", "2\\\\}")\n\n def test_fstring_backslash_before_double_bracket_warns_once(self):\n with self.assertWarns(SyntaxWarning) as w:\n eval(r"f\'\\{{\'")\n self.assertEqual(len(w.warnings), 1)\n self.assertEqual(w.warnings[0].category, SyntaxWarning)\n\n def test_fstring_backslash_prefix_raw(self):\n self.assertEqual(f"\\\\", "\\\\")\n self.assertEqual(f"\\\\\\\\", "\\\\\\\\")\n self.assertEqual(rf"\\\\", r"\\\\")\n self.assertEqual(rf"\\\\\\\\", r"\\\\\\\\")\n self.assertEqual(rf"\\\\", r"\\\\")\n self.assertEqual(rf"\\\\\\\\", r"\\\\\\\\")\n self.assertEqual(Rf"\\\\", R"\\\\")\n self.assertEqual(Rf"\\\\\\\\", R"\\\\\\\\")\n self.assertEqual(Rf"\\\\", R"\\\\")\n self.assertEqual(Rf"\\\\\\\\", R"\\\\\\\\")\n self.assertEqual(Rf"\\\\", R"\\\\")\n self.assertEqual(Rf"\\\\\\\\", R"\\\\\\\\")\n\n def test_fstring_format_spec_greedy_matching(self):\n self.assertEqual(f"{1:}}}", "1}")\n self.assertEqual(f"{1:>3{5}}}}", " 1}")\n\n def test_yield(self):\n # Not terribly useful, but make sure the yield turns\n # a function into a generator\n def fn(y):\n f"y:{yield y*2}"\n f"{yield}"\n\n g = fn(4)\n self.assertEqual(next(g), 8)\n self.assertEqual(next(g), None)\n\n def test_yield_send(self):\n def fn(x):\n yield f"x:{yield (lambda i: x * i)}"\n\n g = fn(10)\n the_lambda = next(g)\n self.assertEqual(the_lambda(4), 40)\n self.assertEqual(g.send("string"), "x:string")\n\n def test_expressions_with_triple_quoted_strings(self):\n self.assertEqual(f"{\'\'\'x\'\'\'}", "x")\n self.assertEqual(f"{\'\'\'eric\'s\'\'\'}", "eric\'s")\n\n # Test concatenation within an expression\n self.assertEqual(f\'{"x" """eric"s""" "y"}\', \'xeric"sy\')\n self.assertEqual(f\'{"x" """eric"s"""}\', \'xeric"s\')\n self.assertEqual(f\'{"""eric"s""" "y"}\', \'eric"sy\')\n self.assertEqual(f\'{"""x""" """eric"s""" "y"}\', \'xeric"sy\')\n self.assertEqual(f\'{"""x""" """eric"s""" """y"""}\', \'xeric"sy\')\n self.assertEqual(f\'{r"""x""" """eric"s""" """y"""}\', \'xeric"sy\')\n\n def test_multiple_vars(self):\n x = 98\n y = "abc"\n self.assertEqual(f"{x}{y}", "98abc")\n\n self.assertEqual(f"X{x}{y}", "X98abc")\n self.assertEqual(f"{x}X{y}", "98Xabc")\n self.assertEqual(f"{x}{y}X", "98abcX")\n\n self.assertEqual(f"X{x}Y{y}", "X98Yabc")\n self.assertEqual(f"X{x}{y}Y", "X98abcY")\n self.assertEqual(f"{x}X{y}Y", "98XabcY")\n\n self.assertEqual(f"X{x}Y{y}Z", "X98YabcZ")\n\n def test_closure(self):\n def outer(x):\n def inner():\n return f"x:{x}"\n\n return inner\n\n self.assertEqual(outer("987")(), "x:987")\n self.assertEqual(outer(7)(), "x:7")\n\n def test_arguments(self):\n y = 2\n\n def f(x, width):\n return f"x={x*y:{width}}"\n\n self.assertEqual(f("foo", 10), "x=foofoo ")\n x = "bar"\n self.assertEqual(f(10, 10), "x= 20")\n\n def test_locals(self):\n value = 123\n self.assertEqual(f"v:{value}", "v:123")\n\n def test_missing_variable(self):\n with self.assertRaises(NameError):\n f"v:{value}"\n\n def test_missing_format_spec(self):\n class O:\n def __format__(self, spec):\n if not spec:\n return "*"\n return spec\n\n self.assertEqual(f"{O():x}", "x")\n self.assertEqual(f"{O()}", "*")\n self.assertEqual(f"{O():}", "*")\n\n self.assertEqual(f"{3:}", "3")\n self.assertEqual(f"{3!s:}", "3")\n\n def test_global(self):\n self.assertEqual(f"g:{a_global}", "g:global variable")\n self.assertEqual(f"g:{a_global!r}", "g:\'global variable\'")\n\n a_local = "local variable"\n self.assertEqual(\n f"g:{a_global} l:{a_local}", "g:global variable l:local variable"\n )\n self.assertEqual(f"g:{a_global!r}", "g:\'global variable\'")\n self.assertEqual(\n f"g:{a_global} l:{a_local!r}", "g:global variable l:\'local variable\'"\n )\n\n self.assertIn("module \'unittest\' from", f"{unittest}")\n\n def test_shadowed_global(self):\n a_global = "really a local"\n self.assertEqual(f"g:{a_global}", "g:really a local")\n self.assertEqual(f"g:{a_global!r}", "g:\'really a local\'")\n\n a_local = "local variable"\n self.assertEqual(\n f"g:{a_global} l:{a_local}", "g:really a local l:local variable"\n )\n self.assertEqual(f"g:{a_global!r}", "g:\'really a local\'")\n self.assertEqual(\n f"g:{a_global} l:{a_local!r}", "g:really a local l:\'local variable\'"\n )\n\n def test_call(self):\n def foo(x):\n return "x=" + str(x)\n\n self.assertEqual(f"{foo(10)}", "x=10")\n\n def test_nested_fstrings(self):\n y = 5\n self.assertEqual(f\'{f"{0}"*3}\', "000")\n self.assertEqual(f\'{f"{y}"*3}\', "555")\n\n def test_invalid_string_prefixes(self):\n single_quote_cases = [\n "fu\'\'",\n "uf\'\'",\n "Fu\'\'",\n "fU\'\'",\n "Uf\'\'",\n "uF\'\'",\n "ufr\'\'",\n "urf\'\'",\n "fur\'\'",\n "fru\'\'",\n "rfu\'\'",\n "ruf\'\'",\n "FUR\'\'",\n "Fur\'\'",\n "fb\'\'",\n "fB\'\'",\n "Fb\'\'",\n "FB\'\'",\n "bf\'\'",\n "bF\'\'",\n "Bf\'\'",\n "BF\'\'",\n ]\n double_quote_cases = [case.replace("\'", \'"\') for case in single_quote_cases]\n self.assertAllRaise(\n SyntaxError, "invalid syntax", single_quote_cases + double_quote_cases\n )\n\n def test_leading_trailing_spaces(self):\n self.assertEqual(f"{ 3}", "3")\n self.assertEqual(f"{ 3}", "3")\n self.assertEqual(f"{3 }", "3")\n self.assertEqual(f"{3 }", "3")\n\n self.assertEqual(f"expr={ {x: y for x, y in [(1, 2), ]}}", "expr={1: 2}")\n self.assertEqual(f"expr={ {x: y for x, y in [(1, 2), ]} }", "expr={1: 2}")\n\n def test_not_equal(self):\n # There\'s a special test for this because there\'s a special\n # case in the f-string parser to look for != as not ending an\n # expression. Normally it would, while looking for !s or !r.\n\n self.assertEqual(f"{3!=4}", "True")\n self.assertEqual(f"{3!=4:}", "True")\n self.assertEqual(f"{3!=4!s}", "True")\n self.assertEqual(f"{3!=4!s:.3}", "Tru")\n\n def test_equal_equal(self):\n # Because an expression ending in = has special meaning,\n # there\'s a special test for ==. Make sure it works.\n\n self.assertEqual(f"{0==1}", "False")\n\n def test_conversions(self):\n self.assertEqual(f"{3.14:10.10}", " 3.14")\n self.assertEqual(f"{3.14!s:10.10}", "3.14 ")\n self.assertEqual(f"{3.14!r:10.10}", "3.14 ")\n self.assertEqual(f"{3.14!a:10.10}", "3.14 ")\n\n self.assertEqual(f\'{"a"}\', "a")\n self.assertEqual(f\'{"a"!r}\', "\'a\'")\n self.assertEqual(f\'{"a"!a}\', "\'a\'")\n\n # Conversions can have trailing whitespace after them since it\n # does not provide any significance\n self.assertEqual(f"{3!s }", "3")\n self.assertEqual(f"{3.14!s :10.10}", "3.14 ")\n\n # Not a conversion.\n self.assertEqual(f\'{"a!r"}\', "a!r")\n\n # Not a conversion, but show that ! is allowed in a format spec.\n self.assertEqual(f"{3.14:!<10.10}", "3.14!!!!!!")\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: expecting \'}\'",\n [\n "f\'{3!\'",\n "f\'{3!s\'",\n "f\'{3!g\'",\n ],\n )\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: missing conversion character",\n [\n "f\'{3!}\'",\n "f\'{3!:\'",\n "f\'{3!:}\'",\n ],\n )\n\n for conv_identifier in "g", "A", "G", "ä", "ɐ":\n self.assertAllRaise(\n SyntaxError,\n "f-string: invalid conversion character %r: "\n "expected \'s\', \'r\', or \'a\'" % conv_identifier,\n ["f\'{3!" + conv_identifier + "}\'"],\n )\n\n for conv_non_identifier in "3", "!":\n self.assertAllRaise(\n SyntaxError,\n "f-string: invalid conversion character",\n ["f\'{3!" + conv_non_identifier + "}\'"],\n )\n\n for conv in " s", " s ":\n self.assertAllRaise(\n SyntaxError,\n "f-string: conversion type must come right after the"\n " exclamanation mark",\n ["f\'{3!" + conv + "}\'"],\n )\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: invalid conversion character \'ss\': " "expected \'s\', \'r\', or \'a\'",\n [\n "f\'{3!ss}\'",\n "f\'{3!ss:}\'",\n "f\'{3!ss:s}\'",\n ],\n )\n\n def test_assignment(self):\n self.assertAllRaise(\n SyntaxError,\n r"invalid syntax",\n [\n "f\'\' = 3",\n "f\'{0}\' = x",\n "f\'{x}\' = x",\n ],\n )\n\n def test_del(self):\n self.assertAllRaise(\n SyntaxError,\n "invalid syntax",\n [\n "del f\'\'",\n "del \'\' f\'\'",\n ],\n )\n\n def test_mismatched_braces(self):\n self.assertAllRaise(\n SyntaxError,\n "f-string: single \'}\' is not allowed",\n [\n "f\'{{}\'",\n "f\'{{}}}\'",\n "f\'}\'",\n "f\'x}\'",\n "f\'x}x\'",\n r"f\'\\u007b}\'",\n # Can\'t have { or } in a format spec.\n "f\'{3:}>10}\'",\n "f\'{3:}}>10}\'",\n ],\n )\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: expecting \'}\'",\n [\n "f\'{3\'",\n "f\'{3!\'",\n "f\'{3:\'",\n "f\'{3!s\'",\n "f\'{3!s:\'",\n "f\'{3!s:3\'",\n "f\'x{\'",\n "f\'x{x\'",\n "f\'{x\'",\n "f\'{3:s\'",\n "f\'{{{\'",\n "f\'{{}}{\'",\n "f\'{\'",\n "f\'{i=\'", # See gh-93418.\n ],\n )\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: expecting a valid expression after \'{\'",\n [\n "f\'{3:{{>10}\'",\n ],\n )\n\n # But these are just normal strings.\n self.assertEqual(f\'{"{"}\', "{")\n self.assertEqual(f\'{"}"}\', "}")\n self.assertEqual(f\'{3:{"}"}>10}\', "}}}}}}}}}3")\n self.assertEqual(f\'{2:{"{"}>10}\', "{{{{{{{{{2")\n\n def test_if_conditional(self):\n # There\'s special logic in compile.c to test if the\n # conditional for an if (and while) are constants. Exercise\n # that code.\n\n def test_fstring(x, expected):\n flag = 0\n if f"{x}":\n flag = 1\n else:\n flag = 2\n self.assertEqual(flag, expected)\n\n def test_concat_empty(x, expected):\n flag = 0\n if "" f"{x}":\n flag = 1\n else:\n flag = 2\n self.assertEqual(flag, expected)\n\n def test_concat_non_empty(x, expected):\n flag = 0\n if " " f"{x}":\n flag = 1\n else:\n flag = 2\n self.assertEqual(flag, expected)\n\n test_fstring("", 2)\n test_fstring(" ", 1)\n\n test_concat_empty("", 2)\n test_concat_empty(" ", 1)\n\n test_concat_non_empty("", 1)\n test_concat_non_empty(" ", 1)\n\n def test_empty_format_specifier(self):\n x = "test"\n self.assertEqual(f"{x}", "test")\n self.assertEqual(f"{x:}", "test")\n self.assertEqual(f"{x!s:}", "test")\n self.assertEqual(f"{x!r:}", "\'test\'")\n\n def test_str_format_differences(self):\n d = {\n "a": "string",\n 0: "integer",\n }\n a = 0\n self.assertEqual(f"{d[0]}", "integer")\n self.assertEqual(f\'{d["a"]}\', "string")\n self.assertEqual(f"{d[a]}", "integer")\n self.assertEqual("{d[a]}".format(d=d), "string")\n self.assertEqual("{d[0]}".format(d=d), "integer")\n\n def test_errors(self):\n # see issue 26287\n self.assertAllRaise(\n TypeError,\n "unsupported",\n [\n r"f\'{(lambda: 0):x}\'",\n r"f\'{(0,):x}\'",\n ],\n )\n self.assertAllRaise(\n ValueError,\n "Unknown format code",\n [\n r"f\'{1000:j}\'",\n r"f\'{1000:j}\'",\n ],\n )\n\n def test_filename_in_syntaxerror(self):\n # see issue 38964\n with temp_cwd() as cwd:\n file_path = os.path.join(cwd, "t.py")\n with open(file_path, "w", encoding="utf-8") as f:\n f.write(\'f"{a b}"\') # This generates a SyntaxError\n _, _, stderr = assert_python_failure(file_path, PYTHONIOENCODING="ascii")\n self.assertIn(file_path.encode("ascii", "backslashreplace"), stderr)\n\n def test_loop(self):\n for i in range(1000):\n self.assertEqual(f"i:{i}", "i:" + str(i))\n\n def test_dict(self):\n d = {\n \'"\': "dquote",\n "\'": "squote",\n "foo": "bar",\n }\n self.assertEqual(f"""{d["\'"]}""", "squote")\n self.assertEqual(f"""{d[\'"\']}""", "dquote")\n\n self.assertEqual(f\'{d["foo"]}\', "bar")\n self.assertEqual(f"{d[\'foo\']}", "bar")\n\n def test_backslash_char(self):\n # Check eval of a backslash followed by a control char.\n # See bpo-30682: this used to raise an assert in pydebug mode.\n self.assertEqual(eval(\'f"\\\\\\n"\'), "")\n self.assertEqual(eval(\'f"\\\\\\r"\'), "")\n\n def test_debug_conversion(self):\n x = "A string"\n self.assertEqual(f"{x=}", "x=" + repr(x))\n self.assertEqual(f"{x =}", "x =" + repr(x))\n self.assertEqual(f"{x=!s}", "x=" + str(x))\n self.assertEqual(f"{x=!r}", "x=" + repr(x))\n self.assertEqual(f"{x=!a}", "x=" + ascii(x))\n\n x = 2.71828\n self.assertEqual(f"{x=:.2f}", "x=" + format(x, ".2f"))\n self.assertEqual(f"{x=:}", "x=" + format(x, ""))\n self.assertEqual(f"{x=!r:^20}", "x=" + format(repr(x), "^20"))\n self.assertEqual(f"{x=!s:^20}", "x=" + format(str(x), "^20"))\n self.assertEqual(f"{x=!a:^20}", "x=" + format(ascii(x), "^20"))\n\n x = 9\n self.assertEqual(f"{3*x+15=}", "3*x+15=42")\n\n # There is code in ast.c that deals with non-ascii expression values. So,\n # use a unicode identifier to trigger that.\n tenπ = 31.4\n self.assertEqual(f"{tenπ=:.2f}", "tenπ=31.40")\n\n # Also test with Unicode in non-identifiers.\n self.assertEqual(f\'{"Σ"=}\', "\\"Σ\\"=\'Σ\'")\n\n # Make sure nested fstrings still work.\n self.assertEqual(f\'{f"{3.1415=:.1f}":*^20}\', "*****3.1415=3.1*****")\n\n # Make sure text before and after an expression with = works\n # correctly.\n pi = "π"\n self.assertEqual(f"alpha α {pi=} ω omega", "alpha α pi=\'π\' ω omega")\n\n # Check multi-line expressions.\n self.assertEqual(\n f"""{\n3\n=}""",\n "\\n3\\n=3",\n )\n\n # Since = is handled specially, make sure all existing uses of\n # it still work.\n\n self.assertEqual(f"{0==1}", "False")\n self.assertEqual(f"{0!=1}", "True")\n self.assertEqual(f"{0<=1}", "True")\n self.assertEqual(f"{0>=1}", "False")\n self.assertEqual(f\'{(x:="5")}\', "5")\n self.assertEqual(x, "5")\n self.assertEqual(f"{(x:=5)}", "5")\n self.assertEqual(x, 5)\n self.assertEqual(f\'{"="}\', "=")\n\n x = 20\n # This isn\'t an assignment expression, it\'s \'x\', with a format\n # spec of \'=10\'. See test_walrus: you need to use parens.\n self.assertEqual(f"{x:=10}", " 20")\n\n # Test named function parameters, to make sure \'=\' parsing works\n # there.\n def f(a):\n nonlocal x\n oldx = x\n x = a\n return oldx\n\n x = 0\n self.assertEqual(f\'{f(a="3=")}\', "0")\n self.assertEqual(x, "3=")\n self.assertEqual(f"{f(a=4)}", "3=")\n self.assertEqual(x, 4)\n\n # Check debug expressions in format spec\n y = 20\n self.assertEqual(f"{2:{y=}}", "yyyyyyyyyyyyyyyyyyy2")\n self.assertEqual(\n f"{datetime.datetime.now():h1{y=}h2{y=}h3{y=}}", "h1y=20h2y=20h3y=20"\n )\n\n # Make sure __format__ is being called.\n class C:\n def __format__(self, s):\n return f"FORMAT-{s}"\n\n def __repr__(self):\n return "REPR"\n\n self.assertEqual(f"{C()=}", "C()=REPR")\n self.assertEqual(f"{C()=!r}", "C()=REPR")\n self.assertEqual(f"{C()=:}", "C()=FORMAT-")\n self.assertEqual(f"{C()=: }", "C()=FORMAT- ")\n self.assertEqual(f"{C()=:x}", "C()=FORMAT-x")\n self.assertEqual(f"{C()=!r:*^20}", "C()=********REPR********")\n self.assertEqual(f"{C():{20=}}", "FORMAT-20=20")\n\n self.assertRaises(SyntaxError, eval, "f\'{C=]\'")\n\n # Make sure leading and following text works.\n x = "foo"\n self.assertEqual(f"X{x=}Y", "Xx=" + repr(x) + "Y")\n\n # Make sure whitespace around the = works.\n self.assertEqual(f"X{x =}Y", "Xx =" + repr(x) + "Y")\n self.assertEqual(f"X{x= }Y", "Xx= " + repr(x) + "Y")\n self.assertEqual(f"X{x = }Y", "Xx = " + repr(x) + "Y")\n self.assertEqual(f"sadsd {1 + 1 = :{1 + 1:1d}f}", "sadsd 1 + 1 = 2.000000")\n\n self.assertEqual(\n f"{1+2 = # my comment\n }",\n "1+2 = \\n 3",\n )\n\n # These next lines contains tabs. Backslash escapes don\'t\n # work in f-strings.\n # patchcheck doesn\'t like these tabs. So the only way to test\n # this will be to dynamically created and exec the f-strings. But\n # that\'s such a hassle I\'ll save it for another day. For now, convert\n # the tabs to spaces just to shut up patchcheck.\n # self.assertEqual(f\'X{x =}Y\', \'Xx\\t=\'+repr(x)+\'Y\')\n # self.assertEqual(f\'X{x = }Y\', \'Xx\\t=\\t\'+repr(x)+\'Y\')\n\n def test_debug_expressions_are_raw_strings(self):\n\n self.assertEqual(f\'{b"\\N{OX}"=}\', \'b"\\\\N{OX}"=b\\\'\\\\\\\\N{OX}\\\'\')\n self.assertEqual(f\'{r"\\xff"=}\', \'r"\\\\xff"=\\\'\\\\\\\\xff\\\'\')\n self.assertEqual(f\'{r"\\n"=}\', \'r"\\\\n"=\\\'\\\\\\\\n\\\'\')\n self.assertEqual(f"{\'\\\'\'=}", "\'\\\\\'\'=\\"\'\\"")\n self.assertEqual(f\'{\'\\xc5\'=}\', r"\'\\xc5\'=\'Å\'")\n\n def test_walrus(self):\n x = 20\n # This isn\'t an assignment expression, it\'s \'x\', with a format\n # spec of \'=10\'.\n self.assertEqual(f"{x:=10}", " 20")\n\n # This is an assignment expression, which requires parens.\n self.assertEqual(f"{(x:=10)}", "10")\n self.assertEqual(x, 10)\n\n def test_invalid_syntax_error_message(self):\n with self.assertRaisesRegex(\n SyntaxError, "f-string: expecting \'=\', or \'!\', or \':\', or \'}\'"\n ):\n compile("f\'{a $ b}\'", "?", "exec")\n\n def test_with_two_commas_in_format_specifier(self):\n error_msg = re.escape("Cannot specify \',\' with \',\'.")\n with self.assertRaisesRegex(ValueError, error_msg):\n f"{1:,,}"\n\n def test_with_two_underscore_in_format_specifier(self):\n error_msg = re.escape("Cannot specify \'_\' with \'_\'.")\n with self.assertRaisesRegex(ValueError, error_msg):\n f"{1:__}"\n\n def test_with_a_commas_and_an_underscore_in_format_specifier(self):\n error_msg = re.escape("Cannot specify both \',\' and \'_\'.")\n with self.assertRaisesRegex(ValueError, error_msg):\n f"{1:,_}"\n\n def test_with_an_underscore_and_a_comma_in_format_specifier(self):\n error_msg = re.escape("Cannot specify both \',\' and \'_\'.")\n with self.assertRaisesRegex(ValueError, error_msg):\n f"{1:_,}"\n\n def test_syntax_error_for_starred_expressions(self):\n with self.assertRaisesRegex(SyntaxError, "can\'t use starred expression here"):\n compile("f\'{*a}\'", "?", "exec")\n\n with self.assertRaisesRegex(\n SyntaxError, "f-string: expecting a valid expression after \'{\'"\n ):\n compile("f\'{**a}\'", "?", "exec")\n\n def test_not_closing_quotes(self):\n self.assertAllRaise(SyntaxError, "unterminated f-string literal", [\'f"\', "f\'"])\n self.assertAllRaise(\n SyntaxError, "unterminated triple-quoted f-string literal", [\'f"""\', "f\'\'\'"]\n )\n # Ensure that the errors are reported at the correct line number.\n data = \'\'\'\\\nx = 1 + 1\ny = 2 + 2\nz = f"""\nsdfjnsdfjsdf\nsdfsdfs{1+\n2} dfigdf {3+\n4}sdufsd""\n\'\'\'\n try:\n compile(data, "?", "exec")\n except SyntaxError as e:\n self.assertEqual(e.text, \'z = f"""\')\n self.assertEqual(e.lineno, 3)\n\n def test_syntax_error_after_debug(self):\n self.assertAllRaise(\n SyntaxError,\n "f-string: expecting a valid expression after \'{\'",\n [\n "f\'{1=}{;\'",\n "f\'{1=}{+;\'",\n "f\'{1=}{2}{;\'",\n "f\'{1=}{3}{;\'",\n ],\n )\n self.assertAllRaise(\n SyntaxError,\n "f-string: expecting \'=\', or \'!\', or \':\', or \'}\'",\n [\n "f\'{1=}{1;\'",\n "f\'{1=}{1;}\'",\n ],\n )\n\n def test_debug_in_file(self):\n with temp_cwd():\n script = "script.py"\n with open("script.py", "w") as f:\n f.write(f"""\\\nprint(f\'\'\'{{\n3\n=}}\'\'\')""")\n\n _, stdout, _ = assert_python_ok(script)\n self.assertEqual(\n stdout.decode("utf-8").strip().replace("\\r\\n", "\\n").replace("\\r", "\\n"),\n "3\\n=3",\n )\n\n def test_syntax_warning_infinite_recursion_in_file(self):\n with temp_cwd():\n script = "script.py"\n with open(script, "w") as f:\n f.write(r"print(f\'\\{1}\')")\n\n _, stdout, stderr = assert_python_ok(script)\n self.assertIn(rb"\\1", stdout)\n self.assertEqual(len(stderr.strip().splitlines()), 2)\n\n def test_gh129093(self):\n self.assertEqual(f\'{1==2=}\', \'1==2=False\')\n self.assertEqual(f\'{1 == 2=}\', \'1 == 2=False\')\n self.assertEqual(f\'{1!=2=}\', \'1!=2=True\')\n self.assertEqual(f\'{1 != 2=}\', \'1 != 2=True\')\n\n self.assertEqual(f\'{(1) != 2=}\', \'(1) != 2=True\')\n self.assertEqual(f\'{(1*2) != (3)=}\', \'(1*2) != (3)=True\')\n\n self.assertEqual(f\'{1 != 2 == 3 != 4=}\', \'1 != 2 == 3 != 4=False\')\n self.assertEqual(f\'{1 == 2 != 3 == 4=}\', \'1 == 2 != 3 == 4=False\')\n\n self.assertEqual(f\'{f\'{1==2=}\'=}\', "f\'{1==2=}\'=\'1==2=False\'")\n self.assertEqual(f\'{f\'{1 == 2=}\'=}\', "f\'{1 == 2=}\'=\'1 == 2=False\'")\n self.assertEqual(f\'{f\'{1!=2=}\'=}\', "f\'{1!=2=}\'=\'1!=2=True\'")\n self.assertEqual(f\'{f\'{1 != 2=}\'=}\', "f\'{1 != 2=}\'=\'1 != 2=True\'")\n\n\nif __name__ == "__main__":\n\n unittest.main()\n', ast_parse_kwargs={}, filename=PosixPath('/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_fstring.py')) ... FAIL Testing /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tokenize.py Testing /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asdl_parser.py Testing /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_patma.py Testing /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_syntax.py test_async_function (test.test_unparse.ManualASTCreationTestCase.test_async_function) ... ok test_async_function_with_type_params (test.test_unparse.ManualASTCreationTestCase.test_async_function_with_type_params) ... ok test_class (test.test_unparse.ManualASTCreationTestCase.test_class) ... ok test_class_with_type_params (test.test_unparse.ManualASTCreationTestCase.test_class_with_type_params) ... ok test_function (test.test_unparse.ManualASTCreationTestCase.test_function) ... ok test_function_with_type_params (test.test_unparse.ManualASTCreationTestCase.test_function_with_type_params) ... ok test_function_with_type_params_and_bound (test.test_unparse.ManualASTCreationTestCase.test_function_with_type_params_and_bound) ... ok test_annotations (test.test_unparse.UnparseTestCase.test_annotations) ... ok test_bytes (test.test_unparse.UnparseTestCase.test_bytes) ... ok test_chained_comparisons (test.test_unparse.UnparseTestCase.test_chained_comparisons) ... ok test_class_decorators (test.test_unparse.UnparseTestCase.test_class_decorators) ... ok test_class_definition (test.test_unparse.UnparseTestCase.test_class_definition) ... ok test_constant_tuples (test.test_unparse.UnparseTestCase.test_constant_tuples) ... ok test_del_statement (test.test_unparse.UnparseTestCase.test_del_statement) ... ok test_dict_comprehension (test.test_unparse.UnparseTestCase.test_dict_comprehension) ... ok test_dict_unpacking_in_dict (test.test_unparse.UnparseTestCase.test_dict_unpacking_in_dict) ... ok test_docstrings (test.test_unparse.UnparseTestCase.test_docstrings) ... ok test_elifs (test.test_unparse.UnparseTestCase.test_elifs) ... ok test_empty_set (test.test_unparse.UnparseTestCase.test_empty_set) ... ok test_for_else (test.test_unparse.UnparseTestCase.test_for_else) ... ok test_fstring_backslash (test.test_unparse.UnparseTestCase.test_fstring_backslash) ... ok test_fstrings (test.test_unparse.UnparseTestCase.test_fstrings) ... ok test_fstrings_complicated (test.test_unparse.UnparseTestCase.test_fstrings_complicated) ... ok test_fstrings_pep701 (test.test_unparse.UnparseTestCase.test_fstrings_pep701) ... ok test_fstrings_special_chars (test.test_unparse.UnparseTestCase.test_fstrings_special_chars) ... ok test_function_arguments (test.test_unparse.UnparseTestCase.test_function_arguments) ... ok test_function_type (test.test_unparse.UnparseTestCase.test_function_type) ... ok test_huge_float (test.test_unparse.UnparseTestCase.test_huge_float) ... ok test_imaginary_literals (test.test_unparse.UnparseTestCase.test_imaginary_literals) ... ok test_import_from_level_none (test.test_unparse.UnparseTestCase.test_import_from_level_none) ... ok test_integer_parens (test.test_unparse.UnparseTestCase.test_integer_parens) ... ok test_invalid_fstring_value (test.test_unparse.UnparseTestCase.test_invalid_fstring_value) ... ok test_invalid_raise (test.test_unparse.UnparseTestCase.test_invalid_raise) ... ok test_invalid_yield_from (test.test_unparse.UnparseTestCase.test_invalid_yield_from) ... ok test_lambda_parentheses (test.test_unparse.UnparseTestCase.test_lambda_parentheses) ... ok test_min_int (test.test_unparse.UnparseTestCase.test_min_int) ... ok test_nan (test.test_unparse.UnparseTestCase.test_nan) ... ok test_nonlocal (test.test_unparse.UnparseTestCase.test_nonlocal) ... ok test_raise_from (test.test_unparse.UnparseTestCase.test_raise_from) ... ok test_relative_import (test.test_unparse.UnparseTestCase.test_relative_import) ... ok test_set_comprehension (test.test_unparse.UnparseTestCase.test_set_comprehension) ... ok test_set_literal (test.test_unparse.UnparseTestCase.test_set_literal) ... ok test_shifts (test.test_unparse.UnparseTestCase.test_shifts) ... ok test_slices (test.test_unparse.UnparseTestCase.test_slices) ... ok test_starred_assignment (test.test_unparse.UnparseTestCase.test_starred_assignment) ... ok test_strings (test.test_unparse.UnparseTestCase.test_strings) ... ok test_try_except_finally (test.test_unparse.UnparseTestCase.test_try_except_finally) ... ok test_try_except_star_finally (test.test_unparse.UnparseTestCase.test_try_except_star_finally) ... ok test_type_comments (test.test_unparse.UnparseTestCase.test_type_comments) ... ok test_type_ignore (test.test_unparse.UnparseTestCase.test_type_ignore) ... ok test_unary_parens (test.test_unparse.UnparseTestCase.test_unary_parens) ... ok test_while_else (test.test_unparse.UnparseTestCase.test_while_else) ... ok test_with_as (test.test_unparse.UnparseTestCase.test_with_as) ... ok test_with_simple (test.test_unparse.UnparseTestCase.test_with_simple) ... ok test_with_two_items (test.test_unparse.UnparseTestCase.test_with_two_items) ... ok ====================================================================== FAIL: test_multiquote_joined_string (test.test_unparse.CosmeticTestCase.test_multiquote_joined_string) (code1='f\'"""{1}\'\'\' ', ast_parse_kwargs={}) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_unparse.py", line 138, in check_ast_roundtrip self.assertASTEqual(ast1, ast2) ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 43, in assertASTEqual traverse_compare(ast1, ast2) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 24, in traverse_compare traverse_compare(value1, value2) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 28, in traverse_compare traverse_compare(node1, node2) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 24, in traverse_compare traverse_compare(value1, value2) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 24, in traverse_compare traverse_compare(value1, value2) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 40, in traverse_compare raise self.failureException(msg) from None AssertionError: First list contains 1 additional elements. ====================================================================== FAIL: test_multiquote_joined_string (test.test_unparse.CosmeticTestCase.test_multiquote_joined_string) (code1='f\'"""{"\\n"}\'\'\' ', ast_parse_kwargs={}) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_unparse.py", line 138, in check_ast_roundtrip self.assertASTEqual(ast1, ast2) ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 43, in assertASTEqual traverse_compare(ast1, ast2) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 24, in traverse_compare traverse_compare(value1, value2) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 28, in traverse_compare traverse_compare(node1, node2) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 24, in traverse_compare traverse_compare(value1, value2) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 24, in traverse_compare traverse_compare(value1, value2) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 40, in traverse_compare raise self.failureException(msg) from None AssertionError: First list contains 1 additional elements. ====================================================================== FAIL: test_files (test.test_unparse.DirectoryTestCase.test_files) (code1='# -*- coding: utf-8 -*-\n# There are tests here with unicode string literals and\n# identifiers. There\'s a code in ast.c that was added because of a\n# failure with a non-ascii-only expression. So, I have tests for\n# that. There are workarounds that would let me run tests for that\n# code without unicode identifiers and strings, but just using them\n# directly seems like the easiest and therefore safest thing to do.\n# Unicode identifiers in tests is allowed by PEP 3131.\n\nimport ast\nimport datetime\nimport os\nimport re\nimport sys\nimport types\nimport decimal\nimport unittest\nimport warnings\nfrom test import support\nfrom test.support.os_helper import temp_cwd\nfrom test.support.script_helper import assert_python_failure, assert_python_ok\n\na_global = "global variable"\n\n# You could argue that I\'m too strict in looking for specific error\n# values with assertRaisesRegex, but without it it\'s way too easy to\n# make a syntax error in the test strings. Especially with all of the\n# triple quotes, raw strings, backslashes, etc. I think it\'s a\n# worthwhile tradeoff. When I switched to this method, I found many\n# examples where I wasn\'t testing what I thought I was.\n\n\nclass TestCase(unittest.TestCase):\n def assertAllRaise(self, exception_type, regex, error_strings):\n for str in error_strings:\n with self.subTest(str=str):\n with self.assertRaisesRegex(exception_type, regex):\n eval(str)\n\n def test__format__lookup(self):\n # Make sure __format__ is looked up on the type, not the instance.\n class X:\n def __format__(self, spec):\n return "class"\n\n x = X()\n\n # Add a bound __format__ method to the \'y\' instance, but not\n # the \'x\' instance.\n y = X()\n y.__format__ = types.MethodType(lambda self, spec: "instance", y)\n\n self.assertEqual(f"{y}", format(y))\n self.assertEqual(f"{y}", "class")\n self.assertEqual(format(x), format(y))\n\n # __format__ is not called this way, but still make sure it\n # returns what we expect (so we can make sure we\'re bypassing\n # it).\n self.assertEqual(x.__format__(""), "class")\n self.assertEqual(y.__format__(""), "instance")\n\n # This is how __format__ is actually called.\n self.assertEqual(type(x).__format__(x, ""), "class")\n self.assertEqual(type(y).__format__(y, ""), "class")\n\n def test_ast(self):\n # Inspired by http://bugs.python.org/issue24975\n class X:\n def __init__(self):\n self.called = False\n\n def __call__(self):\n self.called = True\n return 4\n\n x = X()\n expr = """\na = 10\nf\'{a * x()}\'"""\n t = ast.parse(expr)\n c = compile(t, "", "exec")\n\n # Make sure x was not called.\n self.assertFalse(x.called)\n\n # Actually run the code.\n exec(c)\n\n # Make sure x was called.\n self.assertTrue(x.called)\n\n def test_ast_line_numbers(self):\n expr = """\na = 10\nf\'{a * x()}\'"""\n t = ast.parse(expr)\n self.assertEqual(type(t), ast.Module)\n self.assertEqual(len(t.body), 2)\n # check `a = 10`\n self.assertEqual(type(t.body[0]), ast.Assign)\n self.assertEqual(t.body[0].lineno, 2)\n # check `f\'...\'`\n self.assertEqual(type(t.body[1]), ast.Expr)\n self.assertEqual(type(t.body[1].value), ast.JoinedStr)\n self.assertEqual(len(t.body[1].value.values), 1)\n self.assertEqual(type(t.body[1].value.values[0]), ast.FormattedValue)\n self.assertEqual(t.body[1].lineno, 3)\n self.assertEqual(t.body[1].value.lineno, 3)\n self.assertEqual(t.body[1].value.values[0].lineno, 3)\n # check the binop location\n binop = t.body[1].value.values[0].value\n self.assertEqual(type(binop), ast.BinOp)\n self.assertEqual(type(binop.left), ast.Name)\n self.assertEqual(type(binop.op), ast.Mult)\n self.assertEqual(type(binop.right), ast.Call)\n self.assertEqual(binop.lineno, 3)\n self.assertEqual(binop.left.lineno, 3)\n self.assertEqual(binop.right.lineno, 3)\n self.assertEqual(binop.col_offset, 3)\n self.assertEqual(binop.left.col_offset, 3)\n self.assertEqual(binop.right.col_offset, 7)\n\n def test_ast_line_numbers_multiple_formattedvalues(self):\n expr = """\nf\'no formatted values\'\nf\'eggs {a * x()} spam {b + y()}\'"""\n t = ast.parse(expr)\n self.assertEqual(type(t), ast.Module)\n self.assertEqual(len(t.body), 2)\n # check `f\'no formatted value\'`\n self.assertEqual(type(t.body[0]), ast.Expr)\n self.assertEqual(type(t.body[0].value), ast.JoinedStr)\n self.assertEqual(t.body[0].lineno, 2)\n # check `f\'...\'`\n self.assertEqual(type(t.body[1]), ast.Expr)\n self.assertEqual(type(t.body[1].value), ast.JoinedStr)\n self.assertEqual(len(t.body[1].value.values), 4)\n self.assertEqual(type(t.body[1].value.values[0]), ast.Constant)\n self.assertEqual(type(t.body[1].value.values[0].value), str)\n self.assertEqual(type(t.body[1].value.values[1]), ast.FormattedValue)\n self.assertEqual(type(t.body[1].value.values[2]), ast.Constant)\n self.assertEqual(type(t.body[1].value.values[2].value), str)\n self.assertEqual(type(t.body[1].value.values[3]), ast.FormattedValue)\n self.assertEqual(t.body[1].lineno, 3)\n self.assertEqual(t.body[1].value.lineno, 3)\n self.assertEqual(t.body[1].value.values[0].lineno, 3)\n self.assertEqual(t.body[1].value.values[1].lineno, 3)\n self.assertEqual(t.body[1].value.values[2].lineno, 3)\n self.assertEqual(t.body[1].value.values[3].lineno, 3)\n # check the first binop location\n binop1 = t.body[1].value.values[1].value\n self.assertEqual(type(binop1), ast.BinOp)\n self.assertEqual(type(binop1.left), ast.Name)\n self.assertEqual(type(binop1.op), ast.Mult)\n self.assertEqual(type(binop1.right), ast.Call)\n self.assertEqual(binop1.lineno, 3)\n self.assertEqual(binop1.left.lineno, 3)\n self.assertEqual(binop1.right.lineno, 3)\n self.assertEqual(binop1.col_offset, 8)\n self.assertEqual(binop1.left.col_offset, 8)\n self.assertEqual(binop1.right.col_offset, 12)\n # check the second binop location\n binop2 = t.body[1].value.values[3].value\n self.assertEqual(type(binop2), ast.BinOp)\n self.assertEqual(type(binop2.left), ast.Name)\n self.assertEqual(type(binop2.op), ast.Add)\n self.assertEqual(type(binop2.right), ast.Call)\n self.assertEqual(binop2.lineno, 3)\n self.assertEqual(binop2.left.lineno, 3)\n self.assertEqual(binop2.right.lineno, 3)\n self.assertEqual(binop2.col_offset, 23)\n self.assertEqual(binop2.left.col_offset, 23)\n self.assertEqual(binop2.right.col_offset, 27)\n\n def test_ast_line_numbers_nested(self):\n expr = """\na = 10\nf\'{a * f"-{x()}-"}\'"""\n t = ast.parse(expr)\n self.assertEqual(type(t), ast.Module)\n self.assertEqual(len(t.body), 2)\n # check `a = 10`\n self.assertEqual(type(t.body[0]), ast.Assign)\n self.assertEqual(t.body[0].lineno, 2)\n # check `f\'...\'`\n self.assertEqual(type(t.body[1]), ast.Expr)\n self.assertEqual(type(t.body[1].value), ast.JoinedStr)\n self.assertEqual(len(t.body[1].value.values), 1)\n self.assertEqual(type(t.body[1].value.values[0]), ast.FormattedValue)\n self.assertEqual(t.body[1].lineno, 3)\n self.assertEqual(t.body[1].value.lineno, 3)\n self.assertEqual(t.body[1].value.values[0].lineno, 3)\n # check the binop location\n binop = t.body[1].value.values[0].value\n self.assertEqual(type(binop), ast.BinOp)\n self.assertEqual(type(binop.left), ast.Name)\n self.assertEqual(type(binop.op), ast.Mult)\n self.assertEqual(type(binop.right), ast.JoinedStr)\n self.assertEqual(binop.lineno, 3)\n self.assertEqual(binop.left.lineno, 3)\n self.assertEqual(binop.right.lineno, 3)\n self.assertEqual(binop.col_offset, 3)\n self.assertEqual(binop.left.col_offset, 3)\n self.assertEqual(binop.right.col_offset, 7)\n # check the nested call location\n self.assertEqual(len(binop.right.values), 3)\n self.assertEqual(type(binop.right.values[0]), ast.Constant)\n self.assertEqual(type(binop.right.values[0].value), str)\n self.assertEqual(type(binop.right.values[1]), ast.FormattedValue)\n self.assertEqual(type(binop.right.values[2]), ast.Constant)\n self.assertEqual(type(binop.right.values[2].value), str)\n self.assertEqual(binop.right.values[0].lineno, 3)\n self.assertEqual(binop.right.values[1].lineno, 3)\n self.assertEqual(binop.right.values[2].lineno, 3)\n call = binop.right.values[1].value\n self.assertEqual(type(call), ast.Call)\n self.assertEqual(call.lineno, 3)\n self.assertEqual(call.col_offset, 11)\n\n def test_ast_line_numbers_duplicate_expression(self):\n expr = """\na = 10\nf\'{a * x()} {a * x()} {a * x()}\'\n"""\n t = ast.parse(expr)\n self.assertEqual(type(t), ast.Module)\n self.assertEqual(len(t.body), 2)\n # check `a = 10`\n self.assertEqual(type(t.body[0]), ast.Assign)\n self.assertEqual(t.body[0].lineno, 2)\n # check `f\'...\'`\n self.assertEqual(type(t.body[1]), ast.Expr)\n self.assertEqual(type(t.body[1].value), ast.JoinedStr)\n self.assertEqual(len(t.body[1].value.values), 5)\n self.assertEqual(type(t.body[1].value.values[0]), ast.FormattedValue)\n self.assertEqual(type(t.body[1].value.values[1]), ast.Constant)\n self.assertEqual(type(t.body[1].value.values[1].value), str)\n self.assertEqual(type(t.body[1].value.values[2]), ast.FormattedValue)\n self.assertEqual(type(t.body[1].value.values[3]), ast.Constant)\n self.assertEqual(type(t.body[1].value.values[3].value), str)\n self.assertEqual(type(t.body[1].value.values[4]), ast.FormattedValue)\n self.assertEqual(t.body[1].lineno, 3)\n self.assertEqual(t.body[1].value.lineno, 3)\n self.assertEqual(t.body[1].value.values[0].lineno, 3)\n self.assertEqual(t.body[1].value.values[1].lineno, 3)\n self.assertEqual(t.body[1].value.values[2].lineno, 3)\n self.assertEqual(t.body[1].value.values[3].lineno, 3)\n self.assertEqual(t.body[1].value.values[4].lineno, 3)\n # check the first binop location\n binop = t.body[1].value.values[0].value\n self.assertEqual(type(binop), ast.BinOp)\n self.assertEqual(type(binop.left), ast.Name)\n self.assertEqual(type(binop.op), ast.Mult)\n self.assertEqual(type(binop.right), ast.Call)\n self.assertEqual(binop.lineno, 3)\n self.assertEqual(binop.left.lineno, 3)\n self.assertEqual(binop.right.lineno, 3)\n self.assertEqual(binop.col_offset, 3)\n self.assertEqual(binop.left.col_offset, 3)\n self.assertEqual(binop.right.col_offset, 7)\n # check the second binop location\n binop = t.body[1].value.values[2].value\n self.assertEqual(type(binop), ast.BinOp)\n self.assertEqual(type(binop.left), ast.Name)\n self.assertEqual(type(binop.op), ast.Mult)\n self.assertEqual(type(binop.right), ast.Call)\n self.assertEqual(binop.lineno, 3)\n self.assertEqual(binop.left.lineno, 3)\n self.assertEqual(binop.right.lineno, 3)\n self.assertEqual(binop.col_offset, 13)\n self.assertEqual(binop.left.col_offset, 13)\n self.assertEqual(binop.right.col_offset, 17)\n # check the third binop location\n binop = t.body[1].value.values[4].value\n self.assertEqual(type(binop), ast.BinOp)\n self.assertEqual(type(binop.left), ast.Name)\n self.assertEqual(type(binop.op), ast.Mult)\n self.assertEqual(type(binop.right), ast.Call)\n self.assertEqual(binop.lineno, 3)\n self.assertEqual(binop.left.lineno, 3)\n self.assertEqual(binop.right.lineno, 3)\n self.assertEqual(binop.col_offset, 23)\n self.assertEqual(binop.left.col_offset, 23)\n self.assertEqual(binop.right.col_offset, 27)\n\n def test_ast_numbers_fstring_with_formatting(self):\n t = ast.parse(\'f"Here is that pesky {xxx:.3f} again"\')\n self.assertEqual(len(t.body), 1)\n self.assertEqual(t.body[0].lineno, 1)\n\n self.assertEqual(type(t.body[0]), ast.Expr)\n self.assertEqual(type(t.body[0].value), ast.JoinedStr)\n self.assertEqual(len(t.body[0].value.values), 3)\n\n self.assertEqual(type(t.body[0].value.values[0]), ast.Constant)\n self.assertEqual(type(t.body[0].value.values[1]), ast.FormattedValue)\n self.assertEqual(type(t.body[0].value.values[2]), ast.Constant)\n\n _, expr, _ = t.body[0].value.values\n\n name = expr.value\n self.assertEqual(type(name), ast.Name)\n self.assertEqual(name.lineno, 1)\n self.assertEqual(name.end_lineno, 1)\n self.assertEqual(name.col_offset, 22)\n self.assertEqual(name.end_col_offset, 25)\n\n def test_ast_line_numbers_multiline_fstring(self):\n # See bpo-30465 for details.\n expr = """\na = 10\nf\'\'\'\n {a\n *\n x()}\nnon-important content\n\'\'\'\n"""\n t = ast.parse(expr)\n self.assertEqual(type(t), ast.Module)\n self.assertEqual(len(t.body), 2)\n # check `a = 10`\n self.assertEqual(type(t.body[0]), ast.Assign)\n self.assertEqual(t.body[0].lineno, 2)\n # check `f\'...\'`\n self.assertEqual(type(t.body[1]), ast.Expr)\n self.assertEqual(type(t.body[1].value), ast.JoinedStr)\n self.assertEqual(len(t.body[1].value.values), 3)\n self.assertEqual(type(t.body[1].value.values[0]), ast.Constant)\n self.assertEqual(type(t.body[1].value.values[0].value), str)\n self.assertEqual(type(t.body[1].value.values[1]), ast.FormattedValue)\n self.assertEqual(type(t.body[1].value.values[2]), ast.Constant)\n self.assertEqual(type(t.body[1].value.values[2].value), str)\n self.assertEqual(t.body[1].lineno, 3)\n self.assertEqual(t.body[1].value.lineno, 3)\n self.assertEqual(t.body[1].value.values[0].lineno, 3)\n self.assertEqual(t.body[1].value.values[1].lineno, 4)\n self.assertEqual(t.body[1].value.values[2].lineno, 6)\n self.assertEqual(t.body[1].col_offset, 0)\n self.assertEqual(t.body[1].value.col_offset, 0)\n self.assertEqual(t.body[1].value.values[0].col_offset, 4)\n self.assertEqual(t.body[1].value.values[1].col_offset, 2)\n self.assertEqual(t.body[1].value.values[2].col_offset, 11)\n # NOTE: the following lineno information and col_offset is correct for\n # expressions within FormattedValues.\n binop = t.body[1].value.values[1].value\n self.assertEqual(type(binop), ast.BinOp)\n self.assertEqual(type(binop.left), ast.Name)\n self.assertEqual(type(binop.op), ast.Mult)\n self.assertEqual(type(binop.right), ast.Call)\n self.assertEqual(binop.lineno, 4)\n self.assertEqual(binop.left.lineno, 4)\n self.assertEqual(binop.right.lineno, 6)\n self.assertEqual(binop.col_offset, 3)\n self.assertEqual(binop.left.col_offset, 3)\n self.assertEqual(binop.right.col_offset, 7)\n\n expr = """\na = f\'\'\'\n {blech}\n \'\'\'\n"""\n t = ast.parse(expr)\n self.assertEqual(type(t), ast.Module)\n self.assertEqual(len(t.body), 1)\n # Check f\'...\'\n self.assertEqual(type(t.body[0]), ast.Assign)\n self.assertEqual(type(t.body[0].value), ast.JoinedStr)\n self.assertEqual(len(t.body[0].value.values), 3)\n self.assertEqual(type(t.body[0].value.values[1]), ast.FormattedValue)\n self.assertEqual(t.body[0].lineno, 2)\n self.assertEqual(t.body[0].value.lineno, 2)\n self.assertEqual(t.body[0].value.values[0].lineno, 2)\n self.assertEqual(t.body[0].value.values[1].lineno, 3)\n self.assertEqual(t.body[0].value.values[2].lineno, 3)\n self.assertEqual(t.body[0].col_offset, 0)\n self.assertEqual(t.body[0].value.col_offset, 4)\n self.assertEqual(t.body[0].value.values[0].col_offset, 8)\n self.assertEqual(t.body[0].value.values[1].col_offset, 10)\n self.assertEqual(t.body[0].value.values[2].col_offset, 17)\n # Check {blech}\n self.assertEqual(t.body[0].value.values[1].value.lineno, 3)\n self.assertEqual(t.body[0].value.values[1].value.end_lineno, 3)\n self.assertEqual(t.body[0].value.values[1].value.col_offset, 11)\n self.assertEqual(t.body[0].value.values[1].value.end_col_offset, 16)\n\n def test_ast_line_numbers_with_parentheses(self):\n expr = """\nx = (\n f" {test(t)}"\n)"""\n t = ast.parse(expr)\n self.assertEqual(type(t), ast.Module)\n self.assertEqual(len(t.body), 1)\n # check the joinedstr location\n joinedstr = t.body[0].value\n self.assertEqual(type(joinedstr), ast.JoinedStr)\n self.assertEqual(joinedstr.lineno, 3)\n self.assertEqual(joinedstr.end_lineno, 3)\n self.assertEqual(joinedstr.col_offset, 4)\n self.assertEqual(joinedstr.end_col_offset, 17)\n # check the formatted value location\n fv = t.body[0].value.values[1]\n self.assertEqual(type(fv), ast.FormattedValue)\n self.assertEqual(fv.lineno, 3)\n self.assertEqual(fv.end_lineno, 3)\n self.assertEqual(fv.col_offset, 7)\n self.assertEqual(fv.end_col_offset, 16)\n # check the test(t) location\n call = t.body[0].value.values[1].value\n self.assertEqual(type(call), ast.Call)\n self.assertEqual(call.lineno, 3)\n self.assertEqual(call.end_lineno, 3)\n self.assertEqual(call.col_offset, 8)\n self.assertEqual(call.end_col_offset, 15)\n\n expr = """\nx = (\n u\'wat\',\n u"wat",\n b\'wat\',\n b"wat",\n f\'wat\',\n f"wat",\n)\n\ny = (\n u\'\'\'wat\'\'\',\n u\\"\\"\\"wat\\"\\"\\",\n b\'\'\'wat\'\'\',\n b\\"\\"\\"wat\\"\\"\\",\n f\'\'\'wat\'\'\',\n f\\"\\"\\"wat\\"\\"\\",\n)\n """\n t = ast.parse(expr)\n self.assertEqual(type(t), ast.Module)\n self.assertEqual(len(t.body), 2)\n x, y = t.body\n\n # Check the single quoted string offsets first.\n offsets = [(elt.col_offset, elt.end_col_offset) for elt in x.value.elts]\n self.assertTrue(all(offset == (4, 10) for offset in offsets))\n\n # Check the triple quoted string offsets.\n offsets = [(elt.col_offset, elt.end_col_offset) for elt in y.value.elts]\n self.assertTrue(all(offset == (4, 14) for offset in offsets))\n\n expr = """\nx = (\n \'PERL_MM_OPT\', (\n f\'wat\'\n f\'some_string={f(x)} \'\n f\'wat\'\n ),\n)\n"""\n t = ast.parse(expr)\n self.assertEqual(type(t), ast.Module)\n self.assertEqual(len(t.body), 1)\n # check the fstring\n fstring = t.body[0].value.elts[1]\n self.assertEqual(type(fstring), ast.JoinedStr)\n self.assertEqual(len(fstring.values), 3)\n wat1, middle, wat2 = fstring.values\n # check the first wat\n self.assertEqual(type(wat1), ast.Constant)\n self.assertEqual(wat1.lineno, 4)\n self.assertEqual(wat1.end_lineno, 5)\n self.assertEqual(wat1.col_offset, 14)\n self.assertEqual(wat1.end_col_offset, 26)\n # check the call\n call = middle.value\n self.assertEqual(type(call), ast.Call)\n self.assertEqual(call.lineno, 5)\n self.assertEqual(call.end_lineno, 5)\n self.assertEqual(call.col_offset, 27)\n self.assertEqual(call.end_col_offset, 31)\n # check the second wat\n self.assertEqual(type(wat2), ast.Constant)\n self.assertEqual(wat2.lineno, 5)\n self.assertEqual(wat2.end_lineno, 6)\n self.assertEqual(wat2.col_offset, 32)\n # wat ends at the offset 17, but the whole f-string\n # ends at the offset 18 (since the quote is part of the\n # f-string but not the wat string)\n self.assertEqual(wat2.end_col_offset, 17)\n self.assertEqual(fstring.end_col_offset, 18)\n\n def test_ast_fstring_empty_format_spec(self):\n expr = "f\'{expr:}\'"\n\n mod = ast.parse(expr)\n self.assertEqual(type(mod), ast.Module)\n self.assertEqual(len(mod.body), 1)\n\n fstring = mod.body[0].value\n self.assertEqual(type(fstring), ast.JoinedStr)\n self.assertEqual(len(fstring.values), 1)\n\n fv = fstring.values[0]\n self.assertEqual(type(fv), ast.FormattedValue)\n\n format_spec = fv.format_spec\n self.assertEqual(type(format_spec), ast.JoinedStr)\n self.assertEqual(len(format_spec.values), 0)\n\n def test_docstring(self):\n def f():\n f"""Not a docstring"""\n\n self.assertIsNone(f.__doc__)\n\n def g():\n """Not a docstring""" f""\n\n self.assertIsNone(g.__doc__)\n\n def test_literal_eval(self):\n with self.assertRaisesRegex(ValueError, "malformed node or string"):\n ast.literal_eval("f\'x\'")\n\n def test_ast_compile_time_concat(self):\n x = [""]\n\n expr = """x[0] = \'foo\' f\'{3}\'"""\n t = ast.parse(expr)\n c = compile(t, "", "exec")\n exec(c)\n self.assertEqual(x[0], "foo3")\n\n def test_compile_time_concat_errors(self):\n self.assertAllRaise(\n SyntaxError,\n "cannot mix bytes and nonbytes literals",\n [\n r"""f\'\' b\'\'""",\n r"""b\'\' f\'\'""",\n ],\n )\n\n def test_literal(self):\n self.assertEqual(f"", "")\n self.assertEqual(f"a", "a")\n self.assertEqual(f" ", " ")\n\n def test_unterminated_string(self):\n self.assertAllRaise(\n SyntaxError,\n "unterminated string",\n [\n r"""f\'{"x\'""",\n r"""f\'{"x}\'""",\n ],\n )\n # PyPy reports the unclosed \'(\' rather than the unterminated string\n if sys.implementation.name == \'pypy\':\n msg = "f-string: expecting a valid expression after \'{\'"\n else:\n msg = "unterminated string"\n self.assertAllRaise(\n SyntaxError,\n msg,\n [\n r"""f\'{("x\'""",\n r"""f\'{("x}\'""",\n ],\n )\n\n @unittest.skipIf(support.is_wasi, "exhausts limited stack on WASI")\n def test_mismatched_parens(self):\n self.assertAllRaise(\n SyntaxError,\n r"closing parenthesis \'\\}\' " r"does not match opening parenthesis \'\\(\'",\n [\n "f\'{((}\'",\n ],\n )\n self.assertAllRaise(\n SyntaxError,\n r"closing parenthesis \'\\)\' " r"does not match opening parenthesis \'\\[\'",\n [\n "f\'{a[4)}\'",\n ],\n )\n self.assertAllRaise(\n SyntaxError,\n r"closing parenthesis \'\\]\' " r"does not match opening parenthesis \'\\(\'",\n [\n "f\'{a(4]}\'",\n ],\n )\n self.assertAllRaise(\n SyntaxError,\n r"closing parenthesis \'\\}\' " r"does not match opening parenthesis \'\\[\'",\n [\n "f\'{a[4}\'",\n ],\n )\n self.assertAllRaise(\n SyntaxError,\n r"closing parenthesis \'\\}\' " r"does not match opening parenthesis \'\\(\'",\n [\n "f\'{a(4}\'",\n ],\n )\n self.assertRaises(SyntaxError, eval, "f\'{" + "(" * 500 + "}\'")\n\n @unittest.skipIf(support.is_wasi, "exhausts limited stack on WASI")\n def test_fstring_nested_too_deeply(self):\n self.assertAllRaise(\n SyntaxError,\n "f-string: expressions nested too deeply",\n [\'f"{1+2:{1+2:{1+1:{1}}}}"\'],\n )\n\n def create_nested_fstring(n):\n if n == 0:\n return "1+1"\n prev = create_nested_fstring(n - 1)\n return f\'f"{{{prev}}}"\'\n\n self.assertAllRaise(\n SyntaxError, "too many nested f-strings", [create_nested_fstring(160)]\n )\n\n def test_syntax_error_in_nested_fstring(self):\n # See gh-104016 for more information on this crash\n # PyPy tokenizes eagerly and hits its f-string nesting limit first\n if sys.implementation.name == \'pypy\':\n msg = "too many nested f-strings"\n else:\n msg = "invalid syntax"\n self.assertAllRaise(\n SyntaxError, msg, [\'f"{1 1:\' + (\'{f"1:\' * 199)]\n )\n\n def test_double_braces(self):\n self.assertEqual(f"{{", "{")\n self.assertEqual(f"a{{", "a{")\n self.assertEqual(f"{{b", "{b")\n self.assertEqual(f"a{{b", "a{b")\n self.assertEqual(f"}}", "}")\n self.assertEqual(f"a}}", "a}")\n self.assertEqual(f"}}b", "}b")\n self.assertEqual(f"a}}b", "a}b")\n self.assertEqual(f"{{}}", "{}")\n self.assertEqual(f"a{{}}", "a{}")\n self.assertEqual(f"{{b}}", "{b}")\n self.assertEqual(f"{{}}c", "{}c")\n self.assertEqual(f"a{{b}}", "a{b}")\n self.assertEqual(f"a{{}}c", "a{}c")\n self.assertEqual(f"{{b}}c", "{b}c")\n self.assertEqual(f"a{{b}}c", "a{b}c")\n\n self.assertEqual(f"{{{10}", "{10")\n self.assertEqual(f"}}{10}", "}10")\n self.assertEqual(f"}}{{{10}", "}{10")\n self.assertEqual(f"}}a{{{10}", "}a{10")\n\n self.assertEqual(f"{10}{{", "10{")\n self.assertEqual(f"{10}}}", "10}")\n self.assertEqual(f"{10}}}{{", "10}{")\n self.assertEqual(f"{10}}}a{{" "}", "10}a{}")\n\n # Inside of strings, don\'t interpret doubled brackets.\n self.assertEqual(f\'{"{{}}"}\', "{{}}")\n\n self.assertAllRaise(\n TypeError,\n "unhashable type",\n [\n "f\'{ {{}} }\'", # dict in a set\n ],\n )\n\n def test_compile_time_concat(self):\n x = "def"\n self.assertEqual("abc" f"## {x}ghi", "abc## defghi")\n self.assertEqual("abc" f"{x}" "ghi", "abcdefghi")\n self.assertEqual("abc" f"{x}" "gh" f"i{x:4}", "abcdefghidef ")\n self.assertEqual("{x}" f"{x}", "{x}def")\n self.assertEqual("{x" f"{x}", "{xdef")\n self.assertEqual("{x}" f"{x}", "{x}def")\n self.assertEqual("{{x}}" f"{x}", "{{x}}def")\n self.assertEqual("{{x" f"{x}", "{{xdef")\n self.assertEqual("x}}" f"{x}", "x}}def")\n self.assertEqual(f"{x}" "x}}", "defx}}")\n self.assertEqual(f"{x}" "", "def")\n self.assertEqual("" f"{x}" "", "def")\n self.assertEqual("" f"{x}", "def")\n self.assertEqual(f"{x}" "2", "def2")\n self.assertEqual("1" f"{x}" "2", "1def2")\n self.assertEqual("1" f"{x}", "1def")\n self.assertEqual(f"{x}" f"-{x}", "def-def")\n self.assertEqual("" f"", "")\n self.assertEqual("" f"" "", "")\n self.assertEqual("" f"" "" f"", "")\n self.assertEqual(f"", "")\n self.assertEqual(f"" "", "")\n self.assertEqual(f"" "" f"", "")\n self.assertEqual(f"" "" f"" "", "")\n\n # This is not really [f\'{\'] + [f\'}\'] since we treat the inside\n # of braces as a purely new context, so it is actually f\'{ and\n # then eval(\' f\') (a valid expression) and then }\' which would\n # constitute a valid f-string.\n self.assertEqual(f\'{\' f\'}\', " f")\n\n self.assertAllRaise(\n SyntaxError,\n "expecting \'}\'",\n [\n \'\'\'f\'{3\' f"}"\'\'\', # can\'t concat to get a valid f-string\n ],\n )\n\n def test_comments(self):\n # These aren\'t comments, since they\'re in strings.\n d = {"#": "hash"}\n self.assertEqual(f\'{"#"}\', "#")\n self.assertEqual(f\'{d["#"]}\', "hash")\n\n self.assertAllRaise(\n SyntaxError,\n "\'{\' was never closed",\n [\n "f\'{1#}\'", # error because everything after \'#\' is a comment\n "f\'{#}\'",\n "f\'one: {1#}\'",\n "f\'{1# one} {2 this is a comment still#}\'",\n ],\n )\n self.assertAllRaise(\n SyntaxError,\n r"f-string: unmatched \'\\)\'",\n [\n "f\'{)#}\'", # When wrapped in parens, this becomes\n # \'()#)\'. Make sure that doesn\'t compile.\n ],\n )\n self.assertEqual(\n f"""A complex trick: {\n2 # two\n}""",\n "A complex trick: 2",\n )\n self.assertEqual(\n f"""\n{\n40 # forty\n+ # plus\n2 # two\n}""",\n "\\n42",\n )\n self.assertEqual(\n f"""\n{\n40 # forty\n+ # plus\n2 # two\n}""",\n "\\n42",\n )\n\n self.assertEqual(\n f"""\n# this is not a comment\n{ # the following operation it\'s\n3 # this is a number\n* 2}""",\n "\\n# this is not a comment\\n6",\n )\n self.assertEqual(\n f"""\n{# f\'a {comment}\'\n86 # constant\n# nothing more\n}""",\n "\\n86",\n )\n\n self.assertAllRaise(\n SyntaxError,\n r"f-string: valid expression required before \'}\'",\n [\n """f\'\'\'\n{\n# only a comment\n}\'\'\'\n""", # this is equivalent to f\'{}\'\n ],\n )\n\n def test_many_expressions(self):\n # Create a string with many expressions in it. Note that\n # because we have a space in here as a literal, we\'re actually\n # going to use twice as many ast nodes: one for each literal\n # plus one for each expression.\n def build_fstr(n, extra=""):\n return "f\'" + ("{x} " * n) + extra + "\'"\n\n x = "X"\n width = 1\n\n # Test around 256.\n for i in range(250, 260):\n self.assertEqual(eval(build_fstr(i)), (x + " ") * i)\n\n # Test concatenating 2 largs fstrings.\n self.assertEqual(eval(build_fstr(255) * 256), (x + " ") * (255 * 256))\n\n s = build_fstr(253, "{x:{width}} ")\n self.assertEqual(eval(s), (x + " ") * 254)\n\n # Test lots of expressions and constants, concatenated.\n s = "f\'{1}\' \'x\' \'y\'" * 1024\n self.assertEqual(eval(s), "1xy" * 1024)\n\n def test_format_specifier_expressions(self):\n width = 10\n precision = 4\n value = decimal.Decimal("12.34567")\n self.assertEqual(f"result: {value:{width}.{precision}}", "result: 12.35")\n self.assertEqual(f"result: {value:{width!r}.{precision}}", "result: 12.35")\n self.assertEqual(\n f"result: {value:{width:0}.{precision:1}}", "result: 12.35"\n )\n self.assertEqual(\n f"result: {value:{1}{0:0}.{precision:1}}", "result: 12.35"\n )\n self.assertEqual(\n f"result: {value:{ 1}{ 0:0}.{ precision:1}}", "result: 12.35"\n )\n self.assertEqual(f"{10:#{1}0x}", " 0xa")\n self.assertEqual(f\'{10:{"#"}1{0}{"x"}}\', " 0xa")\n self.assertEqual(f\'{-10:-{"#"}1{0}x}\', " -0xa")\n self.assertEqual(f\'{-10:{"-"}#{1}0{"x"}}\', " -0xa")\n self.assertEqual(f"{10:#{3 != {4:5} and width}x}", " 0xa")\n self.assertEqual(\n f"result: {value:{width:{0}}.{precision:1}}", "result: 12.35"\n )\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: expecting \':\' or \'}\'",\n [\n """f\'{"s"!r{":10"}}\'""",\n # This looks like a nested format spec.\n ],\n )\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: expecting a valid expression after \'{\'",\n [ # Invalid syntax inside a nested spec.\n "f\'{4:{/5}}\'",\n ],\n )\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: invalid conversion character",\n [ # No expansion inside conversion or for\n # the : or ! itself.\n """f\'{"s"!{"r"}}\'""",\n ],\n )\n\n def test_custom_format_specifier(self):\n class CustomFormat:\n def __format__(self, format_spec):\n return format_spec\n\n self.assertEqual(f"{CustomFormat():\\n}", "\\n")\n self.assertEqual(f"{CustomFormat():\\u2603}", "☃")\n with self.assertWarns(SyntaxWarning):\n exec(r\'f"{F():¯\\_(ツ)_/¯}"\', {"F": CustomFormat})\n\n def test_side_effect_order(self):\n class X:\n def __init__(self):\n self.i = 0\n\n def __format__(self, spec):\n self.i += 1\n return str(self.i)\n\n x = X()\n self.assertEqual(f"{x} {x}", "1 2")\n\n def test_missing_expression(self):\n self.assertAllRaise(\n SyntaxError,\n "f-string: valid expression required before \'}\'",\n [\n "f\'{}\'",\n "f\'{ }\'" "f\' {} \'",\n "f\'{10:{ }}\'",\n "f\' { } \'",\n # The Python parser ignores also the following\n # whitespace characters in additional to a space.\n "f\'\'\'{\\t\\f\\r\\n}\'\'\'",\n ],\n )\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: valid expression required before \'!\'",\n [\n "f\'{!r}\'",\n "f\'{ !r}\'",\n "f\'{!}\'",\n "f\'\'\'{\\t\\f\\r\\n!a}\'\'\'",\n # Catch empty expression before the\n # missing closing brace.\n "f\'{!\'",\n "f\'{!s:\'",\n # Catch empty expression before the\n # invalid conversion.\n "f\'{!x}\'",\n "f\'{ !xr}\'",\n "f\'{!x:}\'",\n "f\'{!x:a}\'",\n "f\'{ !xr:}\'",\n "f\'{ !xr:a}\'",\n ],\n )\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: valid expression required before \':\'",\n [\n "f\'{:}\'",\n "f\'{ :!}\'",\n "f\'{:2}\'",\n "f\'\'\'{\\t\\f\\r\\n:a}\'\'\'",\n "f\'{:\'",\n ],\n )\n # PyPy\'s eager tokenizer reports the trailing unmatched \']\' instead\n if sys.implementation.name == \'pypy\':\n msg = "f-string: unmatched \']\'"\n else:\n msg = "f-string: valid expression required before \':\'"\n self.assertAllRaise(SyntaxError, msg, ["F\'{[F\'{:\'}[F\'{:\'}]]]"])\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: valid expression required before \'=\'",\n [\n "f\'{=}\'",\n "f\'{ =}\'",\n "f\'{ =:}\'",\n "f\'{ =!}\'",\n "f\'\'\'{\\t\\f\\r\\n=}\'\'\'",\n "f\'{=\'",\n ],\n )\n\n # Different error message is raised for other whitespace characters.\n self.assertAllRaise(\n SyntaxError,\n r"invalid non-printable character U\\+00A0",\n [\n "f\'\'\'{\\xa0}\'\'\'",\n "\\xa0",\n ],\n )\n\n def test_parens_in_expressions(self):\n self.assertEqual(f"{3,}", "(3,)")\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: expecting a valid expression after \'{\'",\n [\n "f\'{,}\'",\n ],\n )\n\n self.assertAllRaise(\n SyntaxError,\n r"f-string: unmatched \'\\)\'",\n [\n "f\'{3)+(4}\'",\n ],\n )\n\n def test_newlines_before_syntax_error(self):\n self.assertAllRaise(\n SyntaxError,\n "f-string: expecting a valid expression after \'{\'",\n ["f\'{.}\'", "\\nf\'{.}\'", "\\n\\nf\'{.}\'"],\n )\n\n def test_backslashes_in_string_part(self):\n self.assertEqual(f"\\t", "\\t")\n self.assertEqual(r"\\t", "\\\\t")\n self.assertEqual(rf"\\t", "\\\\t")\n self.assertEqual(f"{2}\\t", "2\\t")\n self.assertEqual(f"{2}\\t{3}", "2\\t3")\n self.assertEqual(f"\\t{3}", "\\t3")\n\n self.assertEqual(f"\\u0394", "\\u0394")\n self.assertEqual(r"\\u0394", "\\\\u0394")\n self.assertEqual(rf"\\u0394", "\\\\u0394")\n self.assertEqual(f"{2}\\u0394", "2\\u0394")\n self.assertEqual(f"{2}\\u0394{3}", "2\\u03943")\n self.assertEqual(f"\\u0394{3}", "\\u03943")\n\n self.assertEqual(f"\\U00000394", "\\u0394")\n self.assertEqual(r"\\U00000394", "\\\\U00000394")\n self.assertEqual(rf"\\U00000394", "\\\\U00000394")\n self.assertEqual(f"{2}\\U00000394", "2\\u0394")\n self.assertEqual(f"{2}\\U00000394{3}", "2\\u03943")\n self.assertEqual(f"\\U00000394{3}", "\\u03943")\n\n self.assertEqual(f"\\N{GREEK CAPITAL LETTER DELTA}", "\\u0394")\n self.assertEqual(f"{2}\\N{GREEK CAPITAL LETTER DELTA}", "2\\u0394")\n self.assertEqual(f"{2}\\N{GREEK CAPITAL LETTER DELTA}{3}", "2\\u03943")\n self.assertEqual(f"\\N{GREEK CAPITAL LETTER DELTA}{3}", "\\u03943")\n self.assertEqual(f"2\\N{GREEK CAPITAL LETTER DELTA}", "2\\u0394")\n self.assertEqual(f"2\\N{GREEK CAPITAL LETTER DELTA}3", "2\\u03943")\n self.assertEqual(f"\\N{GREEK CAPITAL LETTER DELTA}3", "\\u03943")\n\n self.assertEqual(f"\\x20", " ")\n self.assertEqual(r"\\x20", "\\\\x20")\n self.assertEqual(rf"\\x20", "\\\\x20")\n self.assertEqual(f"{2}\\x20", "2 ")\n self.assertEqual(f"{2}\\x20{3}", "2 3")\n self.assertEqual(f"\\x20{3}", " 3")\n\n self.assertEqual(f"2\\x20", "2 ")\n self.assertEqual(f"2\\x203", "2 3")\n self.assertEqual(f"\\x203", " 3")\n\n with self.assertWarns(SyntaxWarning): # invalid escape sequence\n value = eval(r"f\'\\{6*7}\'")\n self.assertEqual(value, "\\\\42")\n with self.assertWarns(SyntaxWarning): # invalid escape sequence\n value = eval(r"f\'\\g\'")\n self.assertEqual(value, "\\\\g")\n self.assertEqual(f"\\\\{6*7}", "\\\\42")\n self.assertEqual(rf"\\{6*7}", "\\\\42")\n\n AMPERSAND = "spam"\n # Get the right unicode character (&), or pick up local variable\n # depending on the number of backslashes.\n self.assertEqual(f"\\N{AMPERSAND}", "&")\n self.assertEqual(f"\\\\N{AMPERSAND}", "\\\\Nspam")\n self.assertEqual(rf"\\N{AMPERSAND}", "\\\\Nspam")\n self.assertEqual(f"\\\\\\N{AMPERSAND}", "\\\\&")\n\n def test_misformed_unicode_character_name(self):\n # These test are needed because unicode names are parsed\n # differently inside f-strings.\n self.assertAllRaise(\n SyntaxError,\n r"\\(unicode error\\) \'unicodeescape\' codec can\'t decode bytes in position .*: malformed \\\\N character escape",\n [\n r"f\'\\N\'",\n r"f\'\\N \'",\n r"f\'\\N \'", # See bpo-46503.\n r"f\'\\N{\'",\n r"f\'\\N{GREEK CAPITAL LETTER DELTA\'",\n # Here are the non-f-string versions,\n # which should give the same errors.\n r"\'\\N\'",\n r"\'\\N \'",\n r"\'\\N \'",\n r"\'\\N{\'",\n r"\'\\N{GREEK CAPITAL LETTER DELTA\'",\n ],\n )\n\n def test_backslashes_in_expression_part(self):\n self.assertEqual(\n f"{(\n 1 +\n 2\n )}",\n "3",\n )\n\n self.assertEqual("\\N{LEFT CURLY BRACKET}", "{")\n self.assertEqual(f\'{"\\N{LEFT CURLY BRACKET}"}\', "{")\n self.assertEqual(rf\'{"\\N{LEFT CURLY BRACKET}"}\', "{")\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: valid expression required before \'}\'",\n [\n "f\'{\\n}\'",\n ],\n )\n\n def test_invalid_backslashes_inside_fstring_context(self):\n # All of these variations are invalid python syntax,\n # so they are also invalid in f-strings as well.\n cases = [\n formatting.format(expr=expr)\n for formatting in [\n "{expr}",\n "f\'{{{expr}}}\'",\n "rf\'{{{expr}}}\'",\n ]\n for expr in [\n r"\\\'a\\\'",\n r"\\t3",\n r"\\\\"[0],\n ]\n ]\n self.assertAllRaise(\n SyntaxError, "unexpected character after line continuation", cases\n )\n\n def test_no_escapes_for_braces(self):\n """\n Only literal curly braces begin an expression.\n """\n # \\x7b is \'{\'.\n self.assertEqual(f"\\x7b1+1}}", "{1+1}")\n self.assertEqual(f"\\x7b1+1", "{1+1")\n self.assertEqual(f"\\u007b1+1", "{1+1")\n self.assertEqual(f"\\N{LEFT CURLY BRACKET}1+1\\N{RIGHT CURLY BRACKET}", "{1+1}")\n\n def test_newlines_in_expressions(self):\n self.assertEqual(f"{0}", "0")\n self.assertEqual(\n rf"""{3+\n4}""",\n "7",\n )\n\n def test_lambda(self):\n x = 5\n self.assertEqual(f\'{(lambda y:x*y)("8")!r}\', "\'88888\'")\n self.assertEqual(f\'{(lambda y:x*y)("8")!r:10}\', "\'88888\' ")\n self.assertEqual(f\'{(lambda y:x*y)("8"):10}\', "88888 ")\n\n # lambda doesn\'t work without parens, because the colon\n # makes the parser think it\'s a format_spec\n # emit warning if we can match a format_spec\n self.assertAllRaise(\n SyntaxError,\n "f-string: lambda expressions are not allowed " "without parentheses",\n [\n "f\'{lambda x:x}\'",\n "f\'{lambda :x}\'",\n "f\'{lambda *arg, :x}\'",\n "f\'{1, lambda:x}\'",\n "f\'{lambda x:}\'",\n "f\'{lambda :}\'",\n ],\n )\n # Ensure the detection of invalid lambdas doesn\'t trigger detection\n # for valid lambdas in the second error pass\n with self.assertRaisesRegex(SyntaxError, "invalid syntax"):\n compile("lambda name_3=f\'{name_4}\': {name_3}\\n1 $ 1", "<string>", "exec")\n\n # but don\'t emit the paren warning in general cases\n with self.assertRaisesRegex(\n SyntaxError, "f-string: expecting a valid expression after \'{\'"\n ):\n eval("f\'{+ lambda:None}\'")\n\n def test_valid_prefixes(self):\n self.assertEqual(f"{1}", "1")\n self.assertEqual(Rf"{2}", "2")\n self.assertEqual(Rf"{3}", "3")\n\n def test_roundtrip_raw_quotes(self):\n self.assertEqual(rf"\\\'", "\\\\\'")\n self.assertEqual(rf"\\"", \'\\\\"\')\n self.assertEqual(rf"\\"\\\'", "\\\\\\"\\\\\'")\n self.assertEqual(rf"\\\'\\"", "\\\\\'\\\\\\"")\n self.assertEqual(rf"\\"\\\'\\"", \'\\\\"\\\\\\\'\\\\"\')\n self.assertEqual(rf"\\\'\\"\\\'", "\\\\\'\\\\\\"\\\\\'")\n self.assertEqual(rf"\\"\\\'\\"\\\'", "\\\\\\"\\\\\'\\\\\\"\\\\\'")\n\n def test_fstring_backslash_before_double_bracket(self):\n deprecated_cases = [\n (r"f\'\\{{\\}}\'", "\\\\{\\\\}"),\n (r"f\'\\{{\'", "\\\\{"),\n (r"f\'\\{{{1+1}\'", "\\\\{2"),\n (r"f\'\\}}{1+1}\'", "\\\\}2"),\n (r"f\'{1+1}\\}}\'", "2\\\\}"),\n ]\n for case, expected_result in deprecated_cases:\n with self.subTest(case=case, expected_result=expected_result):\n with self.assertWarns(SyntaxWarning):\n result = eval(case)\n self.assertEqual(result, expected_result)\n self.assertEqual(rf"\\{{\\}}", "\\\\{\\\\}")\n self.assertEqual(rf"\\{{", "\\\\{")\n self.assertEqual(rf"\\{{{1+1}", "\\\\{2")\n self.assertEqual(rf"\\}}{1+1}", "\\\\}2")\n self.assertEqual(rf"{1+1}\\}}", "2\\\\}")\n\n def test_fstring_backslash_before_double_bracket_warns_once(self):\n with self.assertWarns(SyntaxWarning) as w:\n eval(r"f\'\\{{\'")\n self.assertEqual(len(w.warnings), 1)\n self.assertEqual(w.warnings[0].category, SyntaxWarning)\n\n def test_fstring_backslash_prefix_raw(self):\n self.assertEqual(f"\\\\", "\\\\")\n self.assertEqual(f"\\\\\\\\", "\\\\\\\\")\n self.assertEqual(rf"\\\\", r"\\\\")\n self.assertEqual(rf"\\\\\\\\", r"\\\\\\\\")\n self.assertEqual(rf"\\\\", r"\\\\")\n self.assertEqual(rf"\\\\\\\\", r"\\\\\\\\")\n self.assertEqual(Rf"\\\\", R"\\\\")\n self.assertEqual(Rf"\\\\\\\\", R"\\\\\\\\")\n self.assertEqual(Rf"\\\\", R"\\\\")\n self.assertEqual(Rf"\\\\\\\\", R"\\\\\\\\")\n self.assertEqual(Rf"\\\\", R"\\\\")\n self.assertEqual(Rf"\\\\\\\\", R"\\\\\\\\")\n\n def test_fstring_format_spec_greedy_matching(self):\n self.assertEqual(f"{1:}}}", "1}")\n self.assertEqual(f"{1:>3{5}}}}", " 1}")\n\n def test_yield(self):\n # Not terribly useful, but make sure the yield turns\n # a function into a generator\n def fn(y):\n f"y:{yield y*2}"\n f"{yield}"\n\n g = fn(4)\n self.assertEqual(next(g), 8)\n self.assertEqual(next(g), None)\n\n def test_yield_send(self):\n def fn(x):\n yield f"x:{yield (lambda i: x * i)}"\n\n g = fn(10)\n the_lambda = next(g)\n self.assertEqual(the_lambda(4), 40)\n self.assertEqual(g.send("string"), "x:string")\n\n def test_expressions_with_triple_quoted_strings(self):\n self.assertEqual(f"{\'\'\'x\'\'\'}", "x")\n self.assertEqual(f"{\'\'\'eric\'s\'\'\'}", "eric\'s")\n\n # Test concatenation within an expression\n self.assertEqual(f\'{"x" """eric"s""" "y"}\', \'xeric"sy\')\n self.assertEqual(f\'{"x" """eric"s"""}\', \'xeric"s\')\n self.assertEqual(f\'{"""eric"s""" "y"}\', \'eric"sy\')\n self.assertEqual(f\'{"""x""" """eric"s""" "y"}\', \'xeric"sy\')\n self.assertEqual(f\'{"""x""" """eric"s""" """y"""}\', \'xeric"sy\')\n self.assertEqual(f\'{r"""x""" """eric"s""" """y"""}\', \'xeric"sy\')\n\n def test_multiple_vars(self):\n x = 98\n y = "abc"\n self.assertEqual(f"{x}{y}", "98abc")\n\n self.assertEqual(f"X{x}{y}", "X98abc")\n self.assertEqual(f"{x}X{y}", "98Xabc")\n self.assertEqual(f"{x}{y}X", "98abcX")\n\n self.assertEqual(f"X{x}Y{y}", "X98Yabc")\n self.assertEqual(f"X{x}{y}Y", "X98abcY")\n self.assertEqual(f"{x}X{y}Y", "98XabcY")\n\n self.assertEqual(f"X{x}Y{y}Z", "X98YabcZ")\n\n def test_closure(self):\n def outer(x):\n def inner():\n return f"x:{x}"\n\n return inner\n\n self.assertEqual(outer("987")(), "x:987")\n self.assertEqual(outer(7)(), "x:7")\n\n def test_arguments(self):\n y = 2\n\n def f(x, width):\n return f"x={x*y:{width}}"\n\n self.assertEqual(f("foo", 10), "x=foofoo ")\n x = "bar"\n self.assertEqual(f(10, 10), "x= 20")\n\n def test_locals(self):\n value = 123\n self.assertEqual(f"v:{value}", "v:123")\n\n def test_missing_variable(self):\n with self.assertRaises(NameError):\n f"v:{value}"\n\n def test_missing_format_spec(self):\n class O:\n def __format__(self, spec):\n if not spec:\n return "*"\n return spec\n\n self.assertEqual(f"{O():x}", "x")\n self.assertEqual(f"{O()}", "*")\n self.assertEqual(f"{O():}", "*")\n\n self.assertEqual(f"{3:}", "3")\n self.assertEqual(f"{3!s:}", "3")\n\n def test_global(self):\n self.assertEqual(f"g:{a_global}", "g:global variable")\n self.assertEqual(f"g:{a_global!r}", "g:\'global variable\'")\n\n a_local = "local variable"\n self.assertEqual(\n f"g:{a_global} l:{a_local}", "g:global variable l:local variable"\n )\n self.assertEqual(f"g:{a_global!r}", "g:\'global variable\'")\n self.assertEqual(\n f"g:{a_global} l:{a_local!r}", "g:global variable l:\'local variable\'"\n )\n\n self.assertIn("module \'unittest\' from", f"{unittest}")\n\n def test_shadowed_global(self):\n a_global = "really a local"\n self.assertEqual(f"g:{a_global}", "g:really a local")\n self.assertEqual(f"g:{a_global!r}", "g:\'really a local\'")\n\n a_local = "local variable"\n self.assertEqual(\n f"g:{a_global} l:{a_local}", "g:really a local l:local variable"\n )\n self.assertEqual(f"g:{a_global!r}", "g:\'really a local\'")\n self.assertEqual(\n f"g:{a_global} l:{a_local!r}", "g:really a local l:\'local variable\'"\n )\n\n def test_call(self):\n def foo(x):\n return "x=" + str(x)\n\n self.assertEqual(f"{foo(10)}", "x=10")\n\n def test_nested_fstrings(self):\n y = 5\n self.assertEqual(f\'{f"{0}"*3}\', "000")\n self.assertEqual(f\'{f"{y}"*3}\', "555")\n\n def test_invalid_string_prefixes(self):\n single_quote_cases = [\n "fu\'\'",\n "uf\'\'",\n "Fu\'\'",\n "fU\'\'",\n "Uf\'\'",\n "uF\'\'",\n "ufr\'\'",\n "urf\'\'",\n "fur\'\'",\n "fru\'\'",\n "rfu\'\'",\n "ruf\'\'",\n "FUR\'\'",\n "Fur\'\'",\n "fb\'\'",\n "fB\'\'",\n "Fb\'\'",\n "FB\'\'",\n "bf\'\'",\n "bF\'\'",\n "Bf\'\'",\n "BF\'\'",\n ]\n double_quote_cases = [case.replace("\'", \'"\') for case in single_quote_cases]\n self.assertAllRaise(\n SyntaxError, "invalid syntax", single_quote_cases + double_quote_cases\n )\n\n def test_leading_trailing_spaces(self):\n self.assertEqual(f"{ 3}", "3")\n self.assertEqual(f"{ 3}", "3")\n self.assertEqual(f"{3 }", "3")\n self.assertEqual(f"{3 }", "3")\n\n self.assertEqual(f"expr={ {x: y for x, y in [(1, 2), ]}}", "expr={1: 2}")\n self.assertEqual(f"expr={ {x: y for x, y in [(1, 2), ]} }", "expr={1: 2}")\n\n def test_not_equal(self):\n # There\'s a special test for this because there\'s a special\n # case in the f-string parser to look for != as not ending an\n # expression. Normally it would, while looking for !s or !r.\n\n self.assertEqual(f"{3!=4}", "True")\n self.assertEqual(f"{3!=4:}", "True")\n self.assertEqual(f"{3!=4!s}", "True")\n self.assertEqual(f"{3!=4!s:.3}", "Tru")\n\n def test_equal_equal(self):\n # Because an expression ending in = has special meaning,\n # there\'s a special test for ==. Make sure it works.\n\n self.assertEqual(f"{0==1}", "False")\n\n def test_conversions(self):\n self.assertEqual(f"{3.14:10.10}", " 3.14")\n self.assertEqual(f"{3.14!s:10.10}", "3.14 ")\n self.assertEqual(f"{3.14!r:10.10}", "3.14 ")\n self.assertEqual(f"{3.14!a:10.10}", "3.14 ")\n\n self.assertEqual(f\'{"a"}\', "a")\n self.assertEqual(f\'{"a"!r}\', "\'a\'")\n self.assertEqual(f\'{"a"!a}\', "\'a\'")\n\n # Conversions can have trailing whitespace after them since it\n # does not provide any significance\n self.assertEqual(f"{3!s }", "3")\n self.assertEqual(f"{3.14!s :10.10}", "3.14 ")\n\n # Not a conversion.\n self.assertEqual(f\'{"a!r"}\', "a!r")\n\n # Not a conversion, but show that ! is allowed in a format spec.\n self.assertEqual(f"{3.14:!<10.10}", "3.14!!!!!!")\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: expecting \'}\'",\n [\n "f\'{3!\'",\n "f\'{3!s\'",\n "f\'{3!g\'",\n ],\n )\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: missing conversion character",\n [\n "f\'{3!}\'",\n "f\'{3!:\'",\n "f\'{3!:}\'",\n ],\n )\n\n for conv_identifier in "g", "A", "G", "ä", "ɐ":\n self.assertAllRaise(\n SyntaxError,\n "f-string: invalid conversion character %r: "\n "expected \'s\', \'r\', or \'a\'" % conv_identifier,\n ["f\'{3!" + conv_identifier + "}\'"],\n )\n\n for conv_non_identifier in "3", "!":\n self.assertAllRaise(\n SyntaxError,\n "f-string: invalid conversion character",\n ["f\'{3!" + conv_non_identifier + "}\'"],\n )\n\n for conv in " s", " s ":\n self.assertAllRaise(\n SyntaxError,\n "f-string: conversion type must come right after the"\n " exclamanation mark",\n ["f\'{3!" + conv + "}\'"],\n )\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: invalid conversion character \'ss\': " "expected \'s\', \'r\', or \'a\'",\n [\n "f\'{3!ss}\'",\n "f\'{3!ss:}\'",\n "f\'{3!ss:s}\'",\n ],\n )\n\n def test_assignment(self):\n self.assertAllRaise(\n SyntaxError,\n r"invalid syntax",\n [\n "f\'\' = 3",\n "f\'{0}\' = x",\n "f\'{x}\' = x",\n ],\n )\n\n def test_del(self):\n self.assertAllRaise(\n SyntaxError,\n "invalid syntax",\n [\n "del f\'\'",\n "del \'\' f\'\'",\n ],\n )\n\n def test_mismatched_braces(self):\n self.assertAllRaise(\n SyntaxError,\n "f-string: single \'}\' is not allowed",\n [\n "f\'{{}\'",\n "f\'{{}}}\'",\n "f\'}\'",\n "f\'x}\'",\n "f\'x}x\'",\n r"f\'\\u007b}\'",\n # Can\'t have { or } in a format spec.\n "f\'{3:}>10}\'",\n "f\'{3:}}>10}\'",\n ],\n )\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: expecting \'}\'",\n [\n "f\'{3\'",\n "f\'{3!\'",\n "f\'{3:\'",\n "f\'{3!s\'",\n "f\'{3!s:\'",\n "f\'{3!s:3\'",\n "f\'x{\'",\n "f\'x{x\'",\n "f\'{x\'",\n "f\'{3:s\'",\n "f\'{{{\'",\n "f\'{{}}{\'",\n "f\'{\'",\n "f\'{i=\'", # See gh-93418.\n ],\n )\n\n self.assertAllRaise(\n SyntaxError,\n "f-string: expecting a valid expression after \'{\'",\n [\n "f\'{3:{{>10}\'",\n ],\n )\n\n # But these are just normal strings.\n self.assertEqual(f\'{"{"}\', "{")\n self.assertEqual(f\'{"}"}\', "}")\n self.assertEqual(f\'{3:{"}"}>10}\', "}}}}}}}}}3")\n self.assertEqual(f\'{2:{"{"}>10}\', "{{{{{{{{{2")\n\n def test_if_conditional(self):\n # There\'s special logic in compile.c to test if the\n # conditional for an if (and while) are constants. Exercise\n # that code.\n\n def test_fstring(x, expected):\n flag = 0\n if f"{x}":\n flag = 1\n else:\n flag = 2\n self.assertEqual(flag, expected)\n\n def test_concat_empty(x, expected):\n flag = 0\n if "" f"{x}":\n flag = 1\n else:\n flag = 2\n self.assertEqual(flag, expected)\n\n def test_concat_non_empty(x, expected):\n flag = 0\n if " " f"{x}":\n flag = 1\n else:\n flag = 2\n self.assertEqual(flag, expected)\n\n test_fstring("", 2)\n test_fstring(" ", 1)\n\n test_concat_empty("", 2)\n test_concat_empty(" ", 1)\n\n test_concat_non_empty("", 1)\n test_concat_non_empty(" ", 1)\n\n def test_empty_format_specifier(self):\n x = "test"\n self.assertEqual(f"{x}", "test")\n self.assertEqual(f"{x:}", "test")\n self.assertEqual(f"{x!s:}", "test")\n self.assertEqual(f"{x!r:}", "\'test\'")\n\n def test_str_format_differences(self):\n d = {\n "a": "string",\n 0: "integer",\n }\n a = 0\n self.assertEqual(f"{d[0]}", "integer")\n self.assertEqual(f\'{d["a"]}\', "string")\n self.assertEqual(f"{d[a]}", "integer")\n self.assertEqual("{d[a]}".format(d=d), "string")\n self.assertEqual("{d[0]}".format(d=d), "integer")\n\n def test_errors(self):\n # see issue 26287\n self.assertAllRaise(\n TypeError,\n "unsupported",\n [\n r"f\'{(lambda: 0):x}\'",\n r"f\'{(0,):x}\'",\n ],\n )\n self.assertAllRaise(\n ValueError,\n "Unknown format code",\n [\n r"f\'{1000:j}\'",\n r"f\'{1000:j}\'",\n ],\n )\n\n def test_filename_in_syntaxerror(self):\n # see issue 38964\n with temp_cwd() as cwd:\n file_path = os.path.join(cwd, "t.py")\n with open(file_path, "w", encoding="utf-8") as f:\n f.write(\'f"{a b}"\') # This generates a SyntaxError\n _, _, stderr = assert_python_failure(file_path, PYTHONIOENCODING="ascii")\n self.assertIn(file_path.encode("ascii", "backslashreplace"), stderr)\n\n def test_loop(self):\n for i in range(1000):\n self.assertEqual(f"i:{i}", "i:" + str(i))\n\n def test_dict(self):\n d = {\n \'"\': "dquote",\n "\'": "squote",\n "foo": "bar",\n }\n self.assertEqual(f"""{d["\'"]}""", "squote")\n self.assertEqual(f"""{d[\'"\']}""", "dquote")\n\n self.assertEqual(f\'{d["foo"]}\', "bar")\n self.assertEqual(f"{d[\'foo\']}", "bar")\n\n def test_backslash_char(self):\n # Check eval of a backslash followed by a control char.\n # See bpo-30682: this used to raise an assert in pydebug mode.\n self.assertEqual(eval(\'f"\\\\\\n"\'), "")\n self.assertEqual(eval(\'f"\\\\\\r"\'), "")\n\n def test_debug_conversion(self):\n x = "A string"\n self.assertEqual(f"{x=}", "x=" + repr(x))\n self.assertEqual(f"{x =}", "x =" + repr(x))\n self.assertEqual(f"{x=!s}", "x=" + str(x))\n self.assertEqual(f"{x=!r}", "x=" + repr(x))\n self.assertEqual(f"{x=!a}", "x=" + ascii(x))\n\n x = 2.71828\n self.assertEqual(f"{x=:.2f}", "x=" + format(x, ".2f"))\n self.assertEqual(f"{x=:}", "x=" + format(x, ""))\n self.assertEqual(f"{x=!r:^20}", "x=" + format(repr(x), "^20"))\n self.assertEqual(f"{x=!s:^20}", "x=" + format(str(x), "^20"))\n self.assertEqual(f"{x=!a:^20}", "x=" + format(ascii(x), "^20"))\n\n x = 9\n self.assertEqual(f"{3*x+15=}", "3*x+15=42")\n\n # There is code in ast.c that deals with non-ascii expression values. So,\n # use a unicode identifier to trigger that.\n tenπ = 31.4\n self.assertEqual(f"{tenπ=:.2f}", "tenπ=31.40")\n\n # Also test with Unicode in non-identifiers.\n self.assertEqual(f\'{"Σ"=}\', "\\"Σ\\"=\'Σ\'")\n\n # Make sure nested fstrings still work.\n self.assertEqual(f\'{f"{3.1415=:.1f}":*^20}\', "*****3.1415=3.1*****")\n\n # Make sure text before and after an expression with = works\n # correctly.\n pi = "π"\n self.assertEqual(f"alpha α {pi=} ω omega", "alpha α pi=\'π\' ω omega")\n\n # Check multi-line expressions.\n self.assertEqual(\n f"""{\n3\n=}""",\n "\\n3\\n=3",\n )\n\n # Since = is handled specially, make sure all existing uses of\n # it still work.\n\n self.assertEqual(f"{0==1}", "False")\n self.assertEqual(f"{0!=1}", "True")\n self.assertEqual(f"{0<=1}", "True")\n self.assertEqual(f"{0>=1}", "False")\n self.assertEqual(f\'{(x:="5")}\', "5")\n self.assertEqual(x, "5")\n self.assertEqual(f"{(x:=5)}", "5")\n self.assertEqual(x, 5)\n self.assertEqual(f\'{"="}\', "=")\n\n x = 20\n # This isn\'t an assignment expression, it\'s \'x\', with a format\n # spec of \'=10\'. See test_walrus: you need to use parens.\n self.assertEqual(f"{x:=10}", " 20")\n\n # Test named function parameters, to make sure \'=\' parsing works\n # there.\n def f(a):\n nonlocal x\n oldx = x\n x = a\n return oldx\n\n x = 0\n self.assertEqual(f\'{f(a="3=")}\', "0")\n self.assertEqual(x, "3=")\n self.assertEqual(f"{f(a=4)}", "3=")\n self.assertEqual(x, 4)\n\n # Check debug expressions in format spec\n y = 20\n self.assertEqual(f"{2:{y=}}", "yyyyyyyyyyyyyyyyyyy2")\n self.assertEqual(\n f"{datetime.datetime.now():h1{y=}h2{y=}h3{y=}}", "h1y=20h2y=20h3y=20"\n )\n\n # Make sure __format__ is being called.\n class C:\n def __format__(self, s):\n return f"FORMAT-{s}"\n\n def __repr__(self):\n return "REPR"\n\n self.assertEqual(f"{C()=}", "C()=REPR")\n self.assertEqual(f"{C()=!r}", "C()=REPR")\n self.assertEqual(f"{C()=:}", "C()=FORMAT-")\n self.assertEqual(f"{C()=: }", "C()=FORMAT- ")\n self.assertEqual(f"{C()=:x}", "C()=FORMAT-x")\n self.assertEqual(f"{C()=!r:*^20}", "C()=********REPR********")\n self.assertEqual(f"{C():{20=}}", "FORMAT-20=20")\n\n self.assertRaises(SyntaxError, eval, "f\'{C=]\'")\n\n # Make sure leading and following text works.\n x = "foo"\n self.assertEqual(f"X{x=}Y", "Xx=" + repr(x) + "Y")\n\n # Make sure whitespace around the = works.\n self.assertEqual(f"X{x =}Y", "Xx =" + repr(x) + "Y")\n self.assertEqual(f"X{x= }Y", "Xx= " + repr(x) + "Y")\n self.assertEqual(f"X{x = }Y", "Xx = " + repr(x) + "Y")\n self.assertEqual(f"sadsd {1 + 1 = :{1 + 1:1d}f}", "sadsd 1 + 1 = 2.000000")\n\n self.assertEqual(\n f"{1+2 = # my comment\n }",\n "1+2 = \\n 3",\n )\n\n # These next lines contains tabs. Backslash escapes don\'t\n # work in f-strings.\n # patchcheck doesn\'t like these tabs. So the only way to test\n # this will be to dynamically created and exec the f-strings. But\n # that\'s such a hassle I\'ll save it for another day. For now, convert\n # the tabs to spaces just to shut up patchcheck.\n # self.assertEqual(f\'X{x =}Y\', \'Xx\\t=\'+repr(x)+\'Y\')\n # self.assertEqual(f\'X{x = }Y\', \'Xx\\t=\\t\'+repr(x)+\'Y\')\n\n def test_debug_expressions_are_raw_strings(self):\n\n self.assertEqual(f\'{b"\\N{OX}"=}\', \'b"\\\\N{OX}"=b\\\'\\\\\\\\N{OX}\\\'\')\n self.assertEqual(f\'{r"\\xff"=}\', \'r"\\\\xff"=\\\'\\\\\\\\xff\\\'\')\n self.assertEqual(f\'{r"\\n"=}\', \'r"\\\\n"=\\\'\\\\\\\\n\\\'\')\n self.assertEqual(f"{\'\\\'\'=}", "\'\\\\\'\'=\\"\'\\"")\n self.assertEqual(f\'{\'\\xc5\'=}\', r"\'\\xc5\'=\'Å\'")\n\n def test_walrus(self):\n x = 20\n # This isn\'t an assignment expression, it\'s \'x\', with a format\n # spec of \'=10\'.\n self.assertEqual(f"{x:=10}", " 20")\n\n # This is an assignment expression, which requires parens.\n self.assertEqual(f"{(x:=10)}", "10")\n self.assertEqual(x, 10)\n\n def test_invalid_syntax_error_message(self):\n with self.assertRaisesRegex(\n SyntaxError, "f-string: expecting \'=\', or \'!\', or \':\', or \'}\'"\n ):\n compile("f\'{a $ b}\'", "?", "exec")\n\n def test_with_two_commas_in_format_specifier(self):\n error_msg = re.escape("Cannot specify \',\' with \',\'.")\n with self.assertRaisesRegex(ValueError, error_msg):\n f"{1:,,}"\n\n def test_with_two_underscore_in_format_specifier(self):\n error_msg = re.escape("Cannot specify \'_\' with \'_\'.")\n with self.assertRaisesRegex(ValueError, error_msg):\n f"{1:__}"\n\n def test_with_a_commas_and_an_underscore_in_format_specifier(self):\n error_msg = re.escape("Cannot specify both \',\' and \'_\'.")\n with self.assertRaisesRegex(ValueError, error_msg):\n f"{1:,_}"\n\n def test_with_an_underscore_and_a_comma_in_format_specifier(self):\n error_msg = re.escape("Cannot specify both \',\' and \'_\'.")\n with self.assertRaisesRegex(ValueError, error_msg):\n f"{1:_,}"\n\n def test_syntax_error_for_starred_expressions(self):\n with self.assertRaisesRegex(SyntaxError, "can\'t use starred expression here"):\n compile("f\'{*a}\'", "?", "exec")\n\n with self.assertRaisesRegex(\n SyntaxError, "f-string: expecting a valid expression after \'{\'"\n ):\n compile("f\'{**a}\'", "?", "exec")\n\n def test_not_closing_quotes(self):\n self.assertAllRaise(SyntaxError, "unterminated f-string literal", [\'f"\', "f\'"])\n self.assertAllRaise(\n SyntaxError, "unterminated triple-quoted f-string literal", [\'f"""\', "f\'\'\'"]\n )\n # Ensure that the errors are reported at the correct line number.\n data = \'\'\'\\\nx = 1 + 1\ny = 2 + 2\nz = f"""\nsdfjnsdfjsdf\nsdfsdfs{1+\n2} dfigdf {3+\n4}sdufsd""\n\'\'\'\n try:\n compile(data, "?", "exec")\n except SyntaxError as e:\n self.assertEqual(e.text, \'z = f"""\')\n self.assertEqual(e.lineno, 3)\n\n def test_syntax_error_after_debug(self):\n self.assertAllRaise(\n SyntaxError,\n "f-string: expecting a valid expression after \'{\'",\n [\n "f\'{1=}{;\'",\n "f\'{1=}{+;\'",\n "f\'{1=}{2}{;\'",\n "f\'{1=}{3}{;\'",\n ],\n )\n self.assertAllRaise(\n SyntaxError,\n "f-string: expecting \'=\', or \'!\', or \':\', or \'}\'",\n [\n "f\'{1=}{1;\'",\n "f\'{1=}{1;}\'",\n ],\n )\n\n def test_debug_in_file(self):\n with temp_cwd():\n script = "script.py"\n with open("script.py", "w") as f:\n f.write(f"""\\\nprint(f\'\'\'{{\n3\n=}}\'\'\')""")\n\n _, stdout, _ = assert_python_ok(script)\n self.assertEqual(\n stdout.decode("utf-8").strip().replace("\\r\\n", "\\n").replace("\\r", "\\n"),\n "3\\n=3",\n )\n\n def test_syntax_warning_infinite_recursion_in_file(self):\n with temp_cwd():\n script = "script.py"\n with open(script, "w") as f:\n f.write(r"print(f\'\\{1}\')")\n\n _, stdout, stderr = assert_python_ok(script)\n self.assertIn(rb"\\1", stdout)\n self.assertEqual(len(stderr.strip().splitlines()), 2)\n\n def test_gh129093(self):\n self.assertEqual(f\'{1==2=}\', \'1==2=False\')\n self.assertEqual(f\'{1 == 2=}\', \'1 == 2=False\')\n self.assertEqual(f\'{1!=2=}\', \'1!=2=True\')\n self.assertEqual(f\'{1 != 2=}\', \'1 != 2=True\')\n\n self.assertEqual(f\'{(1) != 2=}\', \'(1) != 2=True\')\n self.assertEqual(f\'{(1*2) != (3)=}\', \'(1*2) != (3)=True\')\n\n self.assertEqual(f\'{1 != 2 == 3 != 4=}\', \'1 != 2 == 3 != 4=False\')\n self.assertEqual(f\'{1 == 2 != 3 == 4=}\', \'1 == 2 != 3 == 4=False\')\n\n self.assertEqual(f\'{f\'{1==2=}\'=}\', "f\'{1==2=}\'=\'1==2=False\'")\n self.assertEqual(f\'{f\'{1 == 2=}\'=}\', "f\'{1 == 2=}\'=\'1 == 2=False\'")\n self.assertEqual(f\'{f\'{1!=2=}\'=}\', "f\'{1!=2=}\'=\'1!=2=True\'")\n self.assertEqual(f\'{f\'{1 != 2=}\'=}\', "f\'{1 != 2=}\'=\'1 != 2=True\'")\n\n\nif __name__ == "__main__":\n\n unittest.main()\n', ast_parse_kwargs={}, filename=PosixPath('/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_fstring.py')) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_unparse.py", line 138, in check_ast_roundtrip self.assertASTEqual(ast1, ast2) ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 43, in assertASTEqual traverse_compare(ast1, ast2) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 24, in traverse_compare traverse_compare(value1, value2) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 28, in traverse_compare traverse_compare(node1, node2) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 24, in traverse_compare traverse_compare(value1, value2) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 28, in traverse_compare traverse_compare(node1, node2) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 24, in traverse_compare traverse_compare(value1, value2) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 28, in traverse_compare traverse_compare(node1, node2) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 24, in traverse_compare traverse_compare(value1, value2) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 24, in traverse_compare traverse_compare(value1, value2) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 28, in traverse_compare traverse_compare(node1, node2) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 24, in traverse_compare traverse_compare(value1, value2) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 40, in traverse_compare raise self.failureException(msg) from None AssertionError: First list contains 1 additional elements. ---------------------------------------------------------------------- Ran 69 tests in 1.771s FAILED (failures=3) 0:00:01 load avg: 1.43 [1/1/1] test_unparse failed (3 failures) == Tests result: FAILURE == 1 test failed: test_unparse Total duration: 1.9 sec Total tests: run=69 failures=3 Total test files: run=1/1 failed=1 Result: FAILURE <unknown>:1791: SyntaxWarning: invalid escape sequence '\N' test test_unparse failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1755292æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1467370035 0:00:00 load avg: 1.44 Run 1 test sequentially in a single process 0:00:00 load avg: 1.44 [1/1] test_userstring test___contains__ (test.test_userstring.UserStringTest.test___contains__) ... ok test_adaptive_find (test.test_userstring.UserStringTest.test_adaptive_find) ... ok test_additional_rsplit (test.test_userstring.UserStringTest.test_additional_rsplit) ... ok test_additional_split (test.test_userstring.UserStringTest.test_additional_split) ... ok test_capitalize (test.test_userstring.UserStringTest.test_capitalize) ... ok test_capitalize_nonascii (test.test_userstring.UserStringTest.test_capitalize_nonascii) ... ok test_center (test.test_userstring.UserStringTest.test_center) ... ok test_count (test.test_userstring.UserStringTest.test_count) ... ok test_encode_default_args (test.test_userstring.UserStringTest.test_encode_default_args) ... ok test_encode_explicit_none_args (test.test_userstring.UserStringTest.test_encode_explicit_none_args) ... ok test_endswith (test.test_userstring.UserStringTest.test_endswith) ... ok test_expandtabs (test.test_userstring.UserStringTest.test_expandtabs) ... ok test_extended_getslice (test.test_userstring.UserStringTest.test_extended_getslice) ... ok test_find (test.test_userstring.UserStringTest.test_find) ... ok test_find_etc_raise_correct_error_messages (test.test_userstring.UserStringTest.test_find_etc_raise_correct_error_messages) ... FAIL test_find_many_lengths (test.test_userstring.UserStringTest.test_find_many_lengths) ... ok test_find_periodic_pattern (test.test_userstring.UserStringTest.test_find_periodic_pattern) Cover the special path for periodic patterns. ... ok test_find_shift_table_overflow (test.test_userstring.UserStringTest.test_find_shift_table_overflow) When the table of 8-bit shifts overflows. ... ok test_find_with_memory (test.test_userstring.UserStringTest.test_find_with_memory) ... ok test_fixtype (test.test_userstring.UserStringTest.test_fixtype) ... ok test_floatformatting (test.test_userstring.UserStringTest.test_floatformatting) ... ok test_formatting (test.test_userstring.UserStringTest.test_formatting) ... ok test_formatting_c_limits (test.test_userstring.UserStringTest.test_formatting_c_limits) ... skipped 'implementation detail specific to cpython' test_hash (test.test_userstring.UserStringTest.test_hash) ... ok test_index (test.test_userstring.UserStringTest.test_index) ... ok test_inplace_rewrites (test.test_userstring.UserStringTest.test_inplace_rewrites) ... ok test_isalnum (test.test_userstring.UserStringTest.test_isalnum) ... ok test_isalpha (test.test_userstring.UserStringTest.test_isalpha) ... ok test_isascii (test.test_userstring.UserStringTest.test_isascii) ... ok test_isdigit (test.test_userstring.UserStringTest.test_isdigit) ... ok test_islower (test.test_userstring.UserStringTest.test_islower) ... ok test_isspace (test.test_userstring.UserStringTest.test_isspace) ... ok test_istitle (test.test_userstring.UserStringTest.test_istitle) ... ok test_isupper (test.test_userstring.UserStringTest.test_isupper) ... ok test_join (test.test_userstring.UserStringTest.test_join) ... ok test_ljust (test.test_userstring.UserStringTest.test_ljust) ... ok test_lower (test.test_userstring.UserStringTest.test_lower) ... ok test_mul (test.test_userstring.UserStringTest.test_mul) ... ok test_none_arguments (test.test_userstring.UserStringTest.test_none_arguments) ... ok test_partition (test.test_userstring.UserStringTest.test_partition) ... ok test_removeprefix (test.test_userstring.UserStringTest.test_removeprefix) ... ok test_removesuffix (test.test_userstring.UserStringTest.test_removesuffix) ... ok test_replace (test.test_userstring.UserStringTest.test_replace) ... ok test_replace_overflow (test.test_userstring.UserStringTest.test_replace_overflow) ... skipped 'only applies to 32-bit platforms' test_replace_uses_two_way_maxcount (test.test_userstring.UserStringTest.test_replace_uses_two_way_maxcount) ... ok test_rfind (test.test_userstring.UserStringTest.test_rfind) ... ok test_rindex (test.test_userstring.UserStringTest.test_rindex) ... ok test_rjust (test.test_userstring.UserStringTest.test_rjust) ... ok test_rmod (test.test_userstring.UserStringTest.test_rmod) ... ok test_rpartition (test.test_userstring.UserStringTest.test_rpartition) ... ok test_rsplit (test.test_userstring.UserStringTest.test_rsplit) ... ok test_slice (test.test_userstring.UserStringTest.test_slice) ... ok test_split (test.test_userstring.UserStringTest.test_split) ... ok test_splitlines (test.test_userstring.UserStringTest.test_splitlines) ... ok test_startswith (test.test_userstring.UserStringTest.test_startswith) ... ok test_strip (test.test_userstring.UserStringTest.test_strip) ... ok test_strip_whitespace (test.test_userstring.UserStringTest.test_strip_whitespace) ... ok test_subscript (test.test_userstring.UserStringTest.test_subscript) ... FAIL test_swapcase (test.test_userstring.UserStringTest.test_swapcase) ... ok test_title (test.test_userstring.UserStringTest.test_title) ... ok test_upper (test.test_userstring.UserStringTest.test_upper) ... ok test_zfill (test.test_userstring.UserStringTest.test_zfill) ... ok ====================================================================== FAIL: test_find_etc_raise_correct_error_messages (test.test_userstring.UserStringTest.test_find_etc_raise_correct_error_messages) ---------------------------------------------------------------------- TypeError: str.find() takes from 2 to 4 positional arguments but 5 were given During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/string_tests.py", line 1508, in test_find_etc_raise_correct_error_messages self.assertRaisesRegex(TypeError, r'^find\(', s.find, ^^^^^^^^^^^^^^^^^ AssertionError: "^find\(" does not match "str.find() takes from 2 to 4 positional arguments but 5 were given" ====================================================================== FAIL: test_subscript (test.test_userstring.UserStringTest.test_subscript) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/string_tests.py", line 1267, in test_subscript self.checkraises(TypeError, 'abc', '__getitem__', idx_type, expected_msg=expected_msg) ^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_userstring.py", line 37, in checkraises self.assertEqual(str(cm.exception), expected_msg) ^^^^^^^^^^^ AssertionError: 'string indices must be integers or slices, not str' != "string indices must be integers, not 'str'" - string indices must be integers or slices, not str ? ---------- + string indices must be integers, not 'str' ? + + ---------------------------------------------------------------------- Ran 62 tests in 0.548s FAILED (failures=2, skipped=2) 0:00:00 load avg: 1.48 [1/1/1] test_userstring failed (2 failures) == Tests result: FAILURE == 1 test failed: test_userstring Total duration: 632 ms Total tests: run=62 failures=2 skipped=2 Total test files: run=1/1 failed=1 Result: FAILURE test test_userstring failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1755429æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3775055000 0:00:00 load avg: 1.44 Run 1 test sequentially in a single process 0:00:00 load avg: 1.44 [1/1] test_weakref test_all_freed (test.test_weakref.FinalizeTestCase.test_all_freed) ... ok test_arg_errors (test.test_weakref.FinalizeTestCase.test_arg_errors) ... ok test_atexit (test.test_weakref.FinalizeTestCase.test_atexit) ... ok test_finalize (test.test_weakref.FinalizeTestCase.test_finalize) ... ok test_order (test.test_weakref.FinalizeTestCase.test_order) ... ok test_make_weak_keyed_dict_from_dict (test.test_weakref.MappingTestCase.test_make_weak_keyed_dict_from_dict) ... ok test_make_weak_keyed_dict_from_weak_keyed_dict (test.test_weakref.MappingTestCase.test_make_weak_keyed_dict_from_weak_keyed_dict) ... ok test_make_weak_keyed_dict_repr (test.test_weakref.MappingTestCase.test_make_weak_keyed_dict_repr) ... ok test_make_weak_valued_dict_from_dict (test.test_weakref.MappingTestCase.test_make_weak_valued_dict_from_dict) ... ok test_make_weak_valued_dict_from_weak_valued_dict (test.test_weakref.MappingTestCase.test_make_weak_valued_dict_from_weak_valued_dict) ... ok test_make_weak_valued_dict_misc (test.test_weakref.MappingTestCase.test_make_weak_valued_dict_misc) ... ok test_make_weak_valued_dict_repr (test.test_weakref.MappingTestCase.test_make_weak_valued_dict_repr) ... ok test_remove_closure (test.test_weakref.MappingTestCase.test_remove_closure) ... skipped 'implementation detail specific to cpython' test_threaded_weak_key_dict_copy (test.test_weakref.MappingTestCase.test_threaded_weak_key_dict_copy) ... ok test_threaded_weak_key_dict_deepcopy (test.test_weakref.MappingTestCase.test_threaded_weak_key_dict_deepcopy) ... skipped "resource 'cpu' is not enabled" test_threaded_weak_value_dict_copy (test.test_weakref.MappingTestCase.test_threaded_weak_value_dict_copy) ... ok test_threaded_weak_value_dict_deepcopy (test.test_weakref.MappingTestCase.test_threaded_weak_value_dict_deepcopy) ... skipped "resource 'cpu' is not enabled" test_threaded_weak_valued_consistency (test.test_weakref.MappingTestCase.test_threaded_weak_valued_consistency) ... ok test_threaded_weak_valued_pop (test.test_weakref.MappingTestCase.test_threaded_weak_valued_pop) ... ok test_threaded_weak_valued_setdefault (test.test_weakref.MappingTestCase.test_threaded_weak_valued_setdefault) ... ok test_weak_keyed_bad_delitem (test.test_weakref.MappingTestCase.test_weak_keyed_bad_delitem) ... ok test_weak_keyed_cascading_deletes (test.test_weakref.MappingTestCase.test_weak_keyed_cascading_deletes) ... ok test_weak_keyed_delitem (test.test_weakref.MappingTestCase.test_weak_keyed_delitem) ... ok test_weak_keyed_dict_popitem (test.test_weakref.MappingTestCase.test_weak_keyed_dict_popitem) ... ok test_weak_keyed_dict_setdefault (test.test_weakref.MappingTestCase.test_weak_keyed_dict_setdefault) ... ok test_weak_keyed_dict_update (test.test_weakref.MappingTestCase.test_weak_keyed_dict_update) ... ok test_weak_keyed_iters (test.test_weakref.MappingTestCase.test_weak_keyed_iters) ... ok test_weak_keyed_len_cycles (test.test_weakref.MappingTestCase.test_weak_keyed_len_cycles) ... ok test_weak_keyed_len_race (test.test_weakref.MappingTestCase.test_weak_keyed_len_race) ... ERROR test_weak_keyed_union_operators (test.test_weakref.MappingTestCase.test_weak_keyed_union_operators) ... FAIL test_weak_keys (test.test_weakref.MappingTestCase.test_weak_keys) ... ok test_weak_keys_destroy_while_iterating (test.test_weakref.MappingTestCase.test_weak_keys_destroy_while_iterating) ... ok test_weak_valued_delitem (test.test_weakref.MappingTestCase.test_weak_valued_delitem) ... ok test_weak_valued_dict_popitem (test.test_weakref.MappingTestCase.test_weak_valued_dict_popitem) ... ok test_weak_valued_dict_setdefault (test.test_weakref.MappingTestCase.test_weak_valued_dict_setdefault) ... ok test_weak_valued_dict_update (test.test_weakref.MappingTestCase.test_weak_valued_dict_update) ... ok test_weak_valued_iters (test.test_weakref.MappingTestCase.test_weak_valued_iters) ... ok test_weak_valued_len_cycles (test.test_weakref.MappingTestCase.test_weak_valued_len_cycles) ... ok test_weak_valued_len_race (test.test_weakref.MappingTestCase.test_weak_valued_len_race) ... ERROR test_weak_valued_union_operators (test.test_weakref.MappingTestCase.test_weak_valued_union_operators) ... FAIL test_weak_values (test.test_weakref.MappingTestCase.test_weak_values) ... ok test_weak_values_destroy_while_iterating (test.test_weakref.MappingTestCase.test_weak_values_destroy_while_iterating) ... ok test_names (test.test_weakref.ModuleTestCase.test_names) ... ok test_basic_callback (test.test_weakref.ReferencesTestCase.test_basic_callback) ... ok test_basic_proxy (test.test_weakref.ReferencesTestCase.test_basic_proxy) ... ok test_basic_ref (test.test_weakref.ReferencesTestCase.test_basic_ref) ... ok test_callable_proxy (test.test_weakref.ReferencesTestCase.test_callable_proxy) ... ok test_callback_attribute (test.test_weakref.ReferencesTestCase.test_callback_attribute) ... ok test_callback_attribute_after_deletion (test.test_weakref.ReferencesTestCase.test_callback_attribute_after_deletion) ... ok test_callback_different_classes (test.test_weakref.ReferencesTestCase.test_callback_different_classes) ... ok test_callback_gcs (test.test_weakref.ReferencesTestCase.test_callback_gcs) ... ok test_callback_in_cycle (test.test_weakref.ReferencesTestCase.test_callback_in_cycle) ... ok test_callback_in_cycle_resurrection (test.test_weakref.ReferencesTestCase.test_callback_in_cycle_resurrection) ... ok test_callback_reachable_one_way (test.test_weakref.ReferencesTestCase.test_callback_reachable_one_way) ... ok test_callbacks_on_callback (test.test_weakref.ReferencesTestCase.test_callbacks_on_callback) ... ok test_callbacks_protected (test.test_weakref.ReferencesTestCase.test_callbacks_protected) ... ok test_cfunction (test.test_weakref.ReferencesTestCase.test_cfunction) ... skipped 'implementation detail specific to cpython' test_classes (test.test_weakref.ReferencesTestCase.test_classes) ... ok test_constructor_kwargs (test.test_weakref.ReferencesTestCase.test_constructor_kwargs) ... ok test_equality (test.test_weakref.ReferencesTestCase.test_equality) ... ok test_gc_during_proxy_creation (test.test_weakref.ReferencesTestCase.test_gc_during_proxy_creation) ... ERROR test_gc_during_ref_creation (test.test_weakref.ReferencesTestCase.test_gc_during_ref_creation) ... ERROR test_getweakrefcount (test.test_weakref.ReferencesTestCase.test_getweakrefcount) ... ok test_getweakrefs (test.test_weakref.ReferencesTestCase.test_getweakrefs) ... ok test_hashing (test.test_weakref.ReferencesTestCase.test_hashing) ... ok test_init (test.test_weakref.ReferencesTestCase.test_init) ... ok test_multiple_callbacks (test.test_weakref.ReferencesTestCase.test_multiple_callbacks) ... ok test_multiple_selfref_callbacks (test.test_weakref.ReferencesTestCase.test_multiple_selfref_callbacks) ... ok test_newstyle_number_ops (test.test_weakref.ReferencesTestCase.test_newstyle_number_ops) ... ok test_ordering (test.test_weakref.ReferencesTestCase.test_ordering) ... ok test_proxy_bad_next (test.test_weakref.ReferencesTestCase.test_proxy_bad_next) ... ok test_proxy_bool (test.test_weakref.ReferencesTestCase.test_proxy_bool) ... ok test_proxy_deletion (test.test_weakref.ReferencesTestCase.test_proxy_deletion) ... ok test_proxy_div (test.test_weakref.ReferencesTestCase.test_proxy_div) ... ok test_proxy_hash (test.test_weakref.ReferencesTestCase.test_proxy_hash) ... ok test_proxy_index (test.test_weakref.ReferencesTestCase.test_proxy_index) ... ok test_proxy_iter (test.test_weakref.ReferencesTestCase.test_proxy_iter) ... ok test_proxy_matmul (test.test_weakref.ReferencesTestCase.test_proxy_matmul) ... ok test_proxy_next (test.test_weakref.ReferencesTestCase.test_proxy_next) ... ok test_proxy_ref (test.test_weakref.ReferencesTestCase.test_proxy_ref) ... ok test_proxy_reuse (test.test_weakref.ReferencesTestCase.test_proxy_reuse) ... ok test_proxy_reversed (test.test_weakref.ReferencesTestCase.test_proxy_reversed) ... ok test_proxy_unicode (test.test_weakref.ReferencesTestCase.test_proxy_unicode) ... ok test_ref_created_during_del (test.test_weakref.ReferencesTestCase.test_ref_created_during_del) ... ok test_ref_reuse (test.test_weakref.ReferencesTestCase.test_ref_reuse) ... ok test_repr_failure_gh99184 (test.test_weakref.ReferencesTestCase.test_repr_failure_gh99184) ... ok test_set_callback_attribute (test.test_weakref.ReferencesTestCase.test_set_callback_attribute) ... ok test_sf_bug_840829 (test.test_weakref.ReferencesTestCase.test_sf_bug_840829) ... ok test_shared_proxy_without_callback (test.test_weakref.ReferencesTestCase.test_shared_proxy_without_callback) ... ok test_shared_ref_without_callback (test.test_weakref.ReferencesTestCase.test_shared_ref_without_callback) ... ok test_trashcan_16602 (test.test_weakref.ReferencesTestCase.test_trashcan_16602) ... ok test_subclass_refs (test.test_weakref.SubclassableWeakrefTestCase.test_subclass_refs) ... ok test_subclass_refs_dont_conflate_callbacks (test.test_weakref.SubclassableWeakrefTestCase.test_subclass_refs_dont_conflate_callbacks) ... ok test_subclass_refs_dont_replace_standard_refs (test.test_weakref.SubclassableWeakrefTestCase.test_subclass_refs_dont_replace_standard_refs) ... ok test_subclass_refs_with_cycle (test.test_weakref.SubclassableWeakrefTestCase.test_subclass_refs_with_cycle) Confirm https://bugs.python.org/issue3100 is fixed. ... ok test_subclass_refs_with_slots (test.test_weakref.SubclassableWeakrefTestCase.test_subclass_refs_with_slots) ... ok test_bool (test.test_weakref.WeakKeyDictionaryTestCase.test_bool) ... ok test_constructor (test.test_weakref.WeakKeyDictionaryTestCase.test_constructor) ... ok test_get (test.test_weakref.WeakKeyDictionaryTestCase.test_get) ... ok test_getitem (test.test_weakref.WeakKeyDictionaryTestCase.test_getitem) ... ok test_items (test.test_weakref.WeakKeyDictionaryTestCase.test_items) ... ok test_keys (test.test_weakref.WeakKeyDictionaryTestCase.test_keys) ... ok test_len (test.test_weakref.WeakKeyDictionaryTestCase.test_len) ... ok test_pop (test.test_weakref.WeakKeyDictionaryTestCase.test_pop) ... ok test_popitem (test.test_weakref.WeakKeyDictionaryTestCase.test_popitem) ... ok test_read (test.test_weakref.WeakKeyDictionaryTestCase.test_read) ... ok test_setdefault (test.test_weakref.WeakKeyDictionaryTestCase.test_setdefault) ... ok test_update (test.test_weakref.WeakKeyDictionaryTestCase.test_update) ... ok test_values (test.test_weakref.WeakKeyDictionaryTestCase.test_values) ... ok test_write (test.test_weakref.WeakKeyDictionaryTestCase.test_write) ... ok test_alive (test.test_weakref.WeakMethodTestCase.test_alive) ... ok test_callback_when_method_dead (test.test_weakref.WeakMethodTestCase.test_callback_when_method_dead) ... ok test_callback_when_object_dead (test.test_weakref.WeakMethodTestCase.test_callback_when_object_dead) ... ok test_equality (test.test_weakref.WeakMethodTestCase.test_equality) ... ok test_hashing (test.test_weakref.WeakMethodTestCase.test_hashing) ... ok test_method_dead (test.test_weakref.WeakMethodTestCase.test_method_dead) ... ok test_no_cycles (test.test_weakref.WeakMethodTestCase.test_no_cycles) ... skipped 'implementation detail specific to cpython' test_object_dead (test.test_weakref.WeakMethodTestCase.test_object_dead) ... ok test_bool (test.test_weakref.WeakValueDictionaryTestCase.test_bool) ... ok test_constructor (test.test_weakref.WeakValueDictionaryTestCase.test_constructor) ... ok test_get (test.test_weakref.WeakValueDictionaryTestCase.test_get) ... ok test_getitem (test.test_weakref.WeakValueDictionaryTestCase.test_getitem) ... ok test_items (test.test_weakref.WeakValueDictionaryTestCase.test_items) ... ok test_keys (test.test_weakref.WeakValueDictionaryTestCase.test_keys) ... ok test_len (test.test_weakref.WeakValueDictionaryTestCase.test_len) ... ok test_pop (test.test_weakref.WeakValueDictionaryTestCase.test_pop) ... ok test_popitem (test.test_weakref.WeakValueDictionaryTestCase.test_popitem) ... ok test_read (test.test_weakref.WeakValueDictionaryTestCase.test_read) ... ok test_setdefault (test.test_weakref.WeakValueDictionaryTestCase.test_setdefault) ... ok test_update (test.test_weakref.WeakValueDictionaryTestCase.test_update) ... ok test_values (test.test_weakref.WeakValueDictionaryTestCase.test_values) ... ok test_write (test.test_weakref.WeakValueDictionaryTestCase.test_write) ... ok libreftest (test.test_weakref.__test__) Doctest: test.test_weakref.__test__.libreftest ... ok ====================================================================== ERROR: test_weak_keyed_len_race (test.test_weakref.MappingTestCase.test_weak_keyed_len_race) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_weakref.py", line 1267, in test_weak_keyed_len_race self.check_len_race(weakref.WeakKeyDictionary, lambda k: (k, 1)) ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_weakref.py", line 1244, in check_len_race self.addCleanup(gc.set_threshold, *gc.get_threshold()) ^^^^^^^^^^^^^ AttributeError: module 'gc' has no attribute 'set_threshold' ====================================================================== ERROR: test_weak_valued_len_race (test.test_weakref.MappingTestCase.test_weak_valued_len_race) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_weakref.py", line 1270, in test_weak_valued_len_race self.check_len_race(weakref.WeakValueDictionary, lambda k: (1, k)) ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_weakref.py", line 1244, in check_len_race self.addCleanup(gc.set_threshold, *gc.get_threshold()) ^^^^^^^^^^^^^ AttributeError: module 'gc' has no attribute 'set_threshold' ====================================================================== ERROR: test_gc_during_proxy_creation (test.test_weakref.ReferencesTestCase.test_gc_during_proxy_creation) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_weakref.py", line 791, in test_gc_during_proxy_creation self.check_gc_during_creation(weakref.proxy) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_weakref.py", line 794, in check_gc_during_creation thresholds = gc.get_threshold() ^^^^^^^^^^^^^ AttributeError: module 'gc' has no attribute 'get_threshold' ====================================================================== ERROR: test_gc_during_ref_creation (test.test_weakref.ReferencesTestCase.test_gc_during_ref_creation) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_weakref.py", line 788, in test_gc_during_ref_creation self.check_gc_during_creation(weakref.ref) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_weakref.py", line 794, in check_gc_during_creation thresholds = gc.get_threshold() ^^^^^^^^^^^^^ AttributeError: module 'gc' has no attribute 'get_threshold' ====================================================================== FAIL: test_weak_keyed_union_operators (test.test_weakref.MappingTestCase.test_weak_keyed_union_operators) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_weakref.py", line 1753, in test_weak_keyed_union_operators self.assertNotIn(4, tmp1.values()) ^^^^^^^^^^^ AssertionError: 4 unexpectedly found in <generator object WeakKeyDictionary.values at 0x00007fd8f5d48b18> ====================================================================== FAIL: test_weak_valued_union_operators (test.test_weakref.MappingTestCase.test_weak_valued_union_operators) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_weakref.py", line 1701, in test_weak_valued_union_operators self.assertNotIn(2, tmp1) ^^^^^^^^^^^ AssertionError: 2 unexpectedly found in <WeakValueDictionary at 0x149e138> ---------------------------------------------------------------------- Ran 133 tests in 3.255s FAILED (failures=2, errors=4, skipped=5) 0:00:03 load avg: 1.49 [1/1/1] test_weakref failed (4 errors, 2 failures) == Tests result: FAILURE == 1 test failed: test_weakref Total duration: 3.4 sec Total tests: run=133 failures=2 skipped=5 Total test files: run=1/1 failed=1 Result: FAILURE test test_weakref failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1755443æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1497902682 0:00:00 load avg: 1.49 Run 1 test sequentially in a single process 0:00:00 load avg: 1.49 [1/1] test_weakset test_abc (test.test_weakset.TestWeakSet.test_abc) ... ok test_add (test.test_weakset.TestWeakSet.test_add) ... ok test_and (test.test_weakset.TestWeakSet.test_and) ... ok test_clear (test.test_weakset.TestWeakSet.test_clear) ... ok test_constructor_identity (test.test_weakset.TestWeakSet.test_constructor_identity) ... ok test_contains (test.test_weakset.TestWeakSet.test_contains) ... ok test_copy (test.test_weakset.TestWeakSet.test_copy) ... ok test_copying (test.test_weakset.TestWeakSet.test_copying) ... ok test_difference (test.test_weakset.TestWeakSet.test_difference) ... ok test_difference_update (test.test_weakset.TestWeakSet.test_difference_update) ... ok test_discard (test.test_weakset.TestWeakSet.test_discard) ... ok test_eq (test.test_weakset.TestWeakSet.test_eq) ... ok test_gc (test.test_weakset.TestWeakSet.test_gc) ... ok test_gt (test.test_weakset.TestWeakSet.test_gt) ... ok test_hash (test.test_weakset.TestWeakSet.test_hash) ... ok test_iand (test.test_weakset.TestWeakSet.test_iand) ... ok test_init (test.test_weakset.TestWeakSet.test_init) ... ok test_inplace_on_self (test.test_weakset.TestWeakSet.test_inplace_on_self) ... ok test_intersection (test.test_weakset.TestWeakSet.test_intersection) ... ok test_intersection_update (test.test_weakset.TestWeakSet.test_intersection_update) ... ok test_ior (test.test_weakset.TestWeakSet.test_ior) ... ok test_isdisjoint (test.test_weakset.TestWeakSet.test_isdisjoint) ... ok test_isub (test.test_weakset.TestWeakSet.test_isub) ... ok test_ixor (test.test_weakset.TestWeakSet.test_ixor) ... ok test_len (test.test_weakset.TestWeakSet.test_len) ... ok test_len_cycles (test.test_weakset.TestWeakSet.test_len_cycles) ... ok test_len_race (test.test_weakset.TestWeakSet.test_len_race) ... ERROR test_lt (test.test_weakset.TestWeakSet.test_lt) ... ok test_methods (test.test_weakset.TestWeakSet.test_methods) ... ok test_ne (test.test_weakset.TestWeakSet.test_ne) ... ok test_new_or_init (test.test_weakset.TestWeakSet.test_new_or_init) ... ok test_or (test.test_weakset.TestWeakSet.test_or) ... ok test_pop (test.test_weakset.TestWeakSet.test_pop) ... ok test_remove (test.test_weakset.TestWeakSet.test_remove) ... ok test_repr (test.test_weakset.TestWeakSet.test_repr) ... ok test_sub (test.test_weakset.TestWeakSet.test_sub) ... ok test_sub_and_super (test.test_weakset.TestWeakSet.test_sub_and_super) ... ok test_subclass_with_custom_hash (test.test_weakset.TestWeakSet.test_subclass_with_custom_hash) ... ok test_symmetric_difference (test.test_weakset.TestWeakSet.test_symmetric_difference) ... ok test_symmetric_difference_update (test.test_weakset.TestWeakSet.test_symmetric_difference_update) ... ok test_union (test.test_weakset.TestWeakSet.test_union) ... ok test_update (test.test_weakset.TestWeakSet.test_update) ... ok test_update_set (test.test_weakset.TestWeakSet.test_update_set) ... ok test_weak_destroy_and_mutate_while_iterating (test.test_weakset.TestWeakSet.test_weak_destroy_and_mutate_while_iterating) ... ok test_weak_destroy_while_iterating (test.test_weakset.TestWeakSet.test_weak_destroy_while_iterating) ... ok test_xor (test.test_weakset.TestWeakSet.test_xor) ... ok ====================================================================== ERROR: test_len_race (test.test_weakset.TestWeakSet.test_len_race) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_weakset.py", line 428, in test_len_race self.addCleanup(gc.set_threshold, *gc.get_threshold()) ^^^^^^^^^^^^^ AttributeError: module 'gc' has no attribute 'set_threshold' ---------------------------------------------------------------------- Ran 46 tests in 0.165s FAILED (errors=1) 0:00:00 load avg: 1.49 [1/1/1] test_weakset failed (1 error) == Tests result: FAILURE == 1 test failed: test_weakset Total duration: 248 ms Total tests: run=46 Total test files: run=1/1 failed=1 Result: FAILURE test test_weakset failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1755468æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1919075570 0:00:00 load avg: 1.49 Run 1 test sequentially in a single process 0:00:00 load avg: 1.49 [1/1] test_with testMultipleComplexTargets (test.test_with.AssignmentTargetTestCase.testMultipleComplexTargets) ... ok testSingleComplexTarget (test.test_with.AssignmentTargetTestCase.testSingleComplexTarget) ... ok testWithExtendedTargets (test.test_with.AssignmentTargetTestCase.testWithExtendedTargets) ... ok testErrorsInBool (test.test_with.ExceptionalTestCase.testErrorsInBool) ... ok testExceptionNormalized (test.test_with.ExceptionalTestCase.testExceptionNormalized) ... ok testMultipleResourcesInSingleStatement (test.test_with.ExceptionalTestCase.testMultipleResourcesInSingleStatement) ... ok testNestedExceptionAfterInnerStatement (test.test_with.ExceptionalTestCase.testNestedExceptionAfterInnerStatement) ... ok testNestedExceptionBeforeInnerStatement (test.test_with.ExceptionalTestCase.testNestedExceptionBeforeInnerStatement) ... ok testNestedSingleStatements (test.test_with.ExceptionalTestCase.testNestedSingleStatements) ... ok testRaisedGeneratorExit1 (test.test_with.ExceptionalTestCase.testRaisedGeneratorExit1) ... ok testRaisedGeneratorExit2 (test.test_with.ExceptionalTestCase.testRaisedGeneratorExit2) ... ok testRaisedStopIteration1 (test.test_with.ExceptionalTestCase.testRaisedStopIteration1) ... ok testRaisedStopIteration2 (test.test_with.ExceptionalTestCase.testRaisedStopIteration2) ... ok testRaisedStopIteration3 (test.test_with.ExceptionalTestCase.testRaisedStopIteration3) ... ok testSingleResource (test.test_with.ExceptionalTestCase.testSingleResource) ... ok testExitFalseDoesntSwallowException (test.test_with.ExitSwallowsExceptionTestCase.testExitFalseDoesntSwallowException) ... ok testExitTrueSwallowsException (test.test_with.ExitSwallowsExceptionTestCase.testExitTrueSwallowsException) ... ok testAssignmentToNoneError (test.test_with.FailureTestCase.testAssignmentToNoneError) ... ok testAssignmentToTupleContainingNoneError (test.test_with.FailureTestCase.testAssignmentToTupleContainingNoneError) ... ok testAssignmentToTupleOnlyContainingNoneError (test.test_with.FailureTestCase.testAssignmentToTupleOnlyContainingNoneError) ... ok testEnterAttributeError1 (test.test_with.FailureTestCase.testEnterAttributeError1) ... ok testEnterAttributeError2 (test.test_with.FailureTestCase.testEnterAttributeError2) ... ok testEnterThrows (test.test_with.FailureTestCase.testEnterThrows) ... ok testExitAttributeError (test.test_with.FailureTestCase.testExitAttributeError) ... ok testExitThrows (test.test_with.FailureTestCase.testExitThrows) ... ok testNameError (test.test_with.FailureTestCase.testNameError) ... ok testMultipleArgBound (test.test_with.NestedNonexceptionalTestCase.testMultipleArgBound) ... ok testMultipleArgUnbound (test.test_with.NestedNonexceptionalTestCase.testMultipleArgUnbound) ... ok testSingleArgBoundToMultipleElementTupleError (test.test_with.NestedNonexceptionalTestCase.testSingleArgBoundToMultipleElementTupleError) ... ok testSingleArgBoundToNonTuple (test.test_with.NestedNonexceptionalTestCase.testSingleArgBoundToNonTuple) ... ok testSingleArgBoundToSingleElementParenthesizedList (test.test_with.NestedNonexceptionalTestCase.testSingleArgBoundToSingleElementParenthesizedList) ... ok testSingleArgInlineGeneratorSyntax (test.test_with.NestedNonexceptionalTestCase.testSingleArgInlineGeneratorSyntax) ... ok testSingleArgUnbound (test.test_with.NestedNonexceptionalTestCase.testSingleArgUnbound) ... ok testEnterReturnsTuple (test.test_with.NestedWith.testEnterReturnsTuple) ... ok testExceptionInEnter (test.test_with.NestedWith.testExceptionInEnter) ... ok testExceptionInExit (test.test_with.NestedWith.testExceptionInExit) ... ok testExceptionInExprList (test.test_with.NestedWith.testExceptionInExprList) ... ok testExceptionLocation (test.test_with.NestedWith.testExceptionLocation) ... testExceptionLocation (test.test_with.NestedWith.testExceptionLocation) [<function NestedWith.testExceptionLocation.<locals>.init_raises at 0x00007fd54867abd8>] ... FAIL testExceptionLocation (test.test_with.NestedWith.testExceptionLocation) [<function NestedWith.testExceptionLocation.<locals>.enter_raises at 0x00007fd54867aca0>] ... FAIL testExceptionLocation (test.test_with.NestedWith.testExceptionLocation) [<function NestedWith.testExceptionLocation.<locals>.exit_raises at 0x00007fd54867ae30>] ... FAIL testNoExceptions (test.test_with.NestedWith.testNoExceptions) ... ok testWithBreak (test.test_with.NonLocalFlowControlTestCase.testWithBreak) ... ok testWithContinue (test.test_with.NonLocalFlowControlTestCase.testWithContinue) ... ok testWithRaise (test.test_with.NonLocalFlowControlTestCase.testWithRaise) ... ok testWithReturn (test.test_with.NonLocalFlowControlTestCase.testWithReturn) ... ok testWithYield (test.test_with.NonLocalFlowControlTestCase.testWithYield) ... ok testBoundGenerator (test.test_with.NonexceptionalTestCase.testBoundGenerator) ... ok testInlineGeneratorBoundSyntax (test.test_with.NonexceptionalTestCase.testInlineGeneratorBoundSyntax) ... ok testInlineGeneratorBoundToDottedVariable (test.test_with.NonexceptionalTestCase.testInlineGeneratorBoundToDottedVariable) ... ok testInlineGeneratorBoundToExistingVariable (test.test_with.NonexceptionalTestCase.testInlineGeneratorBoundToExistingVariable) ... ok testInlineGeneratorSyntax (test.test_with.NonexceptionalTestCase.testInlineGeneratorSyntax) ... ok testNestedSingleStatements (test.test_with.NonexceptionalTestCase.testNestedSingleStatements) ... ok testUnboundGenerator (test.test_with.NonexceptionalTestCase.testUnboundGenerator) ... ok ====================================================================== FAIL: testExceptionLocation (test.test_with.NestedWith.testExceptionLocation) [<function NestedWith.testExceptionLocation.<locals>.init_raises at 0x00007fd54867abd8>] ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_with.py", line 794, in testExceptionLocation self.assertEqual(f.line[f.colno - indent : f.end_colno - indent], ^^^^^^^^^^^ AssertionError: 'InitRaises' != 'self.InitRaises()' - InitRaises + self.InitRaises() ? +++++ ++ ====================================================================== FAIL: testExceptionLocation (test.test_with.NestedWith.testExceptionLocation) [<function NestedWith.testExceptionLocation.<locals>.enter_raises at 0x00007fd54867aca0>] ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_with.py", line 793, in testExceptionLocation self.assertEqual(f.end_lineno, co.co_firstlineno + 2) ^^^^^^^^^^^ AssertionError: 772 != 771 ====================================================================== FAIL: testExceptionLocation (test.test_with.NestedWith.testExceptionLocation) [<function NestedWith.testExceptionLocation.<locals>.exit_raises at 0x00007fd54867ae30>] ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_with.py", line 793, in testExceptionLocation self.assertEqual(f.end_lineno, co.co_firstlineno + 2) ^^^^^^^^^^^ AssertionError: 779 != 778 ---------------------------------------------------------------------- Ran 51 tests in 0.008s FAILED (failures=3) 0:00:00 load avg: 1.49 [1/1/1] test_with failed (3 failures) == Tests result: FAILURE == 1 test failed: test_with Total duration: 97 ms Total tests: run=51 failures=3 Total test files: run=1/1 failed=1 Result: FAILURE test test_with failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1755499æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2854929049 0:00:00 load avg: 1.49 Run 1 test sequentially in a single process 0:00:00 load avg: 1.49 [1/1] test_xml_etree test_find_with_error (test.test_xml_etree.BadElementPathTest.test_find_with_error) ... ok test_find_with_mutating (test.test_xml_etree.BadElementPathTest.test_find_with_mutating) ... ok test_findall_with_error (test.test_xml_etree.BadElementPathTest.test_findall_with_error) ... ok test_findall_with_mutating (test.test_xml_etree.BadElementPathTest.test_findall_with_mutating) ... ok test_findtext_with_error (test.test_xml_etree.BadElementPathTest.test_findtext_with_error) ... ok test_findtext_with_falsey_text_attribute (test.test_xml_etree.BadElementPathTest.test_findtext_with_falsey_text_attribute) ... ok test_findtext_with_mutating (test.test_xml_etree.BadElementPathTest.test_findtext_with_mutating) ... ok test_findtext_with_none_text_attribute (test.test_xml_etree.BadElementPathTest.test_findtext_with_none_text_attribute) ... ok test_ass_subscr (test.test_xml_etree.BadElementTest.test_ass_subscr) ... ok test_element_get_tail (test.test_xml_etree.BadElementTest.test_element_get_tail) ... ok test_element_get_text (test.test_xml_etree.BadElementTest.test_element_get_text) ... ok test_extend_mutable_list (test.test_xml_etree.BadElementTest.test_extend_mutable_list) ... ok test_extend_mutable_list2 (test.test_xml_etree.BadElementTest.test_extend_mutable_list2) ... ok test_recursive_repr (test.test_xml_etree.BadElementTest.test_recursive_repr) ... ok test_remove_with_clear_assume_existing (test.test_xml_etree.BadElementTest.test_remove_with_clear_assume_existing) ... ok test_remove_with_clear_assume_missing (test.test_xml_etree.BadElementTest.test_remove_with_clear_assume_missing) ... ok test_remove_with_mutate_root_assume_existing (test.test_xml_etree.BadElementTest.test_remove_with_mutate_root_assume_existing) ... ok test_remove_with_mutate_root_assume_missing (test.test_xml_etree.BadElementTest.test_remove_with_mutate_root_assume_missing) ... ok test_subscr (test.test_xml_etree.BadElementTest.test_subscr) ... ok test_treebuilder_end (test.test_xml_etree.BadElementTest.test_treebuilder_end) ... ok test_treebuilder_start (test.test_xml_etree.BadElementTest.test_treebuilder_start) ... ok test___copy__ (test.test_xml_etree.BasicElementTest.test___copy__) ... ok test___deepcopy__ (test.test_xml_etree.BasicElementTest.test___deepcopy__) ... ok test___init__ (test.test_xml_etree.BasicElementTest.test___init__) ... ok test_augmentation_type_errors (test.test_xml_etree.BasicElementTest.test_augmentation_type_errors) ... ok test_cyclic_gc (test.test_xml_etree.BasicElementTest.test_cyclic_gc) ... ok test_get_keyword_args (test.test_xml_etree.BasicElementTest.test_get_keyword_args) ... ok test_pickle (test.test_xml_etree.BasicElementTest.test_pickle) ... ok test_pickle_issue18997 (test.test_xml_etree.BasicElementTest.test_pickle_issue18997) ... ok test_weakref (test.test_xml_etree.BasicElementTest.test_weakref) ... ok test_warning (test.test_xml_etree.BoolTest.test_warning) ... ok test_39495_treebuilder_start (test.test_xml_etree.BugsTest.test_39495_treebuilder_start) ... ok test_bug_1534630 (test.test_xml_etree.BugsTest.test_bug_1534630) ... ok test_bug_200708_close (test.test_xml_etree.BugsTest.test_bug_200708_close) ... ok test_bug_200708_newline (test.test_xml_etree.BugsTest.test_bug_200708_newline) ... ok test_bug_200709_default_namespace (test.test_xml_etree.BugsTest.test_bug_200709_default_namespace) ... ok test_bug_200709_element_comment (test.test_xml_etree.BugsTest.test_bug_200709_element_comment) ... ok test_bug_200709_element_insert (test.test_xml_etree.BugsTest.test_bug_200709_element_insert) ... ok test_bug_200709_iter_comment (test.test_xml_etree.BugsTest.test_bug_200709_iter_comment) ... ok test_bug_200709_register_namespace (test.test_xml_etree.BugsTest.test_bug_200709_register_namespace) ... ok test_bug_xmltoolkit21 (test.test_xml_etree.BugsTest.test_bug_xmltoolkit21) ... ok test_bug_xmltoolkit25 (test.test_xml_etree.BugsTest.test_bug_xmltoolkit25) ... ok test_bug_xmltoolkit28 (test.test_xml_etree.BugsTest.test_bug_xmltoolkit28) ... ok test_bug_xmltoolkit39 (test.test_xml_etree.BugsTest.test_bug_xmltoolkit39) ... ok test_bug_xmltoolkit54 (test.test_xml_etree.BugsTest.test_bug_xmltoolkit54) ... ok test_bug_xmltoolkit55 (test.test_xml_etree.BugsTest.test_bug_xmltoolkit55) ... ok test_bug_xmltoolkit60 (test.test_xml_etree.BugsTest.test_bug_xmltoolkit60) ... ok test_bug_xmltoolkit62 (test.test_xml_etree.BugsTest.test_bug_xmltoolkit62) ... ok test_bug_xmltoolkit63 (test.test_xml_etree.BugsTest.test_bug_xmltoolkit63) ... skipped '' test_bug_xmltoolkitX1 (test.test_xml_etree.BugsTest.test_bug_xmltoolkitX1) ... ok test_expat224_utf8_bug (test.test_xml_etree.BugsTest.test_expat224_utf8_bug) ... ok test_expat224_utf8_bug_file (test.test_xml_etree.BugsTest.test_expat224_utf8_bug_file) ... ok test_issue10777 (test.test_xml_etree.BugsTest.test_issue10777) ... ok test_issue123213_correct_extend_exception (test.test_xml_etree.BugsTest.test_issue123213_correct_extend_exception) ... ok test_issue6233 (test.test_xml_etree.BugsTest.test_issue6233) ... ok test_issue6565 (test.test_xml_etree.BugsTest.test_issue6565) ... ok test_lost_elem (test.test_xml_etree.BugsTest.test_lost_elem) ... skipped 'generators are not reentrant' test_lost_tail (test.test_xml_etree.BugsTest.test_lost_tail) ... ok test_lost_text (test.test_xml_etree.BugsTest.test_lost_text) ... ok test_c14n_exclusion (test.test_xml_etree.C14NTest.test_c14n_exclusion) ... ok test_simple_roundtrip (test.test_xml_etree.C14NTest.test_simple_roundtrip) ... ok test_xml_c14n2 (test.test_xml_etree.C14NTest.test_xml_c14n2) ... test_xml_c14n2 (test.test_xml_etree.C14NTest.test_xml_c14n2) [out_inNsContent_c14nPrefixQnameXpathElem(PrefixRewrite=sequential,QNameAware=Element,XPathElement)] ... skipped 'QName rewriting in XPath text is not supported in out_inNsContent_c14nPrefixQnameXpathElem' test_xml_c14n2 (test.test_xml_etree.C14NTest.test_xml_c14n2) [out_inNsContent_c14nQnameXpathElem(QNameAware=Element,XPathElement)] ... skipped 'QName rewriting in XPath text is not supported in out_inNsContent_c14nQnameXpathElem' test_xml_c14n2 (test.test_xml_etree.C14NTest.test_xml_c14n2) [out_inNsRedecl_c14nDefault()] ... skipped 'Redeclared namespace handling is not supported in out_inNsRedecl_c14nDefault' test_xml_c14n2 (test.test_xml_etree.C14NTest.test_xml_c14n2) [out_inNsSuperfluous_c14nDefault()] ... skipped 'Redeclared namespace handling is not supported in out_inNsSuperfluous_c14nDefault' test_bad_find (test.test_xml_etree.ElementFindTest.test_bad_find) ... ok test_find_simple (test.test_xml_etree.ElementFindTest.test_find_simple) ... ok test_find_through_ElementTree (test.test_xml_etree.ElementFindTest.test_find_through_ElementTree) ... ok test_find_xpath (test.test_xml_etree.ElementFindTest.test_find_xpath) ... ok test_findall (test.test_xml_etree.ElementFindTest.test_findall) ... ok test_findall_different_nsmaps (test.test_xml_etree.ElementFindTest.test_findall_different_nsmaps) ... ok test_findall_wildcard (test.test_xml_etree.ElementFindTest.test_findall_wildcard) ... ok test_test_find_with_ns (test.test_xml_etree.ElementFindTest.test_test_find_with_ns) ... ok test_basic (test.test_xml_etree.ElementIterTest.test_basic) ... ok test_copy (test.test_xml_etree.ElementIterTest.test_copy) ... ok test_corners (test.test_xml_etree.ElementIterTest.test_corners) ... ok test_iter_by_tag (test.test_xml_etree.ElementIterTest.test_iter_by_tag) ... ok test_pickle (test.test_xml_etree.ElementIterTest.test_pickle) ... ok test_delslice (test.test_xml_etree.ElementSlicingTest.test_delslice) ... ok test_getslice_negative_steps (test.test_xml_etree.ElementSlicingTest.test_getslice_negative_steps) ... ok test_getslice_range (test.test_xml_etree.ElementSlicingTest.test_getslice_range) ... ok test_getslice_single_index (test.test_xml_etree.ElementSlicingTest.test_getslice_single_index) ... ok test_getslice_steps (test.test_xml_etree.ElementSlicingTest.test_getslice_steps) ... ok test_issue123213_setslice_exception (test.test_xml_etree.ElementSlicingTest.test_issue123213_setslice_exception) ... ok test_setslice_negative_steps (test.test_xml_etree.ElementSlicingTest.test_setslice_negative_steps) ... ok test_setslice_range (test.test_xml_etree.ElementSlicingTest.test_setslice_range) ... ok test_setslice_single_index (test.test_xml_etree.ElementSlicingTest.test_setslice_single_index) ... ok test_setslice_steps (test.test_xml_etree.ElementSlicingTest.test_setslice_steps) ... ok test_attlist_default (test.test_xml_etree.ElementTreeTest.test_attlist_default) ... ok test_attrib (test.test_xml_etree.ElementTreeTest.test_attrib) ... ok test_cdata (test.test_xml_etree.ElementTreeTest.test_cdata) ... ok test_children (test.test_xml_etree.ElementTreeTest.test_children) ... ok test_copy (test.test_xml_etree.ElementTreeTest.test_copy) ... ok test_custom_builder (test.test_xml_etree.ElementTreeTest.test_custom_builder) ... ok test_custom_builder_only_end_ns (test.test_xml_etree.ElementTreeTest.test_custom_builder_only_end_ns) ... ok test_doctype_public (test.test_xml_etree.ElementTreeTest.test_doctype_public) ... ok test_dump_attribute_order (test.test_xml_etree.ElementTreeTest.test_dump_attribute_order) ... ok test_encoding (test.test_xml_etree.ElementTreeTest.test_encoding) ... ok test_entity (test.test_xml_etree.ElementTreeTest.test_entity) ... ok test_file_init (test.test_xml_etree.ElementTreeTest.test_file_init) ... ok test_html_empty_elems_serialization (test.test_xml_etree.ElementTreeTest.test_html_empty_elems_serialization) ... ok test_indent (test.test_xml_etree.ElementTreeTest.test_indent) ... ok test_indent_level (test.test_xml_etree.ElementTreeTest.test_indent_level) ... ok test_indent_space (test.test_xml_etree.ElementTreeTest.test_indent_space) ... ok test_indent_space_caching (test.test_xml_etree.ElementTreeTest.test_indent_space_caching) ... ok test_initialize_parser_without_target (test.test_xml_etree.ElementTreeTest.test_initialize_parser_without_target) ... ok test_interface (test.test_xml_etree.ElementTreeTest.test_interface) ... ok test_issue18347 (test.test_xml_etree.ElementTreeTest.test_issue18347) ... ok test_iterparse (test.test_xml_etree.ElementTreeTest.test_iterparse) ... ok test_makeelement (test.test_xml_etree.ElementTreeTest.test_makeelement) ... ok test_methods (test.test_xml_etree.ElementTreeTest.test_methods) ... ok test_namespace (test.test_xml_etree.ElementTreeTest.test_namespace) ... ok test_parsefile (test.test_xml_etree.ElementTreeTest.test_parsefile) ... ok test_parseliteral (test.test_xml_etree.ElementTreeTest.test_parseliteral) ... ok test_path_cache (test.test_xml_etree.ElementTreeTest.test_path_cache) ... ok test_processinginstruction (test.test_xml_etree.ElementTreeTest.test_processinginstruction) ... ok test_qname (test.test_xml_etree.ElementTreeTest.test_qname) ... ok test_set_attribute (test.test_xml_etree.ElementTreeTest.test_set_attribute) ... ok test_simpleops (test.test_xml_etree.ElementTreeTest.test_simpleops) ... FAIL test_tostring_default_namespace (test.test_xml_etree.ElementTreeTest.test_tostring_default_namespace) ... ok test_tostring_default_namespace_different_namespace (test.test_xml_etree.ElementTreeTest.test_tostring_default_namespace_different_namespace) ... ok test_tostring_default_namespace_original_no_namespace (test.test_xml_etree.ElementTreeTest.test_tostring_default_namespace_original_no_namespace) ... ok test_tostring_no_xml_declaration (test.test_xml_etree.ElementTreeTest.test_tostring_no_xml_declaration) ... ok test_tostring_xml_declaration (test.test_xml_etree.ElementTreeTest.test_tostring_xml_declaration) ... ok test_tostring_xml_declaration_cases (test.test_xml_etree.ElementTreeTest.test_tostring_xml_declaration_cases) ... ok test_tostring_xml_declaration_unicode_encoding (test.test_xml_etree.ElementTreeTest.test_tostring_xml_declaration_unicode_encoding) ... ok test_tostringlist_default_namespace (test.test_xml_etree.ElementTreeTest.test_tostringlist_default_namespace) ... ok test_tostringlist_xml_declaration (test.test_xml_etree.ElementTreeTest.test_tostringlist_xml_declaration) ... ok test_tree_write_attribute_order (test.test_xml_etree.ElementTreeTest.test_tree_write_attribute_order) ... ok test_writefile (test.test_xml_etree.ElementTreeTest.test_writefile) ... ok test_writestring (test.test_xml_etree.ElementTreeTest.test_writestring) ... ok test_xpath_tokenizer (test.test_xml_etree.ElementTreeTest.test_xpath_tokenizer) ... ok test_Element_subclass_constructor (test.test_xml_etree.ElementTreeTypeTest.test_Element_subclass_constructor) ... ok test_Element_subclass_find (test.test_xml_etree.ElementTreeTypeTest.test_Element_subclass_find) ... ok test_Element_subclass_new_method (test.test_xml_etree.ElementTreeTypeTest.test_Element_subclass_new_method) ... ok test_Element_subclass_trivial (test.test_xml_etree.ElementTreeTypeTest.test_Element_subclass_trivial) ... ok test_istype (test.test_xml_etree.ElementTreeTypeTest.test_istype) ... ok test_encoding (test.test_xml_etree.IOTest.test_encoding) ... ok test_read_from_bytesio (test.test_xml_etree.IOTest.test_read_from_bytesio) ... ok test_read_from_stringio (test.test_xml_etree.IOTest.test_read_from_stringio) ... ok test_read_from_user_binary_reader (test.test_xml_etree.IOTest.test_read_from_user_binary_reader) ... ok test_read_from_user_text_reader (test.test_xml_etree.IOTest.test_read_from_user_text_reader) ... ok test_short_empty_elements (test.test_xml_etree.IOTest.test_short_empty_elements) ... ok test_tostringlist_invariant (test.test_xml_etree.IOTest.test_tostringlist_invariant) ... ok test_write_to_binary_file (test.test_xml_etree.IOTest.test_write_to_binary_file) ... ok test_write_to_binary_file_with_bom (test.test_xml_etree.IOTest.test_write_to_binary_file_with_bom) ... ok test_write_to_binary_file_with_encoding (test.test_xml_etree.IOTest.test_write_to_binary_file_with_encoding) ... ok test_write_to_bytesio (test.test_xml_etree.IOTest.test_write_to_bytesio) ... ok test_write_to_filename (test.test_xml_etree.IOTest.test_write_to_filename) ... ok test_write_to_filename_as_unicode (test.test_xml_etree.IOTest.test_write_to_filename_as_unicode) ... ok test_write_to_filename_with_encoding (test.test_xml_etree.IOTest.test_write_to_filename_with_encoding) ... ok test_write_to_stringio (test.test_xml_etree.IOTest.test_write_to_stringio) ... ok test_write_to_text_file (test.test_xml_etree.IOTest.test_write_to_text_file) ... ok test_write_to_user_binary_writer (test.test_xml_etree.IOTest.test_write_to_user_binary_writer) ... ok test_write_to_user_binary_writer_with_bom (test.test_xml_etree.IOTest.test_write_to_user_binary_writer_with_bom) ... ok test_write_to_user_text_writer (test.test_xml_etree.IOTest.test_write_to_user_text_writer) ... ok test_issue14818 (test.test_xml_etree.KeywordArgsTest.test_issue14818) ... ok test_all (test.test_xml_etree.ModuleTest.test_all) ... ok test_sanity (test.test_xml_etree.ModuleTest.test_sanity) ... ok test_find_with_namespace (test.test_xml_etree.NamespaceParseTest.test_find_with_namespace) ... ok test_correct_import_pyET (test.test_xml_etree.NoAcceleratorTest.test_correct_import_pyET) ... ok test_error_code (test.test_xml_etree.ParseErrorTest.test_error_code) ... ok test_error_position (test.test_xml_etree.ParseErrorTest.test_error_position) ... ok test_subclass (test.test_xml_etree.ParseErrorTest.test_subclass) ... ok test_builder_lookup_errors (test.test_xml_etree.TreeBuilderTest.test_builder_lookup_errors) ... ok test_doctype (test.test_xml_etree.TreeBuilderTest.test_doctype) ... ok test_dummy_builder (test.test_xml_etree.TreeBuilderTest.test_dummy_builder) ... ok test_element_factory (test.test_xml_etree.TreeBuilderTest.test_element_factory) ... ok test_element_factory_pure_python_subclass (test.test_xml_etree.TreeBuilderTest.test_element_factory_pure_python_subclass) ... ok test_element_factory_subclass (test.test_xml_etree.TreeBuilderTest.test_element_factory_subclass) ... ok test_late_tail (test.test_xml_etree.TreeBuilderTest.test_late_tail) ... ok test_late_tail_mix_pi_comments (test.test_xml_etree.TreeBuilderTest.test_late_tail_mix_pi_comments) ... ok test_subclass (test.test_xml_etree.TreeBuilderTest.test_subclass) ... ok test_subclass_comment_pi (test.test_xml_etree.TreeBuilderTest.test_subclass_comment_pi) ... ok test_treebuilder_comment (test.test_xml_etree.TreeBuilderTest.test_treebuilder_comment) ... ok test_treebuilder_elementfactory_none (test.test_xml_etree.TreeBuilderTest.test_treebuilder_elementfactory_none) ... ok test_treebuilder_pi (test.test_xml_etree.TreeBuilderTest.test_treebuilder_pi) ... ok test_xinclude (test.test_xml_etree.XIncludeTest.test_xinclude) ... ok test_xinclude_default (test.test_xml_etree.XIncludeTest.test_xinclude_default) ... ok test_xinclude_failures (test.test_xml_etree.XIncludeTest.test_xinclude_failures) ... ok test_xinclude_repeated (test.test_xml_etree.XIncludeTest.test_xinclude_repeated) ... ok test_constructor_args (test.test_xml_etree.XMLParserTest.test_constructor_args) ... ok test_doctype_warning (test.test_xml_etree.XMLParserTest.test_doctype_warning) ... ok test_inherited_doctype (test.test_xml_etree.XMLParserTest.test_inherited_doctype) Ensure that ordinary usage is not deprecated (Issue 19176) ... ok test_parse_string (test.test_xml_etree.XMLParserTest.test_parse_string) ... ok test_subclass (test.test_xml_etree.XMLParserTest.test_subclass) ... ok test_subclass_doctype (test.test_xml_etree.XMLParserTest.test_subclass_doctype) ... ok test_events (test.test_xml_etree.XMLPullParserTest.test_events) ... ok test_events_comment (test.test_xml_etree.XMLPullParserTest.test_events_comment) ... ok test_events_pi (test.test_xml_etree.XMLPullParserTest.test_events_pi) ... ok test_events_sequence (test.test_xml_etree.XMLPullParserTest.test_events_sequence) ... ok test_feed_while_iterating (test.test_xml_etree.XMLPullParserTest.test_feed_while_iterating) ... ok test_flush_reparse_deferral_disabled (test.test_xml_etree.XMLPullParserTest.test_flush_reparse_deferral_disabled) ... ok test_flush_reparse_deferral_enabled (test.test_xml_etree.XMLPullParserTest.test_flush_reparse_deferral_enabled) ... ok test_ns_events (test.test_xml_etree.XMLPullParserTest.test_ns_events) ... ok test_ns_events_start (test.test_xml_etree.XMLPullParserTest.test_ns_events_start) ... ok test_ns_events_start_end (test.test_xml_etree.XMLPullParserTest.test_ns_events_start_end) ... ok test_simple_xml (test.test_xml_etree.XMLPullParserTest.test_simple_xml) ... ok test_simple_xml_chunk_1 (test.test_xml_etree.XMLPullParserTest.test_simple_xml_chunk_1) ... ok test_simple_xml_chunk_22 (test.test_xml_etree.XMLPullParserTest.test_simple_xml_chunk_22) ... ok test_simple_xml_chunk_5 (test.test_xml_etree.XMLPullParserTest.test_simple_xml_chunk_5) ... ok test_simple_xml_with_ns (test.test_xml_etree.XMLPullParserTest.test_simple_xml_with_ns) ... ok test_unknown_event (test.test_xml_etree.XMLPullParserTest.test_unknown_event) ... ok ====================================================================== FAIL: test_simpleops (test.test_xml_etree.ElementTreeTest.test_simpleops) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_xml_etree.py", line 349, in test_simpleops self.assertEqual(str(cm.exception), 'list.remove(x): x not in list') ^^^^^^^^^^^ AssertionError: "list.remove(): <Element 'subtag' at 0x7f2c9400eb48> is not in list" != 'list.remove(x): x not in list' - list.remove(): <Element 'subtag' at 0x7f2c9400eb48> is not in list + list.remove(x): x not in list ---------------------------------------------------------------------- Ran 200 tests in 0.509s FAILED (failures=1, skipped=6) 0:00:00 load avg: 1.49 [1/1/1] test_xml_etree failed (1 failure) == Tests result: FAILURE == 1 test failed: test_xml_etree Total duration: 718 ms Total tests: run=200 failures=1 skipped=6 Total test files: run=1/1 failed=1 Result: FAILURE test test_xml_etree failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1755504æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1812663945 0:00:00 load avg: 1.49 Run 1 test sequentially in a single process 0:00:00 load avg: 1.49 [1/1] test_xml_etree_c test_find_with_error (test.test_xml_etree_c.BadElementPathTest.test_find_with_error) ... ok test_find_with_mutating (test.test_xml_etree_c.BadElementPathTest.test_find_with_mutating) ... ok test_findall_with_error (test.test_xml_etree_c.BadElementPathTest.test_findall_with_error) ... ok test_findall_with_mutating (test.test_xml_etree_c.BadElementPathTest.test_findall_with_mutating) ... ok test_findtext_with_error (test.test_xml_etree_c.BadElementPathTest.test_findtext_with_error) ... ok test_findtext_with_falsey_text_attribute (test.test_xml_etree_c.BadElementPathTest.test_findtext_with_falsey_text_attribute) ... ok test_findtext_with_mutating (test.test_xml_etree_c.BadElementPathTest.test_findtext_with_mutating) ... ok test_findtext_with_none_text_attribute (test.test_xml_etree_c.BadElementPathTest.test_findtext_with_none_text_attribute) ... ok test_ass_subscr (test.test_xml_etree_c.BadElementTest.test_ass_subscr) ... ok test_element_get_tail (test.test_xml_etree_c.BadElementTest.test_element_get_tail) ... ok test_element_get_text (test.test_xml_etree_c.BadElementTest.test_element_get_text) ... ok test_extend_mutable_list (test.test_xml_etree_c.BadElementTest.test_extend_mutable_list) ... ok test_extend_mutable_list2 (test.test_xml_etree_c.BadElementTest.test_extend_mutable_list2) ... ok test_recursive_repr (test.test_xml_etree_c.BadElementTest.test_recursive_repr) ... ok test_remove_with_clear_assume_existing (test.test_xml_etree_c.BadElementTest.test_remove_with_clear_assume_existing) ... ok test_remove_with_clear_assume_missing (test.test_xml_etree_c.BadElementTest.test_remove_with_clear_assume_missing) ... ok test_remove_with_mutate_root_assume_existing (test.test_xml_etree_c.BadElementTest.test_remove_with_mutate_root_assume_existing) ... ok test_remove_with_mutate_root_assume_missing (test.test_xml_etree_c.BadElementTest.test_remove_with_mutate_root_assume_missing) ... ok test_subscr (test.test_xml_etree_c.BadElementTest.test_subscr) ... ok test_treebuilder_end (test.test_xml_etree_c.BadElementTest.test_treebuilder_end) ... ok test_treebuilder_start (test.test_xml_etree_c.BadElementTest.test_treebuilder_start) ... ok test___copy__ (test.test_xml_etree_c.BasicElementTest.test___copy__) ... ok test___deepcopy__ (test.test_xml_etree_c.BasicElementTest.test___deepcopy__) ... ok test___init__ (test.test_xml_etree_c.BasicElementTest.test___init__) ... ok test_augmentation_type_errors (test.test_xml_etree_c.BasicElementTest.test_augmentation_type_errors) ... ok test_cyclic_gc (test.test_xml_etree_c.BasicElementTest.test_cyclic_gc) ... ok test_get_keyword_args (test.test_xml_etree_c.BasicElementTest.test_get_keyword_args) ... ok test_pickle (test.test_xml_etree_c.BasicElementTest.test_pickle) ... ok test_pickle_issue18997 (test.test_xml_etree_c.BasicElementTest.test_pickle_issue18997) ... ok test_weakref (test.test_xml_etree_c.BasicElementTest.test_weakref) ... ok test_warning (test.test_xml_etree_c.BoolTest.test_warning) ... ok test_39495_treebuilder_start (test.test_xml_etree_c.BugsTest.test_39495_treebuilder_start) ... ok test_bug_1534630 (test.test_xml_etree_c.BugsTest.test_bug_1534630) ... ok test_bug_200708_close (test.test_xml_etree_c.BugsTest.test_bug_200708_close) ... ok test_bug_200708_newline (test.test_xml_etree_c.BugsTest.test_bug_200708_newline) ... ok test_bug_200709_default_namespace (test.test_xml_etree_c.BugsTest.test_bug_200709_default_namespace) ... ok test_bug_200709_element_comment (test.test_xml_etree_c.BugsTest.test_bug_200709_element_comment) ... ok test_bug_200709_element_insert (test.test_xml_etree_c.BugsTest.test_bug_200709_element_insert) ... ok test_bug_200709_iter_comment (test.test_xml_etree_c.BugsTest.test_bug_200709_iter_comment) ... ok test_bug_200709_register_namespace (test.test_xml_etree_c.BugsTest.test_bug_200709_register_namespace) ... ok test_bug_xmltoolkit21 (test.test_xml_etree_c.BugsTest.test_bug_xmltoolkit21) ... ok test_bug_xmltoolkit25 (test.test_xml_etree_c.BugsTest.test_bug_xmltoolkit25) ... ok test_bug_xmltoolkit28 (test.test_xml_etree_c.BugsTest.test_bug_xmltoolkit28) ... ok test_bug_xmltoolkit39 (test.test_xml_etree_c.BugsTest.test_bug_xmltoolkit39) ... ok test_bug_xmltoolkit54 (test.test_xml_etree_c.BugsTest.test_bug_xmltoolkit54) ... ok test_bug_xmltoolkit55 (test.test_xml_etree_c.BugsTest.test_bug_xmltoolkit55) ... ok test_bug_xmltoolkit60 (test.test_xml_etree_c.BugsTest.test_bug_xmltoolkit60) ... ok test_bug_xmltoolkit62 (test.test_xml_etree_c.BugsTest.test_bug_xmltoolkit62) ... ok test_bug_xmltoolkit63 (test.test_xml_etree_c.BugsTest.test_bug_xmltoolkit63) ... skipped '' test_bug_xmltoolkitX1 (test.test_xml_etree_c.BugsTest.test_bug_xmltoolkitX1) ... ok test_expat224_utf8_bug (test.test_xml_etree_c.BugsTest.test_expat224_utf8_bug) ... ok test_expat224_utf8_bug_file (test.test_xml_etree_c.BugsTest.test_expat224_utf8_bug_file) ... ok test_issue10777 (test.test_xml_etree_c.BugsTest.test_issue10777) ... ok test_issue123213_correct_extend_exception (test.test_xml_etree_c.BugsTest.test_issue123213_correct_extend_exception) ... ok test_issue6233 (test.test_xml_etree_c.BugsTest.test_issue6233) ... ok test_issue6565 (test.test_xml_etree_c.BugsTest.test_issue6565) ... ok test_lost_elem (test.test_xml_etree_c.BugsTest.test_lost_elem) ... skipped 'generators are not reentrant' test_lost_tail (test.test_xml_etree_c.BugsTest.test_lost_tail) ... ok test_lost_text (test.test_xml_etree_c.BugsTest.test_lost_text) ... ok test_c14n_exclusion (test.test_xml_etree_c.C14NTest.test_c14n_exclusion) ... ok test_simple_roundtrip (test.test_xml_etree_c.C14NTest.test_simple_roundtrip) ... ok test_xml_c14n2 (test.test_xml_etree_c.C14NTest.test_xml_c14n2) ... test_xml_c14n2 (test.test_xml_etree_c.C14NTest.test_xml_c14n2) [out_inNsContent_c14nPrefixQnameXpathElem(PrefixRewrite=sequential,QNameAware=Element,XPathElement)] ... skipped 'QName rewriting in XPath text is not supported in out_inNsContent_c14nPrefixQnameXpathElem' test_xml_c14n2 (test.test_xml_etree_c.C14NTest.test_xml_c14n2) [out_inNsContent_c14nQnameXpathElem(QNameAware=Element,XPathElement)] ... skipped 'QName rewriting in XPath text is not supported in out_inNsContent_c14nQnameXpathElem' test_xml_c14n2 (test.test_xml_etree_c.C14NTest.test_xml_c14n2) [out_inNsRedecl_c14nDefault()] ... skipped 'Redeclared namespace handling is not supported in out_inNsRedecl_c14nDefault' test_xml_c14n2 (test.test_xml_etree_c.C14NTest.test_xml_c14n2) [out_inNsSuperfluous_c14nDefault()] ... skipped 'Redeclared namespace handling is not supported in out_inNsSuperfluous_c14nDefault' test_bad_find (test.test_xml_etree_c.ElementFindTest.test_bad_find) ... ok test_find_simple (test.test_xml_etree_c.ElementFindTest.test_find_simple) ... ok test_find_through_ElementTree (test.test_xml_etree_c.ElementFindTest.test_find_through_ElementTree) ... ok test_find_xpath (test.test_xml_etree_c.ElementFindTest.test_find_xpath) ... ok test_findall (test.test_xml_etree_c.ElementFindTest.test_findall) ... ok test_findall_different_nsmaps (test.test_xml_etree_c.ElementFindTest.test_findall_different_nsmaps) ... ok test_findall_wildcard (test.test_xml_etree_c.ElementFindTest.test_findall_wildcard) ... ok test_test_find_with_ns (test.test_xml_etree_c.ElementFindTest.test_test_find_with_ns) ... ok test_basic (test.test_xml_etree_c.ElementIterTest.test_basic) ... ok test_copy (test.test_xml_etree_c.ElementIterTest.test_copy) ... ok test_corners (test.test_xml_etree_c.ElementIterTest.test_corners) ... ok test_iter_by_tag (test.test_xml_etree_c.ElementIterTest.test_iter_by_tag) ... ok test_pickle (test.test_xml_etree_c.ElementIterTest.test_pickle) ... ok test_delslice (test.test_xml_etree_c.ElementSlicingTest.test_delslice) ... ok test_getslice_negative_steps (test.test_xml_etree_c.ElementSlicingTest.test_getslice_negative_steps) ... ok test_getslice_range (test.test_xml_etree_c.ElementSlicingTest.test_getslice_range) ... ok test_getslice_single_index (test.test_xml_etree_c.ElementSlicingTest.test_getslice_single_index) ... ok test_getslice_steps (test.test_xml_etree_c.ElementSlicingTest.test_getslice_steps) ... ok test_issue123213_setslice_exception (test.test_xml_etree_c.ElementSlicingTest.test_issue123213_setslice_exception) ... ok test_setslice_negative_steps (test.test_xml_etree_c.ElementSlicingTest.test_setslice_negative_steps) ... ok test_setslice_range (test.test_xml_etree_c.ElementSlicingTest.test_setslice_range) ... ok test_setslice_single_index (test.test_xml_etree_c.ElementSlicingTest.test_setslice_single_index) ... ok test_setslice_steps (test.test_xml_etree_c.ElementSlicingTest.test_setslice_steps) ... ok test_attlist_default (test.test_xml_etree_c.ElementTreeTest.test_attlist_default) ... ok test_attrib (test.test_xml_etree_c.ElementTreeTest.test_attrib) ... ok test_cdata (test.test_xml_etree_c.ElementTreeTest.test_cdata) ... ok test_children (test.test_xml_etree_c.ElementTreeTest.test_children) ... ok test_copy (test.test_xml_etree_c.ElementTreeTest.test_copy) ... ok test_custom_builder (test.test_xml_etree_c.ElementTreeTest.test_custom_builder) ... ok test_custom_builder_only_end_ns (test.test_xml_etree_c.ElementTreeTest.test_custom_builder_only_end_ns) ... ok test_doctype_public (test.test_xml_etree_c.ElementTreeTest.test_doctype_public) ... ok test_dump_attribute_order (test.test_xml_etree_c.ElementTreeTest.test_dump_attribute_order) ... ok test_encoding (test.test_xml_etree_c.ElementTreeTest.test_encoding) ... ok test_entity (test.test_xml_etree_c.ElementTreeTest.test_entity) ... ok test_file_init (test.test_xml_etree_c.ElementTreeTest.test_file_init) ... ok test_html_empty_elems_serialization (test.test_xml_etree_c.ElementTreeTest.test_html_empty_elems_serialization) ... ok test_indent (test.test_xml_etree_c.ElementTreeTest.test_indent) ... ok test_indent_level (test.test_xml_etree_c.ElementTreeTest.test_indent_level) ... ok test_indent_space (test.test_xml_etree_c.ElementTreeTest.test_indent_space) ... ok test_indent_space_caching (test.test_xml_etree_c.ElementTreeTest.test_indent_space_caching) ... ok test_initialize_parser_without_target (test.test_xml_etree_c.ElementTreeTest.test_initialize_parser_without_target) ... ok test_interface (test.test_xml_etree_c.ElementTreeTest.test_interface) ... ok test_issue18347 (test.test_xml_etree_c.ElementTreeTest.test_issue18347) ... ok test_iterparse (test.test_xml_etree_c.ElementTreeTest.test_iterparse) ... ok test_makeelement (test.test_xml_etree_c.ElementTreeTest.test_makeelement) ... ok test_methods (test.test_xml_etree_c.ElementTreeTest.test_methods) ... ok test_namespace (test.test_xml_etree_c.ElementTreeTest.test_namespace) ... ok test_parsefile (test.test_xml_etree_c.ElementTreeTest.test_parsefile) ... ok test_parseliteral (test.test_xml_etree_c.ElementTreeTest.test_parseliteral) ... ok test_path_cache (test.test_xml_etree_c.ElementTreeTest.test_path_cache) ... ok test_processinginstruction (test.test_xml_etree_c.ElementTreeTest.test_processinginstruction) ... ok test_qname (test.test_xml_etree_c.ElementTreeTest.test_qname) ... ok test_set_attribute (test.test_xml_etree_c.ElementTreeTest.test_set_attribute) ... ok test_simpleops (test.test_xml_etree_c.ElementTreeTest.test_simpleops) ... FAIL test_tostring_default_namespace (test.test_xml_etree_c.ElementTreeTest.test_tostring_default_namespace) ... ok test_tostring_default_namespace_different_namespace (test.test_xml_etree_c.ElementTreeTest.test_tostring_default_namespace_different_namespace) ... ok test_tostring_default_namespace_original_no_namespace (test.test_xml_etree_c.ElementTreeTest.test_tostring_default_namespace_original_no_namespace) ... ok test_tostring_no_xml_declaration (test.test_xml_etree_c.ElementTreeTest.test_tostring_no_xml_declaration) ... ok test_tostring_xml_declaration (test.test_xml_etree_c.ElementTreeTest.test_tostring_xml_declaration) ... ok test_tostring_xml_declaration_cases (test.test_xml_etree_c.ElementTreeTest.test_tostring_xml_declaration_cases) ... ok test_tostring_xml_declaration_unicode_encoding (test.test_xml_etree_c.ElementTreeTest.test_tostring_xml_declaration_unicode_encoding) ... ok test_tostringlist_default_namespace (test.test_xml_etree_c.ElementTreeTest.test_tostringlist_default_namespace) ... ok test_tostringlist_xml_declaration (test.test_xml_etree_c.ElementTreeTest.test_tostringlist_xml_declaration) ... ok test_tree_write_attribute_order (test.test_xml_etree_c.ElementTreeTest.test_tree_write_attribute_order) ... ok test_writefile (test.test_xml_etree_c.ElementTreeTest.test_writefile) ... ok test_writestring (test.test_xml_etree_c.ElementTreeTest.test_writestring) ... ok test_xpath_tokenizer (test.test_xml_etree_c.ElementTreeTest.test_xpath_tokenizer) ... ok test_Element_subclass_constructor (test.test_xml_etree_c.ElementTreeTypeTest.test_Element_subclass_constructor) ... ok test_Element_subclass_find (test.test_xml_etree_c.ElementTreeTypeTest.test_Element_subclass_find) ... ok test_Element_subclass_new_method (test.test_xml_etree_c.ElementTreeTypeTest.test_Element_subclass_new_method) ... ok test_Element_subclass_trivial (test.test_xml_etree_c.ElementTreeTypeTest.test_Element_subclass_trivial) ... ok test_istype (test.test_xml_etree_c.ElementTreeTypeTest.test_istype) ... ok test_encoding (test.test_xml_etree_c.IOTest.test_encoding) ... ok test_read_from_bytesio (test.test_xml_etree_c.IOTest.test_read_from_bytesio) ... ok test_read_from_stringio (test.test_xml_etree_c.IOTest.test_read_from_stringio) ... ok test_read_from_user_binary_reader (test.test_xml_etree_c.IOTest.test_read_from_user_binary_reader) ... ok test_read_from_user_text_reader (test.test_xml_etree_c.IOTest.test_read_from_user_text_reader) ... ok test_short_empty_elements (test.test_xml_etree_c.IOTest.test_short_empty_elements) ... ok test_tostringlist_invariant (test.test_xml_etree_c.IOTest.test_tostringlist_invariant) ... ok test_write_to_binary_file (test.test_xml_etree_c.IOTest.test_write_to_binary_file) ... ok test_write_to_binary_file_with_bom (test.test_xml_etree_c.IOTest.test_write_to_binary_file_with_bom) ... ok test_write_to_binary_file_with_encoding (test.test_xml_etree_c.IOTest.test_write_to_binary_file_with_encoding) ... ok test_write_to_bytesio (test.test_xml_etree_c.IOTest.test_write_to_bytesio) ... ok test_write_to_filename (test.test_xml_etree_c.IOTest.test_write_to_filename) ... ok test_write_to_filename_as_unicode (test.test_xml_etree_c.IOTest.test_write_to_filename_as_unicode) ... ok test_write_to_filename_with_encoding (test.test_xml_etree_c.IOTest.test_write_to_filename_with_encoding) ... ok test_write_to_stringio (test.test_xml_etree_c.IOTest.test_write_to_stringio) ... ok test_write_to_text_file (test.test_xml_etree_c.IOTest.test_write_to_text_file) ... ok test_write_to_user_binary_writer (test.test_xml_etree_c.IOTest.test_write_to_user_binary_writer) ... ok test_write_to_user_binary_writer_with_bom (test.test_xml_etree_c.IOTest.test_write_to_user_binary_writer_with_bom) ... ok test_write_to_user_text_writer (test.test_xml_etree_c.IOTest.test_write_to_user_text_writer) ... ok test_issue14818 (test.test_xml_etree_c.KeywordArgsTest.test_issue14818) ... ok test_bpo_31728 (test.test_xml_etree_c.MiscTests.test_bpo_31728) ... skipped 'requires _elementtree' test_del_attribute (test.test_xml_etree_c.MiscTests.test_del_attribute) ... skipped 'requires _elementtree' test_dict_disappearing_during_get_item (test.test_xml_etree_c.MiscTests.test_dict_disappearing_during_get_item) ... skipped 'requires _elementtree' test_disallow_instantiation (test.test_xml_etree_c.MiscTests.test_disallow_instantiation) ... skipped 'requires _elementtree' test_immutable_types (test.test_xml_etree_c.MiscTests.test_immutable_types) ... skipped 'requires _elementtree' test_iterparse_leaks (test.test_xml_etree_c.MiscTests.test_iterparse_leaks) ... skipped 'requires _elementtree' test_length_overflow (test.test_xml_etree_c.MiscTests.test_length_overflow) ... skipped 'requires _elementtree' test_parser_ref_cycle (test.test_xml_etree_c.MiscTests.test_parser_ref_cycle) ... skipped 'requires _elementtree' test_setstate_leaks (test.test_xml_etree_c.MiscTests.test_setstate_leaks) ... skipped 'requires _elementtree' test_trashcan (test.test_xml_etree_c.MiscTests.test_trashcan) ... skipped 'requires _elementtree' test_uninitialized_parser (test.test_xml_etree_c.MiscTests.test_uninitialized_parser) ... skipped 'requires _elementtree' test_xmlpullparser_leaks (test.test_xml_etree_c.MiscTests.test_xmlpullparser_leaks) ... skipped 'requires _elementtree' test_all (test.test_xml_etree_c.ModuleTest.test_all) ... ok test_sanity (test.test_xml_etree_c.ModuleTest.test_sanity) ... ok test_find_with_namespace (test.test_xml_etree_c.NamespaceParseTest.test_find_with_namespace) ... ok test_correct_import_pyET (test.test_xml_etree_c.NoAcceleratorTest.test_correct_import_pyET) ... ok test_error_code (test.test_xml_etree_c.ParseErrorTest.test_error_code) ... ok test_error_position (test.test_xml_etree_c.ParseErrorTest.test_error_position) ... ok test_subclass (test.test_xml_etree_c.ParseErrorTest.test_subclass) ... ok test_element (test.test_xml_etree_c.SizeofTest.test_element) ... skipped 'requires _elementtree' test_element_with_attrib (test.test_xml_etree_c.SizeofTest.test_element_with_attrib) ... skipped 'requires _elementtree' test_element_with_children (test.test_xml_etree_c.SizeofTest.test_element_with_children) ... skipped 'requires _elementtree' test_correct_import_cET (test.test_xml_etree_c.TestAcceleratorImported.test_correct_import_cET) ... skipped 'requires _elementtree' test_correct_import_cET_alias (test.test_xml_etree_c.TestAcceleratorImported.test_correct_import_cET_alias) ... skipped 'requires _elementtree' test_parser_comes_from_C (test.test_xml_etree_c.TestAcceleratorImported.test_parser_comes_from_C) ... skipped 'requires _elementtree' test_alias_working (test.test_xml_etree_c.TestAliasWorking.test_alias_working) ... skipped 'requires _elementtree' test_builder_lookup_errors (test.test_xml_etree_c.TreeBuilderTest.test_builder_lookup_errors) ... ok test_doctype (test.test_xml_etree_c.TreeBuilderTest.test_doctype) ... ok test_dummy_builder (test.test_xml_etree_c.TreeBuilderTest.test_dummy_builder) ... ok test_element_factory (test.test_xml_etree_c.TreeBuilderTest.test_element_factory) ... ok test_element_factory_pure_python_subclass (test.test_xml_etree_c.TreeBuilderTest.test_element_factory_pure_python_subclass) ... ok test_element_factory_subclass (test.test_xml_etree_c.TreeBuilderTest.test_element_factory_subclass) ... ok test_late_tail (test.test_xml_etree_c.TreeBuilderTest.test_late_tail) ... ok test_late_tail_mix_pi_comments (test.test_xml_etree_c.TreeBuilderTest.test_late_tail_mix_pi_comments) ... ok test_subclass (test.test_xml_etree_c.TreeBuilderTest.test_subclass) ... ok test_subclass_comment_pi (test.test_xml_etree_c.TreeBuilderTest.test_subclass_comment_pi) ... ok test_treebuilder_comment (test.test_xml_etree_c.TreeBuilderTest.test_treebuilder_comment) ... ok test_treebuilder_elementfactory_none (test.test_xml_etree_c.TreeBuilderTest.test_treebuilder_elementfactory_none) ... ok test_treebuilder_pi (test.test_xml_etree_c.TreeBuilderTest.test_treebuilder_pi) ... ok test_xinclude (test.test_xml_etree_c.XIncludeTest.test_xinclude) ... ok test_xinclude_default (test.test_xml_etree_c.XIncludeTest.test_xinclude_default) ... ok test_xinclude_failures (test.test_xml_etree_c.XIncludeTest.test_xinclude_failures) ... ok test_xinclude_repeated (test.test_xml_etree_c.XIncludeTest.test_xinclude_repeated) ... ok test_constructor_args (test.test_xml_etree_c.XMLParserTest.test_constructor_args) ... ok test_doctype_warning (test.test_xml_etree_c.XMLParserTest.test_doctype_warning) ... ok test_inherited_doctype (test.test_xml_etree_c.XMLParserTest.test_inherited_doctype) Ensure that ordinary usage is not deprecated (Issue 19176) ... ok test_parse_string (test.test_xml_etree_c.XMLParserTest.test_parse_string) ... ok test_subclass (test.test_xml_etree_c.XMLParserTest.test_subclass) ... ok test_subclass_doctype (test.test_xml_etree_c.XMLParserTest.test_subclass_doctype) ... ok test_events (test.test_xml_etree_c.XMLPullParserTest.test_events) ... ok test_events_comment (test.test_xml_etree_c.XMLPullParserTest.test_events_comment) ... ok test_events_pi (test.test_xml_etree_c.XMLPullParserTest.test_events_pi) ... ok test_events_sequence (test.test_xml_etree_c.XMLPullParserTest.test_events_sequence) ... ok test_feed_while_iterating (test.test_xml_etree_c.XMLPullParserTest.test_feed_while_iterating) ... ok test_flush_reparse_deferral_disabled (test.test_xml_etree_c.XMLPullParserTest.test_flush_reparse_deferral_disabled) ... ok test_flush_reparse_deferral_enabled (test.test_xml_etree_c.XMLPullParserTest.test_flush_reparse_deferral_enabled) ... ok test_ns_events (test.test_xml_etree_c.XMLPullParserTest.test_ns_events) ... ok test_ns_events_start (test.test_xml_etree_c.XMLPullParserTest.test_ns_events_start) ... ok test_ns_events_start_end (test.test_xml_etree_c.XMLPullParserTest.test_ns_events_start_end) ... ok test_simple_xml (test.test_xml_etree_c.XMLPullParserTest.test_simple_xml) ... ok test_simple_xml_chunk_1 (test.test_xml_etree_c.XMLPullParserTest.test_simple_xml_chunk_1) ... ok test_simple_xml_chunk_22 (test.test_xml_etree_c.XMLPullParserTest.test_simple_xml_chunk_22) ... ok test_simple_xml_chunk_5 (test.test_xml_etree_c.XMLPullParserTest.test_simple_xml_chunk_5) ... ok test_simple_xml_with_ns (test.test_xml_etree_c.XMLPullParserTest.test_simple_xml_with_ns) ... ok test_unknown_event (test.test_xml_etree_c.XMLPullParserTest.test_unknown_event) ... ok ====================================================================== FAIL: test_simpleops (test.test_xml_etree_c.ElementTreeTest.test_simpleops) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_xml_etree.py", line 349, in test_simpleops self.assertEqual(str(cm.exception), 'list.remove(x): x not in list') ^^^^^^^^^^^ AssertionError: "list.remove(): <Element 'subtag' at 0x7f3dab905de0> is not in list" != 'list.remove(x): x not in list' - list.remove(): <Element 'subtag' at 0x7f3dab905de0> is not in list + list.remove(x): x not in list ---------------------------------------------------------------------- Ran 219 tests in 0.518s FAILED (failures=1, skipped=25) 0:00:00 load avg: 1.53 [1/1/1] test_xml_etree_c failed (1 failure) == Tests result: FAILURE == 1 test failed: test_xml_etree_c Total duration: 729 ms Total tests: run=219 failures=1 skipped=25 Total test files: run=1/1 failed=1 Result: FAILURE test test_xml_etree_c failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1755579æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1536946142 0:00:00 load avg: 1.53 Run 1 test sequentially in a single process 0:00:00 load avg: 1.53 [1/1] test_zlib test_big_buffer (test.test_zlib.ChecksumBigBufferTestCase.test_big_buffer) ... skipped 'not enough memory: 4.0G minimum needed' test_adler32empty (test.test_zlib.ChecksumTestCase.test_adler32empty) ... ok test_adler32start (test.test_zlib.ChecksumTestCase.test_adler32start) ... ok test_crc32_adler32_unsigned (test.test_zlib.ChecksumTestCase.test_crc32_adler32_unsigned) ... ok test_crc32empty (test.test_zlib.ChecksumTestCase.test_crc32empty) ... ok test_crc32start (test.test_zlib.ChecksumTestCase.test_crc32start) ... ok test_penguins (test.test_zlib.ChecksumTestCase.test_penguins) ... ok test_same_as_binascii_crc32 (test.test_zlib.ChecksumTestCase.test_same_as_binascii_crc32) ... ok test_64bit_compress (test.test_zlib.CompressObjectTestCase.test_64bit_compress) ... ok test_badcompresscopy (test.test_zlib.CompressObjectTestCase.test_badcompresscopy) ... ok test_baddecompresscopy (test.test_zlib.CompressObjectTestCase.test_baddecompresscopy) ... ok test_big_compress_buffer (test.test_zlib.CompressObjectTestCase.test_big_compress_buffer) ... ok test_big_decompress_buffer (test.test_zlib.CompressObjectTestCase.test_big_decompress_buffer) ... ok test_clear_unconsumed_tail (test.test_zlib.CompressObjectTestCase.test_clear_unconsumed_tail) ... ok test_compresscopy (test.test_zlib.CompressObjectTestCase.test_compresscopy) ... ok test_compressincremental (test.test_zlib.CompressObjectTestCase.test_compressincremental) ... ok test_compressoptions (test.test_zlib.CompressObjectTestCase.test_compressoptions) ... ok test_compresspickle (test.test_zlib.CompressObjectTestCase.test_compresspickle) ... ok test_decompimax (test.test_zlib.CompressObjectTestCase.test_decompimax) ... ok test_decompinc (test.test_zlib.CompressObjectTestCase.test_decompinc) ... ok test_decompincflush (test.test_zlib.CompressObjectTestCase.test_decompincflush) ... ok test_decompress_eof (test.test_zlib.CompressObjectTestCase.test_decompress_eof) ... ok test_decompress_eof_incomplete_stream (test.test_zlib.CompressObjectTestCase.test_decompress_eof_incomplete_stream) ... ok test_decompress_incomplete_stream (test.test_zlib.CompressObjectTestCase.test_decompress_incomplete_stream) ... ok test_decompress_raw_with_dictionary (test.test_zlib.CompressObjectTestCase.test_decompress_raw_with_dictionary) ... ok test_decompress_unused_data (test.test_zlib.CompressObjectTestCase.test_decompress_unused_data) ... ok test_decompresscopy (test.test_zlib.CompressObjectTestCase.test_decompresscopy) ... ok test_decompressmaxlen (test.test_zlib.CompressObjectTestCase.test_decompressmaxlen) ... ok test_decompressmaxlenflush (test.test_zlib.CompressObjectTestCase.test_decompressmaxlenflush) ... ok test_decompresspickle (test.test_zlib.CompressObjectTestCase.test_decompresspickle) ... ok test_dictionary (test.test_zlib.CompressObjectTestCase.test_dictionary) ... ok test_dictionary_streaming (test.test_zlib.CompressObjectTestCase.test_dictionary_streaming) ... ok test_empty_flush (test.test_zlib.CompressObjectTestCase.test_empty_flush) ... ok test_flush_custom_length (test.test_zlib.CompressObjectTestCase.test_flush_custom_length) ... ok test_flush_large_length (test.test_zlib.CompressObjectTestCase.test_flush_large_length) ... ok test_flush_with_freed_input (test.test_zlib.CompressObjectTestCase.test_flush_with_freed_input) ... ok test_flushes (test.test_zlib.CompressObjectTestCase.test_flushes) ... ok test_keywords (test.test_zlib.CompressObjectTestCase.test_keywords) ... ok test_large_unconsumed_tail (test.test_zlib.CompressObjectTestCase.test_large_unconsumed_tail) ... ok test_large_unused_data (test.test_zlib.CompressObjectTestCase.test_large_unused_data) ... ok test_maxlen_custom (test.test_zlib.CompressObjectTestCase.test_maxlen_custom) ... ok test_maxlen_large (test.test_zlib.CompressObjectTestCase.test_maxlen_large) ... FAIL test_maxlenmisc (test.test_zlib.CompressObjectTestCase.test_maxlenmisc) ... ok test_odd_flush (test.test_zlib.CompressObjectTestCase.test_odd_flush) ... ok test_pair (test.test_zlib.CompressObjectTestCase.test_pair) ... ok test_wbits (test.test_zlib.CompressObjectTestCase.test_wbits) ... ok test_64bit_compress (test.test_zlib.CompressTestCase.test_64bit_compress) ... ok test_big_compress_buffer (test.test_zlib.CompressTestCase.test_big_compress_buffer) ... ok test_big_decompress_buffer (test.test_zlib.CompressTestCase.test_big_decompress_buffer) ... ok test_custom_bufsize (test.test_zlib.CompressTestCase.test_custom_bufsize) ... ok test_incomplete_stream (test.test_zlib.CompressTestCase.test_incomplete_stream) ... ok test_keywords (test.test_zlib.CompressTestCase.test_keywords) ... ok test_large_bufsize (test.test_zlib.CompressTestCase.test_large_bufsize) ... ok test_speech (test.test_zlib.CompressTestCase.test_speech) ... ok test_speech128 (test.test_zlib.CompressTestCase.test_speech128) ... ok test_badargs (test.test_zlib.ExceptionTestCase.test_badargs) ... ok test_badcompressobj (test.test_zlib.ExceptionTestCase.test_badcompressobj) ... ok test_baddecompressobj (test.test_zlib.ExceptionTestCase.test_baddecompressobj) ... ok test_badlevel (test.test_zlib.ExceptionTestCase.test_badlevel) ... ok test_decompressobj_badflush (test.test_zlib.ExceptionTestCase.test_decompressobj_badflush) ... ok test_disallow_instantiation (test.test_zlib.ExceptionTestCase.test_disallow_instantiation) ... skipped 'implementation detail specific to cpython' test_overflow (test.test_zlib.ExceptionTestCase.test_overflow) ... skipped 'implementation detail specific to cpython' test_library_version (test.test_zlib.VersionTestCase.test_library_version) ... ok testDecompress (test.test_zlib.ZlibDecompressorTest.testDecompress) ... ok testDecompress4G (test.test_zlib.ZlibDecompressorTest.testDecompress4G) ... ok testDecompressChunks10 (test.test_zlib.ZlibDecompressorTest.testDecompressChunks10) ... ok testDecompressUnusedData (test.test_zlib.ZlibDecompressorTest.testDecompressUnusedData) ... ok testDecompressorChunksMaxsize (test.test_zlib.ZlibDecompressorTest.testDecompressorChunksMaxsize) ... ok testEOFError (test.test_zlib.ZlibDecompressorTest.testEOFError) ... ok testPickle (test.test_zlib.ZlibDecompressorTest.testPickle) ... ok test_Constructor (test.test_zlib.ZlibDecompressorTest.test_Constructor) ... ok test_decompressor_inputbuf_1 (test.test_zlib.ZlibDecompressorTest.test_decompressor_inputbuf_1) ... ok test_decompressor_inputbuf_2 (test.test_zlib.ZlibDecompressorTest.test_decompressor_inputbuf_2) ... ok test_decompressor_inputbuf_3 (test.test_zlib.ZlibDecompressorTest.test_decompressor_inputbuf_3) ... ok test_failure (test.test_zlib.ZlibDecompressorTest.test_failure) ... ok test_refleaks_in___init__ (test.test_zlib.ZlibDecompressorTest.test_refleaks_in___init__) ... skipped 'implementation detail specific to cpython' ====================================================================== FAIL: test_maxlen_large (test.test_zlib.CompressObjectTestCase.test_maxlen_large) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_zlib.py", line 473, in test_maxlen_large self.assertGreater(len(data), zlib.DEF_BUF_SIZE) ^^^^^^^^^^^^^ AssertionError: 19210 not greater than 32768 ---------------------------------------------------------------------- Ran 76 tests in 0.834s FAILED (failures=1, skipped=4) 0:00:00 load avg: 1.57 [1/1/1] test_zlib failed (1 failure) == Tests result: FAILURE == 1 test failed: test_zlib Total duration: 932 ms Total tests: run=76 failures=1 skipped=4 Total test files: run=1/1 failed=1 Result: FAILURE test test_zlib failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1755591æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1016490541 0:00:00 load avg: 1.57 Run 31 tests sequentially in a single process 0:00:00 load avg: 1.57 [ 1/31] test_asyncio.test_base_events test__add_callback_cancelled_handle (test.test_asyncio.test_base_events.BaseEventLoopTests.test__add_callback_cancelled_handle) ... ok test__add_callback_handle (test.test_asyncio.test_base_events.BaseEventLoopTests.test__add_callback_handle) ... ok test__run_once (test.test_asyncio.test_base_events.BaseEventLoopTests.test__run_once) ... ok test__run_once_cancelled_event_cleanup (test.test_asyncio.test_base_events.BaseEventLoopTests.test__run_once_cancelled_event_cleanup) ... ok test__run_once_schedule_handle (test.test_asyncio.test_base_events.BaseEventLoopTests.test__run_once_schedule_handle) ... ok test_asyncgen_finalization_by_gc (test.test_asyncio.test_base_events.BaseEventLoopTests.test_asyncgen_finalization_by_gc) ... ok test_asyncgen_finalization_by_gc_in_other_thread (test.test_asyncio.test_base_events.BaseEventLoopTests.test_asyncgen_finalization_by_gc_in_other_thread) ... ok test_call_later (test.test_asyncio.test_base_events.BaseEventLoopTests.test_call_later) ... ok test_call_later_negative_delays (test.test_asyncio.test_base_events.BaseEventLoopTests.test_call_later_negative_delays) ... ok test_call_soon (test.test_asyncio.test_base_events.BaseEventLoopTests.test_call_soon) ... ok test_call_soon_non_callable (test.test_asyncio.test_base_events.BaseEventLoopTests.test_call_soon_non_callable) ... ok test_check_thread (test.test_asyncio.test_base_events.BaseEventLoopTests.test_check_thread) ... ok test_close (test.test_asyncio.test_base_events.BaseEventLoopTests.test_close) ... ok test_create_named_task_with_custom_factory (test.test_asyncio.test_base_events.BaseEventLoopTests.test_create_named_task_with_custom_factory) ... ok test_create_named_task_with_default_factory (test.test_asyncio.test_base_events.BaseEventLoopTests.test_create_named_task_with_default_factory) ... ok test_create_task (test.test_asyncio.test_base_events.BaseEventLoopTests.test_create_task) ... ok test_create_task_error_closes_coro (test.test_asyncio.test_base_events.BaseEventLoopTests.test_create_task_error_closes_coro) ... ok test_default_exc_handler_broken (test.test_asyncio.test_base_events.BaseEventLoopTests.test_default_exc_handler_broken) ... ok test_default_exc_handler_callback (test.test_asyncio.test_base_events.BaseEventLoopTests.test_default_exc_handler_callback) ... ok test_default_exc_handler_coro (test.test_asyncio.test_base_events.BaseEventLoopTests.test_default_exc_handler_coro) ... ok test_env_var_debug (test.test_asyncio.test_base_events.BaseEventLoopTests.test_env_var_debug) ... ok test_not_implemented (test.test_asyncio.test_base_events.BaseEventLoopTests.test_not_implemented) ... ok test_run_forever_keyboard_interrupt (test.test_asyncio.test_base_events.BaseEventLoopTests.test_run_forever_keyboard_interrupt) ... ok test_run_forever_pre_stopped (test.test_asyncio.test_base_events.BaseEventLoopTests.test_run_forever_pre_stopped) ... ok test_run_once (test.test_asyncio.test_base_events.BaseEventLoopTests.test_run_once) ... ok test_run_until_complete_baseexception (test.test_asyncio.test_base_events.BaseEventLoopTests.test_run_until_complete_baseexception) ... ok test_run_until_complete_loop (test.test_asyncio.test_base_events.BaseEventLoopTests.test_run_until_complete_loop) ... ok test_run_until_complete_loop_orphan_future_close_loop (test.test_asyncio.test_base_events.BaseEventLoopTests.test_run_until_complete_loop_orphan_future_close_loop) ... ok test_run_until_complete_type_error (test.test_asyncio.test_base_events.BaseEventLoopTests.test_run_until_complete_type_error) ... ok test_set_debug (test.test_asyncio.test_base_events.BaseEventLoopTests.test_set_debug) ... ok test_set_default_executor (test.test_asyncio.test_base_events.BaseEventLoopTests.test_set_default_executor) ... ok test_set_default_executor_error (test.test_asyncio.test_base_events.BaseEventLoopTests.test_set_default_executor_error) ... ok test_set_exc_handler_broken (test.test_asyncio.test_base_events.BaseEventLoopTests.test_set_exc_handler_broken) ... ok test_set_exc_handler_custom (test.test_asyncio.test_base_events.BaseEventLoopTests.test_set_exc_handler_custom) ... ok test_set_exc_handler_invalid (test.test_asyncio.test_base_events.BaseEventLoopTests.test_set_exc_handler_invalid) ... ok test_set_task_factory (test.test_asyncio.test_base_events.BaseEventLoopTests.test_set_task_factory) ... ok test_set_task_factory_invalid (test.test_asyncio.test_base_events.BaseEventLoopTests.test_set_task_factory_invalid) ... ok test_shutdown_default_executor_timeout (test.test_asyncio.test_base_events.BaseEventLoopTests.test_shutdown_default_executor_timeout) ... ok test_single_selecter_event_callback_after_stopping (test.test_asyncio.test_base_events.BaseEventLoopTests.test_single_selecter_event_callback_after_stopping) ... ok test_subprocess_exec_invalid_args (test.test_asyncio.test_base_events.BaseEventLoopTests.test_subprocess_exec_invalid_args) ... ok test_subprocess_shell_invalid_args (test.test_asyncio.test_base_events.BaseEventLoopTests.test_subprocess_shell_invalid_args) ... ok test_time_and_call_at (test.test_asyncio.test_base_events.BaseEventLoopTests.test_time_and_call_at) ... ok test_accept_connection_exception (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_accept_connection_exception) ... ok test_accept_connection_retry (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_accept_connection_retry) ... ok test_call_coroutine (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_call_coroutine) ... ok test_create_connection_bluetooth (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_connection_bluetooth) ... ok test_create_connection_connect_err (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_connection_connect_err) ... ok test_create_connection_host_port_sock (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_connection_host_port_sock) ... ok test_create_connection_ip_addr (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_connection_ip_addr) ... ok test_create_connection_ipv6_scope (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_connection_ipv6_scope) ... ok test_create_connection_multiple (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_connection_multiple) ... ok test_create_connection_multiple_errors (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_connection_multiple_errors) ... ok test_create_connection_multiple_errors_local_addr (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_connection_multiple_errors_local_addr) ... ok test_create_connection_no_getaddrinfo (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_connection_no_getaddrinfo) ... ok test_create_connection_no_host_port_sock (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_connection_no_host_port_sock) ... ok test_create_connection_no_inet_pton (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_connection_no_inet_pton) ... ok test_create_connection_no_local_addr (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_connection_no_local_addr) ... ok test_create_connection_no_ssl_server_hostname_errors (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_connection_no_ssl_server_hostname_errors) ... ok test_create_connection_service_name (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_connection_service_name) ... ok test_create_connection_ssl_server_hostname_default (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_connection_ssl_server_hostname_default) ... ok test_create_connection_ssl_server_hostname_errors (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_connection_ssl_server_hostname_errors) ... ok test_create_connection_ssl_timeout_for_plain_socket (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_connection_ssl_timeout_for_plain_socket) ... ok test_create_connection_timeout (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_connection_timeout) ... ok test_create_connection_wrong_sock (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_connection_wrong_sock) ... ok test_create_datagram_endpoint_addr_error (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_datagram_endpoint_addr_error) ... ok test_create_datagram_endpoint_allow_broadcast (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_datagram_endpoint_allow_broadcast) ... ok test_create_datagram_endpoint_cant_bind (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_datagram_endpoint_cant_bind) ... ok test_create_datagram_endpoint_connect_err (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_datagram_endpoint_connect_err) ... ok test_create_datagram_endpoint_existing_sock_unix (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_datagram_endpoint_existing_sock_unix) ... ok test_create_datagram_endpoint_ip_addr (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_datagram_endpoint_ip_addr) ... ok test_create_datagram_endpoint_no_addrinfo (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_datagram_endpoint_no_addrinfo) ... ok test_create_datagram_endpoint_no_matching_family (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_datagram_endpoint_no_matching_family) ... ok test_create_datagram_endpoint_noaddr_nofamily (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_datagram_endpoint_noaddr_nofamily) ... ok test_create_datagram_endpoint_nosoreuseport (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_datagram_endpoint_nosoreuseport) ... ok test_create_datagram_endpoint_setblk_err (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_datagram_endpoint_setblk_err) ... ok test_create_datagram_endpoint_sock (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_datagram_endpoint_sock) ... ok test_create_datagram_endpoint_sock_sockopts (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_datagram_endpoint_sock_sockopts) ... ok test_create_datagram_endpoint_sock_unix (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_datagram_endpoint_sock_unix) ... ok test_create_datagram_endpoint_socket_err (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_datagram_endpoint_socket_err) ... ok test_create_datagram_endpoint_sockopts (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_datagram_endpoint_sockopts) ... ok test_create_datagram_endpoint_wrong_sock (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_datagram_endpoint_wrong_sock) ... ok test_create_server_cant_bind (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_server_cant_bind) ... ok test_create_server_empty_host (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_server_empty_host) ... ok test_create_server_host_port_sock (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_server_host_port_sock) ... ok test_create_server_ipv6 (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_server_ipv6) ... ok test_create_server_no_getaddrinfo (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_server_no_getaddrinfo) ... ok test_create_server_no_host_port_sock (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_server_no_host_port_sock) ... ok test_create_server_nosoreuseport (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_server_nosoreuseport) ... ok test_create_server_soreuseport_only_defined (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_server_soreuseport_only_defined) ... ok test_create_server_ssl_timeout_for_plain_socket (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_server_ssl_timeout_for_plain_socket) ... ok test_create_server_stream_bittype (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_server_stream_bittype) ... ok test_create_server_wrong_sock (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_server_wrong_sock) ... ok test_getnameinfo (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_getnameinfo) ... ok test_log_slow_callbacks (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_log_slow_callbacks) ... ok test_ipaddr_info (test.test_asyncio.test_base_events.BaseEventTests.test_ipaddr_info) ... ok test_ipaddr_info_no_inet_pton (test.test_asyncio.test_base_events.BaseEventTests.test_ipaddr_info_no_inet_pton) ... ok test_port_parameter_types (test.test_asyncio.test_base_events.BaseEventTests.test_port_parameter_types) ... ok test__sock_sendfile_native_failure (test.test_asyncio.test_base_events.BaseLoopSockSendfileTests.test__sock_sendfile_native_failure) ... ok test_blocking_socket (test.test_asyncio.test_base_events.BaseLoopSockSendfileTests.test_blocking_socket) ... ok test_negative_count (test.test_asyncio.test_base_events.BaseLoopSockSendfileTests.test_negative_count) ... ok test_negative_offset (test.test_asyncio.test_base_events.BaseLoopSockSendfileTests.test_negative_offset) ... ok test_nonbinary_file (test.test_asyncio.test_base_events.BaseLoopSockSendfileTests.test_nonbinary_file) ... ok test_nonstream_socket (test.test_asyncio.test_base_events.BaseLoopSockSendfileTests.test_nonstream_socket) ... ok test_notint_count (test.test_asyncio.test_base_events.BaseLoopSockSendfileTests.test_notint_count) ... ok test_notint_offset (test.test_asyncio.test_base_events.BaseLoopSockSendfileTests.test_notint_offset) ... ok test_sock_sendfile_fallback (test.test_asyncio.test_base_events.BaseLoopSockSendfileTests.test_sock_sendfile_fallback) ... ok test_sock_sendfile_fallback_offset_and_count (test.test_asyncio.test_base_events.BaseLoopSockSendfileTests.test_sock_sendfile_fallback_offset_and_count) ... ok test_sock_sendfile_no_fallback (test.test_asyncio.test_base_events.BaseLoopSockSendfileTests.test_sock_sendfile_no_fallback) ... ok test_running_loop_within_a_loop (test.test_asyncio.test_base_events.RunningLoopTests.test_running_loop_within_a_loop) ... ok test_set_nodelay (test.test_asyncio.test_base_events.TestSelectorUtils.test_set_nodelay) ... ok ---------------------------------------------------------------------- Ran 110 tests in 1.651s OK 0:00:01 load avg: 1.57 [ 1/31] test_asyncio.test_base_events passed 0:00:01 load avg: 1.57 [ 2/31] test_asyncio.test_buffered_proto test_buffered_proto_create_connection (test.test_asyncio.test_buffered_proto.BufferedProtocolProactorTests.test_buffered_proto_create_connection) ... skipped 'Windows only' test_buffered_proto_create_connection (test.test_asyncio.test_buffered_proto.BufferedProtocolSelectorTests.test_buffered_proto_create_connection) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.006s OK (skipped=1) 0:00:02 load avg: 1.57 [ 2/31] test_asyncio.test_buffered_proto passed 0:00:02 load avg: 1.57 [ 3/31] test_asyncio.test_context test_asyncio_task_decimal_context (test.test_asyncio.test_context.DecimalContextTest.test_asyncio_task_decimal_context) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.203s OK 0:00:02 load avg: 1.57 [ 3/31] test_asyncio.test_context passed 0:00:02 load avg: 1.57 [ 4/31] test_asyncio.test_eager_task_factory test_all_tasks_with_blocking (test.test_asyncio.test_eager_task_factory.CEagerTaskFactoryLoopTests.test_all_tasks_with_blocking) ... skipped 'requires the C _asyncio module' test_all_tasks_with_eager_completion (test.test_asyncio.test_eager_task_factory.CEagerTaskFactoryLoopTests.test_all_tasks_with_eager_completion) ... skipped 'requires the C _asyncio module' test_await_future_during_eager_step (test.test_asyncio.test_eager_task_factory.CEagerTaskFactoryLoopTests.test_await_future_during_eager_step) ... skipped 'requires the C _asyncio module' test_block_after_eager_step (test.test_asyncio.test_eager_task_factory.CEagerTaskFactoryLoopTests.test_block_after_eager_step) ... skipped 'requires the C _asyncio module' test_cancellation_after_eager_completion (test.test_asyncio.test_eager_task_factory.CEagerTaskFactoryLoopTests.test_cancellation_after_eager_completion) ... skipped 'requires the C _asyncio module' test_cancellation_after_eager_step_blocks (test.test_asyncio.test_eager_task_factory.CEagerTaskFactoryLoopTests.test_cancellation_after_eager_step_blocks) ... skipped 'requires the C _asyncio module' test_context_vars (test.test_asyncio.test_eager_task_factory.CEagerTaskFactoryLoopTests.test_context_vars) ... skipped 'requires the C _asyncio module' test_current_task (test.test_asyncio.test_eager_task_factory.CEagerTaskFactoryLoopTests.test_current_task) ... skipped 'requires the C _asyncio module' test_eager_completion (test.test_asyncio.test_eager_task_factory.CEagerTaskFactoryLoopTests.test_eager_completion) ... skipped 'requires the C _asyncio module' test_eager_task_factory_set (test.test_asyncio.test_eager_task_factory.CEagerTaskFactoryLoopTests.test_eager_task_factory_set) ... skipped 'requires the C _asyncio module' test_issue105987 (test.test_asyncio.test_eager_task_factory.CEagerTaskFactoryLoopTests.test_issue105987) ... skipped 'requires the C _asyncio module' test_issue122332 (test.test_asyncio.test_eager_task_factory.CEagerTaskFactoryLoopTests.test_issue122332) ... skipped 'requires the C _asyncio module' test_staggered_race_with_eager_tasks (test.test_asyncio.test_eager_task_factory.CEagerTaskFactoryLoopTests.test_staggered_race_with_eager_tasks) ... skipped 'requires the C _asyncio module' test_staggered_race_with_eager_tasks_no_delay (test.test_asyncio.test_eager_task_factory.CEagerTaskFactoryLoopTests.test_staggered_race_with_eager_tasks_no_delay) ... skipped 'requires the C _asyncio module' test_awaitables_chain (test.test_asyncio.test_eager_task_factory.EagerCTaskTests.test_awaitables_chain) ... skipped 'requires the C _asyncio module' test_recursive_gather (test.test_asyncio.test_eager_task_factory.EagerCTaskTests.test_recursive_gather) ... skipped 'requires the C _asyncio module' test_recursive_taskgroups (test.test_asyncio.test_eager_task_factory.EagerCTaskTests.test_recursive_taskgroups) ... skipped 'requires the C _asyncio module' test_awaitables_chain (test.test_asyncio.test_eager_task_factory.EagerPyTaskTests.test_awaitables_chain) ... ok test_recursive_gather (test.test_asyncio.test_eager_task_factory.EagerPyTaskTests.test_recursive_gather) ... ok test_recursive_taskgroups (test.test_asyncio.test_eager_task_factory.EagerPyTaskTests.test_recursive_taskgroups) ... ok test_awaitables_chain (test.test_asyncio.test_eager_task_factory.EagerTests.test_awaitables_chain) ... ok test_recursive_gather (test.test_asyncio.test_eager_task_factory.EagerTests.test_recursive_gather) ... ok test_recursive_taskgroups (test.test_asyncio.test_eager_task_factory.EagerTests.test_recursive_taskgroups) ... ok test_awaitables_chain (test.test_asyncio.test_eager_task_factory.NonEagerCTaskTests.test_awaitables_chain) ... skipped 'requires the C _asyncio module' test_recursive_gather (test.test_asyncio.test_eager_task_factory.NonEagerCTaskTests.test_recursive_gather) ... skipped 'requires the C _asyncio module' test_recursive_taskgroups (test.test_asyncio.test_eager_task_factory.NonEagerCTaskTests.test_recursive_taskgroups) ... skipped 'requires the C _asyncio module' test_awaitables_chain (test.test_asyncio.test_eager_task_factory.NonEagerPyTaskTests.test_awaitables_chain) ... ok test_recursive_gather (test.test_asyncio.test_eager_task_factory.NonEagerPyTaskTests.test_recursive_gather) ... ok test_recursive_taskgroups (test.test_asyncio.test_eager_task_factory.NonEagerPyTaskTests.test_recursive_taskgroups) ... ok test_awaitables_chain (test.test_asyncio.test_eager_task_factory.NonEagerTests.test_awaitables_chain) ... ok test_recursive_gather (test.test_asyncio.test_eager_task_factory.NonEagerTests.test_recursive_gather) ... ok test_recursive_taskgroups (test.test_asyncio.test_eager_task_factory.NonEagerTests.test_recursive_taskgroups) ... ok test_all_tasks_with_blocking (test.test_asyncio.test_eager_task_factory.PyEagerTaskFactoryLoopTests.test_all_tasks_with_blocking) ... ok test_all_tasks_with_eager_completion (test.test_asyncio.test_eager_task_factory.PyEagerTaskFactoryLoopTests.test_all_tasks_with_eager_completion) ... ok test_await_future_during_eager_step (test.test_asyncio.test_eager_task_factory.PyEagerTaskFactoryLoopTests.test_await_future_during_eager_step) ... ok test_block_after_eager_step (test.test_asyncio.test_eager_task_factory.PyEagerTaskFactoryLoopTests.test_block_after_eager_step) ... ok test_cancellation_after_eager_completion (test.test_asyncio.test_eager_task_factory.PyEagerTaskFactoryLoopTests.test_cancellation_after_eager_completion) ... ok test_cancellation_after_eager_step_blocks (test.test_asyncio.test_eager_task_factory.PyEagerTaskFactoryLoopTests.test_cancellation_after_eager_step_blocks) ... ok test_context_vars (test.test_asyncio.test_eager_task_factory.PyEagerTaskFactoryLoopTests.test_context_vars) ... ok test_current_task (test.test_asyncio.test_eager_task_factory.PyEagerTaskFactoryLoopTests.test_current_task) ... ok test_eager_completion (test.test_asyncio.test_eager_task_factory.PyEagerTaskFactoryLoopTests.test_eager_completion) ... ok test_eager_task_factory_set (test.test_asyncio.test_eager_task_factory.PyEagerTaskFactoryLoopTests.test_eager_task_factory_set) ... ok test_staggered_race_with_eager_tasks (test.test_asyncio.test_eager_task_factory.PyEagerTaskFactoryLoopTests.test_staggered_race_with_eager_tasks) ... ok test_staggered_race_with_eager_tasks_no_delay (test.test_asyncio.test_eager_task_factory.PyEagerTaskFactoryLoopTests.test_staggered_race_with_eager_tasks_no_delay) ... ok ---------------------------------------------------------------------- Ran 44 tests in 2.945s OK (skipped=20) 0:00:05 load avg: 1.52 [ 4/31] test_asyncio.test_eager_task_factory passed 0:00:05 load avg: 1.52 [ 5/31] test_asyncio.test_events test_not_implemented (test.test_asyncio.test_events.AbstractEventLoopTests.test_not_implemented) ... ok test_not_implemented_async (test.test_asyncio.test_events.AbstractEventLoopTests.test_not_implemented_async) ... ok test_add_fds_after_closing (test.test_asyncio.test_events.EPollEventLoopTests.test_add_fds_after_closing) ... ok test_add_signal_handler (test.test_asyncio.test_events.EPollEventLoopTests.test_add_signal_handler) ... ok test_bidirectional_pty (test.test_asyncio.test_events.EPollEventLoopTests.test_bidirectional_pty) ... ok test_call_later (test.test_asyncio.test_events.EPollEventLoopTests.test_call_later) ... ok test_call_soon (test.test_asyncio.test_events.EPollEventLoopTests.test_call_soon) ... ok test_call_soon_threadsafe (test.test_asyncio.test_events.EPollEventLoopTests.test_call_soon_threadsafe) ... ok test_call_soon_threadsafe_same_thread (test.test_asyncio.test_events.EPollEventLoopTests.test_call_soon_threadsafe_same_thread) ... ok test_close (test.test_asyncio.test_events.EPollEventLoopTests.test_close) ... ok test_close_running_event_loop (test.test_asyncio.test_events.EPollEventLoopTests.test_close_running_event_loop) ... ok test_connect_accepted_socket (test.test_asyncio.test_events.EPollEventLoopTests.test_connect_accepted_socket) ... ok test_connect_accepted_socket_ssl_timeout_for_plain_socket (test.test_asyncio.test_events.EPollEventLoopTests.test_connect_accepted_socket_ssl_timeout_for_plain_socket) ... ok test_create_connection (test.test_asyncio.test_events.EPollEventLoopTests.test_create_connection) ... ok test_create_connection_local_addr (test.test_asyncio.test_events.EPollEventLoopTests.test_create_connection_local_addr) ... ok test_create_connection_local_addr_in_use (test.test_asyncio.test_events.EPollEventLoopTests.test_create_connection_local_addr_in_use) ... ok test_create_connection_local_addr_nomatch_family (test.test_asyncio.test_events.EPollEventLoopTests.test_create_connection_local_addr_nomatch_family) ... ok test_create_connection_local_addr_skip_different_family (test.test_asyncio.test_events.EPollEventLoopTests.test_create_connection_local_addr_skip_different_family) ... ok test_create_datagram_endpoint (test.test_asyncio.test_events.EPollEventLoopTests.test_create_datagram_endpoint) ... ok test_create_datagram_endpoint_ipv6 (test.test_asyncio.test_events.EPollEventLoopTests.test_create_datagram_endpoint_ipv6) ... ok test_create_datagram_endpoint_sock (test.test_asyncio.test_events.EPollEventLoopTests.test_create_datagram_endpoint_sock) ... ok test_create_server (test.test_asyncio.test_events.EPollEventLoopTests.test_create_server) ... ok test_create_server_addr_in_use (test.test_asyncio.test_events.EPollEventLoopTests.test_create_server_addr_in_use) ... ok test_create_server_dual_stack (test.test_asyncio.test_events.EPollEventLoopTests.test_create_server_dual_stack) ... ok test_create_server_multiple_hosts_ipv4 (test.test_asyncio.test_events.EPollEventLoopTests.test_create_server_multiple_hosts_ipv4) ... ok test_create_server_multiple_hosts_ipv6 (test.test_asyncio.test_events.EPollEventLoopTests.test_create_server_multiple_hosts_ipv6) ... ok test_create_server_reuse_port (test.test_asyncio.test_events.EPollEventLoopTests.test_create_server_reuse_port) ... ok test_create_server_sock (test.test_asyncio.test_events.EPollEventLoopTests.test_create_server_sock) ... ok test_create_server_ssl (test.test_asyncio.test_events.EPollEventLoopTests.test_create_server_ssl) ... ok test_create_server_ssl_match_failed (test.test_asyncio.test_events.EPollEventLoopTests.test_create_server_ssl_match_failed) ... ok test_create_server_ssl_verified (test.test_asyncio.test_events.EPollEventLoopTests.test_create_server_ssl_verified) ... ok test_create_server_ssl_verify_failed (test.test_asyncio.test_events.EPollEventLoopTests.test_create_server_ssl_verify_failed) ... ok test_create_server_trsock (test.test_asyncio.test_events.EPollEventLoopTests.test_create_server_trsock) ... ok test_create_ssl_connection (test.test_asyncio.test_events.EPollEventLoopTests.test_create_ssl_connection) ... ok test_create_ssl_unix_connection (test.test_asyncio.test_events.EPollEventLoopTests.test_create_ssl_unix_connection) ... ok test_create_unix_connection (test.test_asyncio.test_events.EPollEventLoopTests.test_create_unix_connection) ... ok test_create_unix_server (test.test_asyncio.test_events.EPollEventLoopTests.test_create_unix_server) ... ok test_create_unix_server_path_socket_error (test.test_asyncio.test_events.EPollEventLoopTests.test_create_unix_server_path_socket_error) ... ok test_create_unix_server_ssl (test.test_asyncio.test_events.EPollEventLoopTests.test_create_unix_server_ssl) ... ok test_create_unix_server_ssl_verified (test.test_asyncio.test_events.EPollEventLoopTests.test_create_unix_server_ssl_verified) ... ok test_create_unix_server_ssl_verify_failed (test.test_asyncio.test_events.EPollEventLoopTests.test_create_unix_server_ssl_verify_failed) ... ok test_datagram_send_to_non_listening_address (test.test_asyncio.test_events.EPollEventLoopTests.test_datagram_send_to_non_listening_address) ... ok test_internal_fds (test.test_asyncio.test_events.EPollEventLoopTests.test_internal_fds) ... ok test_prompt_cancellation (test.test_asyncio.test_events.EPollEventLoopTests.test_prompt_cancellation) ... ok test_read_pipe (test.test_asyncio.test_events.EPollEventLoopTests.test_read_pipe) ... ok test_read_pty_output (test.test_asyncio.test_events.EPollEventLoopTests.test_read_pty_output) ... ok test_reader_callback (test.test_asyncio.test_events.EPollEventLoopTests.test_reader_callback) ... ok test_remove_fds_after_closing (test.test_asyncio.test_events.EPollEventLoopTests.test_remove_fds_after_closing) ... ok test_run_in_executor (test.test_asyncio.test_events.EPollEventLoopTests.test_run_in_executor) ... ok test_run_in_executor_cancel (test.test_asyncio.test_events.EPollEventLoopTests.test_run_in_executor_cancel) ... ok test_run_until_complete (test.test_asyncio.test_events.EPollEventLoopTests.test_run_until_complete) ... ok test_run_until_complete_nesting (test.test_asyncio.test_events.EPollEventLoopTests.test_run_until_complete_nesting) ... FAIL test_run_until_complete_stopped (test.test_asyncio.test_events.EPollEventLoopTests.test_run_until_complete_stopped) ... ok test_server_close (test.test_asyncio.test_events.EPollEventLoopTests.test_server_close) ... ok test_signal_handling_args (test.test_asyncio.test_events.EPollEventLoopTests.test_signal_handling_args) ... ok test_signal_handling_while_selecting (test.test_asyncio.test_events.EPollEventLoopTests.test_signal_handling_while_selecting) ... ok test_ssl_connect_accepted_socket (test.test_asyncio.test_events.EPollEventLoopTests.test_ssl_connect_accepted_socket) ... ok test_subprocess_close_after_finish (test.test_asyncio.test_events.EPollEventLoopTests.test_subprocess_close_after_finish) ... ok test_subprocess_close_client_stream (test.test_asyncio.test_events.EPollEventLoopTests.test_subprocess_close_client_stream) ... ok test_subprocess_exec (test.test_asyncio.test_events.EPollEventLoopTests.test_subprocess_exec) ... ok test_subprocess_exec_invalid_args (test.test_asyncio.test_events.EPollEventLoopTests.test_subprocess_exec_invalid_args) ... ok test_subprocess_exitcode (test.test_asyncio.test_events.EPollEventLoopTests.test_subprocess_exitcode) ... ok test_subprocess_interactive (test.test_asyncio.test_events.EPollEventLoopTests.test_subprocess_interactive) ... ok test_subprocess_kill (test.test_asyncio.test_events.EPollEventLoopTests.test_subprocess_kill) ... ok test_subprocess_send_signal (test.test_asyncio.test_events.EPollEventLoopTests.test_subprocess_send_signal) ... ok test_subprocess_shell (test.test_asyncio.test_events.EPollEventLoopTests.test_subprocess_shell) ... ok test_subprocess_shell_invalid_args (test.test_asyncio.test_events.EPollEventLoopTests.test_subprocess_shell_invalid_args) ... ok test_subprocess_stderr (test.test_asyncio.test_events.EPollEventLoopTests.test_subprocess_stderr) ... ok test_subprocess_stderr_redirect_to_stdout (test.test_asyncio.test_events.EPollEventLoopTests.test_subprocess_stderr_redirect_to_stdout) ... ok test_subprocess_terminate (test.test_asyncio.test_events.EPollEventLoopTests.test_subprocess_terminate) ... ok test_subprocess_wait_no_same_group (test.test_asyncio.test_events.EPollEventLoopTests.test_subprocess_wait_no_same_group) ... ok test_timeout_rounding (test.test_asyncio.test_events.EPollEventLoopTests.test_timeout_rounding) ... ok test_unclosed_pipe_transport (test.test_asyncio.test_events.EPollEventLoopTests.test_unclosed_pipe_transport) ... ok test_write_pipe (test.test_asyncio.test_events.EPollEventLoopTests.test_write_pipe) ... ok test_write_pipe_disconnect_on_close (test.test_asyncio.test_events.EPollEventLoopTests.test_write_pipe_disconnect_on_close) ... ok test_write_pty (test.test_asyncio.test_events.EPollEventLoopTests.test_write_pty) ... ok test_writer_callback (test.test_asyncio.test_events.EPollEventLoopTests.test_writer_callback) ... ok test_callback_with_exception (test.test_asyncio.test_events.HandleTests.test_callback_with_exception) ... ok test_coroutine_like_object_debug_formatting (test.test_asyncio.test_events.HandleTests.test_coroutine_like_object_debug_formatting) ... ok test_handle (test.test_asyncio.test_events.HandleTests.test_handle) ... ok test_handle_repr (test.test_asyncio.test_events.HandleTests.test_handle_repr) ... ok test_handle_repr_debug (test.test_asyncio.test_events.HandleTests.test_handle_repr_debug) ... ok test_handle_source_traceback (test.test_asyncio.test_events.HandleTests.test_handle_source_traceback) ... ok test_handle_weakref (test.test_asyncio.test_events.HandleTests.test_handle_weakref) ... ok test_event_loop_policy (test.test_asyncio.test_events.PolicyTests.test_event_loop_policy) ... ok test_get_event_loop (test.test_asyncio.test_events.PolicyTests.test_get_event_loop) ... ok test_get_event_loop_after_set_none (test.test_asyncio.test_events.PolicyTests.test_get_event_loop_after_set_none) ... ok test_get_event_loop_calls_set_event_loop (test.test_asyncio.test_events.PolicyTests.test_get_event_loop_calls_set_event_loop) ... ok test_get_event_loop_policy (test.test_asyncio.test_events.PolicyTests.test_get_event_loop_policy) ... ok test_get_event_loop_thread (test.test_asyncio.test_events.PolicyTests.test_get_event_loop_thread) ... ok test_new_event_loop (test.test_asyncio.test_events.PolicyTests.test_new_event_loop) ... ok test_set_event_loop (test.test_asyncio.test_events.PolicyTests.test_set_event_loop) ... ok test_set_event_loop_policy (test.test_asyncio.test_events.PolicyTests.test_set_event_loop_policy) ... ok test_add_fds_after_closing (test.test_asyncio.test_events.PollEventLoopTests.test_add_fds_after_closing) ... ok test_add_signal_handler (test.test_asyncio.test_events.PollEventLoopTests.test_add_signal_handler) ... ok test_bidirectional_pty (test.test_asyncio.test_events.PollEventLoopTests.test_bidirectional_pty) ... ok test_call_later (test.test_asyncio.test_events.PollEventLoopTests.test_call_later) ... ok test_call_soon (test.test_asyncio.test_events.PollEventLoopTests.test_call_soon) ... ok test_call_soon_threadsafe (test.test_asyncio.test_events.PollEventLoopTests.test_call_soon_threadsafe) ... ok test_call_soon_threadsafe_same_thread (test.test_asyncio.test_events.PollEventLoopTests.test_call_soon_threadsafe_same_thread) ... ok test_close (test.test_asyncio.test_events.PollEventLoopTests.test_close) ... ok test_close_running_event_loop (test.test_asyncio.test_events.PollEventLoopTests.test_close_running_event_loop) ... ok test_connect_accepted_socket (test.test_asyncio.test_events.PollEventLoopTests.test_connect_accepted_socket) ... ok test_connect_accepted_socket_ssl_timeout_for_plain_socket (test.test_asyncio.test_events.PollEventLoopTests.test_connect_accepted_socket_ssl_timeout_for_plain_socket) ... ok test_create_connection (test.test_asyncio.test_events.PollEventLoopTests.test_create_connection) ... ok test_create_connection_local_addr (test.test_asyncio.test_events.PollEventLoopTests.test_create_connection_local_addr) ... ok test_create_connection_local_addr_in_use (test.test_asyncio.test_events.PollEventLoopTests.test_create_connection_local_addr_in_use) ... ok test_create_connection_local_addr_nomatch_family (test.test_asyncio.test_events.PollEventLoopTests.test_create_connection_local_addr_nomatch_family) ... ok test_create_connection_local_addr_skip_different_family (test.test_asyncio.test_events.PollEventLoopTests.test_create_connection_local_addr_skip_different_family) ... ok test_create_datagram_endpoint (test.test_asyncio.test_events.PollEventLoopTests.test_create_datagram_endpoint) ... ok test_create_datagram_endpoint_ipv6 (test.test_asyncio.test_events.PollEventLoopTests.test_create_datagram_endpoint_ipv6) ... ok test_create_datagram_endpoint_sock (test.test_asyncio.test_events.PollEventLoopTests.test_create_datagram_endpoint_sock) ... ok test_create_server (test.test_asyncio.test_events.PollEventLoopTests.test_create_server) ... ok test_create_server_addr_in_use (test.test_asyncio.test_events.PollEventLoopTests.test_create_server_addr_in_use) ... ok test_create_server_dual_stack (test.test_asyncio.test_events.PollEventLoopTests.test_create_server_dual_stack) ... ok test_create_server_multiple_hosts_ipv4 (test.test_asyncio.test_events.PollEventLoopTests.test_create_server_multiple_hosts_ipv4) ... ok test_create_server_multiple_hosts_ipv6 (test.test_asyncio.test_events.PollEventLoopTests.test_create_server_multiple_hosts_ipv6) ... ok test_create_server_reuse_port (test.test_asyncio.test_events.PollEventLoopTests.test_create_server_reuse_port) ... ok test_create_server_sock (test.test_asyncio.test_events.PollEventLoopTests.test_create_server_sock) ... ok test_create_server_ssl (test.test_asyncio.test_events.PollEventLoopTests.test_create_server_ssl) ... ok test_create_server_ssl_match_failed (test.test_asyncio.test_events.PollEventLoopTests.test_create_server_ssl_match_failed) ... ok test_create_server_ssl_verified (test.test_asyncio.test_events.PollEventLoopTests.test_create_server_ssl_verified) ... ok test_create_server_ssl_verify_failed (test.test_asyncio.test_events.PollEventLoopTests.test_create_server_ssl_verify_failed) ... ok test_create_server_trsock (test.test_asyncio.test_events.PollEventLoopTests.test_create_server_trsock) ... ok test_create_ssl_connection (test.test_asyncio.test_events.PollEventLoopTests.test_create_ssl_connection) ... ok test_create_ssl_unix_connection (test.test_asyncio.test_events.PollEventLoopTests.test_create_ssl_unix_connection) ... ok test_create_unix_connection (test.test_asyncio.test_events.PollEventLoopTests.test_create_unix_connection) ... ok test_create_unix_server (test.test_asyncio.test_events.PollEventLoopTests.test_create_unix_server) ... ok test_create_unix_server_path_socket_error (test.test_asyncio.test_events.PollEventLoopTests.test_create_unix_server_path_socket_error) ... ok test_create_unix_server_ssl (test.test_asyncio.test_events.PollEventLoopTests.test_create_unix_server_ssl) ... ok test_create_unix_server_ssl_verified (test.test_asyncio.test_events.PollEventLoopTests.test_create_unix_server_ssl_verified) ... ok test_create_unix_server_ssl_verify_failed (test.test_asyncio.test_events.PollEventLoopTests.test_create_unix_server_ssl_verify_failed) ... ok test_datagram_send_to_non_listening_address (test.test_asyncio.test_events.PollEventLoopTests.test_datagram_send_to_non_listening_address) ... ok test_internal_fds (test.test_asyncio.test_events.PollEventLoopTests.test_internal_fds) ... ok test_prompt_cancellation (test.test_asyncio.test_events.PollEventLoopTests.test_prompt_cancellation) ... ok test_read_pipe (test.test_asyncio.test_events.PollEventLoopTests.test_read_pipe) ... ok test_read_pty_output (test.test_asyncio.test_events.PollEventLoopTests.test_read_pty_output) ... ok test_reader_callback (test.test_asyncio.test_events.PollEventLoopTests.test_reader_callback) ... ok test_remove_fds_after_closing (test.test_asyncio.test_events.PollEventLoopTests.test_remove_fds_after_closing) ... ok test_run_in_executor (test.test_asyncio.test_events.PollEventLoopTests.test_run_in_executor) ... ok test_run_in_executor_cancel (test.test_asyncio.test_events.PollEventLoopTests.test_run_in_executor_cancel) ... ok test_run_until_complete (test.test_asyncio.test_events.PollEventLoopTests.test_run_until_complete) ... ok test_run_until_complete_nesting (test.test_asyncio.test_events.PollEventLoopTests.test_run_until_complete_nesting) ... FAIL test_run_until_complete_stopped (test.test_asyncio.test_events.PollEventLoopTests.test_run_until_complete_stopped) ... ok test_server_close (test.test_asyncio.test_events.PollEventLoopTests.test_server_close) ... ok test_signal_handling_args (test.test_asyncio.test_events.PollEventLoopTests.test_signal_handling_args) ... ok test_signal_handling_while_selecting (test.test_asyncio.test_events.PollEventLoopTests.test_signal_handling_while_selecting) ... ok test_ssl_connect_accepted_socket (test.test_asyncio.test_events.PollEventLoopTests.test_ssl_connect_accepted_socket) ... ok test_subprocess_close_after_finish (test.test_asyncio.test_events.PollEventLoopTests.test_subprocess_close_after_finish) ... ok test_subprocess_close_client_stream (test.test_asyncio.test_events.PollEventLoopTests.test_subprocess_close_client_stream) ... ok test_subprocess_exec (test.test_asyncio.test_events.PollEventLoopTests.test_subprocess_exec) ... ok test_subprocess_exec_invalid_args (test.test_asyncio.test_events.PollEventLoopTests.test_subprocess_exec_invalid_args) ... ok test_subprocess_exitcode (test.test_asyncio.test_events.PollEventLoopTests.test_subprocess_exitcode) ... ok test_subprocess_interactive (test.test_asyncio.test_events.PollEventLoopTests.test_subprocess_interactive) ... ok test_subprocess_kill (test.test_asyncio.test_events.PollEventLoopTests.test_subprocess_kill) ... ok test_subprocess_send_signal (test.test_asyncio.test_events.PollEventLoopTests.test_subprocess_send_signal) ... ok test_subprocess_shell (test.test_asyncio.test_events.PollEventLoopTests.test_subprocess_shell) ... ok test_subprocess_shell_invalid_args (test.test_asyncio.test_events.PollEventLoopTests.test_subprocess_shell_invalid_args) ... ok test_subprocess_stderr (test.test_asyncio.test_events.PollEventLoopTests.test_subprocess_stderr) ... ok test_subprocess_stderr_redirect_to_stdout (test.test_asyncio.test_events.PollEventLoopTests.test_subprocess_stderr_redirect_to_stdout) ... ok test_subprocess_terminate (test.test_asyncio.test_events.PollEventLoopTests.test_subprocess_terminate) ... ok test_subprocess_wait_no_same_group (test.test_asyncio.test_events.PollEventLoopTests.test_subprocess_wait_no_same_group) ... ok test_timeout_rounding (test.test_asyncio.test_events.PollEventLoopTests.test_timeout_rounding) ... ok test_unclosed_pipe_transport (test.test_asyncio.test_events.PollEventLoopTests.test_unclosed_pipe_transport) ... ok test_write_pipe (test.test_asyncio.test_events.PollEventLoopTests.test_write_pipe) ... ok test_write_pipe_disconnect_on_close (test.test_asyncio.test_events.PollEventLoopTests.test_write_pipe_disconnect_on_close) ... ok test_write_pty (test.test_asyncio.test_events.PollEventLoopTests.test_write_pty) ... ok test_writer_callback (test.test_asyncio.test_events.PollEventLoopTests.test_writer_callback) ... ok test_add_fds_after_closing (test.test_asyncio.test_events.SelectEventLoopTests.test_add_fds_after_closing) ... ok test_add_signal_handler (test.test_asyncio.test_events.SelectEventLoopTests.test_add_signal_handler) ... ok test_bidirectional_pty (test.test_asyncio.test_events.SelectEventLoopTests.test_bidirectional_pty) ... ok test_call_later (test.test_asyncio.test_events.SelectEventLoopTests.test_call_later) ... ok test_call_soon (test.test_asyncio.test_events.SelectEventLoopTests.test_call_soon) ... ok test_call_soon_threadsafe (test.test_asyncio.test_events.SelectEventLoopTests.test_call_soon_threadsafe) ... ok test_call_soon_threadsafe_same_thread (test.test_asyncio.test_events.SelectEventLoopTests.test_call_soon_threadsafe_same_thread) ... ok test_close (test.test_asyncio.test_events.SelectEventLoopTests.test_close) ... ok test_close_running_event_loop (test.test_asyncio.test_events.SelectEventLoopTests.test_close_running_event_loop) ... ok test_connect_accepted_socket (test.test_asyncio.test_events.SelectEventLoopTests.test_connect_accepted_socket) ... ok test_connect_accepted_socket_ssl_timeout_for_plain_socket (test.test_asyncio.test_events.SelectEventLoopTests.test_connect_accepted_socket_ssl_timeout_for_plain_socket) ... ok test_create_connection (test.test_asyncio.test_events.SelectEventLoopTests.test_create_connection) ... ok test_create_connection_local_addr (test.test_asyncio.test_events.SelectEventLoopTests.test_create_connection_local_addr) ... ok test_create_connection_local_addr_in_use (test.test_asyncio.test_events.SelectEventLoopTests.test_create_connection_local_addr_in_use) ... ok test_create_connection_local_addr_nomatch_family (test.test_asyncio.test_events.SelectEventLoopTests.test_create_connection_local_addr_nomatch_family) ... ok test_create_connection_local_addr_skip_different_family (test.test_asyncio.test_events.SelectEventLoopTests.test_create_connection_local_addr_skip_different_family) ... ok test_create_datagram_endpoint (test.test_asyncio.test_events.SelectEventLoopTests.test_create_datagram_endpoint) ... ok test_create_datagram_endpoint_ipv6 (test.test_asyncio.test_events.SelectEventLoopTests.test_create_datagram_endpoint_ipv6) ... ok test_create_datagram_endpoint_sock (test.test_asyncio.test_events.SelectEventLoopTests.test_create_datagram_endpoint_sock) ... ok test_create_server (test.test_asyncio.test_events.SelectEventLoopTests.test_create_server) ... ok test_create_server_addr_in_use (test.test_asyncio.test_events.SelectEventLoopTests.test_create_server_addr_in_use) ... ok test_create_server_dual_stack (test.test_asyncio.test_events.SelectEventLoopTests.test_create_server_dual_stack) ... ok test_create_server_multiple_hosts_ipv4 (test.test_asyncio.test_events.SelectEventLoopTests.test_create_server_multiple_hosts_ipv4) ... ok test_create_server_multiple_hosts_ipv6 (test.test_asyncio.test_events.SelectEventLoopTests.test_create_server_multiple_hosts_ipv6) ... ok test_create_server_reuse_port (test.test_asyncio.test_events.SelectEventLoopTests.test_create_server_reuse_port) ... ok test_create_server_sock (test.test_asyncio.test_events.SelectEventLoopTests.test_create_server_sock) ... ok test_create_server_ssl (test.test_asyncio.test_events.SelectEventLoopTests.test_create_server_ssl) ... ok test_create_server_ssl_match_failed (test.test_asyncio.test_events.SelectEventLoopTests.test_create_server_ssl_match_failed) ... ok test_create_server_ssl_verified (test.test_asyncio.test_events.SelectEventLoopTests.test_create_server_ssl_verified) ... ok test_create_server_ssl_verify_failed (test.test_asyncio.test_events.SelectEventLoopTests.test_create_server_ssl_verify_failed) ... ok test_create_server_trsock (test.test_asyncio.test_events.SelectEventLoopTests.test_create_server_trsock) ... ok test_create_ssl_connection (test.test_asyncio.test_events.SelectEventLoopTests.test_create_ssl_connection) ... ok test_create_ssl_unix_connection (test.test_asyncio.test_events.SelectEventLoopTests.test_create_ssl_unix_connection) ... ok test_create_unix_connection (test.test_asyncio.test_events.SelectEventLoopTests.test_create_unix_connection) ... ok test_create_unix_server (test.test_asyncio.test_events.SelectEventLoopTests.test_create_unix_server) ... ok test_create_unix_server_path_socket_error (test.test_asyncio.test_events.SelectEventLoopTests.test_create_unix_server_path_socket_error) ... ok test_create_unix_server_ssl (test.test_asyncio.test_events.SelectEventLoopTests.test_create_unix_server_ssl) ... ok test_create_unix_server_ssl_verified (test.test_asyncio.test_events.SelectEventLoopTests.test_create_unix_server_ssl_verified) ... ok test_create_unix_server_ssl_verify_failed (test.test_asyncio.test_events.SelectEventLoopTests.test_create_unix_server_ssl_verify_failed) ... ok test_datagram_send_to_non_listening_address (test.test_asyncio.test_events.SelectEventLoopTests.test_datagram_send_to_non_listening_address) ... ok test_internal_fds (test.test_asyncio.test_events.SelectEventLoopTests.test_internal_fds) ... ok test_prompt_cancellation (test.test_asyncio.test_events.SelectEventLoopTests.test_prompt_cancellation) ... ok test_read_pipe (test.test_asyncio.test_events.SelectEventLoopTests.test_read_pipe) ... ok test_read_pty_output (test.test_asyncio.test_events.SelectEventLoopTests.test_read_pty_output) ... ok test_reader_callback (test.test_asyncio.test_events.SelectEventLoopTests.test_reader_callback) ... ok test_remove_fds_after_closing (test.test_asyncio.test_events.SelectEventLoopTests.test_remove_fds_after_closing) ... ok test_run_in_executor (test.test_asyncio.test_events.SelectEventLoopTests.test_run_in_executor) ... ok test_run_in_executor_cancel (test.test_asyncio.test_events.SelectEventLoopTests.test_run_in_executor_cancel) ... ok test_run_until_complete (test.test_asyncio.test_events.SelectEventLoopTests.test_run_until_complete) ... ok test_run_until_complete_nesting (test.test_asyncio.test_events.SelectEventLoopTests.test_run_until_complete_nesting) ... FAIL test_run_until_complete_stopped (test.test_asyncio.test_events.SelectEventLoopTests.test_run_until_complete_stopped) ... ok test_server_close (test.test_asyncio.test_events.SelectEventLoopTests.test_server_close) ... ok test_signal_handling_args (test.test_asyncio.test_events.SelectEventLoopTests.test_signal_handling_args) ... ok test_signal_handling_while_selecting (test.test_asyncio.test_events.SelectEventLoopTests.test_signal_handling_while_selecting) ... ok test_ssl_connect_accepted_socket (test.test_asyncio.test_events.SelectEventLoopTests.test_ssl_connect_accepted_socket) ... ok test_subprocess_close_after_finish (test.test_asyncio.test_events.SelectEventLoopTests.test_subprocess_close_after_finish) ... ok test_subprocess_close_client_stream (test.test_asyncio.test_events.SelectEventLoopTests.test_subprocess_close_client_stream) ... ok test_subprocess_exec (test.test_asyncio.test_events.SelectEventLoopTests.test_subprocess_exec) ... ok test_subprocess_exec_invalid_args (test.test_asyncio.test_events.SelectEventLoopTests.test_subprocess_exec_invalid_args) ... ok test_subprocess_exitcode (test.test_asyncio.test_events.SelectEventLoopTests.test_subprocess_exitcode) ... ok test_subprocess_interactive (test.test_asyncio.test_events.SelectEventLoopTests.test_subprocess_interactive) ... ok test_subprocess_kill (test.test_asyncio.test_events.SelectEventLoopTests.test_subprocess_kill) ... ok test_subprocess_send_signal (test.test_asyncio.test_events.SelectEventLoopTests.test_subprocess_send_signal) ... ok test_subprocess_shell (test.test_asyncio.test_events.SelectEventLoopTests.test_subprocess_shell) ... ok test_subprocess_shell_invalid_args (test.test_asyncio.test_events.SelectEventLoopTests.test_subprocess_shell_invalid_args) ... ok test_subprocess_stderr (test.test_asyncio.test_events.SelectEventLoopTests.test_subprocess_stderr) ... ok test_subprocess_stderr_redirect_to_stdout (test.test_asyncio.test_events.SelectEventLoopTests.test_subprocess_stderr_redirect_to_stdout) ... ok test_subprocess_terminate (test.test_asyncio.test_events.SelectEventLoopTests.test_subprocess_terminate) ... ok test_subprocess_wait_no_same_group (test.test_asyncio.test_events.SelectEventLoopTests.test_subprocess_wait_no_same_group) ... ok test_timeout_rounding (test.test_asyncio.test_events.SelectEventLoopTests.test_timeout_rounding) ... ok test_unclosed_pipe_transport (test.test_asyncio.test_events.SelectEventLoopTests.test_unclosed_pipe_transport) ... ok test_write_pipe (test.test_asyncio.test_events.SelectEventLoopTests.test_write_pipe) ... ok test_write_pipe_disconnect_on_close (test.test_asyncio.test_events.SelectEventLoopTests.test_write_pipe_disconnect_on_close) ... ok test_write_pty (test.test_asyncio.test_events.SelectEventLoopTests.test_write_pty) ... ok test_writer_callback (test.test_asyncio.test_events.SelectEventLoopTests.test_writer_callback) ... ok test_close (test.test_asyncio.test_events.TestAbstractServer.test_close) ... ok test_get_loop (test.test_asyncio.test_events.TestAbstractServer.test_get_loop) ... ok test_wait_closed (test.test_asyncio.test_events.TestAbstractServer.test_wait_closed) ... ok test_get_event_loop_new_process (test.test_asyncio.test_events.TestPyGetEventLoop.test_get_event_loop_new_process) ... ok test_get_event_loop_returns_running_loop (test.test_asyncio.test_events.TestPyGetEventLoop.test_get_event_loop_returns_running_loop) ... ok test_get_event_loop_returns_running_loop2 (test.test_asyncio.test_events.TestPyGetEventLoop.test_get_event_loop_returns_running_loop2) ... ok test_get_loop (test.test_asyncio.test_events.TestServer.test_get_loop) ... ok test_hash (test.test_asyncio.test_events.TimerTests.test_hash) ... ok test_timer (test.test_asyncio.test_events.TimerTests.test_timer) ... ok test_timer_comparison (test.test_asyncio.test_events.TimerTests.test_timer_comparison) ... ok test_timer_repr (test.test_asyncio.test_events.TimerTests.test_timer_repr) ... ok test_timer_repr_debug (test.test_asyncio.test_events.TimerTests.test_timer_repr_debug) ... ok test_when (test.test_asyncio.test_events.TimerTests.test_when) ... ok ====================================================================== FAIL: test_run_until_complete_nesting (test.test_asyncio.test_events.EPollEventLoopTests.test_run_until_complete_nesting) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_events.py", line 286, in test_run_until_complete_nesting with self.assertWarnsRegex( AssertionError: RuntimeWarning not triggered ====================================================================== FAIL: test_run_until_complete_nesting (test.test_asyncio.test_events.PollEventLoopTests.test_run_until_complete_nesting) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_events.py", line 286, in test_run_until_complete_nesting with self.assertWarnsRegex( AssertionError: RuntimeWarning not triggered ====================================================================== FAIL: test_run_until_complete_nesting (test.test_asyncio.test_events.SelectEventLoopTests.test_run_until_complete_nesting) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_events.py", line 286, in test_run_until_complete_nesting with self.assertWarnsRegex( AssertionError: RuntimeWarning not triggered ---------------------------------------------------------------------- Ran 256 tests in 16.749s FAILED (failures=3) 0:00:22 load avg: 1.63 [ 5/31/1] test_asyncio.test_events failed (3 failures) 0:00:22 load avg: 1.63 [ 6/31/1] test_asyncio.test_futures test_callbacks_invoked_on_set_exception (test.test_asyncio.test_futures.CFutureDoneCallbackTests.test_callbacks_invoked_on_set_exception) ... skipped 'requires the C _asyncio module' test_callbacks_invoked_on_set_result (test.test_asyncio.test_futures.CFutureDoneCallbackTests.test_callbacks_invoked_on_set_result) ... skipped 'requires the C _asyncio module' test_callbacks_remove_first_and_second_callback (test.test_asyncio.test_futures.CFutureDoneCallbackTests.test_callbacks_remove_first_and_second_callback) ... skipped 'requires the C _asyncio module' test_callbacks_remove_first_callback (test.test_asyncio.test_futures.CFutureDoneCallbackTests.test_callbacks_remove_first_callback) ... skipped 'requires the C _asyncio module' test_callbacks_remove_third_callback (test.test_asyncio.test_futures.CFutureDoneCallbackTests.test_callbacks_remove_third_callback) ... skipped 'requires the C _asyncio module' test_evil_call_soon_list_mutation (test.test_asyncio.test_futures.CFutureDoneCallbackTests.test_evil_call_soon_list_mutation) ... skipped 'requires the C _asyncio module' test_remove_done_callback (test.test_asyncio.test_futures.CFutureDoneCallbackTests.test_remove_done_callback) ... skipped 'requires the C _asyncio module' test_remove_done_callbacks_list_clear (test.test_asyncio.test_futures.CFutureDoneCallbackTests.test_remove_done_callbacks_list_clear) ... skipped 'requires the C _asyncio module' test_remove_done_callbacks_list_mutation (test.test_asyncio.test_futures.CFutureDoneCallbackTests.test_remove_done_callbacks_list_mutation) ... skipped 'requires the C _asyncio module' test_schedule_callbacks_list_mutation_1 (test.test_asyncio.test_futures.CFutureDoneCallbackTests.test_schedule_callbacks_list_mutation_1) ... skipped 'requires the C _asyncio module' test_schedule_callbacks_list_mutation_2 (test.test_asyncio.test_futures.CFutureDoneCallbackTests.test_schedule_callbacks_list_mutation_2) ... skipped 'requires the C _asyncio module' test_use_after_free_on_fut_callback_0_with_evil__eq__ (test.test_asyncio.test_futures.CFutureDoneCallbackTests.test_use_after_free_on_fut_callback_0_with_evil__eq__) ... skipped 'requires the C _asyncio module' test_use_after_free_on_fut_callback_0_with_evil__getattribute__ (test.test_asyncio.test_futures.CFutureDoneCallbackTests.test_use_after_free_on_fut_callback_0_with_evil__getattribute__) ... skipped 'requires the C _asyncio module' test_use_after_free_on_fut_context_0_with_evil__getattribute__ (test.test_asyncio.test_futures.CFutureDoneCallbackTests.test_use_after_free_on_fut_context_0_with_evil__getattribute__) ... skipped 'requires the C _asyncio module' test_inherit_without_calling_super_init (test.test_asyncio.test_futures.CFutureInheritanceTests.test_inherit_without_calling_super_init) ... skipped 'requires the C _asyncio module' test_callbacks_copy (test.test_asyncio.test_futures.CFutureTests.test_callbacks_copy) ... skipped 'requires the C _asyncio module' test_cancel (test.test_asyncio.test_futures.CFutureTests.test_cancel) ... skipped 'requires the C _asyncio module' test_constructor_positional (test.test_asyncio.test_futures.CFutureTests.test_constructor_positional) ... skipped 'requires the C _asyncio module' test_constructor_use_global_loop (test.test_asyncio.test_futures.CFutureTests.test_constructor_use_global_loop) ... skipped 'requires the C _asyncio module' test_constructor_use_running_loop (test.test_asyncio.test_futures.CFutureTests.test_constructor_use_running_loop) ... skipped 'requires the C _asyncio module' test_constructor_without_loop (test.test_asyncio.test_futures.CFutureTests.test_constructor_without_loop) ... skipped 'requires the C _asyncio module' test_copy_state (test.test_asyncio.test_futures.CFutureTests.test_copy_state) ... skipped 'requires the C _asyncio module' test_exception (test.test_asyncio.test_futures.CFutureTests.test_exception) ... skipped 'requires the C _asyncio module' test_exception_class (test.test_asyncio.test_futures.CFutureTests.test_exception_class) ... skipped 'requires the C _asyncio module' test_future_cancel_message_getter (test.test_asyncio.test_futures.CFutureTests.test_future_cancel_message_getter) ... skipped 'requires the C _asyncio module' test_future_cancel_message_setter (test.test_asyncio.test_futures.CFutureTests.test_future_cancel_message_setter) ... skipped 'requires the C _asyncio module' test_future_cancelled_exception_refcycles (test.test_asyncio.test_futures.CFutureTests.test_future_cancelled_exception_refcycles) ... skipped 'requires the C _asyncio module' test_future_cancelled_result_refcycles (test.test_asyncio.test_futures.CFutureTests.test_future_cancelled_result_refcycles) ... skipped 'requires the C _asyncio module' test_future_del_collect (test.test_asyncio.test_futures.CFutureTests.test_future_del_collect) ... skipped 'requires the C _asyncio module' test_future_del_segfault (test.test_asyncio.test_futures.CFutureTests.test_future_del_segfault) ... skipped 'requires the C _asyncio module' test_future_exception_never_retrieved (test.test_asyncio.test_futures.CFutureTests.test_future_exception_never_retrieved) ... skipped 'requires the C _asyncio module' test_future_exception_never_retrieved_debug (test.test_asyncio.test_futures.CFutureTests.test_future_exception_never_retrieved_debug) ... skipped 'requires the C _asyncio module' test_future_iter_get_referents_segfault (test.test_asyncio.test_futures.CFutureTests.test_future_iter_get_referents_segfault) ... skipped 'requires the C _asyncio module' test_future_iter_throw (test.test_asyncio.test_futures.CFutureTests.test_future_iter_throw) ... skipped 'requires the C _asyncio module' test_future_repr (test.test_asyncio.test_futures.CFutureTests.test_future_repr) ... skipped 'requires the C _asyncio module' test_future_source_traceback (test.test_asyncio.test_futures.CFutureTests.test_future_source_traceback) ... skipped 'requires the C _asyncio module' test_future_stop_iteration_args (test.test_asyncio.test_futures.CFutureTests.test_future_stop_iteration_args) ... skipped 'requires the C _asyncio module' test_generic_alias (test.test_asyncio.test_futures.CFutureTests.test_generic_alias) ... skipped 'requires the C _asyncio module' test_initial_state (test.test_asyncio.test_futures.CFutureTests.test_initial_state) ... skipped 'requires the C _asyncio module' test_isfuture (test.test_asyncio.test_futures.CFutureTests.test_isfuture) ... skipped 'requires the C _asyncio module' test_iter (test.test_asyncio.test_futures.CFutureTests.test_iter) ... skipped 'requires the C _asyncio module' test_log_traceback (test.test_asyncio.test_futures.CFutureTests.test_log_traceback) ... skipped 'requires the C _asyncio module' test_result (test.test_asyncio.test_futures.CFutureTests.test_result) ... skipped 'requires the C _asyncio module' test_set_result_unless_cancelled (test.test_asyncio.test_futures.CFutureTests.test_set_result_unless_cancelled) ... skipped 'requires the C _asyncio module' test_stop_iteration_exception (test.test_asyncio.test_futures.CFutureTests.test_stop_iteration_exception) ... skipped 'requires the C _asyncio module' test_stop_iteration_subclass_exception (test.test_asyncio.test_futures.CFutureTests.test_stop_iteration_subclass_exception) ... skipped 'requires the C _asyncio module' test_tb_logger_abandoned (test.test_asyncio.test_futures.CFutureTests.test_tb_logger_abandoned) ... skipped 'requires the C _asyncio module' test_tb_logger_exception_result_retrieved (test.test_asyncio.test_futures.CFutureTests.test_tb_logger_exception_result_retrieved) ... skipped 'requires the C _asyncio module' test_tb_logger_exception_retrieved (test.test_asyncio.test_futures.CFutureTests.test_tb_logger_exception_retrieved) ... skipped 'requires the C _asyncio module' test_tb_logger_exception_unretrieved (test.test_asyncio.test_futures.CFutureTests.test_tb_logger_exception_unretrieved) ... skipped 'requires the C _asyncio module' test_tb_logger_not_called_after_cancel (test.test_asyncio.test_futures.CFutureTests.test_tb_logger_not_called_after_cancel) ... skipped 'requires the C _asyncio module' test_tb_logger_result_retrieved (test.test_asyncio.test_futures.CFutureTests.test_tb_logger_result_retrieved) ... skipped 'requires the C _asyncio module' test_tb_logger_result_unretrieved (test.test_asyncio.test_futures.CFutureTests.test_tb_logger_result_unretrieved) ... skipped 'requires the C _asyncio module' test_uninitialized (test.test_asyncio.test_futures.CFutureTests.test_uninitialized) ... skipped 'requires the C _asyncio module' test_wrap_future (test.test_asyncio.test_futures.CFutureTests.test_wrap_future) ... skipped 'requires the C _asyncio module' test_wrap_future_cancel (test.test_asyncio.test_futures.CFutureTests.test_wrap_future_cancel) ... skipped 'requires the C _asyncio module' test_wrap_future_cancel2 (test.test_asyncio.test_futures.CFutureTests.test_wrap_future_cancel2) ... skipped 'requires the C _asyncio module' test_wrap_future_future (test.test_asyncio.test_futures.CFutureTests.test_wrap_future_future) ... skipped 'requires the C _asyncio module' test_wrap_future_use_global_loop (test.test_asyncio.test_futures.CFutureTests.test_wrap_future_use_global_loop) ... skipped 'requires the C _asyncio module' test_wrap_future_use_running_loop (test.test_asyncio.test_futures.CFutureTests.test_wrap_future_use_running_loop) ... skipped 'requires the C _asyncio module' test_wrap_future_without_loop (test.test_asyncio.test_futures.CFutureTests.test_wrap_future_without_loop) ... skipped 'requires the C _asyncio module' test_yield_from_twice (test.test_asyncio.test_futures.CFutureTests.test_yield_from_twice) ... skipped 'requires the C _asyncio module' test_callbacks_invoked_on_set_exception (test.test_asyncio.test_futures.CSubFutureDoneCallbackTests.test_callbacks_invoked_on_set_exception) ... skipped 'requires the C _asyncio module' test_callbacks_invoked_on_set_result (test.test_asyncio.test_futures.CSubFutureDoneCallbackTests.test_callbacks_invoked_on_set_result) ... skipped 'requires the C _asyncio module' test_callbacks_remove_first_and_second_callback (test.test_asyncio.test_futures.CSubFutureDoneCallbackTests.test_callbacks_remove_first_and_second_callback) ... skipped 'requires the C _asyncio module' test_callbacks_remove_first_callback (test.test_asyncio.test_futures.CSubFutureDoneCallbackTests.test_callbacks_remove_first_callback) ... skipped 'requires the C _asyncio module' test_callbacks_remove_third_callback (test.test_asyncio.test_futures.CSubFutureDoneCallbackTests.test_callbacks_remove_third_callback) ... skipped 'requires the C _asyncio module' test_evil_call_soon_list_mutation (test.test_asyncio.test_futures.CSubFutureDoneCallbackTests.test_evil_call_soon_list_mutation) ... skipped 'requires the C _asyncio module' test_remove_done_callback (test.test_asyncio.test_futures.CSubFutureDoneCallbackTests.test_remove_done_callback) ... skipped 'requires the C _asyncio module' test_remove_done_callbacks_list_clear (test.test_asyncio.test_futures.CSubFutureDoneCallbackTests.test_remove_done_callbacks_list_clear) ... skipped 'requires the C _asyncio module' test_remove_done_callbacks_list_mutation (test.test_asyncio.test_futures.CSubFutureDoneCallbackTests.test_remove_done_callbacks_list_mutation) ... skipped 'requires the C _asyncio module' test_schedule_callbacks_list_mutation_1 (test.test_asyncio.test_futures.CSubFutureDoneCallbackTests.test_schedule_callbacks_list_mutation_1) ... skipped 'requires the C _asyncio module' test_schedule_callbacks_list_mutation_2 (test.test_asyncio.test_futures.CSubFutureDoneCallbackTests.test_schedule_callbacks_list_mutation_2) ... skipped 'requires the C _asyncio module' test_use_after_free_on_fut_callback_0_with_evil__eq__ (test.test_asyncio.test_futures.CSubFutureDoneCallbackTests.test_use_after_free_on_fut_callback_0_with_evil__eq__) ... skipped 'requires the C _asyncio module' test_use_after_free_on_fut_callback_0_with_evil__getattribute__ (test.test_asyncio.test_futures.CSubFutureDoneCallbackTests.test_use_after_free_on_fut_callback_0_with_evil__getattribute__) ... skipped 'requires the C _asyncio module' test_use_after_free_on_fut_context_0_with_evil__getattribute__ (test.test_asyncio.test_futures.CSubFutureDoneCallbackTests.test_use_after_free_on_fut_context_0_with_evil__getattribute__) ... skipped 'requires the C _asyncio module' test_cancel (test.test_asyncio.test_futures.CSubFutureTests.test_cancel) ... skipped 'requires the C _asyncio module' test_constructor_positional (test.test_asyncio.test_futures.CSubFutureTests.test_constructor_positional) ... skipped 'requires the C _asyncio module' test_constructor_use_global_loop (test.test_asyncio.test_futures.CSubFutureTests.test_constructor_use_global_loop) ... skipped 'requires the C _asyncio module' test_constructor_use_running_loop (test.test_asyncio.test_futures.CSubFutureTests.test_constructor_use_running_loop) ... skipped 'requires the C _asyncio module' test_constructor_without_loop (test.test_asyncio.test_futures.CSubFutureTests.test_constructor_without_loop) ... skipped 'requires the C _asyncio module' test_copy_state (test.test_asyncio.test_futures.CSubFutureTests.test_copy_state) ... skipped 'requires the C _asyncio module' test_exception (test.test_asyncio.test_futures.CSubFutureTests.test_exception) ... skipped 'requires the C _asyncio module' test_exception_class (test.test_asyncio.test_futures.CSubFutureTests.test_exception_class) ... skipped 'requires the C _asyncio module' test_future_cancel_message_getter (test.test_asyncio.test_futures.CSubFutureTests.test_future_cancel_message_getter) ... skipped 'requires the C _asyncio module' test_future_cancel_message_setter (test.test_asyncio.test_futures.CSubFutureTests.test_future_cancel_message_setter) ... skipped 'requires the C _asyncio module' test_future_cancelled_exception_refcycles (test.test_asyncio.test_futures.CSubFutureTests.test_future_cancelled_exception_refcycles) ... skipped 'requires the C _asyncio module' test_future_cancelled_result_refcycles (test.test_asyncio.test_futures.CSubFutureTests.test_future_cancelled_result_refcycles) ... skipped 'requires the C _asyncio module' test_future_del_collect (test.test_asyncio.test_futures.CSubFutureTests.test_future_del_collect) ... skipped 'requires the C _asyncio module' test_future_exception_never_retrieved (test.test_asyncio.test_futures.CSubFutureTests.test_future_exception_never_retrieved) ... skipped 'requires the C _asyncio module' test_future_exception_never_retrieved_debug (test.test_asyncio.test_futures.CSubFutureTests.test_future_exception_never_retrieved_debug) ... skipped 'requires the C _asyncio module' test_future_iter_throw (test.test_asyncio.test_futures.CSubFutureTests.test_future_iter_throw) ... skipped 'requires the C _asyncio module' test_future_repr (test.test_asyncio.test_futures.CSubFutureTests.test_future_repr) ... skipped 'requires the C _asyncio module' test_future_source_traceback (test.test_asyncio.test_futures.CSubFutureTests.test_future_source_traceback) ... skipped 'requires the C _asyncio module' test_future_stop_iteration_args (test.test_asyncio.test_futures.CSubFutureTests.test_future_stop_iteration_args) ... skipped 'requires the C _asyncio module' test_generic_alias (test.test_asyncio.test_futures.CSubFutureTests.test_generic_alias) ... skipped 'requires the C _asyncio module' test_initial_state (test.test_asyncio.test_futures.CSubFutureTests.test_initial_state) ... skipped 'requires the C _asyncio module' test_isfuture (test.test_asyncio.test_futures.CSubFutureTests.test_isfuture) ... skipped 'requires the C _asyncio module' test_iter (test.test_asyncio.test_futures.CSubFutureTests.test_iter) ... skipped 'requires the C _asyncio module' test_log_traceback (test.test_asyncio.test_futures.CSubFutureTests.test_log_traceback) ... skipped 'requires the C _asyncio module' test_result (test.test_asyncio.test_futures.CSubFutureTests.test_result) ... skipped 'requires the C _asyncio module' test_set_result_unless_cancelled (test.test_asyncio.test_futures.CSubFutureTests.test_set_result_unless_cancelled) ... skipped 'requires the C _asyncio module' test_stop_iteration_exception (test.test_asyncio.test_futures.CSubFutureTests.test_stop_iteration_exception) ... skipped 'requires the C _asyncio module' test_stop_iteration_subclass_exception (test.test_asyncio.test_futures.CSubFutureTests.test_stop_iteration_subclass_exception) ... skipped 'requires the C _asyncio module' test_tb_logger_abandoned (test.test_asyncio.test_futures.CSubFutureTests.test_tb_logger_abandoned) ... skipped 'requires the C _asyncio module' test_tb_logger_exception_result_retrieved (test.test_asyncio.test_futures.CSubFutureTests.test_tb_logger_exception_result_retrieved) ... skipped 'requires the C _asyncio module' test_tb_logger_exception_retrieved (test.test_asyncio.test_futures.CSubFutureTests.test_tb_logger_exception_retrieved) ... skipped 'requires the C _asyncio module' test_tb_logger_exception_unretrieved (test.test_asyncio.test_futures.CSubFutureTests.test_tb_logger_exception_unretrieved) ... skipped 'requires the C _asyncio module' test_tb_logger_not_called_after_cancel (test.test_asyncio.test_futures.CSubFutureTests.test_tb_logger_not_called_after_cancel) ... skipped 'requires the C _asyncio module' test_tb_logger_result_retrieved (test.test_asyncio.test_futures.CSubFutureTests.test_tb_logger_result_retrieved) ... skipped 'requires the C _asyncio module' test_tb_logger_result_unretrieved (test.test_asyncio.test_futures.CSubFutureTests.test_tb_logger_result_unretrieved) ... skipped 'requires the C _asyncio module' test_uninitialized (test.test_asyncio.test_futures.CSubFutureTests.test_uninitialized) ... skipped 'requires the C _asyncio module' test_wrap_future (test.test_asyncio.test_futures.CSubFutureTests.test_wrap_future) ... skipped 'requires the C _asyncio module' test_wrap_future_cancel (test.test_asyncio.test_futures.CSubFutureTests.test_wrap_future_cancel) ... skipped 'requires the C _asyncio module' test_wrap_future_cancel2 (test.test_asyncio.test_futures.CSubFutureTests.test_wrap_future_cancel2) ... skipped 'requires the C _asyncio module' test_wrap_future_future (test.test_asyncio.test_futures.CSubFutureTests.test_wrap_future_future) ... skipped 'requires the C _asyncio module' test_wrap_future_use_global_loop (test.test_asyncio.test_futures.CSubFutureTests.test_wrap_future_use_global_loop) ... skipped 'requires the C _asyncio module' test_wrap_future_use_running_loop (test.test_asyncio.test_futures.CSubFutureTests.test_wrap_future_use_running_loop) ... skipped 'requires the C _asyncio module' test_wrap_future_without_loop (test.test_asyncio.test_futures.CSubFutureTests.test_wrap_future_without_loop) ... skipped 'requires the C _asyncio module' test_yield_from_twice (test.test_asyncio.test_futures.CSubFutureTests.test_yield_from_twice) ... skipped 'requires the C _asyncio module' test_ensure_future (test.test_asyncio.test_futures.DuckTests.test_ensure_future) ... ok test_wrap_future (test.test_asyncio.test_futures.DuckTests.test_wrap_future) ... ok test_callbacks_invoked_on_set_exception (test.test_asyncio.test_futures.PyFutureDoneCallbackTests.test_callbacks_invoked_on_set_exception) ... ok test_callbacks_invoked_on_set_result (test.test_asyncio.test_futures.PyFutureDoneCallbackTests.test_callbacks_invoked_on_set_result) ... ok test_callbacks_remove_first_and_second_callback (test.test_asyncio.test_futures.PyFutureDoneCallbackTests.test_callbacks_remove_first_and_second_callback) ... ok test_callbacks_remove_first_callback (test.test_asyncio.test_futures.PyFutureDoneCallbackTests.test_callbacks_remove_first_callback) ... ok test_callbacks_remove_third_callback (test.test_asyncio.test_futures.PyFutureDoneCallbackTests.test_callbacks_remove_third_callback) ... ok test_evil_call_soon_list_mutation (test.test_asyncio.test_futures.PyFutureDoneCallbackTests.test_evil_call_soon_list_mutation) ... ok test_remove_done_callback (test.test_asyncio.test_futures.PyFutureDoneCallbackTests.test_remove_done_callback) ... ok test_remove_done_callbacks_list_clear (test.test_asyncio.test_futures.PyFutureDoneCallbackTests.test_remove_done_callbacks_list_clear) ... ok test_remove_done_callbacks_list_mutation (test.test_asyncio.test_futures.PyFutureDoneCallbackTests.test_remove_done_callbacks_list_mutation) ... ok test_schedule_callbacks_list_mutation_1 (test.test_asyncio.test_futures.PyFutureDoneCallbackTests.test_schedule_callbacks_list_mutation_1) ... ok test_schedule_callbacks_list_mutation_2 (test.test_asyncio.test_futures.PyFutureDoneCallbackTests.test_schedule_callbacks_list_mutation_2) ... ok test_use_after_free_on_fut_callback_0_with_evil__eq__ (test.test_asyncio.test_futures.PyFutureDoneCallbackTests.test_use_after_free_on_fut_callback_0_with_evil__eq__) ... ok test_use_after_free_on_fut_callback_0_with_evil__getattribute__ (test.test_asyncio.test_futures.PyFutureDoneCallbackTests.test_use_after_free_on_fut_callback_0_with_evil__getattribute__) ... ok test_use_after_free_on_fut_context_0_with_evil__getattribute__ (test.test_asyncio.test_futures.PyFutureDoneCallbackTests.test_use_after_free_on_fut_context_0_with_evil__getattribute__) ... ok test_inherit_without_calling_super_init (test.test_asyncio.test_futures.PyFutureInheritanceTests.test_inherit_without_calling_super_init) ... ok test_cancel (test.test_asyncio.test_futures.PyFutureTests.test_cancel) ... ok test_constructor_positional (test.test_asyncio.test_futures.PyFutureTests.test_constructor_positional) ... ok test_constructor_use_global_loop (test.test_asyncio.test_futures.PyFutureTests.test_constructor_use_global_loop) ... ok test_constructor_use_running_loop (test.test_asyncio.test_futures.PyFutureTests.test_constructor_use_running_loop) ... ok test_constructor_without_loop (test.test_asyncio.test_futures.PyFutureTests.test_constructor_without_loop) ... ok test_copy_state (test.test_asyncio.test_futures.PyFutureTests.test_copy_state) ... ok test_exception (test.test_asyncio.test_futures.PyFutureTests.test_exception) ... ok test_exception_class (test.test_asyncio.test_futures.PyFutureTests.test_exception_class) ... ok test_future_cancel_message_getter (test.test_asyncio.test_futures.PyFutureTests.test_future_cancel_message_getter) ... ok test_future_cancel_message_setter (test.test_asyncio.test_futures.PyFutureTests.test_future_cancel_message_setter) ... ok test_future_cancelled_exception_refcycles (test.test_asyncio.test_futures.PyFutureTests.test_future_cancelled_exception_refcycles) ... FAIL test_future_cancelled_result_refcycles (test.test_asyncio.test_futures.PyFutureTests.test_future_cancelled_result_refcycles) ... FAIL test_future_del_collect (test.test_asyncio.test_futures.PyFutureTests.test_future_del_collect) ... ok test_future_exception_never_retrieved (test.test_asyncio.test_futures.PyFutureTests.test_future_exception_never_retrieved) ... ok test_future_exception_never_retrieved_debug (test.test_asyncio.test_futures.PyFutureTests.test_future_exception_never_retrieved_debug) ... ok test_future_iter_throw (test.test_asyncio.test_futures.PyFutureTests.test_future_iter_throw) ... FAIL test_future_repr (test.test_asyncio.test_futures.PyFutureTests.test_future_repr) ... ok test_future_source_traceback (test.test_asyncio.test_futures.PyFutureTests.test_future_source_traceback) ... ok test_future_stop_iteration_args (test.test_asyncio.test_futures.PyFutureTests.test_future_stop_iteration_args) ... ok test_generic_alias (test.test_asyncio.test_futures.PyFutureTests.test_generic_alias) ... ok test_initial_state (test.test_asyncio.test_futures.PyFutureTests.test_initial_state) ... ok test_isfuture (test.test_asyncio.test_futures.PyFutureTests.test_isfuture) ... ok test_iter (test.test_asyncio.test_futures.PyFutureTests.test_iter) ... ok test_log_traceback (test.test_asyncio.test_futures.PyFutureTests.test_log_traceback) ... ok test_result (test.test_asyncio.test_futures.PyFutureTests.test_result) ... ok test_set_result_unless_cancelled (test.test_asyncio.test_futures.PyFutureTests.test_set_result_unless_cancelled) ... ok test_stop_iteration_exception (test.test_asyncio.test_futures.PyFutureTests.test_stop_iteration_exception) ... ok test_stop_iteration_subclass_exception (test.test_asyncio.test_futures.PyFutureTests.test_stop_iteration_subclass_exception) ... ok test_tb_logger_abandoned (test.test_asyncio.test_futures.PyFutureTests.test_tb_logger_abandoned) ... ok test_tb_logger_exception_result_retrieved (test.test_asyncio.test_futures.PyFutureTests.test_tb_logger_exception_result_retrieved) ... ok test_tb_logger_exception_retrieved (test.test_asyncio.test_futures.PyFutureTests.test_tb_logger_exception_retrieved) ... ok test_tb_logger_exception_unretrieved (test.test_asyncio.test_futures.PyFutureTests.test_tb_logger_exception_unretrieved) ... ok test_tb_logger_not_called_after_cancel (test.test_asyncio.test_futures.PyFutureTests.test_tb_logger_not_called_after_cancel) ... ok test_tb_logger_result_retrieved (test.test_asyncio.test_futures.PyFutureTests.test_tb_logger_result_retrieved) ... ok test_tb_logger_result_unretrieved (test.test_asyncio.test_futures.PyFutureTests.test_tb_logger_result_unretrieved) ... ok test_uninitialized (test.test_asyncio.test_futures.PyFutureTests.test_uninitialized) ... ok test_wrap_future (test.test_asyncio.test_futures.PyFutureTests.test_wrap_future) ... ok test_wrap_future_cancel (test.test_asyncio.test_futures.PyFutureTests.test_wrap_future_cancel) ... ok test_wrap_future_cancel2 (test.test_asyncio.test_futures.PyFutureTests.test_wrap_future_cancel2) ... ok test_wrap_future_future (test.test_asyncio.test_futures.PyFutureTests.test_wrap_future_future) ... ok test_wrap_future_use_global_loop (test.test_asyncio.test_futures.PyFutureTests.test_wrap_future_use_global_loop) ... ok test_wrap_future_use_running_loop (test.test_asyncio.test_futures.PyFutureTests.test_wrap_future_use_running_loop) ... ok test_wrap_future_without_loop (test.test_asyncio.test_futures.PyFutureTests.test_wrap_future_without_loop) ... ok test_yield_from_twice (test.test_asyncio.test_futures.PyFutureTests.test_yield_from_twice) ... ok ====================================================================== FAIL: test_future_cancelled_exception_refcycles (test.test_asyncio.test_futures.PyFutureTests.test_future_cancelled_exception_refcycles) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_futures.py", line 682, in test_future_cancelled_exception_refcycles self.assertListEqual(gc.get_referrers(exc), []) ^^^^^^^^^^^^^^^ AssertionError: Lists differ: [<frame at 0x000000000559ede0, file '/buil[159 chars](),)] != [] First list contains 2 additional elements. First extra element 0: <frame at 0x000000000559ede0, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_futures.py', line 682, code test_future_cancelled_exception_refcycles> + [] - [<frame at 0x000000000559ede0, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_futures.py', line 682, code test_future_cancelled_exception_refcycles>, - (CancelledError(),)] ====================================================================== FAIL: test_future_cancelled_result_refcycles (test.test_asyncio.test_futures.PyFutureTests.test_future_cancelled_result_refcycles) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_futures.py", line 671, in test_future_cancelled_result_refcycles self.assertListEqual(gc.get_referrers(exc), []) ^^^^^^^^^^^^^^^ AssertionError: Lists differ: [<frame at 0x000000000310c808, file '/buil[156 chars](),)] != [] First list contains 2 additional elements. First extra element 0: <frame at 0x000000000310c808, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_futures.py', line 671, code test_future_cancelled_result_refcycles> + [] - [<frame at 0x000000000310c808, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_futures.py', line 671, code test_future_cancelled_result_refcycles>, - (CancelledError(),)] ====================================================================== FAIL: test_future_iter_throw (test.test_asyncio.test_futures.PyFutureTests.test_future_iter_throw) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_futures.py", line 641, in test_future_iter_throw with self.assertWarns(DeprecationWarning): AssertionError: DeprecationWarning not triggered ---------------------------------------------------------------------- Ran 181 tests in 2.397s FAILED (failures=3, skipped=120) 0:00:25 load avg: 1.66 [ 6/31/2] test_asyncio.test_futures failed (3 failures) 0:00:25 load avg: 1.66 [ 7/31/2] test_asyncio.test_futures2 0:00:25 load avg: 1.66 [ 7/31/3] test_asyncio.test_futures2 failed (uncaught exception) 0:00:25 load avg: 1.66 [ 8/31/3] test_asyncio.test_locks test_abort_barrier (test.test_asyncio.test_locks.BarrierTests.test_abort_barrier) ... ok test_abort_barrier_when_exception (test.test_asyncio.test_locks.BarrierTests.test_abort_barrier_when_exception) ... ok test_abort_barrier_when_exception_then_resetting (test.test_asyncio.test_locks.BarrierTests.test_abort_barrier_when_exception_then_resetting) ... ok test_abort_barrier_when_tasks_half_draining_half_blocking (test.test_asyncio.test_locks.BarrierTests.test_abort_barrier_when_tasks_half_draining_half_blocking) ... ok test_barrier (test.test_asyncio.test_locks.BarrierTests.test_barrier) ... ok test_barrier_parties (test.test_asyncio.test_locks.BarrierTests.test_barrier_parties) ... ok test_blocking_tasks_while_draining (test.test_asyncio.test_locks.BarrierTests.test_blocking_tasks_while_draining) ... ok test_context_manager (test.test_asyncio.test_locks.BarrierTests.test_context_manager) ... ok test_draining_state (test.test_asyncio.test_locks.BarrierTests.test_draining_state) ... ok test_filling_one_task (test.test_asyncio.test_locks.BarrierTests.test_filling_one_task) ... ok test_filling_one_task_twice (test.test_asyncio.test_locks.BarrierTests.test_filling_one_task_twice) ... ok test_filling_task_by_task (test.test_asyncio.test_locks.BarrierTests.test_filling_task_by_task) ... ok test_filling_tasks_cancel_one (test.test_asyncio.test_locks.BarrierTests.test_filling_tasks_cancel_one) ... ok test_filling_tasks_check_return_value (test.test_asyncio.test_locks.BarrierTests.test_filling_tasks_check_return_value) ... ok test_filling_tasks_wait_twice (test.test_asyncio.test_locks.BarrierTests.test_filling_tasks_wait_twice) ... ok test_repr (test.test_asyncio.test_locks.BarrierTests.test_repr) ... ok test_reset_barrier (test.test_asyncio.test_locks.BarrierTests.test_reset_barrier) ... ok test_reset_barrier_when_tasks_half_draining (test.test_asyncio.test_locks.BarrierTests.test_reset_barrier_when_tasks_half_draining) ... ok test_reset_barrier_when_tasks_half_draining_half_blocking (test.test_asyncio.test_locks.BarrierTests.test_reset_barrier_when_tasks_half_draining_half_blocking) ... ok test_reset_barrier_while_tasks_draining (test.test_asyncio.test_locks.BarrierTests.test_reset_barrier_while_tasks_draining) ... ok test_reset_barrier_while_tasks_waiting (test.test_asyncio.test_locks.BarrierTests.test_reset_barrier_while_tasks_waiting) ... ok test_reset_barrier_while_tasks_waiting_and_waiting_again (test.test_asyncio.test_locks.BarrierTests.test_reset_barrier_while_tasks_waiting_and_waiting_again) ... ok test_ambiguous_loops (test.test_asyncio.test_locks.ConditionTests.test_ambiguous_loops) ... ok test_context_manager (test.test_asyncio.test_locks.ConditionTests.test_context_manager) ... ok test_explicit_lock (test.test_asyncio.test_locks.ConditionTests.test_explicit_lock) ... ok test_notify (test.test_asyncio.test_locks.ConditionTests.test_notify) ... ok test_notify_all (test.test_asyncio.test_locks.ConditionTests.test_notify_all) ... ok test_notify_all_unacquired (test.test_asyncio.test_locks.ConditionTests.test_notify_all_unacquired) ... ok test_notify_unacquired (test.test_asyncio.test_locks.ConditionTests.test_notify_unacquired) ... ok test_repr (test.test_asyncio.test_locks.ConditionTests.test_repr) ... ok test_timeout_in_block (test.test_asyncio.test_locks.ConditionTests.test_timeout_in_block) ... ok test_wait (test.test_asyncio.test_locks.ConditionTests.test_wait) ... ok test_wait_cancel (test.test_asyncio.test_locks.ConditionTests.test_wait_cancel) ... ok test_wait_cancel_after_notify (test.test_asyncio.test_locks.ConditionTests.test_wait_cancel_after_notify) ... ok test_wait_cancel_contested (test.test_asyncio.test_locks.ConditionTests.test_wait_cancel_contested) ... ok test_wait_for (test.test_asyncio.test_locks.ConditionTests.test_wait_for) ... ok test_wait_for_unacquired (test.test_asyncio.test_locks.ConditionTests.test_wait_for_unacquired) ... ok test_wait_unacquired (test.test_asyncio.test_locks.ConditionTests.test_wait_unacquired) ... ok test_clear (test.test_asyncio.test_locks.EventTests.test_clear) ... ok test_clear_with_waiters (test.test_asyncio.test_locks.EventTests.test_clear_with_waiters) ... ok test_repr (test.test_asyncio.test_locks.EventTests.test_repr) ... ok test_wait (test.test_asyncio.test_locks.EventTests.test_wait) ... ok test_wait_cancel (test.test_asyncio.test_locks.EventTests.test_wait_cancel) ... ok test_wait_on_set (test.test_asyncio.test_locks.EventTests.test_wait_on_set) ... ok test_acquire (test.test_asyncio.test_locks.LockTests.test_acquire) ... ok test_acquire_cancel (test.test_asyncio.test_locks.LockTests.test_acquire_cancel) ... ok test_cancel_race (test.test_asyncio.test_locks.LockTests.test_cancel_race) ... ok test_cancel_release_race (test.test_asyncio.test_locks.LockTests.test_cancel_release_race) ... ok test_context_manager (test.test_asyncio.test_locks.LockTests.test_context_manager) ... ok test_finished_waiter_cancelled (test.test_asyncio.test_locks.LockTests.test_finished_waiter_cancelled) ... ok test_lock (test.test_asyncio.test_locks.LockTests.test_lock) ... ok test_lock_by_with_statement (test.test_asyncio.test_locks.LockTests.test_lock_by_with_statement) ... ok test_lock_doesnt_accept_loop_parameter (test.test_asyncio.test_locks.LockTests.test_lock_doesnt_accept_loop_parameter) ... ok test_release_no_waiters (test.test_asyncio.test_locks.LockTests.test_release_no_waiters) ... ok test_release_not_acquired (test.test_asyncio.test_locks.LockTests.test_release_not_acquired) ... ok test_repr (test.test_asyncio.test_locks.LockTests.test_repr) ... ok test_acquire (test.test_asyncio.test_locks.SemaphoreTests.test_acquire) ... ok test_acquire_cancel (test.test_asyncio.test_locks.SemaphoreTests.test_acquire_cancel) ... ok test_acquire_cancel_before_awoken (test.test_asyncio.test_locks.SemaphoreTests.test_acquire_cancel_before_awoken) ... ok test_acquire_fifo_order (test.test_asyncio.test_locks.SemaphoreTests.test_acquire_fifo_order) ... ok test_acquire_fifo_order_2 (test.test_asyncio.test_locks.SemaphoreTests.test_acquire_fifo_order_2) ... ok test_acquire_fifo_order_3 (test.test_asyncio.test_locks.SemaphoreTests.test_acquire_fifo_order_3) ... ok test_acquire_hang (test.test_asyncio.test_locks.SemaphoreTests.test_acquire_hang) ... ok test_acquire_no_hang (test.test_asyncio.test_locks.SemaphoreTests.test_acquire_no_hang) ... ok test_initial_value_zero (test.test_asyncio.test_locks.SemaphoreTests.test_initial_value_zero) ... ok test_release_no_waiters (test.test_asyncio.test_locks.SemaphoreTests.test_release_no_waiters) ... ok test_release_not_acquired (test.test_asyncio.test_locks.SemaphoreTests.test_release_not_acquired) ... ok test_repr (test.test_asyncio.test_locks.SemaphoreTests.test_repr) ... ok test_semaphore (test.test_asyncio.test_locks.SemaphoreTests.test_semaphore) ... ok test_semaphore_value (test.test_asyncio.test_locks.SemaphoreTests.test_semaphore_value) ... ok ---------------------------------------------------------------------- Ran 70 tests in 0.925s OK 0:00:26 load avg: 1.66 [ 8/31/3] test_asyncio.test_locks passed 0:00:26 load avg: 1.66 [ 9/31/3] test_asyncio.test_pep492 test_async_def_coroutines (test.test_asyncio.test_pep492.CoroutineTests.test_async_def_coroutines) ... ok test_debug_mode_manages_coroutine_origin_tracking (test.test_asyncio.test_pep492.CoroutineTests.test_debug_mode_manages_coroutine_origin_tracking) ... ok test_double_await (test.test_asyncio.test_pep492.CoroutineTests.test_double_await) ... ok test_iscoroutine (test.test_asyncio.test_pep492.CoroutineTests.test_iscoroutine) ... ok test_iscoroutine_generator (test.test_asyncio.test_pep492.CoroutineTests.test_iscoroutine_generator) ... ok test_iscoroutinefunction (test.test_asyncio.test_pep492.CoroutineTests.test_iscoroutinefunction) ... ok test_task_print_stack (test.test_asyncio.test_pep492.CoroutineTests.test_task_print_stack) ... ok test_types_coroutine (test.test_asyncio.test_pep492.CoroutineTests.test_types_coroutine) ... ok test_context_manager_async_with (test.test_asyncio.test_pep492.LockTests.test_context_manager_async_with) ... ok test_context_manager_with_await (test.test_asyncio.test_pep492.LockTests.test_context_manager_with_await) ... ok test_readline (test.test_asyncio.test_pep492.StreamReaderTests.test_readline) ... ok ---------------------------------------------------------------------- Ran 11 tests in 0.167s OK 0:00:26 load avg: 1.66 [ 9/31/3] test_asyncio.test_pep492 passed 0:00:26 load avg: 1.66 [10/31/3] test_asyncio.test_proactor_events test_close (test.test_asyncio.test_proactor_events.BaseProactorEventLoopTests.test_close) ... ok test_close_self_pipe (test.test_asyncio.test_proactor_events.BaseProactorEventLoopTests.test_close_self_pipe) ... ok test_create_server (test.test_asyncio.test_proactor_events.BaseProactorEventLoopTests.test_create_server) ... ok test_create_server_cancel (test.test_asyncio.test_proactor_events.BaseProactorEventLoopTests.test_create_server_cancel) ... ok test_ctor (test.test_asyncio.test_proactor_events.BaseProactorEventLoopTests.test_ctor) ... ok test_datagram_loop_reading (test.test_asyncio.test_proactor_events.BaseProactorEventLoopTests.test_datagram_loop_reading) ... ok test_datagram_loop_reading_aborted (test.test_asyncio.test_proactor_events.BaseProactorEventLoopTests.test_datagram_loop_reading_aborted) ... ok test_datagram_loop_reading_data (test.test_asyncio.test_proactor_events.BaseProactorEventLoopTests.test_datagram_loop_reading_data) ... ok test_datagram_loop_reading_no_data (test.test_asyncio.test_proactor_events.BaseProactorEventLoopTests.test_datagram_loop_reading_no_data) ... ok test_datagram_loop_writing (test.test_asyncio.test_proactor_events.BaseProactorEventLoopTests.test_datagram_loop_writing) ... ok test_datagram_loop_writing_aborted (test.test_asyncio.test_proactor_events.BaseProactorEventLoopTests.test_datagram_loop_writing_aborted) ... ok test_loop_self_reading (test.test_asyncio.test_proactor_events.BaseProactorEventLoopTests.test_loop_self_reading) ... ok test_loop_self_reading_exception (test.test_asyncio.test_proactor_events.BaseProactorEventLoopTests.test_loop_self_reading_exception) ... ok test_loop_self_reading_fut (test.test_asyncio.test_proactor_events.BaseProactorEventLoopTests.test_loop_self_reading_fut) ... ok test_make_datagram_transport (test.test_asyncio.test_proactor_events.BaseProactorEventLoopTests.test_make_datagram_transport) ... ok test_make_socket_transport (test.test_asyncio.test_proactor_events.BaseProactorEventLoopTests.test_make_socket_transport) ... ok test_process_events (test.test_asyncio.test_proactor_events.BaseProactorEventLoopTests.test_process_events) ... ok test_stop_serving (test.test_asyncio.test_proactor_events.BaseProactorEventLoopTests.test_stop_serving) ... ok test_write_to_self (test.test_asyncio.test_proactor_events.BaseProactorEventLoopTests.test_write_to_self) ... ok test__loop_writing_closing (test.test_asyncio.test_proactor_events.ProactorDatagramTransportTests.test__loop_writing_closing) ... ok test__loop_writing_error_received (test.test_asyncio.test_proactor_events.ProactorDatagramTransportTests.test__loop_writing_error_received) ... ok test__loop_writing_error_received_connection (test.test_asyncio.test_proactor_events.ProactorDatagramTransportTests.test__loop_writing_error_received_connection) ... ok test__loop_writing_exception (test.test_asyncio.test_proactor_events.ProactorDatagramTransportTests.test__loop_writing_exception) ... ok test_fatal_error_connected (test.test_asyncio.test_proactor_events.ProactorDatagramTransportTests.test_fatal_error_connected) ... ok test_sendto (test.test_asyncio.test_proactor_events.ProactorDatagramTransportTests.test_sendto) ... ok test_sendto_buffer (test.test_asyncio.test_proactor_events.ProactorDatagramTransportTests.test_sendto_buffer) ... ok test_sendto_buffer_bytearray (test.test_asyncio.test_proactor_events.ProactorDatagramTransportTests.test_sendto_buffer_bytearray) ... ok test_sendto_buffer_memoryview (test.test_asyncio.test_proactor_events.ProactorDatagramTransportTests.test_sendto_buffer_memoryview) ... ok test_sendto_bytearray (test.test_asyncio.test_proactor_events.ProactorDatagramTransportTests.test_sendto_bytearray) ... ok test_sendto_closing (test.test_asyncio.test_proactor_events.ProactorDatagramTransportTests.test_sendto_closing) ... ok test_sendto_connected_addr (test.test_asyncio.test_proactor_events.ProactorDatagramTransportTests.test_sendto_connected_addr) ... ok test_sendto_error_received (test.test_asyncio.test_proactor_events.ProactorDatagramTransportTests.test_sendto_error_received) ... ok test_sendto_error_received_connected (test.test_asyncio.test_proactor_events.ProactorDatagramTransportTests.test_sendto_error_received_connected) ... ok test_sendto_exception (test.test_asyncio.test_proactor_events.ProactorDatagramTransportTests.test_sendto_exception) ... ok test_sendto_memoryview (test.test_asyncio.test_proactor_events.ProactorDatagramTransportTests.test_sendto_memoryview) ... ok test_sendto_no_data (test.test_asyncio.test_proactor_events.ProactorDatagramTransportTests.test_sendto_no_data) ... ok test_sendto_str (test.test_asyncio.test_proactor_events.ProactorDatagramTransportTests.test_sendto_str) ... ok test_blocking_socket (test.test_asyncio.test_proactor_events.ProactorEventLoopUnixSockSendfileTests.test_blocking_socket) ... skipped 'Proactor is supported on Windows only' test_sock_sendfile_iobuffer (test.test_asyncio.test_proactor_events.ProactorEventLoopUnixSockSendfileTests.test_sock_sendfile_iobuffer) ... skipped 'Proactor is supported on Windows only' test_sock_sendfile_not_a_file (test.test_asyncio.test_proactor_events.ProactorEventLoopUnixSockSendfileTests.test_sock_sendfile_not_a_file) ... skipped 'Proactor is supported on Windows only' test_sock_sendfile_not_regular_file (test.test_asyncio.test_proactor_events.ProactorEventLoopUnixSockSendfileTests.test_sock_sendfile_not_regular_file) ... skipped 'Proactor is supported on Windows only' test_abort (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_abort) ... ok test_call_connection_lost (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_call_connection_lost) ... ok test_close (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_close) ... ok test_close_buffer (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_close_buffer) ... ok test_close_invalid_sockobj (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_close_invalid_sockobj) ... ok test_close_protocol_connection_lost_once (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_close_protocol_connection_lost_once) ... ok test_close_write_fut (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_close_write_fut) ... ok test_ctor (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_ctor) ... ok test_dont_pause_writing (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_dont_pause_writing) ... ok test_fatal_error (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_fatal_error) ... ok test_fatal_error_2 (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_fatal_error_2) ... ok test_force_close (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_force_close) ... ok test_force_close_idempotent (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_force_close_idempotent) ... ok test_force_close_protocol_connection_lost_once (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_force_close_protocol_connection_lost_once) ... ok test_loop_reading (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_loop_reading) ... ok test_loop_reading_aborted (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_loop_reading_aborted) ... ok test_loop_reading_aborted_closing (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_loop_reading_aborted_closing) ... ok test_loop_reading_aborted_is_fatal (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_loop_reading_aborted_is_fatal) ... ok test_loop_reading_conn_reset_lost (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_loop_reading_conn_reset_lost) ... ok test_loop_reading_data (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_loop_reading_data) ... ok test_loop_reading_exception (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_loop_reading_exception) ... ok test_loop_reading_no_data (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_loop_reading_no_data) ... ok test_loop_writing (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_loop_writing) ... ok test_loop_writing_closing (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_loop_writing_closing) ... ok test_loop_writing_err (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_loop_writing_err) ... ok test_loop_writing_force_close (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_loop_writing_force_close) ... ok test_loop_writing_stop (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_loop_writing_stop) ... ok test_pause_reading_connection_made (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_pause_reading_connection_made) ... ok test_pause_resume_reading (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_pause_resume_reading) ... ok test_pause_resume_writing (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_pause_resume_writing) ... ok test_pause_writing_2write (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_pause_writing_2write) ... ok test_pause_writing_3write (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_pause_writing_3write) ... ok test_write (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_write) ... ok test_write_eof (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_write_eof) ... ok test_write_eof_buffer (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_write_eof_buffer) ... ok test_write_eof_buffer_write_pipe (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_write_eof_buffer_write_pipe) ... ok test_write_eof_duplex_pipe (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_write_eof_duplex_pipe) ... ok test_write_eof_write_pipe (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_write_eof_write_pipe) ... ok test_write_more (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_write_more) ... ok test_write_no_data (test.test_asyncio.test_proactor_events.ProactorSocketTransportTests.test_write_no_data) ... ok ---------------------------------------------------------------------- Ran 81 tests in 0.298s OK (skipped=4) 0:00:27 load avg: 1.66 [10/31/3] test_asyncio.test_proactor_events passed 0:00:27 load avg: 1.66 [11/31/3] test_asyncio.test_protocols test_base_protocol (test.test_asyncio.test_protocols.ProtocolsAbsTests.test_base_protocol) ... ok test_buffered_protocol (test.test_asyncio.test_protocols.ProtocolsAbsTests.test_buffered_protocol) ... ok test_datagram_protocol (test.test_asyncio.test_protocols.ProtocolsAbsTests.test_datagram_protocol) ... ok test_protocol (test.test_asyncio.test_protocols.ProtocolsAbsTests.test_protocol) ... ok test_subprocess_protocol (test.test_asyncio.test_protocols.ProtocolsAbsTests.test_subprocess_protocol) ... ok ---------------------------------------------------------------------- Ran 5 tests in 0.001s OK 0:00:27 load avg: 1.66 [11/31/3] test_asyncio.test_protocols passed 0:00:27 load avg: 1.66 [12/31/3] test_asyncio.test_queues test_format (test.test_asyncio.test_queues.LifoQueueJoinTests.test_format) ... ok test_join_empty_queue (test.test_asyncio.test_queues.LifoQueueJoinTests.test_join_empty_queue) ... ok test_task_done (test.test_asyncio.test_queues.LifoQueueJoinTests.test_task_done) ... ok test_task_done_underflow (test.test_asyncio.test_queues.LifoQueueJoinTests.test_task_done_underflow) ... ok test_order (test.test_asyncio.test_queues.LifoQueueTests.test_order) ... ok test_format (test.test_asyncio.test_queues.PriorityQueueJoinTests.test_format) ... ok test_join_empty_queue (test.test_asyncio.test_queues.PriorityQueueJoinTests.test_join_empty_queue) ... ok test_task_done (test.test_asyncio.test_queues.PriorityQueueJoinTests.test_task_done) ... ok test_task_done_underflow (test.test_asyncio.test_queues.PriorityQueueJoinTests.test_task_done_underflow) ... ok test_order (test.test_asyncio.test_queues.PriorityQueueTests.test_order) ... ok test_empty (test.test_asyncio.test_queues.QueueBasicTests.test_empty) ... ok test_full (test.test_asyncio.test_queues.QueueBasicTests.test_full) ... ok test_generic_alias (test.test_asyncio.test_queues.QueueBasicTests.test_generic_alias) ... ok test_maxsize (test.test_asyncio.test_queues.QueueBasicTests.test_maxsize) ... ok test_order (test.test_asyncio.test_queues.QueueBasicTests.test_order) ... ok test_repr (test.test_asyncio.test_queues.QueueBasicTests.test_repr) ... ok test_str (test.test_asyncio.test_queues.QueueBasicTests.test_str) ... ok test_blocking_get (test.test_asyncio.test_queues.QueueGetTests.test_blocking_get) ... ok test_blocking_get_wait (test.test_asyncio.test_queues.QueueGetTests.test_blocking_get_wait) ... ok test_cancelled_getters_not_being_held_in_self_getters (test.test_asyncio.test_queues.QueueGetTests.test_cancelled_getters_not_being_held_in_self_getters) ... ok test_get_cancelled_race (test.test_asyncio.test_queues.QueueGetTests.test_get_cancelled_race) ... ok test_get_with_putters (test.test_asyncio.test_queues.QueueGetTests.test_get_with_putters) ... ok test_get_with_waiting_putters (test.test_asyncio.test_queues.QueueGetTests.test_get_with_waiting_putters) ... ok test_nonblocking_get (test.test_asyncio.test_queues.QueueGetTests.test_nonblocking_get) ... ok test_nonblocking_get_exception (test.test_asyncio.test_queues.QueueGetTests.test_nonblocking_get_exception) ... ok test_why_are_getters_waiting (test.test_asyncio.test_queues.QueueGetTests.test_why_are_getters_waiting) ... ok test_format (test.test_asyncio.test_queues.QueueJoinTests.test_format) ... ok test_join_empty_queue (test.test_asyncio.test_queues.QueueJoinTests.test_join_empty_queue) ... ok test_task_done (test.test_asyncio.test_queues.QueueJoinTests.test_task_done) ... ok test_task_done_underflow (test.test_asyncio.test_queues.QueueJoinTests.test_task_done_underflow) ... ok test_blocking_put (test.test_asyncio.test_queues.QueuePutTests.test_blocking_put) ... ok test_blocking_put_wait (test.test_asyncio.test_queues.QueuePutTests.test_blocking_put_wait) ... ok test_cancelled_put_silence_value_error_exception (test.test_asyncio.test_queues.QueuePutTests.test_cancelled_put_silence_value_error_exception) ... ok test_cancelled_puts_not_being_held_in_self_putters (test.test_asyncio.test_queues.QueuePutTests.test_cancelled_puts_not_being_held_in_self_putters) ... ok test_float_maxsize (test.test_asyncio.test_queues.QueuePutTests.test_float_maxsize) ... ok test_get_cancel_drop_many_pending_readers (test.test_asyncio.test_queues.QueuePutTests.test_get_cancel_drop_many_pending_readers) ... ok test_get_cancel_drop_one_pending_reader (test.test_asyncio.test_queues.QueuePutTests.test_get_cancel_drop_one_pending_reader) ... ok test_nonblocking_put (test.test_asyncio.test_queues.QueuePutTests.test_nonblocking_put) ... ok test_nonblocking_put_exception (test.test_asyncio.test_queues.QueuePutTests.test_nonblocking_put_exception) ... ok test_put_cancel_drop (test.test_asyncio.test_queues.QueuePutTests.test_put_cancel_drop) ... ok test_put_cancelled (test.test_asyncio.test_queues.QueuePutTests.test_put_cancelled) ... ok test_put_cancelled_race (test.test_asyncio.test_queues.QueuePutTests.test_put_cancelled_race) ... ok test_put_with_waiting_getters (test.test_asyncio.test_queues.QueuePutTests.test_put_with_waiting_getters) ... ok test_why_are_putters_waiting (test.test_asyncio.test_queues.QueuePutTests.test_why_are_putters_waiting) ... ok ---------------------------------------------------------------------- Ran 44 tests in 0.241s OK 0:00:27 load avg: 1.66 [12/31/3] test_asyncio.test_queues passed 0:00:27 load avg: 1.66 [13/31/3] test_asyncio.test_runners test_asyncio_run_cancels_hanging_tasks (test.test_asyncio.test_runners.RunTests.test_asyncio_run_cancels_hanging_tasks) ... ok test_asyncio_run_closes_gens_after_hanging_tasks_errors (test.test_asyncio.test_runners.RunTests.test_asyncio_run_closes_gens_after_hanging_tasks_errors) ... ok test_asyncio_run_debug (test.test_asyncio.test_runners.RunTests.test_asyncio_run_debug) ... ok test_asyncio_run_from_running_loop (test.test_asyncio.test_runners.RunTests.test_asyncio_run_from_running_loop) ... ok test_asyncio_run_loop_factory (test.test_asyncio.test_runners.RunTests.test_asyncio_run_loop_factory) ... ok test_asyncio_run_only_coro (test.test_asyncio.test_runners.RunTests.test_asyncio_run_only_coro) ... ok test_asyncio_run_raises (test.test_asyncio.test_runners.RunTests.test_asyncio_run_raises) ... ok test_asyncio_run_reports_hanging_tasks_errors (test.test_asyncio.test_runners.RunTests.test_asyncio_run_reports_hanging_tasks_errors) ... ok test_asyncio_run_return (test.test_asyncio.test_runners.RunTests.test_asyncio_run_return) ... ok test_asyncio_run_set_event_loop (test.test_asyncio.test_runners.RunTests.test_asyncio_run_set_event_loop) ... ok test_asyncio_run_without_uncancel (test.test_asyncio.test_runners.RunTests.test_asyncio_run_without_uncancel) ... ok test_custom_factory (test.test_asyncio.test_runners.RunnerTests.test_custom_factory) ... ok test_debug (test.test_asyncio.test_runners.RunnerTests.test_debug) ... ok test_double_close (test.test_asyncio.test_runners.RunnerTests.test_double_close) ... ok test_explicit_close (test.test_asyncio.test_runners.RunnerTests.test_explicit_close) ... ok test_interrupt_call_soon (test.test_asyncio.test_runners.RunnerTests.test_interrupt_call_soon) ... ok test_interrupt_cancelled_task (test.test_asyncio.test_runners.RunnerTests.test_interrupt_cancelled_task) ... ok test_interrupt_wait (test.test_asyncio.test_runners.RunnerTests.test_interrupt_wait) ... ok test_no_repr_is_call_on_the_task_result (test.test_asyncio.test_runners.RunnerTests.test_no_repr_is_call_on_the_task_result) ... ok test_non_debug (test.test_asyncio.test_runners.RunnerTests.test_non_debug) ... ok test_recursive_run (test.test_asyncio.test_runners.RunnerTests.test_recursive_run) ... FAIL test_run (test.test_asyncio.test_runners.RunnerTests.test_run) ... ok test_run_future (test.test_asyncio.test_runners.RunnerTests.test_run_future) ... ok test_run_keeps_context (test.test_asyncio.test_runners.RunnerTests.test_run_keeps_context) ... ok test_run_non_coro (test.test_asyncio.test_runners.RunnerTests.test_run_non_coro) ... ok test_second_with_block_raises (test.test_asyncio.test_runners.RunnerTests.test_second_with_block_raises) ... ok test_set_event_loop_called_once (test.test_asyncio.test_runners.RunnerTests.test_set_event_loop_called_once) ... ok test_signal_install_not_supported_ok (test.test_asyncio.test_runners.RunnerTests.test_signal_install_not_supported_ok) ... ok ====================================================================== FAIL: test_recursive_run (test.test_asyncio.test_runners.RunnerTests.test_recursive_run) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_runners.py", line 391, in test_recursive_run with self.assertWarnsRegex( AssertionError: RuntimeWarning not triggered ---------------------------------------------------------------------- Ran 28 tests in 0.288s FAILED (failures=1) 0:00:28 load avg: 1.69 [13/31/4] test_asyncio.test_runners failed (1 failure) 0:00:28 load avg: 1.69 [14/31/4] test_asyncio.test_selector_events test_accept_connection_multiple (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_accept_connection_multiple) ... ok test_add_reader (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_add_reader) ... ok test_add_reader_existing (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_add_reader_existing) ... ok test_add_reader_existing_writer (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_add_reader_existing_writer) ... ok test_add_writer (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_add_writer) ... ok test_add_writer_existing (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_add_writer_existing) ... ok test_close (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_close) ... ok test_close_no_selector (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_close_no_selector) ... ok test_make_socket_transport (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_make_socket_transport) ... ok test_make_ssl_transport_without_ssl_error (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_make_ssl_transport_without_ssl_error) ... ok test_process_events_read (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_process_events_read) ... ok test_process_events_read_cancelled (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_process_events_read_cancelled) ... ok test_process_events_write (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_process_events_write) ... ok test_process_events_write_cancelled (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_process_events_write_cancelled) ... ok test_read_from_self_exception (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_read_from_self_exception) ... ok test_read_from_self_tryagain (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_read_from_self_tryagain) ... ok test_remove_reader (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_remove_reader) ... ok test_remove_reader_read_write (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_remove_reader_read_write) ... ok test_remove_reader_unknown (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_remove_reader_unknown) ... ok test_remove_writer (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_remove_writer) ... ok test_remove_writer_read_write (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_remove_writer_read_write) ... ok test_remove_writer_unknown (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_remove_writer_unknown) ... ok test_sock_connect_resolve_using_socket_params (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_sock_connect_resolve_using_socket_params) ... ok test_write_to_self_exception (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_write_to_self_exception) ... ok test_write_to_self_tryagain (test.test_asyncio.test_selector_events.BaseSelectorEventLoopTests.test_write_to_self_tryagain) ... ok test_fatal_error_connected (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_fatal_error_connected) ... ok test_fatal_error_connected_custom_error (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_fatal_error_connected_custom_error) ... ok test_read_ready (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_read_ready) ... ok test_read_ready_err (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_read_ready_err) ... ok test_read_ready_oserr (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_read_ready_oserr) ... ok test_read_ready_tryagain (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_read_ready_tryagain) ... ok test_sendto (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_sendto) ... ok test_sendto_buffer (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_sendto_buffer) ... ok test_sendto_buffer_bytearray (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_sendto_buffer_bytearray) ... ok test_sendto_buffer_memoryview (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_sendto_buffer_memoryview) ... ok test_sendto_bytearray (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_sendto_bytearray) ... ok test_sendto_closing (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_sendto_closing) ... ok test_sendto_connected_addr (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_sendto_connected_addr) ... ok test_sendto_error_received (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_sendto_error_received) ... ok test_sendto_error_received_connected (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_sendto_error_received_connected) ... ok test_sendto_exception (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_sendto_exception) ... ok test_sendto_memoryview (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_sendto_memoryview) ... ok test_sendto_no_data (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_sendto_no_data) ... ok test_sendto_ready (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_sendto_ready) ... ok test_sendto_ready_closing (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_sendto_ready_closing) ... ok test_sendto_ready_error_received (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_sendto_ready_error_received) ... ok test_sendto_ready_error_received_connection (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_sendto_ready_error_received_connection) ... ok test_sendto_ready_exception (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_sendto_ready_exception) ... ok test_sendto_ready_no_data (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_sendto_ready_no_data) ... ok test_sendto_ready_tryagain (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_sendto_ready_tryagain) ... ok test_sendto_str (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_sendto_str) ... ok test_sendto_tryagain (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_sendto_tryagain) ... ok test_transport_inheritance (test.test_asyncio.test_selector_events.SelectorDatagramTransportTests.test_transport_inheritance) ... ok test_buffer_updated_error (test.test_asyncio.test_selector_events.SelectorSocketTransportBufferedProtocolTests.test_buffer_updated_error) ... ok test_ctor (test.test_asyncio.test_selector_events.SelectorSocketTransportBufferedProtocolTests.test_ctor) ... ok test_get_buffer_error (test.test_asyncio.test_selector_events.SelectorSocketTransportBufferedProtocolTests.test_get_buffer_error) ... ok test_get_buffer_zerosized (test.test_asyncio.test_selector_events.SelectorSocketTransportBufferedProtocolTests.test_get_buffer_zerosized) ... ok test_proto_type_switch (test.test_asyncio.test_selector_events.SelectorSocketTransportBufferedProtocolTests.test_proto_type_switch) ... ok test_read_eof_received_error (test.test_asyncio.test_selector_events.SelectorSocketTransportBufferedProtocolTests.test_read_eof_received_error) ... ok test_read_ready (test.test_asyncio.test_selector_events.SelectorSocketTransportBufferedProtocolTests.test_read_ready) ... ok test_read_ready_conn_reset (test.test_asyncio.test_selector_events.SelectorSocketTransportBufferedProtocolTests.test_read_ready_conn_reset) ... ok test_read_ready_eof (test.test_asyncio.test_selector_events.SelectorSocketTransportBufferedProtocolTests.test_read_ready_eof) ... ok test_read_ready_eof_keep_open (test.test_asyncio.test_selector_events.SelectorSocketTransportBufferedProtocolTests.test_read_ready_eof_keep_open) ... ok test_read_ready_err (test.test_asyncio.test_selector_events.SelectorSocketTransportBufferedProtocolTests.test_read_ready_err) ... ok test_read_ready_tryagain (test.test_asyncio.test_selector_events.SelectorSocketTransportBufferedProtocolTests.test_read_ready_tryagain) ... ok test_read_ready_tryagain_interrupted (test.test_asyncio.test_selector_events.SelectorSocketTransportBufferedProtocolTests.test_read_ready_tryagain_interrupted) ... ok test_ctor (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_ctor) ... ok test_ctor_with_waiter (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_ctor_with_waiter) ... ok test_data_received_error (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_data_received_error) ... ok test_pause_reading_connection_made (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_pause_reading_connection_made) ... ok test_pause_resume_reading (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_pause_resume_reading) ... ok test_read_eof_received_error (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_read_eof_received_error) ... ok test_read_ready (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_read_ready) ... ok test_read_ready_conn_reset (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_read_ready_conn_reset) ... ok test_read_ready_eof (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_read_ready_eof) ... ok test_read_ready_eof_keep_open (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_read_ready_eof_keep_open) ... ok test_read_ready_err (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_read_ready_err) ... ok test_read_ready_tryagain (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_read_ready_tryagain) ... ok test_read_ready_tryagain_interrupted (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_read_ready_tryagain_interrupted) ... ok test_transport_close_remove_writer (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_transport_close_remove_writer) ... ok test_write (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write) ... ok test_write_buffer (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_buffer) ... ok test_write_buffer_after_close (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_buffer_after_close) ... ok test_write_bytearray (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_bytearray) ... ok test_write_closing (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_closing) ... ok test_write_eof (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_eof) ... ok test_write_eof_after_close (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_eof_after_close) ... ok test_write_eof_buffer (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_eof_buffer) ... ok test_write_exception (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_exception) ... ok test_write_memoryview (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_memoryview) ... ok test_write_no_data (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_no_data) ... ok test_write_partial (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_partial) ... ok test_write_partial_bytearray (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_partial_bytearray) ... ok test_write_partial_memoryview (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_partial_memoryview) ... ok test_write_partial_none (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_partial_none) ... ok test_write_ready (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_ready) ... ok test_write_ready_closing (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_ready_closing) ... ok test_write_ready_exception (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_ready_exception) ... ok test_write_ready_no_data (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_ready_no_data) ... ok test_write_ready_partial (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_ready_partial) ... ok test_write_ready_partial_none (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_ready_partial_none) ... ok test_write_ready_tryagain (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_ready_tryagain) ... ok test_write_sendmsg_OSError (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_sendmsg_OSError) ... ok test_write_sendmsg_full (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_sendmsg_full) ... ok test_write_sendmsg_half_buffer (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_sendmsg_half_buffer) ... ok test_write_sendmsg_no_data (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_sendmsg_no_data) ... ok test_write_sendmsg_partial (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_sendmsg_partial) ... ok test_write_str (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_str) ... ok test_write_tryagain (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_write_tryagain) ... ok test_writelines_pauses_protocol (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_writelines_pauses_protocol) ... ok test_writelines_send_full (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_writelines_send_full) ... ok test_writelines_send_partial (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_writelines_send_partial) ... ok test_writelines_sendmsg_full (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_writelines_sendmsg_full) ... ok test_writelines_sendmsg_partial (test.test_asyncio.test_selector_events.SelectorSocketTransportTests.test_writelines_sendmsg_partial) ... ok test__add_reader (test.test_asyncio.test_selector_events.SelectorTransportTests.test__add_reader) ... ok test_abort (test.test_asyncio.test_selector_events.SelectorTransportTests.test_abort) ... ok test_close (test.test_asyncio.test_selector_events.SelectorTransportTests.test_close) ... ok test_close_write_buffer (test.test_asyncio.test_selector_events.SelectorTransportTests.test_close_write_buffer) ... ok test_connection_lost (test.test_asyncio.test_selector_events.SelectorTransportTests.test_connection_lost) ... ok test_ctor (test.test_asyncio.test_selector_events.SelectorTransportTests.test_ctor) ... ok test_fatal_error (test.test_asyncio.test_selector_events.SelectorTransportTests.test_fatal_error) ... ok test_fatal_error_custom_exception (test.test_asyncio.test_selector_events.SelectorTransportTests.test_fatal_error_custom_exception) ... ok test_force_close (test.test_asyncio.test_selector_events.SelectorTransportTests.test_force_close) ... ok ---------------------------------------------------------------------- Ran 123 tests in 0.366s OK 0:00:28 load avg: 1.69 [14/31/4] test_asyncio.test_selector_events passed 0:00:28 load avg: 1.69 [15/31/4] test_asyncio.test_sendfile test_sendfile (test.test_asyncio.test_sendfile.EPollEventLoopTests.test_sendfile) ... ok test_sendfile_close_peer_after_receiving (test.test_asyncio.test_sendfile.EPollEventLoopTests.test_sendfile_close_peer_after_receiving) ... ok test_sendfile_close_peer_in_the_middle_of_receiving (test.test_asyncio.test_sendfile.EPollEventLoopTests.test_sendfile_close_peer_in_the_middle_of_receiving) ... ok test_sendfile_fallback_close_peer_in_the_middle_of_receiving (test.test_asyncio.test_sendfile.EPollEventLoopTests.test_sendfile_fallback_close_peer_in_the_middle_of_receiving) ... ok test_sendfile_for_closing_transp (test.test_asyncio.test_sendfile.EPollEventLoopTests.test_sendfile_for_closing_transp) ... ok test_sendfile_force_fallback (test.test_asyncio.test_sendfile.EPollEventLoopTests.test_sendfile_force_fallback) ... ok test_sendfile_force_unsupported_native (test.test_asyncio.test_sendfile.EPollEventLoopTests.test_sendfile_force_unsupported_native) ... ok test_sendfile_no_fallback_for_fallback_transport (test.test_asyncio.test_sendfile.EPollEventLoopTests.test_sendfile_no_fallback_for_fallback_transport) ... ok test_sendfile_not_supported (test.test_asyncio.test_sendfile.EPollEventLoopTests.test_sendfile_not_supported) ... ok test_sendfile_partial (test.test_asyncio.test_sendfile.EPollEventLoopTests.test_sendfile_partial) ... ok test_sendfile_pre_and_post_data (test.test_asyncio.test_sendfile.EPollEventLoopTests.test_sendfile_pre_and_post_data) ... ok test_sendfile_prevents_bare_write (test.test_asyncio.test_sendfile.EPollEventLoopTests.test_sendfile_prevents_bare_write) ... ok test_sendfile_ssl (test.test_asyncio.test_sendfile.EPollEventLoopTests.test_sendfile_ssl) ... ok test_sendfile_ssl_close_peer_after_receiving (test.test_asyncio.test_sendfile.EPollEventLoopTests.test_sendfile_ssl_close_peer_after_receiving) ... ok test_sendfile_ssl_partial (test.test_asyncio.test_sendfile.EPollEventLoopTests.test_sendfile_ssl_partial) ... ok test_sendfile_ssl_pre_and_post_data (test.test_asyncio.test_sendfile.EPollEventLoopTests.test_sendfile_ssl_pre_and_post_data) ... ok test_sock_sendfile_mix_with_regular_send (test.test_asyncio.test_sendfile.EPollEventLoopTests.test_sock_sendfile_mix_with_regular_send) ... ok test_sock_sendfile_success (test.test_asyncio.test_sendfile.EPollEventLoopTests.test_sock_sendfile_success) ... ok test_sock_sendfile_with_offset_and_count (test.test_asyncio.test_sendfile.EPollEventLoopTests.test_sock_sendfile_with_offset_and_count) ... ok test_sock_sendfile_zero_size (test.test_asyncio.test_sendfile.EPollEventLoopTests.test_sock_sendfile_zero_size) ... ok test_sendfile (test.test_asyncio.test_sendfile.PollEventLoopTests.test_sendfile) ... ok test_sendfile_close_peer_after_receiving (test.test_asyncio.test_sendfile.PollEventLoopTests.test_sendfile_close_peer_after_receiving) ... ok test_sendfile_close_peer_in_the_middle_of_receiving (test.test_asyncio.test_sendfile.PollEventLoopTests.test_sendfile_close_peer_in_the_middle_of_receiving) ... ok test_sendfile_fallback_close_peer_in_the_middle_of_receiving (test.test_asyncio.test_sendfile.PollEventLoopTests.test_sendfile_fallback_close_peer_in_the_middle_of_receiving) ... ok test_sendfile_for_closing_transp (test.test_asyncio.test_sendfile.PollEventLoopTests.test_sendfile_for_closing_transp) ... ok test_sendfile_force_fallback (test.test_asyncio.test_sendfile.PollEventLoopTests.test_sendfile_force_fallback) ... ok test_sendfile_force_unsupported_native (test.test_asyncio.test_sendfile.PollEventLoopTests.test_sendfile_force_unsupported_native) ... ok test_sendfile_no_fallback_for_fallback_transport (test.test_asyncio.test_sendfile.PollEventLoopTests.test_sendfile_no_fallback_for_fallback_transport) ... ok test_sendfile_not_supported (test.test_asyncio.test_sendfile.PollEventLoopTests.test_sendfile_not_supported) ... ok test_sendfile_partial (test.test_asyncio.test_sendfile.PollEventLoopTests.test_sendfile_partial) ... ok test_sendfile_pre_and_post_data (test.test_asyncio.test_sendfile.PollEventLoopTests.test_sendfile_pre_and_post_data) ... ok test_sendfile_prevents_bare_write (test.test_asyncio.test_sendfile.PollEventLoopTests.test_sendfile_prevents_bare_write) ... ok test_sendfile_ssl (test.test_asyncio.test_sendfile.PollEventLoopTests.test_sendfile_ssl) ... ok test_sendfile_ssl_close_peer_after_receiving (test.test_asyncio.test_sendfile.PollEventLoopTests.test_sendfile_ssl_close_peer_after_receiving) ... ok test_sendfile_ssl_partial (test.test_asyncio.test_sendfile.PollEventLoopTests.test_sendfile_ssl_partial) ... ok test_sendfile_ssl_pre_and_post_data (test.test_asyncio.test_sendfile.PollEventLoopTests.test_sendfile_ssl_pre_and_post_data) ... ok test_sock_sendfile_mix_with_regular_send (test.test_asyncio.test_sendfile.PollEventLoopTests.test_sock_sendfile_mix_with_regular_send) ... ok test_sock_sendfile_success (test.test_asyncio.test_sendfile.PollEventLoopTests.test_sock_sendfile_success) ... ok test_sock_sendfile_with_offset_and_count (test.test_asyncio.test_sendfile.PollEventLoopTests.test_sock_sendfile_with_offset_and_count) ... ok test_sock_sendfile_zero_size (test.test_asyncio.test_sendfile.PollEventLoopTests.test_sock_sendfile_zero_size) ... ok test_sendfile (test.test_asyncio.test_sendfile.SelectEventLoopTests.test_sendfile) ... ok test_sendfile_close_peer_after_receiving (test.test_asyncio.test_sendfile.SelectEventLoopTests.test_sendfile_close_peer_after_receiving) ... ok test_sendfile_close_peer_in_the_middle_of_receiving (test.test_asyncio.test_sendfile.SelectEventLoopTests.test_sendfile_close_peer_in_the_middle_of_receiving) ... ok test_sendfile_fallback_close_peer_in_the_middle_of_receiving (test.test_asyncio.test_sendfile.SelectEventLoopTests.test_sendfile_fallback_close_peer_in_the_middle_of_receiving) ... ok test_sendfile_for_closing_transp (test.test_asyncio.test_sendfile.SelectEventLoopTests.test_sendfile_for_closing_transp) ... ok test_sendfile_force_fallback (test.test_asyncio.test_sendfile.SelectEventLoopTests.test_sendfile_force_fallback) ... ok test_sendfile_force_unsupported_native (test.test_asyncio.test_sendfile.SelectEventLoopTests.test_sendfile_force_unsupported_native) ... ok test_sendfile_no_fallback_for_fallback_transport (test.test_asyncio.test_sendfile.SelectEventLoopTests.test_sendfile_no_fallback_for_fallback_transport) ... ok test_sendfile_not_supported (test.test_asyncio.test_sendfile.SelectEventLoopTests.test_sendfile_not_supported) ... ok test_sendfile_partial (test.test_asyncio.test_sendfile.SelectEventLoopTests.test_sendfile_partial) ... ok test_sendfile_pre_and_post_data (test.test_asyncio.test_sendfile.SelectEventLoopTests.test_sendfile_pre_and_post_data) ... ok test_sendfile_prevents_bare_write (test.test_asyncio.test_sendfile.SelectEventLoopTests.test_sendfile_prevents_bare_write) ... ok test_sendfile_ssl (test.test_asyncio.test_sendfile.SelectEventLoopTests.test_sendfile_ssl) ... ok test_sendfile_ssl_close_peer_after_receiving (test.test_asyncio.test_sendfile.SelectEventLoopTests.test_sendfile_ssl_close_peer_after_receiving) ... ok test_sendfile_ssl_partial (test.test_asyncio.test_sendfile.SelectEventLoopTests.test_sendfile_ssl_partial) ... ok test_sendfile_ssl_pre_and_post_data (test.test_asyncio.test_sendfile.SelectEventLoopTests.test_sendfile_ssl_pre_and_post_data) ... ok test_sock_sendfile_mix_with_regular_send (test.test_asyncio.test_sendfile.SelectEventLoopTests.test_sock_sendfile_mix_with_regular_send) ... ok test_sock_sendfile_success (test.test_asyncio.test_sendfile.SelectEventLoopTests.test_sock_sendfile_success) ... ok test_sock_sendfile_with_offset_and_count (test.test_asyncio.test_sendfile.SelectEventLoopTests.test_sock_sendfile_with_offset_and_count) ... ok test_sock_sendfile_zero_size (test.test_asyncio.test_sendfile.SelectEventLoopTests.test_sock_sendfile_zero_size) ... ok ---------------------------------------------------------------------- Ran 60 tests in 6.169s OK 0:00:35 load avg: 1.71 [15/31/4] test_asyncio.test_sendfile passed 0:00:35 load avg: 1.71 [16/31/4] test_asyncio.test_server test_start_server_1 (test.test_asyncio.test_server.ProactorStartServerTests.test_start_server_1) ... skipped 'Windows only' test_start_server_1 (test.test_asyncio.test_server.SelectorStartServerTests.test_start_server_1) ... ok test_start_unix_server_1 (test.test_asyncio.test_server.SelectorStartServerTests.test_start_unix_server_1) ... ok test_wait_closed_basic (test.test_asyncio.test_server.TestServer2.test_wait_closed_basic) ... ok test_wait_closed_race (test.test_asyncio.test_server.TestServer2.test_wait_closed_race) ... ok ---------------------------------------------------------------------- Ran 5 tests in 0.221s OK (skipped=1) 0:00:35 load avg: 1.71 [16/31/4] test_asyncio.test_server passed 0:00:35 load avg: 1.71 [17/31/4] test_asyncio.test_sock_lowlevel test_cancel_sock_accept (test.test_asyncio.test_sock_lowlevel.EPollEventLoopTests.test_cancel_sock_accept) ... ok test_create_connection_sock (test.test_asyncio.test_sock_lowlevel.EPollEventLoopTests.test_create_connection_sock) ... ok test_huge_content (test.test_asyncio.test_sock_lowlevel.EPollEventLoopTests.test_huge_content) ... ok test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.EPollEventLoopTests.test_huge_content_recvinto) ... ok test_recvfrom (test.test_asyncio.test_sock_lowlevel.EPollEventLoopTests.test_recvfrom) ... ok test_recvfrom_into (test.test_asyncio.test_sock_lowlevel.EPollEventLoopTests.test_recvfrom_into) ... ok test_sendto_blocking (test.test_asyncio.test_sock_lowlevel.EPollEventLoopTests.test_sendto_blocking) ... ok test_sock_accept (test.test_asyncio.test_sock_lowlevel.EPollEventLoopTests.test_sock_accept) ... ok test_sock_client_connect_racing (test.test_asyncio.test_sock_lowlevel.EPollEventLoopTests.test_sock_client_connect_racing) ... ok test_sock_client_fail (test.test_asyncio.test_sock_lowlevel.EPollEventLoopTests.test_sock_client_fail) ... ok test_sock_client_ops (test.test_asyncio.test_sock_lowlevel.EPollEventLoopTests.test_sock_client_ops) ... ok test_sock_client_racing (test.test_asyncio.test_sock_lowlevel.EPollEventLoopTests.test_sock_client_racing) ... ok test_unix_sock_client_ops (test.test_asyncio.test_sock_lowlevel.EPollEventLoopTests.test_unix_sock_client_ops) ... ok test_cancel_sock_accept (test.test_asyncio.test_sock_lowlevel.PollEventLoopTests.test_cancel_sock_accept) ... ok test_create_connection_sock (test.test_asyncio.test_sock_lowlevel.PollEventLoopTests.test_create_connection_sock) ... ok test_huge_content (test.test_asyncio.test_sock_lowlevel.PollEventLoopTests.test_huge_content) ... ok test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.PollEventLoopTests.test_huge_content_recvinto) ... ok test_recvfrom (test.test_asyncio.test_sock_lowlevel.PollEventLoopTests.test_recvfrom) ... ok test_recvfrom_into (test.test_asyncio.test_sock_lowlevel.PollEventLoopTests.test_recvfrom_into) ... ok test_sendto_blocking (test.test_asyncio.test_sock_lowlevel.PollEventLoopTests.test_sendto_blocking) ... ok test_sock_accept (test.test_asyncio.test_sock_lowlevel.PollEventLoopTests.test_sock_accept) ... ok test_sock_client_connect_racing (test.test_asyncio.test_sock_lowlevel.PollEventLoopTests.test_sock_client_connect_racing) ... ok test_sock_client_fail (test.test_asyncio.test_sock_lowlevel.PollEventLoopTests.test_sock_client_fail) ... ok test_sock_client_ops (test.test_asyncio.test_sock_lowlevel.PollEventLoopTests.test_sock_client_ops) ... ok test_sock_client_racing (test.test_asyncio.test_sock_lowlevel.PollEventLoopTests.test_sock_client_racing) ... ok test_unix_sock_client_ops (test.test_asyncio.test_sock_lowlevel.PollEventLoopTests.test_unix_sock_client_ops) ... ok test_cancel_sock_accept (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests.test_cancel_sock_accept) ... ok test_create_connection_sock (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests.test_create_connection_sock) ... ok test_huge_content (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests.test_huge_content) ... ok test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests.test_huge_content_recvinto) ... ok test_recvfrom (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests.test_recvfrom) ... ok test_recvfrom_into (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests.test_recvfrom_into) ... ok test_sendto_blocking (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests.test_sendto_blocking) ... ok test_sock_accept (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests.test_sock_accept) ... ok test_sock_client_connect_racing (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests.test_sock_client_connect_racing) ... ok test_sock_client_fail (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests.test_sock_client_fail) ... ok test_sock_client_ops (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests.test_sock_client_ops) ... ok test_sock_client_racing (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests.test_sock_client_racing) ... ok test_unix_sock_client_ops (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests.test_unix_sock_client_ops) ... ok ---------------------------------------------------------------------- Ran 39 tests in 3.823s OK 0:00:39 load avg: 1.65 [17/31/4] test_asyncio.test_sock_lowlevel passed 0:00:39 load avg: 1.65 [18/31/4] test_asyncio.test_ssl test_connect_accepted_socket (test.test_asyncio.test_ssl.TestSSL.test_connect_accepted_socket) ... ok test_connect_timeout_warning (test.test_asyncio.test_ssl.TestSSL.test_connect_timeout_warning) ... ok test_create_connection_memory_leak (test.test_asyncio.test_ssl.TestSSL.test_create_connection_memory_leak) ... FAIL test_create_connection_ssl_1 (test.test_asyncio.test_ssl.TestSSL.test_create_connection_ssl_1) ... ok test_create_connection_ssl_failed_certificate (test.test_asyncio.test_ssl.TestSSL.test_create_connection_ssl_failed_certificate) ... ok test_create_connection_ssl_slow_handshake (test.test_asyncio.test_ssl.TestSSL.test_create_connection_ssl_slow_handshake) ... ok test_create_server_ssl_1 (test.test_asyncio.test_ssl.TestSSL.test_create_server_ssl_1) ... ok test_create_server_ssl_over_ssl (test.test_asyncio.test_ssl.TestSSL.test_create_server_ssl_over_ssl) ... ok test_flush_before_shutdown (test.test_asyncio.test_ssl.TestSSL.test_flush_before_shutdown) ... ok test_handshake_timeout_handler_leak (test.test_asyncio.test_ssl.TestSSL.test_handshake_timeout_handler_leak) ... FAIL test_remote_shutdown_receives_trailing_data (test.test_asyncio.test_ssl.TestSSL.test_remote_shutdown_receives_trailing_data) ... ok test_remote_shutdown_receives_trailing_data_on_slow_socket (test.test_asyncio.test_ssl.TestSSL.test_remote_shutdown_receives_trailing_data_on_slow_socket) ... ok test_shutdown_cleanly (test.test_asyncio.test_ssl.TestSSL.test_shutdown_cleanly) ... ok test_shutdown_timeout_handler_leak (test.test_asyncio.test_ssl.TestSSL.test_shutdown_timeout_handler_leak) ... ok test_shutdown_timeout_handler_not_set (test.test_asyncio.test_ssl.TestSSL.test_shutdown_timeout_handler_not_set) ... ok test_ssl_connect_accepted_socket (test.test_asyncio.test_ssl.TestSSL.test_ssl_connect_accepted_socket) ... ok test_ssl_handshake_connection_lost (test.test_asyncio.test_ssl.TestSSL.test_ssl_handshake_connection_lost) ... ok test_ssl_handshake_timeout (test.test_asyncio.test_ssl.TestSSL.test_ssl_handshake_timeout) ... ok test_start_tls_client_buf_proto_1 (test.test_asyncio.test_ssl.TestSSL.test_start_tls_client_buf_proto_1) ... ok test_start_tls_client_corrupted_ssl (test.test_asyncio.test_ssl.TestSSL.test_start_tls_client_corrupted_ssl) ... ok test_start_tls_client_reg_proto_1 (test.test_asyncio.test_ssl.TestSSL.test_start_tls_client_reg_proto_1) ... ok test_start_tls_server_1 (test.test_asyncio.test_ssl.TestSSL.test_start_tls_server_1) ... ok test_start_tls_slow_client_cancel (test.test_asyncio.test_ssl.TestSSL.test_start_tls_slow_client_cancel) ... ok ====================================================================== FAIL: test_create_connection_memory_leak (test.test_asyncio.test_ssl.TestSSL.test_create_connection_memory_leak) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_ssl.py", line 805, in test_create_connection_memory_leak self.assertIsNone(client_context()) ^^^^^^^^^^^^ AssertionError: <ssl.SSLContext object at 0x000000000445fde0> is not None ====================================================================== FAIL: test_handshake_timeout_handler_leak (test.test_asyncio.test_ssl.TestSSL.test_handshake_timeout_handler_leak) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_ssl.py", line 1646, in test_handshake_timeout_handler_leak self.assertIsNone(ctx()) ^^^^^^^^^^^^ AssertionError: <ssl.SSLContext object at 0x0000000003f54138> is not None ---------------------------------------------------------------------- Ran 23 tests in 15.555s FAILED (failures=2) 0:00:55 load avg: 1.65 [18/31/5] test_asyncio.test_ssl failed (2 failures) 0:00:55 load avg: 1.65 [19/31/5] test_asyncio.test_sslproto test_buf_feed_data (test.test_asyncio.test_sslproto.ProactorStartTLSTests.test_buf_feed_data) ... skipped 'Windows only' test_create_connection_memory_leak (test.test_asyncio.test_sslproto.ProactorStartTLSTests.test_create_connection_memory_leak) ... skipped 'Windows only' test_create_connection_ssl_failed_certificate (test.test_asyncio.test_sslproto.ProactorStartTLSTests.test_create_connection_ssl_failed_certificate) ... skipped 'Windows only' test_create_connection_ssl_slow_handshake (test.test_asyncio.test_sslproto.ProactorStartTLSTests.test_create_connection_ssl_slow_handshake) ... skipped 'Windows only' test_handshake_timeout (test.test_asyncio.test_sslproto.ProactorStartTLSTests.test_handshake_timeout) ... skipped 'Windows only' test_start_tls_client_buf_proto_1 (test.test_asyncio.test_sslproto.ProactorStartTLSTests.test_start_tls_client_buf_proto_1) ... skipped 'Windows only' test_start_tls_client_corrupted_ssl (test.test_asyncio.test_sslproto.ProactorStartTLSTests.test_start_tls_client_corrupted_ssl) ... skipped 'Windows only' test_start_tls_client_reg_proto_1 (test.test_asyncio.test_sslproto.ProactorStartTLSTests.test_start_tls_client_reg_proto_1) ... skipped 'Windows only' test_start_tls_server_1 (test.test_asyncio.test_sslproto.ProactorStartTLSTests.test_start_tls_server_1) ... skipped 'Windows only' test_start_tls_slow_client_cancel (test.test_asyncio.test_sslproto.ProactorStartTLSTests.test_start_tls_slow_client_cancel) ... skipped 'Windows only' test_start_tls_wrong_args (test.test_asyncio.test_sslproto.ProactorStartTLSTests.test_start_tls_wrong_args) ... skipped 'Windows only' test_buf_feed_data (test.test_asyncio.test_sslproto.SelectorStartTLSTests.test_buf_feed_data) ... ok test_create_connection_memory_leak (test.test_asyncio.test_sslproto.SelectorStartTLSTests.test_create_connection_memory_leak) ... ok test_create_connection_ssl_failed_certificate (test.test_asyncio.test_sslproto.SelectorStartTLSTests.test_create_connection_ssl_failed_certificate) ... ok test_create_connection_ssl_slow_handshake (test.test_asyncio.test_sslproto.SelectorStartTLSTests.test_create_connection_ssl_slow_handshake) ... ok test_handshake_timeout (test.test_asyncio.test_sslproto.SelectorStartTLSTests.test_handshake_timeout) ... ok test_start_tls_client_buf_proto_1 (test.test_asyncio.test_sslproto.SelectorStartTLSTests.test_start_tls_client_buf_proto_1) ... ok test_start_tls_client_corrupted_ssl (test.test_asyncio.test_sslproto.SelectorStartTLSTests.test_start_tls_client_corrupted_ssl) ... ok test_start_tls_client_reg_proto_1 (test.test_asyncio.test_sslproto.SelectorStartTLSTests.test_start_tls_client_reg_proto_1) ... ok test_start_tls_server_1 (test.test_asyncio.test_sslproto.SelectorStartTLSTests.test_start_tls_server_1) ... ok test_start_tls_slow_client_cancel (test.test_asyncio.test_sslproto.SelectorStartTLSTests.test_start_tls_slow_client_cancel) ... ok test_start_tls_wrong_args (test.test_asyncio.test_sslproto.SelectorStartTLSTests.test_start_tls_wrong_args) ... ok test_close_during_handshake (test.test_asyncio.test_sslproto.SslProtoHandshakeTests.test_close_during_handshake) ... ok test_close_during_ssl_over_ssl (test.test_asyncio.test_sslproto.SslProtoHandshakeTests.test_close_during_ssl_over_ssl) ... ok test_connection_lost (test.test_asyncio.test_sslproto.SslProtoHandshakeTests.test_connection_lost) ... ok test_connection_lost_when_busy (test.test_asyncio.test_sslproto.SslProtoHandshakeTests.test_connection_lost_when_busy) ... ok test_data_received_after_closing (test.test_asyncio.test_sslproto.SslProtoHandshakeTests.test_data_received_after_closing) ... ok test_eof_received_waiter (test.test_asyncio.test_sslproto.SslProtoHandshakeTests.test_eof_received_waiter) ... ok test_fatal_error_no_name_error (test.test_asyncio.test_sslproto.SslProtoHandshakeTests.test_fatal_error_no_name_error) ... ok test_get_extra_info_on_closed_connection (test.test_asyncio.test_sslproto.SslProtoHandshakeTests.test_get_extra_info_on_closed_connection) ... ok test_handshake_timeout_negative (test.test_asyncio.test_sslproto.SslProtoHandshakeTests.test_handshake_timeout_negative) ... ok test_handshake_timeout_zero (test.test_asyncio.test_sslproto.SslProtoHandshakeTests.test_handshake_timeout_zero) ... ok test_set_new_app_protocol (test.test_asyncio.test_sslproto.SslProtoHandshakeTests.test_set_new_app_protocol) ... ok test_write_after_closing (test.test_asyncio.test_sslproto.SslProtoHandshakeTests.test_write_after_closing) ... ok ---------------------------------------------------------------------- Ran 34 tests in 4.482s OK (skipped=11) 0:01:00 load avg: 1.60 [19/31/5] test_asyncio.test_sslproto passed 0:01:00 load avg: 1.60 [20/31/5] test_asyncio.test_staggered test_cancelled (test.test_asyncio.test_staggered.StaggeredTests.test_cancelled) ... ok test_empty (test.test_asyncio.test_staggered.StaggeredTests.test_empty) ... ok test_first_error_second_successful (test.test_asyncio.test_staggered.StaggeredTests.test_first_error_second_successful) ... ok test_first_timeout_second_successful (test.test_asyncio.test_staggered.StaggeredTests.test_first_timeout_second_successful) ... ok test_multiple_winners (test.test_asyncio.test_staggered.StaggeredTests.test_multiple_winners) ... ok test_none_successful (test.test_asyncio.test_staggered.StaggeredTests.test_none_successful) ... ok test_one_successful (test.test_asyncio.test_staggered.StaggeredTests.test_one_successful) ... ok ---------------------------------------------------------------------- Ran 7 tests in 0.336s OK 0:01:00 load avg: 1.60 [20/31/5] test_asyncio.test_staggered passed 0:01:00 load avg: 1.60 [21/31/5] test_asyncio.test_streams test_IncompleteReadError_pickleable (test.test_asyncio.test_streams.StreamTests.test_IncompleteReadError_pickleable) ... ok test_LimitOverrunError_pickleable (test.test_asyncio.test_streams.StreamTests.test_LimitOverrunError_pickleable) ... ok test___repr__ (test.test_asyncio.test_streams.StreamTests.test___repr__) ... ok test___repr__data (test.test_asyncio.test_streams.StreamTests.test___repr__data) ... ok test___repr__eof (test.test_asyncio.test_streams.StreamTests.test___repr__eof) ... ok test___repr__exception (test.test_asyncio.test_streams.StreamTests.test___repr__exception) ... ok test___repr__nondefault_limit (test.test_asyncio.test_streams.StreamTests.test___repr__nondefault_limit) ... ok test___repr__transport (test.test_asyncio.test_streams.StreamTests.test___repr__transport) ... ok test___repr__waiter (test.test_asyncio.test_streams.StreamTests.test___repr__waiter) ... ok test_async_writer_api (test.test_asyncio.test_streams.StreamTests.test_async_writer_api) ... ok test_async_writer_api_exception_after_close (test.test_asyncio.test_streams.StreamTests.test_async_writer_api_exception_after_close) ... ok test_at_eof (test.test_asyncio.test_streams.StreamTests.test_at_eof) ... ok test_drain_raises (test.test_asyncio.test_streams.StreamTests.test_drain_raises) ... ok test_eof_feed_when_closing_writer (test.test_asyncio.test_streams.StreamTests.test_eof_feed_when_closing_writer) ... ok test_exception (test.test_asyncio.test_streams.StreamTests.test_exception) ... ok test_exception_cancel (test.test_asyncio.test_streams.StreamTests.test_exception_cancel) ... ok test_exception_waiter (test.test_asyncio.test_streams.StreamTests.test_exception_waiter) ... ok test_feed_empty_data (test.test_asyncio.test_streams.StreamTests.test_feed_empty_data) ... ok test_feed_nonempty_data (test.test_asyncio.test_streams.StreamTests.test_feed_nonempty_data) ... ok test_invalid_limit (test.test_asyncio.test_streams.StreamTests.test_invalid_limit) ... ok test_loop_is_closed_resource_warnings (test.test_asyncio.test_streams.StreamTests.test_loop_is_closed_resource_warnings) ... ok test_multiple_drain (test.test_asyncio.test_streams.StreamTests.test_multiple_drain) ... ok test_open_connection (test.test_asyncio.test_streams.StreamTests.test_open_connection) ... ok test_open_connection_error (test.test_asyncio.test_streams.StreamTests.test_open_connection_error) ... ok test_open_connection_happy_eyeball_refcycles (test.test_asyncio.test_streams.StreamTests.test_open_connection_happy_eyeball_refcycles) ... FAIL test_open_connection_no_loop_ssl (test.test_asyncio.test_streams.StreamTests.test_open_connection_no_loop_ssl) ... ok test_open_unix_connection (test.test_asyncio.test_streams.StreamTests.test_open_unix_connection) ... ok test_open_unix_connection_error (test.test_asyncio.test_streams.StreamTests.test_open_unix_connection_error) ... ok test_open_unix_connection_no_loop_ssl (test.test_asyncio.test_streams.StreamTests.test_open_unix_connection_no_loop_ssl) ... ok test_read (test.test_asyncio.test_streams.StreamTests.test_read) ... ok test_read_all_from_pipe_reader (test.test_asyncio.test_streams.StreamTests.test_read_all_from_pipe_reader) ... ok test_read_eof (test.test_asyncio.test_streams.StreamTests.test_read_eof) ... ok test_read_exception (test.test_asyncio.test_streams.StreamTests.test_read_exception) ... ok test_read_limit (test.test_asyncio.test_streams.StreamTests.test_read_limit) ... ok test_read_line_breaks (test.test_asyncio.test_streams.StreamTests.test_read_line_breaks) ... ok test_read_until_eof (test.test_asyncio.test_streams.StreamTests.test_read_until_eof) ... ok test_read_zero (test.test_asyncio.test_streams.StreamTests.test_read_zero) ... ok test_readexactly (test.test_asyncio.test_streams.StreamTests.test_readexactly) ... ok test_readexactly_eof (test.test_asyncio.test_streams.StreamTests.test_readexactly_eof) ... ok test_readexactly_exception (test.test_asyncio.test_streams.StreamTests.test_readexactly_exception) ... ok test_readexactly_limit (test.test_asyncio.test_streams.StreamTests.test_readexactly_limit) ... ok test_readexactly_zero_or_less (test.test_asyncio.test_streams.StreamTests.test_readexactly_zero_or_less) ... ok test_readline (test.test_asyncio.test_streams.StreamTests.test_readline) ... ok test_readline_empty_eof (test.test_asyncio.test_streams.StreamTests.test_readline_empty_eof) ... ok test_readline_eof (test.test_asyncio.test_streams.StreamTests.test_readline_eof) ... ok test_readline_exception (test.test_asyncio.test_streams.StreamTests.test_readline_exception) ... ok test_readline_limit (test.test_asyncio.test_streams.StreamTests.test_readline_limit) ... ok test_readline_limit_with_existing_data (test.test_asyncio.test_streams.StreamTests.test_readline_limit_with_existing_data) ... ok test_readline_nolimit_nowait (test.test_asyncio.test_streams.StreamTests.test_readline_nolimit_nowait) ... ok test_readline_read_byte_count (test.test_asyncio.test_streams.StreamTests.test_readline_read_byte_count) ... ok test_readuntil_eof (test.test_asyncio.test_streams.StreamTests.test_readuntil_eof) ... ok test_readuntil_limit_found_sep (test.test_asyncio.test_streams.StreamTests.test_readuntil_limit_found_sep) ... ok test_readuntil_multi_chunks (test.test_asyncio.test_streams.StreamTests.test_readuntil_multi_chunks) ... ok test_readuntil_multi_chunks_1 (test.test_asyncio.test_streams.StreamTests.test_readuntil_multi_chunks_1) ... ok test_readuntil_separator (test.test_asyncio.test_streams.StreamTests.test_readuntil_separator) ... ok test_start_server (test.test_asyncio.test_streams.StreamTests.test_start_server) ... ok test_start_tls (test.test_asyncio.test_streams.StreamTests.test_start_tls) ... ok test_start_unix_server (test.test_asyncio.test_streams.StreamTests.test_start_unix_server) ... ok test_streamreader_constructor_use_global_loop (test.test_asyncio.test_streams.StreamTests.test_streamreader_constructor_use_global_loop) ... ok test_streamreader_constructor_use_running_loop (test.test_asyncio.test_streams.StreamTests.test_streamreader_constructor_use_running_loop) ... ok test_streamreader_constructor_without_loop (test.test_asyncio.test_streams.StreamTests.test_streamreader_constructor_without_loop) ... ok test_streamreaderprotocol_constructor_use_global_loop (test.test_asyncio.test_streams.StreamTests.test_streamreaderprotocol_constructor_use_global_loop) ... ok test_streamreaderprotocol_constructor_use_running_loop (test.test_asyncio.test_streams.StreamTests.test_streamreaderprotocol_constructor_use_running_loop) ... ok test_streamreaderprotocol_constructor_without_loop (test.test_asyncio.test_streams.StreamTests.test_streamreaderprotocol_constructor_without_loop) ... ok test_unclosed_resource_warnings (test.test_asyncio.test_streams.StreamTests.test_unclosed_resource_warnings) ... ok test_unhandled_cancel (test.test_asyncio.test_streams.StreamTests.test_unhandled_cancel) ... ok test_unhandled_exception (test.test_asyncio.test_streams.StreamTests.test_unhandled_exception) ... ok test_wait_closed_on_close (test.test_asyncio.test_streams.StreamTests.test_wait_closed_on_close) ... ok test_wait_closed_on_close_with_unread_data (test.test_asyncio.test_streams.StreamTests.test_wait_closed_on_close_with_unread_data) ... ok ====================================================================== FAIL: test_open_connection_happy_eyeball_refcycles (test.test_asyncio.test_streams.StreamTests.test_open_connection_happy_eyeball_refcycles) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_streams.py", line 1185, in test_open_connection_happy_eyeball_refcycles asyncio.run(main()) ^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 195, in run return runner.run(main) ^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/futures.py", line 202, in result raise self._exception.with_traceback(self._exception_tb) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py", line 314, in __step_run_and_handle_result result = coro.send(None) ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_streams.py", line 1183, in main self.assertListEqual(gc.get_referrers(exc), []) ^^^^^^^^^^^^^^^ AssertionError: Lists differ: [<frame at 0x0000000002ca1db0, file '/buil[245 chars]"),)] != [] First list contains 2 additional elements. First extra element 0: <frame at 0x0000000002ca1db0, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_streams.py', line 1183, code main> + [] - [<frame at 0x0000000002ca1db0, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_streams.py', line 1183, code main>, - (OSError("Multiple exceptions: [Errno 111] Connect call failed ('::1', 33437, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 33437)"),)] ---------------------------------------------------------------------- Ran 69 tests in 1.022s FAILED (failures=1) 0:01:02 load avg: 1.60 [21/31/6] test_asyncio.test_streams failed (1 failure) 0:01:02 load avg: 1.60 [22/31/6] test_asyncio.test_subprocess test_create_subprocess_fails_with_inactive_watcher (test.test_asyncio.test_subprocess.GenericWatcherTests.test_create_subprocess_fails_with_inactive_watcher) ... ok test_create_subprocess_with_pidfd (test.test_asyncio.test_subprocess.GenericWatcherTests.test_create_subprocess_with_pidfd) ... skipped 'operating system does not support pidfds' test_warns (test.test_asyncio.test_subprocess.MultiLoopChildWatcherTests.test_warns) ... ok test_cancel_make_subprocess_transport_exec (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_cancel_make_subprocess_transport_exec) ... ok test_cancel_post_init (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_cancel_post_init) ... ok test_cancel_process_wait (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_cancel_process_wait) ... ok test_close_dont_kill_finished (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_close_dont_kill_finished) ... ok test_close_kill_running (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_close_kill_running) ... ok test_communicate (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_communicate) ... ok test_communicate_ignore_broken_pipe (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_communicate_ignore_broken_pipe) ... ok test_communicate_none_input (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_communicate_none_input) ... ok test_create_subprocess_env_exec (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_create_subprocess_env_exec) ... ok test_create_subprocess_env_shell (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_create_subprocess_env_shell) ... ok test_create_subprocess_exec_text_mode_fails (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_create_subprocess_exec_text_mode_fails) ... ok test_create_subprocess_exec_with_path (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_create_subprocess_exec_with_path) ... ok test_create_subprocess_shell_text_mode_fails (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_create_subprocess_shell_text_mode_fails) ... ok test_devnull_error (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_devnull_error) ... ok test_devnull_input (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_devnull_input) ... ok test_devnull_output (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_devnull_output) ... ok test_devstdin_input (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_devstdin_input) ... ok test_empty_input (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_empty_input) ... ok test_kill (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_kill) ... ok test_kill_issue43884 (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_kill_issue43884) ... ok test_pause_reading (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_pause_reading) ... ok test_popen_error (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_popen_error) ... ok test_popen_error_with_stdin_pipe (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_popen_error_with_stdin_pipe) ... ok test_read_stdout_after_process_exit (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_read_stdout_after_process_exit) ... ok test_send_signal (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_send_signal) ... ok test_shell (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_shell) ... ok test_start_new_session (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_start_new_session) ... ok test_stdin_broken_pipe (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_stdin_broken_pipe) ... ok test_stdin_not_inheritable (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_stdin_not_inheritable) ... ok test_stdin_stdout (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_stdin_stdout) ... ok test_subprocess_communicate_stdout (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_subprocess_communicate_stdout) ... ok test_subprocess_concurrent_wait (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_subprocess_concurrent_wait) ... ok test_subprocess_protocol_events (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_subprocess_protocol_events) ... ok test_terminate (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests.test_terminate) ... ok test_cancel_make_subprocess_transport_exec (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_cancel_make_subprocess_transport_exec) ... skipped 'operating system does not support pidfds' test_cancel_post_init (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_cancel_post_init) ... skipped 'operating system does not support pidfds' test_cancel_process_wait (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_cancel_process_wait) ... skipped 'operating system does not support pidfds' test_close_dont_kill_finished (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_close_dont_kill_finished) ... skipped 'operating system does not support pidfds' test_close_kill_running (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_close_kill_running) ... skipped 'operating system does not support pidfds' test_communicate (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_communicate) ... skipped 'operating system does not support pidfds' test_communicate_ignore_broken_pipe (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_communicate_ignore_broken_pipe) ... skipped 'operating system does not support pidfds' test_communicate_none_input (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_communicate_none_input) ... skipped 'operating system does not support pidfds' test_create_subprocess_env_exec (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_create_subprocess_env_exec) ... skipped 'operating system does not support pidfds' test_create_subprocess_env_shell (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_create_subprocess_env_shell) ... skipped 'operating system does not support pidfds' test_create_subprocess_exec_text_mode_fails (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_create_subprocess_exec_text_mode_fails) ... skipped 'operating system does not support pidfds' test_create_subprocess_exec_with_path (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_create_subprocess_exec_with_path) ... skipped 'operating system does not support pidfds' test_create_subprocess_shell_text_mode_fails (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_create_subprocess_shell_text_mode_fails) ... skipped 'operating system does not support pidfds' test_devnull_error (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_devnull_error) ... skipped 'operating system does not support pidfds' test_devnull_input (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_devnull_input) ... skipped 'operating system does not support pidfds' test_devnull_output (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_devnull_output) ... skipped 'operating system does not support pidfds' test_devstdin_input (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_devstdin_input) ... skipped 'operating system does not support pidfds' test_empty_input (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_empty_input) ... skipped 'operating system does not support pidfds' test_kill (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_kill) ... skipped 'operating system does not support pidfds' test_kill_issue43884 (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_kill_issue43884) ... skipped 'operating system does not support pidfds' test_pause_reading (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_pause_reading) ... skipped 'operating system does not support pidfds' test_popen_error (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_popen_error) ... skipped 'operating system does not support pidfds' test_popen_error_with_stdin_pipe (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_popen_error_with_stdin_pipe) ... skipped 'operating system does not support pidfds' test_read_stdout_after_process_exit (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_read_stdout_after_process_exit) ... skipped 'operating system does not support pidfds' test_send_signal (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_send_signal) ... skipped 'operating system does not support pidfds' test_shell (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_shell) ... skipped 'operating system does not support pidfds' test_start_new_session (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_start_new_session) ... skipped 'operating system does not support pidfds' test_stdin_broken_pipe (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_stdin_broken_pipe) ... skipped 'operating system does not support pidfds' test_stdin_not_inheritable (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_stdin_not_inheritable) ... skipped 'operating system does not support pidfds' test_stdin_stdout (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_stdin_stdout) ... skipped 'operating system does not support pidfds' test_subprocess_communicate_stdout (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_subprocess_communicate_stdout) ... skipped 'operating system does not support pidfds' test_subprocess_concurrent_wait (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_subprocess_concurrent_wait) ... skipped 'operating system does not support pidfds' test_subprocess_protocol_events (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_subprocess_protocol_events) ... skipped 'operating system does not support pidfds' test_terminate (test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_terminate) ... skipped 'operating system does not support pidfds' test_cancel_make_subprocess_transport_exec (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_cancel_make_subprocess_transport_exec) ... ok test_cancel_post_init (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_cancel_post_init) ... ok test_cancel_process_wait (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_cancel_process_wait) ... ok test_close_dont_kill_finished (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_close_dont_kill_finished) ... ok test_close_kill_running (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_close_kill_running) ... ok test_communicate (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_communicate) ... ok test_communicate_ignore_broken_pipe (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_communicate_ignore_broken_pipe) ... ok test_communicate_none_input (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_communicate_none_input) ... ok test_create_subprocess_env_exec (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_create_subprocess_env_exec) ... ok test_create_subprocess_env_shell (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_create_subprocess_env_shell) ... ok test_create_subprocess_exec_text_mode_fails (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_create_subprocess_exec_text_mode_fails) ... ok test_create_subprocess_exec_with_path (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_create_subprocess_exec_with_path) ... ok test_create_subprocess_shell_text_mode_fails (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_create_subprocess_shell_text_mode_fails) ... ok test_devnull_error (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_devnull_error) ... ok test_devnull_input (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_devnull_input) ... ok test_devnull_output (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_devnull_output) ... ok test_devstdin_input (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_devstdin_input) ... ok test_empty_input (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_empty_input) ... ok test_kill (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_kill) ... ok test_kill_issue43884 (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_kill_issue43884) ... ok test_pause_reading (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_pause_reading) ... ok test_popen_error (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_popen_error) ... ok test_popen_error_with_stdin_pipe (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_popen_error_with_stdin_pipe) ... ok test_read_stdout_after_process_exit (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_read_stdout_after_process_exit) ... ok test_send_signal (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_send_signal) ... ok test_shell (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_shell) ... ok test_start_new_session (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_start_new_session) ... ok test_stdin_broken_pipe (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_stdin_broken_pipe) ... ok test_stdin_not_inheritable (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_stdin_not_inheritable) ... ok test_stdin_stdout (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_stdin_stdout) ... ok test_subprocess_communicate_stdout (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_subprocess_communicate_stdout) ... ok test_subprocess_concurrent_wait (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_subprocess_concurrent_wait) ... ok test_subprocess_protocol_events (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_subprocess_protocol_events) ... ok test_terminate (test.test_asyncio.test_subprocess.SubprocessSafeWatcherTests.test_terminate) ... ok test_cancel_make_subprocess_transport_exec (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_cancel_make_subprocess_transport_exec) ... ok test_cancel_post_init (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_cancel_post_init) ... ok test_cancel_process_wait (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_cancel_process_wait) ... ok test_close_dont_kill_finished (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_close_dont_kill_finished) ... ok test_close_kill_running (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_close_kill_running) ... ok test_communicate (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_communicate) ... ok test_communicate_ignore_broken_pipe (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_communicate_ignore_broken_pipe) ... ok test_communicate_none_input (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_communicate_none_input) ... ok test_create_subprocess_env_exec (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_create_subprocess_env_exec) ... ok test_create_subprocess_env_shell (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_create_subprocess_env_shell) ... ok test_create_subprocess_exec_text_mode_fails (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_create_subprocess_exec_text_mode_fails) ... ok test_create_subprocess_exec_with_path (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_create_subprocess_exec_with_path) ... ok test_create_subprocess_shell_text_mode_fails (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_create_subprocess_shell_text_mode_fails) ... ok test_devnull_error (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_devnull_error) ... ok test_devnull_input (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_devnull_input) ... ok test_devnull_output (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_devnull_output) ... ok test_devstdin_input (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_devstdin_input) ... ok test_empty_input (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_empty_input) ... ok test_kill (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_kill) ... ok test_kill_issue43884 (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_kill_issue43884) ... ok test_pause_reading (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_pause_reading) ... ok test_popen_error (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_popen_error) ... ok test_popen_error_with_stdin_pipe (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_popen_error_with_stdin_pipe) ... ok test_read_stdout_after_process_exit (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_read_stdout_after_process_exit) ... ok test_send_signal (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_send_signal) ... ok test_shell (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_shell) ... ok test_start_new_session (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_start_new_session) ... ok test_stdin_broken_pipe (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_stdin_broken_pipe) ... ok test_stdin_not_inheritable (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_stdin_not_inheritable) ... ok test_stdin_stdout (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_stdin_stdout) ... ok test_subprocess_communicate_stdout (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_subprocess_communicate_stdout) ... ok test_subprocess_concurrent_wait (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_subprocess_concurrent_wait) ... ok test_subprocess_protocol_events (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_subprocess_protocol_events) ... ok test_terminate (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_terminate) ... ok test_proc_exited (test.test_asyncio.test_subprocess.SubprocessTransportTests.test_proc_exited) ... ok test_subprocess_repr (test.test_asyncio.test_subprocess.SubprocessTransportTests.test_subprocess_repr) ... ok ---------------------------------------------------------------------- Ran 141 tests in 12.849s OK (skipped=35) 0:01:15 load avg: 1.47 [22/31/7] test_asyncio.test_subprocess failed (env changed) 0:01:15 load avg: 1.47 [23/31/7] test_asyncio.test_taskgroups test_cancel_children_on_child_error (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_cancel_children_on_child_error) ... ok test_cancellation (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_cancellation) ... ok test_cancellation_does_not_leak_out_of_tg (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_cancellation_does_not_leak_out_of_tg) ... ok test_cancels_task_if_created_during_creation (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_cancels_task_if_created_during_creation) ... ok test_exception_refcycles_base_error (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_exception_refcycles_base_error) Test that TaskGroup deletes self._base_error ... FAIL test_exception_refcycles_direct (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_exception_refcycles_direct) Test that TaskGroup doesn't keep a reference to the raised ExceptionGroup ... FAIL test_exception_refcycles_errors (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_exception_refcycles_errors) Test that TaskGroup deletes self._errors, and __aexit__ args ... FAIL test_exception_refcycles_parent_task (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_exception_refcycles_parent_task) Test that TaskGroup deletes self._parent_task ... FAIL test_exception_refcycles_parent_task_wr (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_exception_refcycles_parent_task_wr) Test that TaskGroup deletes self._parent_task and create_task() deletes task ... FAIL test_exception_refcycles_propagate_cancellation_error (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_exception_refcycles_propagate_cancellation_error) Test that TaskGroup deletes propagate_cancellation_error ... FAIL test_taskgroup_01 (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_01) ... ok test_taskgroup_02 (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_02) ... ok test_taskgroup_03 (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_03) ... ok test_taskgroup_04 (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_04) ... ok test_taskgroup_07 (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_07) ... ok test_taskgroup_08 (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_08) ... ok test_taskgroup_09 (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_09) ... ok test_taskgroup_10 (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_10) ... ok test_taskgroup_11 (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_11) ... ok test_taskgroup_12 (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_12) ... ok test_taskgroup_13 (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_13) ... ok test_taskgroup_14 (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_14) ... ok test_taskgroup_15 (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_15) ... ok test_taskgroup_16 (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_16) ... ok test_taskgroup_17 (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_17) ... ok test_taskgroup_18 (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_18) ... ok test_taskgroup_19 (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_19) ... ok test_taskgroup_20 (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_20) ... ok test_taskgroup_20a (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_20a) ... ok test_taskgroup_21a (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_21a) ... ok test_taskgroup_22 (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_22) ... ok test_taskgroup_23 (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_23) ... ok test_taskgroup_24 (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_24) ... ok test_taskgroup_25 (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_25) ... ok test_taskgroup_already_entered (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_already_entered) ... ok test_taskgroup_context_manager_exit_raises (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_context_manager_exit_raises) ... ok test_taskgroup_double_enter (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_double_enter) ... ok test_taskgroup_finished (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_finished) ... ok test_taskgroup_no_create_task_after_failure (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_no_create_task_after_failure) ... ok test_taskgroup_not_entered (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_not_entered) ... ok test_taskgroup_task_context (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_task_context) ... ok test_taskgroup_task_name (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_task_name) ... ok test_taskgroup_without_parent_task (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_taskgroup_without_parent_task) ... ok test_cancel_children_on_child_error (test.test_asyncio.test_taskgroups.TestTaskGroup.test_cancel_children_on_child_error) ... ok test_cancellation (test.test_asyncio.test_taskgroups.TestTaskGroup.test_cancellation) ... ok test_cancellation_does_not_leak_out_of_tg (test.test_asyncio.test_taskgroups.TestTaskGroup.test_cancellation_does_not_leak_out_of_tg) ... ok test_cancels_task_if_created_during_creation (test.test_asyncio.test_taskgroups.TestTaskGroup.test_cancels_task_if_created_during_creation) ... ok test_exception_refcycles_base_error (test.test_asyncio.test_taskgroups.TestTaskGroup.test_exception_refcycles_base_error) Test that TaskGroup deletes self._base_error ... FAIL test_exception_refcycles_direct (test.test_asyncio.test_taskgroups.TestTaskGroup.test_exception_refcycles_direct) Test that TaskGroup doesn't keep a reference to the raised ExceptionGroup ... FAIL test_exception_refcycles_errors (test.test_asyncio.test_taskgroups.TestTaskGroup.test_exception_refcycles_errors) Test that TaskGroup deletes self._errors, and __aexit__ args ... FAIL test_exception_refcycles_parent_task (test.test_asyncio.test_taskgroups.TestTaskGroup.test_exception_refcycles_parent_task) Test that TaskGroup deletes self._parent_task ... FAIL test_exception_refcycles_parent_task_wr (test.test_asyncio.test_taskgroups.TestTaskGroup.test_exception_refcycles_parent_task_wr) Test that TaskGroup deletes self._parent_task and create_task() deletes task ... FAIL test_exception_refcycles_propagate_cancellation_error (test.test_asyncio.test_taskgroups.TestTaskGroup.test_exception_refcycles_propagate_cancellation_error) Test that TaskGroup deletes propagate_cancellation_error ... FAIL test_taskgroup_01 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_01) ... ok test_taskgroup_02 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_02) ... ok test_taskgroup_03 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_03) ... ok test_taskgroup_04 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_04) ... ok test_taskgroup_07 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_07) ... ok test_taskgroup_08 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_08) ... ok test_taskgroup_09 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_09) ... ok test_taskgroup_10 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_10) ... ok test_taskgroup_11 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_11) ... ok test_taskgroup_12 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_12) ... ok test_taskgroup_13 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_13) ... ok test_taskgroup_14 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_14) ... ok test_taskgroup_15 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_15) ... ok test_taskgroup_16 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_16) ... ok test_taskgroup_17 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_17) ... ok test_taskgroup_18 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_18) ... ok test_taskgroup_19 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_19) ... ok test_taskgroup_20 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_20) ... ok test_taskgroup_20a (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_20a) ... ok test_taskgroup_21a (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_21a) ... ok test_taskgroup_22 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_22) ... ok test_taskgroup_23 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_23) ... ok test_taskgroup_24 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_24) ... ok test_taskgroup_25 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_25) ... ok test_taskgroup_already_entered (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_already_entered) ... ok test_taskgroup_context_manager_exit_raises (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_context_manager_exit_raises) ... ok test_taskgroup_double_enter (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_double_enter) ... ok test_taskgroup_finished (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_finished) ... ok test_taskgroup_no_create_task_after_failure (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_no_create_task_after_failure) ... ok test_taskgroup_not_entered (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_not_entered) ... ok test_taskgroup_task_context (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_task_context) ... ok test_taskgroup_task_name (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_task_name) ... ok test_taskgroup_without_parent_task (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_without_parent_task) ... ok ====================================================================== FAIL: test_exception_refcycles_base_error (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_exception_refcycles_base_error) Test that TaskGroup deletes self._base_error ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/futures.py", line 202, in result raise self._exception.with_traceback(self._exception_tb) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py", line 314, in __step_run_and_handle_result result = coro.send(None) ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py", line 957, in test_exception_refcycles_base_error self.assertListEqual(gc.get_referrers(exc), []) ^^^^^^^^^^^^^^^ AssertionError: Lists differ: [<frame at 0x00000000041800d0, file '/buil[161 chars](),)] != [] First list contains 2 additional elements. First extra element 0: <frame at 0x00000000041800d0, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 957, code test_exception_refcycles_base_error> + [] - [<frame at 0x00000000041800d0, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 957, code test_exception_refcycles_base_error>, - (MyKeyboardInterrupt(),)] ====================================================================== FAIL: test_exception_refcycles_direct (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_exception_refcycles_direct) Test that TaskGroup doesn't keep a reference to the raised ExceptionGroup ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/futures.py", line 202, in result raise self._exception.with_traceback(self._exception_tb) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py", line 314, in __step_run_and_handle_result result = coro.send(None) ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py", line 861, in test_exception_refcycles_direct self.assertListEqual(gc.get_referrers(exc), []) ^^^^^^^^^^^^^^^ AssertionError: Lists differ: [<frame at 0x0000000002a0f6d0, file '/buil[196 chars]]),)] != [] First list contains 2 additional elements. First extra element 0: <frame at 0x0000000002a0f6d0, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 861, code test_exception_refcycles_direct> + [] - [<frame at 0x0000000002a0f6d0, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 861, code test_exception_refcycles_direct>, - (ExceptionGroup('unhandled errors in a TaskGroup', [_Done()]),)] ====================================================================== FAIL: test_exception_refcycles_errors (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_exception_refcycles_errors) Test that TaskGroup deletes self._errors, and __aexit__ args ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/futures.py", line 202, in result raise self._exception.with_traceback(self._exception_tb) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py", line 314, in __step_run_and_handle_result result = coro.send(None) ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py", line 879, in test_exception_refcycles_errors self.assertListEqual(gc.get_referrers(exc), []) ^^^^^^^^^^^^^^^ AssertionError: Lists differ: [<frame at 0x00007f10cee40ff0, file '/buil[143 chars](),)] != [] First list contains 2 additional elements. First extra element 0: <frame at 0x00007f10cee40ff0, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 879, code test_exception_refcycles_errors> + [] - [<frame at 0x00007f10cee40ff0, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 879, code test_exception_refcycles_errors>, - (_Done(),)] ====================================================================== FAIL: test_exception_refcycles_parent_task (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_exception_refcycles_parent_task) Test that TaskGroup deletes self._parent_task ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/futures.py", line 202, in result raise self._exception.with_traceback(self._exception_tb) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py", line 316, in __step_run_and_handle_result result = coro.throw(exc) ^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py", line 901, in test_exception_refcycles_parent_task self.assertListEqual(gc.get_referrers(exc), []) ^^^^^^^^^^^^^^^ AssertionError: Lists differ: [<frame at 0x00007f10cf3cea70, file '/buil[233 chars](),)] != [] First list contains 5 additional elements. First extra element 0: <frame at 0x00007f10cf3cea70, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 901, code test_exception_refcycles_parent_task> + [] - [<frame at 0x00007f10cf3cea70, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 901, code test_exception_refcycles_parent_task>, - ExceptionGroup('unhandled errors in a TaskGroup', [_Done()]), - (_Done(),), - [_Done()], - (_Done(),)] ====================================================================== FAIL: test_exception_refcycles_parent_task_wr (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_exception_refcycles_parent_task_wr) Test that TaskGroup deletes self._parent_task and create_task() deletes task ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/futures.py", line 202, in result raise self._exception.with_traceback(self._exception_tb) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py", line 316, in __step_run_and_handle_result result = coro.throw(exc) ^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py", line 923, in test_exception_refcycles_parent_task_wr self.assertIsNone(task_wr()) ^^^^^^^^^^^^ AssertionError: <Task finished name='Task-9950' exception=ExceptionGroup('unhandled errors in a TaskGroup', [_Done()]) created at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py:974> is not None ====================================================================== FAIL: test_exception_refcycles_propagate_cancellation_error (test.test_asyncio.test_taskgroups.TestEagerTaskTaskGroup.test_exception_refcycles_propagate_cancellation_error) Test that TaskGroup deletes propagate_cancellation_error ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/futures.py", line 202, in result raise self._exception.with_traceback(self._exception_tb) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py", line 316, in __step_run_and_handle_result result = coro.throw(exc) ^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py", line 940, in test_exception_refcycles_propagate_cancellation_error self.assertListEqual(gc.get_referrers(exc), []) ^^^^^^^^^^^^^^^ AssertionError: Lists differ: [<frame at 0x00007f10cdc35ba0, file '/buil[516 chars](),)] != [] First list contains 5 additional elements. First extra element 0: <frame at 0x00007f10cdc35ba0, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 940, code test_exception_refcycles_propagate_cancellation_error> + [] - [<frame at 0x00007f10cdc35ba0, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 940, code test_exception_refcycles_propagate_cancellation_error>, - <frame at 0x00007f10cdc35c50, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py', line 316, code __step_run_and_handle_result>, - <frame at 0x00007f10cdc35ca8, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py', line 303, code __step>, - <SApplicationException object at 0x000000000385dd20>, - (CancelledError(),)] ====================================================================== FAIL: test_exception_refcycles_base_error (test.test_asyncio.test_taskgroups.TestTaskGroup.test_exception_refcycles_base_error) Test that TaskGroup deletes self._base_error ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/futures.py", line 202, in result raise self._exception.with_traceback(self._exception_tb) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py", line 314, in __step_run_and_handle_result result = coro.send(None) ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py", line 957, in test_exception_refcycles_base_error self.assertListEqual(gc.get_referrers(exc), []) ^^^^^^^^^^^^^^^ AssertionError: Lists differ: [<frame at 0x000000000439e5f8, file '/buil[161 chars](),)] != [] First list contains 2 additional elements. First extra element 0: <frame at 0x000000000439e5f8, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 957, code test_exception_refcycles_base_error> + [] - [<frame at 0x000000000439e5f8, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 957, code test_exception_refcycles_base_error>, - (MyKeyboardInterrupt(),)] ====================================================================== FAIL: test_exception_refcycles_direct (test.test_asyncio.test_taskgroups.TestTaskGroup.test_exception_refcycles_direct) Test that TaskGroup doesn't keep a reference to the raised ExceptionGroup ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/futures.py", line 202, in result raise self._exception.with_traceback(self._exception_tb) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py", line 314, in __step_run_and_handle_result result = coro.send(None) ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py", line 861, in test_exception_refcycles_direct self.assertListEqual(gc.get_referrers(exc), []) ^^^^^^^^^^^^^^^ AssertionError: Lists differ: [<frame at 0x000000000439f570, file '/buil[196 chars]]),)] != [] First list contains 2 additional elements. First extra element 0: <frame at 0x000000000439f570, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 861, code test_exception_refcycles_direct> + [] - [<frame at 0x000000000439f570, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 861, code test_exception_refcycles_direct>, - (ExceptionGroup('unhandled errors in a TaskGroup', [_Done()]),)] ====================================================================== FAIL: test_exception_refcycles_errors (test.test_asyncio.test_taskgroups.TestTaskGroup.test_exception_refcycles_errors) Test that TaskGroup deletes self._errors, and __aexit__ args ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/futures.py", line 202, in result raise self._exception.with_traceback(self._exception_tb) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py", line 314, in __step_run_and_handle_result result = coro.send(None) ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py", line 879, in test_exception_refcycles_errors self.assertListEqual(gc.get_referrers(exc), []) ^^^^^^^^^^^^^^^ AssertionError: Lists differ: [<frame at 0x00000000042bc440, file '/buil[143 chars](),)] != [] First list contains 2 additional elements. First extra element 0: <frame at 0x00000000042bc440, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 879, code test_exception_refcycles_errors> + [] - [<frame at 0x00000000042bc440, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 879, code test_exception_refcycles_errors>, - (_Done(),)] ====================================================================== FAIL: test_exception_refcycles_parent_task (test.test_asyncio.test_taskgroups.TestTaskGroup.test_exception_refcycles_parent_task) Test that TaskGroup deletes self._parent_task ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/futures.py", line 202, in result raise self._exception.with_traceback(self._exception_tb) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py", line 316, in __step_run_and_handle_result result = coro.throw(exc) ^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py", line 901, in test_exception_refcycles_parent_task self.assertListEqual(gc.get_referrers(exc), []) ^^^^^^^^^^^^^^^ AssertionError: Lists differ: [<frame at 0x00000000042bd3b8, file '/buil[233 chars](),)] != [] First list contains 5 additional elements. First extra element 0: <frame at 0x00000000042bd3b8, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 901, code test_exception_refcycles_parent_task> + [] - [<frame at 0x00000000042bd3b8, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 901, code test_exception_refcycles_parent_task>, - ExceptionGroup('unhandled errors in a TaskGroup', [_Done()]), - (_Done(),), - [_Done()], - (_Done(),)] ====================================================================== FAIL: test_exception_refcycles_parent_task_wr (test.test_asyncio.test_taskgroups.TestTaskGroup.test_exception_refcycles_parent_task_wr) Test that TaskGroup deletes self._parent_task and create_task() deletes task ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/futures.py", line 202, in result raise self._exception.with_traceback(self._exception_tb) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py", line 316, in __step_run_and_handle_result result = coro.throw(exc) ^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py", line 923, in test_exception_refcycles_parent_task_wr self.assertIsNone(task_wr()) ^^^^^^^^^^^^ AssertionError: <Task finished name='Task-10293' coro=<BaseTestTaskGroup.test_exception_refcycles_parent_task_wr.<locals>.coro_fn() done, defined at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py:912> exception=ExceptionGroup('unhandled errors in a TaskGroup', [_Done()]) created at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/taskgroups.py:184> is not None ====================================================================== FAIL: test_exception_refcycles_propagate_cancellation_error (test.test_asyncio.test_taskgroups.TestTaskGroup.test_exception_refcycles_propagate_cancellation_error) Test that TaskGroup deletes propagate_cancellation_error ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/futures.py", line 202, in result raise self._exception.with_traceback(self._exception_tb) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py", line 316, in __step_run_and_handle_result result = coro.throw(exc) ^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py", line 940, in test_exception_refcycles_propagate_cancellation_error self.assertListEqual(gc.get_referrers(exc), []) ^^^^^^^^^^^^^^^ AssertionError: Lists differ: [<frame at 0x00007f10cef29570, file '/buil[516 chars](),)] != [] First list contains 5 additional elements. First extra element 0: <frame at 0x00007f10cef29570, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 940, code test_exception_refcycles_propagate_cancellation_error> + [] - [<frame at 0x00007f10cef29570, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 940, code test_exception_refcycles_propagate_cancellation_error>, - <frame at 0x00007f10cef29620, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py', line 316, code __step_run_and_handle_result>, - <frame at 0x00007f10cef29c50, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py', line 303, code __step>, - <SApplicationException object at 0x000000000385d840>, - (CancelledError(),)] ---------------------------------------------------------------------- Ran 86 tests in 14.723s FAILED (failures=12) 0:01:30 load avg: 1.44 [23/31/8] test_asyncio.test_taskgroups failed (12 failures) 0:01:30 load avg: 1.44 [24/31/8] test_asyncio.test_tasks test_current_task_no_running_loop (test.test_asyncio.test_tasks.CCurrentLoopTests.test_current_task_no_running_loop) ... skipped 'requires the C _asyncio module' test_current_task_no_running_loop_implicit (test.test_asyncio.test_tasks.CCurrentLoopTests.test_current_task_no_running_loop_implicit) ... skipped 'requires the C _asyncio module' test_current_task_with_implicit_loop (test.test_asyncio.test_tasks.CCurrentLoopTests.test_current_task_with_implicit_loop) ... skipped 'requires the C _asyncio module' test__enter_task (test.test_asyncio.test_tasks.CIntrospectionTests.test__enter_task) ... skipped 'requires the C _asyncio module' test__enter_task_failure (test.test_asyncio.test_tasks.CIntrospectionTests.test__enter_task_failure) ... skipped 'requires the C _asyncio module' test__leave_task (test.test_asyncio.test_tasks.CIntrospectionTests.test__leave_task) ... skipped 'requires the C _asyncio module' test__leave_task_failure1 (test.test_asyncio.test_tasks.CIntrospectionTests.test__leave_task_failure1) ... skipped 'requires the C _asyncio module' test__leave_task_failure2 (test.test_asyncio.test_tasks.CIntrospectionTests.test__leave_task_failure2) ... skipped 'requires the C _asyncio module' test__register_task_1 (test.test_asyncio.test_tasks.CIntrospectionTests.test__register_task_1) ... skipped 'requires the C _asyncio module' test__register_task_2 (test.test_asyncio.test_tasks.CIntrospectionTests.test__register_task_2) ... skipped 'requires the C _asyncio module' test__register_task_3 (test.test_asyncio.test_tasks.CIntrospectionTests.test__register_task_3) ... skipped 'requires the C _asyncio module' test__unregister_task (test.test_asyncio.test_tasks.CIntrospectionTests.test__unregister_task) ... skipped 'requires the C _asyncio module' test__unregister_task_not_registered (test.test_asyncio.test_tasks.CIntrospectionTests.test__unregister_task_not_registered) ... skipped 'requires the C _asyncio module' test_as_completed (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_as_completed) ... skipped 'requires the C _asyncio module' test_as_completed_concurrent (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_as_completed_concurrent) ... skipped 'requires the C _asyncio module' test_as_completed_coroutine_use_running_loop (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_as_completed_coroutine_use_running_loop) ... skipped 'requires the C _asyncio module' test_as_completed_coroutine_without_loop (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_as_completed_coroutine_without_loop) ... skipped 'requires the C _asyncio module' test_as_completed_duplicate_coroutines (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_as_completed_duplicate_coroutines) ... skipped 'requires the C _asyncio module' test_as_completed_invalid_args (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_as_completed_invalid_args) ... skipped 'requires the C _asyncio module' test_as_completed_reverse_wait (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_as_completed_reverse_wait) ... skipped 'requires the C _asyncio module' test_as_completed_with_timeout (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_as_completed_with_timeout) ... skipped 'requires the C _asyncio module' test_as_completed_with_unused_timeout (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_as_completed_with_unused_timeout) ... skipped 'requires the C _asyncio module' test_bare_create_named_task (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_bare_create_named_task) ... skipped 'requires the C _asyncio module' test_bare_create_task (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_bare_create_task) ... skipped 'requires the C _asyncio module' test_baseexception_during_cancel (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_baseexception_during_cancel) ... skipped 'requires the C _asyncio module' test_cancel (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_cancel) ... skipped 'requires the C _asyncio module' test_cancel_at_end (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_cancel_at_end) coroutine end right after task is cancelled ... skipped 'requires the C _asyncio module' test_cancel_awaited_task (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_cancel_awaited_task) ... skipped 'requires the C _asyncio module' test_cancel_both_task_and_inner_future (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_cancel_both_task_and_inner_future) ... skipped 'requires the C _asyncio module' test_cancel_current_task (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_cancel_current_task) ... skipped 'requires the C _asyncio module' test_cancel_gather_1 (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_cancel_gather_1) Ensure that a gathering future refuses to be cancelled once all ... skipped 'requires the C _asyncio module' test_cancel_gather_2 (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_cancel_gather_2) ... skipped 'requires the C _asyncio module' test_cancel_inner_future (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_cancel_inner_future) ... skipped 'requires the C _asyncio module' test_cancel_task_catching (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_cancel_task_catching) ... skipped 'requires the C _asyncio module' test_cancel_task_ignoring (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_cancel_task_ignoring) ... skipped 'requires the C _asyncio module' test_cancel_traceback_for_future_exception (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_cancel_traceback_for_future_exception) ... skipped 'requires the C _asyncio module' test_cancel_traceback_for_future_result (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_cancel_traceback_for_future_result) ... skipped 'requires the C _asyncio module' test_cancel_with_message_before_starting_task (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_cancel_with_message_before_starting_task) ... skipped 'requires the C _asyncio module' test_cancel_with_message_then_future_exception (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_cancel_with_message_then_future_exception) ... skipped 'requires the C _asyncio module' test_cancel_with_message_then_future_result (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_cancel_with_message_then_future_result) ... skipped 'requires the C _asyncio module' test_cancel_yield (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_cancel_yield) ... skipped 'requires the C _asyncio module' test_cancellation_exception_context (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_cancellation_exception_context) ... skipped 'requires the C _asyncio module' test_cancelling (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_cancelling) ... skipped 'requires the C _asyncio module' test_context_1 (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_context_1) ... skipped 'requires the C _asyncio module' test_context_2 (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_context_2) ... skipped 'requires the C _asyncio module' test_context_3 (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_context_3) ... skipped 'requires the C _asyncio module' test_context_4 (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_context_4) ... skipped 'requires the C _asyncio module' test_context_5 (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_context_5) ... skipped 'requires the C _asyncio module' test_context_6 (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_context_6) ... skipped 'requires the C _asyncio module' test_coroutine_non_gen_function (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_coroutine_non_gen_function) ... skipped 'requires the C _asyncio module' test_coroutine_non_gen_function_return_future (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_coroutine_non_gen_function_return_future) ... skipped 'requires the C _asyncio module' test_create_task_with_async_function (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_create_task_with_async_function) ... skipped 'requires the C _asyncio module' test_create_task_with_asynclike_function (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_create_task_with_asynclike_function) ... skipped 'requires the C _asyncio module' test_create_task_with_noncoroutine (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_create_task_with_noncoroutine) ... skipped 'requires the C _asyncio module' test_current_task (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_current_task) ... skipped 'requires the C _asyncio module' test_current_task_with_interleaving_tasks (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_current_task_with_interleaving_tasks) ... skipped 'requires the C _asyncio module' test_ensure_future_awaitable (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_ensure_future_awaitable) ... skipped 'requires the C _asyncio module' test_ensure_future_coroutine (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_ensure_future_coroutine) ... skipped 'requires the C _asyncio module' test_ensure_future_error_msg (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_ensure_future_error_msg) ... skipped 'requires the C _asyncio module' test_ensure_future_future (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_ensure_future_future) ... skipped 'requires the C _asyncio module' test_ensure_future_neither (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_ensure_future_neither) ... skipped 'requires the C _asyncio module' test_ensure_future_task (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_ensure_future_task) ... skipped 'requires the C _asyncio module' test_ensure_future_task_awaitable (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_ensure_future_task_awaitable) ... skipped 'requires the C _asyncio module' test_error_in_call_soon (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_error_in_call_soon) ... skipped 'requires the C _asyncio module' test_exception_chaining_after_await (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_exception_chaining_after_await) ... skipped 'requires the C _asyncio module' test_exception_chaining_after_await_with_context_cycle (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_exception_chaining_after_await_with_context_cycle) ... skipped 'requires the C _asyncio module' test_exception_traceback (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_exception_traceback) ... skipped 'requires the C _asyncio module' test_gather_shield (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_gather_shield) ... skipped 'requires the C _asyncio module' test_generic_alias (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_generic_alias) ... skipped 'requires the C _asyncio module' test_get_context (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_get_context) ... skipped 'requires the C _asyncio module' test_get_coro (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_get_coro) ... skipped 'requires the C _asyncio module' test_get_stack (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_get_stack) ... skipped 'requires the C _asyncio module' test_iscoroutinefunction (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_iscoroutinefunction) ... skipped 'requires the C _asyncio module' test_log_destroyed_pending_task (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_log_destroyed_pending_task) ... skipped 'requires the C _asyncio module' test_log_traceback (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_log_traceback) ... skipped 'requires the C _asyncio module' test_other_loop_future (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_other_loop_future) ... skipped 'requires the C _asyncio module' test_proper_refcounts (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_proper_refcounts) ... skipped 'requires the C _asyncio module' test_shield_cancel_inner (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_shield_cancel_inner) ... skipped 'requires the C _asyncio module' test_shield_cancel_outer (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_shield_cancel_outer) ... skipped 'requires the C _asyncio module' test_shield_coroutine_use_global_loop (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_shield_coroutine_use_global_loop) ... skipped 'requires the C _asyncio module' test_shield_coroutine_use_running_loop (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_shield_coroutine_use_running_loop) ... skipped 'requires the C _asyncio module' test_shield_coroutine_without_loop (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_shield_coroutine_without_loop) ... skipped 'requires the C _asyncio module' test_shield_effect (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_shield_effect) ... skipped 'requires the C _asyncio module' test_shield_exception (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_shield_exception) ... skipped 'requires the C _asyncio module' test_shield_gather (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_shield_gather) ... skipped 'requires the C _asyncio module' test_shield_result (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_shield_result) ... skipped 'requires the C _asyncio module' test_shield_shortcut (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_shield_shortcut) ... skipped 'requires the C _asyncio module' test_sleep (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_sleep) ... skipped 'requires the C _asyncio module' test_sleep_cancel (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_sleep_cancel) ... skipped 'requires the C _asyncio module' test_step_result_future (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_step_result_future) ... skipped 'requires the C _asyncio module' test_stop_while_run_in_complete (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_stop_while_run_in_complete) ... skipped 'requires the C _asyncio module' test_task_awaits_on_itself (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_task_awaits_on_itself) ... skipped 'requires the C _asyncio module' test_task_basics (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_task_basics) ... skipped 'requires the C _asyncio module' test_task_cancel_message_getter (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_task_cancel_message_getter) ... skipped 'requires the C _asyncio module' test_task_cancel_message_setter (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_task_cancel_message_setter) ... skipped 'requires the C _asyncio module' test_task_cancel_sleeping_task (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_task_cancel_sleeping_task) ... skipped 'requires the C _asyncio module' test_task_cancel_waiter_future (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_task_cancel_waiter_future) ... skipped 'requires the C _asyncio module' test_task_class (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_task_class) ... skipped 'requires the C _asyncio module' test_task_del_collect (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_task_del_collect) ... skipped 'requires the C _asyncio module' test_task_repr (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_task_repr) ... skipped 'requires the C _asyncio module' test_task_repr_autogenerated (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_task_repr_autogenerated) ... skipped 'requires the C _asyncio module' test_task_repr_name_not_str (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_task_repr_name_not_str) ... skipped 'requires the C _asyncio module' test_task_repr_wait_for (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_task_repr_wait_for) ... skipped 'requires the C _asyncio module' test_task_set_methods (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_task_set_methods) ... skipped 'requires the C _asyncio module' test_task_set_name_pylong (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_task_set_name_pylong) ... skipped 'requires the C _asyncio module' test_task_source_traceback (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_task_source_traceback) ... skipped 'requires the C _asyncio module' test_tb_logger_not_called_after_cancel (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_tb_logger_not_called_after_cancel) ... skipped 'requires the C _asyncio module' test_uncancel_basic (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_uncancel_basic) ... skipped 'requires the C _asyncio module' test_uncancel_structured_blocks (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_uncancel_structured_blocks) ... skipped 'requires the C _asyncio module' test_wait (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_wait) ... skipped 'requires the C _asyncio module' test_wait_concurrent_complete (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_wait_concurrent_complete) ... skipped 'requires the C _asyncio module' test_wait_duplicate_coroutines (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_wait_duplicate_coroutines) ... skipped 'requires the C _asyncio module' test_wait_errors (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_wait_errors) ... skipped 'requires the C _asyncio module' test_wait_first_completed (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_wait_first_completed) ... skipped 'requires the C _asyncio module' test_wait_first_exception (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_wait_first_exception) ... skipped 'requires the C _asyncio module' test_wait_first_exception_in_wait (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_wait_first_exception_in_wait) ... skipped 'requires the C _asyncio module' test_wait_generator (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_wait_generator) ... skipped 'requires the C _asyncio module' test_wait_invalid_args (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_wait_invalid_args) ... skipped 'requires the C _asyncio module' test_wait_really_done (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_wait_really_done) ... skipped 'requires the C _asyncio module' test_wait_with_exception (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_wait_with_exception) ... skipped 'requires the C _asyncio module' test_wait_with_iterator_of_tasks (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_wait_with_iterator_of_tasks) ... skipped 'requires the C _asyncio module' test_wait_with_timeout (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_wait_with_timeout) ... skipped 'requires the C _asyncio module' test_yield_future_passes_cancel (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_yield_future_passes_cancel) ... skipped 'requires the C _asyncio module' test_yield_wait_does_not_shield_cancel (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_yield_wait_does_not_shield_cancel) ... skipped 'requires the C _asyncio module' test_as_completed (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_as_completed) ... skipped 'requires the C _asyncio module' test_as_completed_concurrent (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_as_completed_concurrent) ... skipped 'requires the C _asyncio module' test_as_completed_coroutine_use_running_loop (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_as_completed_coroutine_use_running_loop) ... skipped 'requires the C _asyncio module' test_as_completed_coroutine_without_loop (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_as_completed_coroutine_without_loop) ... skipped 'requires the C _asyncio module' test_as_completed_duplicate_coroutines (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_as_completed_duplicate_coroutines) ... skipped 'requires the C _asyncio module' test_as_completed_invalid_args (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_as_completed_invalid_args) ... skipped 'requires the C _asyncio module' test_as_completed_reverse_wait (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_as_completed_reverse_wait) ... skipped 'requires the C _asyncio module' test_as_completed_with_timeout (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_as_completed_with_timeout) ... skipped 'requires the C _asyncio module' test_as_completed_with_unused_timeout (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_as_completed_with_unused_timeout) ... skipped 'requires the C _asyncio module' test_bare_create_named_task (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_bare_create_named_task) ... skipped 'requires the C _asyncio module' test_bare_create_task (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_bare_create_task) ... skipped 'requires the C _asyncio module' test_baseexception_during_cancel (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_baseexception_during_cancel) ... skipped 'requires the C _asyncio module' test_cancel (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_cancel) ... skipped 'requires the C _asyncio module' test_cancel_at_end (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_cancel_at_end) coroutine end right after task is cancelled ... skipped 'requires the C _asyncio module' test_cancel_awaited_task (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_cancel_awaited_task) ... skipped 'requires the C _asyncio module' test_cancel_both_task_and_inner_future (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_cancel_both_task_and_inner_future) ... skipped 'requires the C _asyncio module' test_cancel_current_task (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_cancel_current_task) ... skipped 'requires the C _asyncio module' test_cancel_gather_1 (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_cancel_gather_1) Ensure that a gathering future refuses to be cancelled once all ... skipped 'requires the C _asyncio module' test_cancel_gather_2 (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_cancel_gather_2) ... skipped 'requires the C _asyncio module' test_cancel_inner_future (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_cancel_inner_future) ... skipped 'requires the C _asyncio module' test_cancel_task_catching (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_cancel_task_catching) ... skipped 'requires the C _asyncio module' test_cancel_task_ignoring (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_cancel_task_ignoring) ... skipped 'requires the C _asyncio module' test_cancel_traceback_for_future_exception (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_cancel_traceback_for_future_exception) ... skipped 'requires the C _asyncio module' test_cancel_traceback_for_future_result (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_cancel_traceback_for_future_result) ... skipped 'requires the C _asyncio module' test_cancel_with_message_before_starting_task (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_cancel_with_message_before_starting_task) ... skipped 'requires the C _asyncio module' test_cancel_with_message_then_future_exception (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_cancel_with_message_then_future_exception) ... skipped 'requires the C _asyncio module' test_cancel_with_message_then_future_result (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_cancel_with_message_then_future_result) ... skipped 'requires the C _asyncio module' test_cancel_yield (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_cancel_yield) ... skipped 'requires the C _asyncio module' test_cancellation_exception_context (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_cancellation_exception_context) ... skipped 'requires the C _asyncio module' test_cancelling (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_cancelling) ... skipped 'requires the C _asyncio module' test_context_1 (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_context_1) ... skipped 'requires the C _asyncio module' test_context_2 (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_context_2) ... skipped 'requires the C _asyncio module' test_context_3 (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_context_3) ... skipped 'requires the C _asyncio module' test_context_4 (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_context_4) ... skipped 'requires the C _asyncio module' test_context_5 (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_context_5) ... skipped 'requires the C _asyncio module' test_context_6 (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_context_6) ... skipped 'requires the C _asyncio module' test_coroutine_non_gen_function (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_coroutine_non_gen_function) ... skipped 'requires the C _asyncio module' test_coroutine_non_gen_function_return_future (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_coroutine_non_gen_function_return_future) ... skipped 'requires the C _asyncio module' test_create_task_with_async_function (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_create_task_with_async_function) ... skipped 'requires the C _asyncio module' test_create_task_with_asynclike_function (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_create_task_with_asynclike_function) ... skipped 'requires the C _asyncio module' test_create_task_with_noncoroutine (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_create_task_with_noncoroutine) ... skipped 'requires the C _asyncio module' test_current_task (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_current_task) ... skipped 'requires the C _asyncio module' test_current_task_with_interleaving_tasks (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_current_task_with_interleaving_tasks) ... skipped 'requires the C _asyncio module' test_ensure_future_awaitable (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_ensure_future_awaitable) ... skipped 'requires the C _asyncio module' test_ensure_future_coroutine (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_ensure_future_coroutine) ... skipped 'requires the C _asyncio module' test_ensure_future_error_msg (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_ensure_future_error_msg) ... skipped 'requires the C _asyncio module' test_ensure_future_future (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_ensure_future_future) ... skipped 'requires the C _asyncio module' test_ensure_future_neither (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_ensure_future_neither) ... skipped 'requires the C _asyncio module' test_ensure_future_task (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_ensure_future_task) ... skipped 'requires the C _asyncio module' test_ensure_future_task_awaitable (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_ensure_future_task_awaitable) ... skipped 'requires the C _asyncio module' test_error_in_call_soon (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_error_in_call_soon) ... skipped 'requires the C _asyncio module' test_exception_chaining_after_await (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_exception_chaining_after_await) ... skipped 'requires the C _asyncio module' test_exception_chaining_after_await_with_context_cycle (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_exception_chaining_after_await_with_context_cycle) ... skipped 'requires the C _asyncio module' test_exception_traceback (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_exception_traceback) ... skipped 'requires the C _asyncio module' test_gather_shield (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_gather_shield) ... skipped 'requires the C _asyncio module' test_generic_alias (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_generic_alias) ... skipped 'requires the C _asyncio module' test_get_context (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_get_context) ... skipped 'requires the C _asyncio module' test_get_coro (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_get_coro) ... skipped 'requires the C _asyncio module' test_get_stack (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_get_stack) ... skipped 'requires the C _asyncio module' test_iscoroutinefunction (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_iscoroutinefunction) ... skipped 'requires the C _asyncio module' test_log_destroyed_pending_task (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_log_destroyed_pending_task) ... skipped 'requires the C _asyncio module' test_log_traceback (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_log_traceback) ... skipped 'requires the C _asyncio module' test_other_loop_future (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_other_loop_future) ... skipped 'requires the C _asyncio module' test_proper_refcounts (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_proper_refcounts) ... skipped 'requires the C _asyncio module' test_shield_cancel_inner (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_shield_cancel_inner) ... skipped 'requires the C _asyncio module' test_shield_cancel_outer (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_shield_cancel_outer) ... skipped 'requires the C _asyncio module' test_shield_coroutine_use_global_loop (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_shield_coroutine_use_global_loop) ... skipped 'requires the C _asyncio module' test_shield_coroutine_use_running_loop (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_shield_coroutine_use_running_loop) ... skipped 'requires the C _asyncio module' test_shield_coroutine_without_loop (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_shield_coroutine_without_loop) ... skipped 'requires the C _asyncio module' test_shield_effect (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_shield_effect) ... skipped 'requires the C _asyncio module' test_shield_exception (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_shield_exception) ... skipped 'requires the C _asyncio module' test_shield_gather (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_shield_gather) ... skipped 'requires the C _asyncio module' test_shield_result (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_shield_result) ... skipped 'requires the C _asyncio module' test_shield_shortcut (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_shield_shortcut) ... skipped 'requires the C _asyncio module' test_sleep (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_sleep) ... skipped 'requires the C _asyncio module' test_sleep_cancel (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_sleep_cancel) ... skipped 'requires the C _asyncio module' test_step_result_future (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_step_result_future) ... skipped 'requires the C _asyncio module' test_stop_while_run_in_complete (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_stop_while_run_in_complete) ... skipped 'requires the C _asyncio module' test_task_awaits_on_itself (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_task_awaits_on_itself) ... skipped 'requires the C _asyncio module' test_task_basics (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_task_basics) ... skipped 'requires the C _asyncio module' test_task_cancel_message_getter (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_task_cancel_message_getter) ... skipped 'requires the C _asyncio module' test_task_cancel_message_setter (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_task_cancel_message_setter) ... skipped 'requires the C _asyncio module' test_task_cancel_sleeping_task (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_task_cancel_sleeping_task) ... skipped 'requires the C _asyncio module' test_task_cancel_waiter_future (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_task_cancel_waiter_future) ... skipped 'requires the C _asyncio module' test_task_class (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_task_class) ... skipped 'requires the C _asyncio module' test_task_del_collect (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_task_del_collect) ... skipped 'requires the C _asyncio module' test_task_repr (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_task_repr) ... skipped 'requires the C _asyncio module' test_task_repr_autogenerated (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_task_repr_autogenerated) ... skipped 'requires the C _asyncio module' test_task_repr_name_not_str (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_task_repr_name_not_str) ... skipped 'requires the C _asyncio module' test_task_repr_wait_for (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_task_repr_wait_for) ... skipped 'requires the C _asyncio module' test_task_set_methods (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_task_set_methods) ... skipped 'requires the C _asyncio module' test_task_set_name_pylong (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_task_set_name_pylong) ... skipped 'requires the C _asyncio module' test_task_source_traceback (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_task_source_traceback) ... skipped 'requires the C _asyncio module' test_tb_logger_not_called_after_cancel (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_tb_logger_not_called_after_cancel) ... skipped 'requires the C _asyncio module' test_uncancel_basic (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_uncancel_basic) ... skipped 'requires the C _asyncio module' test_uncancel_structured_blocks (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_uncancel_structured_blocks) ... skipped 'requires the C _asyncio module' test_wait (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_wait) ... skipped 'requires the C _asyncio module' test_wait_concurrent_complete (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_wait_concurrent_complete) ... skipped 'requires the C _asyncio module' test_wait_duplicate_coroutines (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_wait_duplicate_coroutines) ... skipped 'requires the C _asyncio module' test_wait_errors (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_wait_errors) ... skipped 'requires the C _asyncio module' test_wait_first_completed (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_wait_first_completed) ... skipped 'requires the C _asyncio module' test_wait_first_exception (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_wait_first_exception) ... skipped 'requires the C _asyncio module' test_wait_first_exception_in_wait (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_wait_first_exception_in_wait) ... skipped 'requires the C _asyncio module' test_wait_generator (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_wait_generator) ... skipped 'requires the C _asyncio module' test_wait_invalid_args (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_wait_invalid_args) ... skipped 'requires the C _asyncio module' test_wait_really_done (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_wait_really_done) ... skipped 'requires the C _asyncio module' test_wait_with_exception (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_wait_with_exception) ... skipped 'requires the C _asyncio module' test_wait_with_iterator_of_tasks (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_wait_with_iterator_of_tasks) ... skipped 'requires the C _asyncio module' test_wait_with_timeout (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_wait_with_timeout) ... skipped 'requires the C _asyncio module' test_yield_future_passes_cancel (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_yield_future_passes_cancel) ... skipped 'requires the C _asyncio module' test_yield_wait_does_not_shield_cancel (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests.test_yield_wait_does_not_shield_cancel) ... skipped 'requires the C _asyncio module' test_as_completed (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_as_completed) ... skipped 'requires the C _asyncio module' test_as_completed_concurrent (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_as_completed_concurrent) ... skipped 'requires the C _asyncio module' test_as_completed_coroutine_use_running_loop (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_as_completed_coroutine_use_running_loop) ... skipped 'requires the C _asyncio module' test_as_completed_coroutine_without_loop (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_as_completed_coroutine_without_loop) ... skipped 'requires the C _asyncio module' test_as_completed_duplicate_coroutines (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_as_completed_duplicate_coroutines) ... skipped 'requires the C _asyncio module' test_as_completed_invalid_args (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_as_completed_invalid_args) ... skipped 'requires the C _asyncio module' test_as_completed_reverse_wait (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_as_completed_reverse_wait) ... skipped 'requires the C _asyncio module' test_as_completed_with_timeout (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_as_completed_with_timeout) ... skipped 'requires the C _asyncio module' test_as_completed_with_unused_timeout (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_as_completed_with_unused_timeout) ... skipped 'requires the C _asyncio module' test_bare_create_named_task (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_bare_create_named_task) ... skipped 'requires the C _asyncio module' test_bare_create_task (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_bare_create_task) ... skipped 'requires the C _asyncio module' test_baseexception_during_cancel (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_baseexception_during_cancel) ... skipped 'requires the C _asyncio module' test_cancel (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_cancel) ... skipped 'requires the C _asyncio module' test_cancel_at_end (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_cancel_at_end) coroutine end right after task is cancelled ... skipped 'requires the C _asyncio module' test_cancel_awaited_task (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_cancel_awaited_task) ... skipped 'requires the C _asyncio module' test_cancel_both_task_and_inner_future (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_cancel_both_task_and_inner_future) ... skipped 'requires the C _asyncio module' test_cancel_current_task (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_cancel_current_task) ... skipped 'requires the C _asyncio module' test_cancel_gather_1 (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_cancel_gather_1) Ensure that a gathering future refuses to be cancelled once all ... skipped 'requires the C _asyncio module' test_cancel_gather_2 (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_cancel_gather_2) ... skipped 'requires the C _asyncio module' test_cancel_inner_future (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_cancel_inner_future) ... skipped 'requires the C _asyncio module' test_cancel_task_catching (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_cancel_task_catching) ... skipped 'requires the C _asyncio module' test_cancel_task_ignoring (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_cancel_task_ignoring) ... skipped 'requires the C _asyncio module' test_cancel_traceback_for_future_exception (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_cancel_traceback_for_future_exception) ... skipped 'requires the C _asyncio module' test_cancel_traceback_for_future_result (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_cancel_traceback_for_future_result) ... skipped 'requires the C _asyncio module' test_cancel_with_message_before_starting_task (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_cancel_with_message_before_starting_task) ... skipped 'requires the C _asyncio module' test_cancel_with_message_then_future_exception (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_cancel_with_message_then_future_exception) ... skipped 'requires the C _asyncio module' test_cancel_with_message_then_future_result (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_cancel_with_message_then_future_result) ... skipped 'requires the C _asyncio module' test_cancel_yield (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_cancel_yield) ... skipped 'requires the C _asyncio module' test_cancellation_exception_context (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_cancellation_exception_context) ... skipped 'requires the C _asyncio module' test_cancelling (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_cancelling) ... skipped 'requires the C _asyncio module' test_context_1 (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_context_1) ... skipped 'requires the C _asyncio module' test_context_2 (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_context_2) ... skipped 'requires the C _asyncio module' test_context_3 (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_context_3) ... skipped 'requires the C _asyncio module' test_context_4 (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_context_4) ... skipped 'requires the C _asyncio module' test_context_5 (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_context_5) ... skipped 'requires the C _asyncio module' test_context_6 (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_context_6) ... skipped 'requires the C _asyncio module' test_coroutine_non_gen_function (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_coroutine_non_gen_function) ... skipped 'requires the C _asyncio module' test_coroutine_non_gen_function_return_future (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_coroutine_non_gen_function_return_future) ... skipped 'requires the C _asyncio module' test_create_task_with_async_function (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_create_task_with_async_function) ... skipped 'requires the C _asyncio module' test_create_task_with_asynclike_function (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_create_task_with_asynclike_function) ... skipped 'requires the C _asyncio module' test_create_task_with_noncoroutine (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_create_task_with_noncoroutine) ... skipped 'requires the C _asyncio module' test_current_task (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_current_task) ... skipped 'requires the C _asyncio module' test_current_task_with_interleaving_tasks (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_current_task_with_interleaving_tasks) ... skipped 'requires the C _asyncio module' test_del__log_destroy_pending_segfault (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_del__log_destroy_pending_segfault) ... skipped 'requires the C _asyncio module' test_ensure_future_awaitable (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_ensure_future_awaitable) ... skipped 'requires the C _asyncio module' test_ensure_future_coroutine (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_ensure_future_coroutine) ... skipped 'requires the C _asyncio module' test_ensure_future_error_msg (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_ensure_future_error_msg) ... skipped 'requires the C _asyncio module' test_ensure_future_future (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_ensure_future_future) ... skipped 'requires the C _asyncio module' test_ensure_future_neither (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_ensure_future_neither) ... skipped 'requires the C _asyncio module' test_ensure_future_task (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_ensure_future_task) ... skipped 'requires the C _asyncio module' test_ensure_future_task_awaitable (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_ensure_future_task_awaitable) ... skipped 'requires the C _asyncio module' test_error_in_call_soon (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_error_in_call_soon) ... skipped 'requires the C _asyncio module' test_exception_chaining_after_await (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_exception_chaining_after_await) ... skipped 'requires the C _asyncio module' test_exception_chaining_after_await_with_context_cycle (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_exception_chaining_after_await_with_context_cycle) ... skipped 'requires the C _asyncio module' test_exception_traceback (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_exception_traceback) ... skipped 'requires the C _asyncio module' test_gather_shield (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_gather_shield) ... skipped 'requires the C _asyncio module' test_generic_alias (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_generic_alias) ... skipped 'requires the C _asyncio module' test_get_context (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_get_context) ... skipped 'requires the C _asyncio module' test_get_coro (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_get_coro) ... skipped 'requires the C _asyncio module' test_get_stack (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_get_stack) ... skipped 'requires the C _asyncio module' test_iscoroutinefunction (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_iscoroutinefunction) ... skipped 'requires the C _asyncio module' test_log_destroyed_pending_task (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_log_destroyed_pending_task) ... skipped 'requires the C _asyncio module' test_log_traceback (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_log_traceback) ... skipped 'requires the C _asyncio module' test_other_loop_future (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_other_loop_future) ... skipped 'requires the C _asyncio module' test_proper_refcounts (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_proper_refcounts) ... skipped 'requires the C _asyncio module' test_refleaks_in_task___init__ (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_refleaks_in_task___init__) ... skipped 'requires the C _asyncio module' test_set_exception_causes_invalid_state (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_set_exception_causes_invalid_state) ... skipped 'requires the C _asyncio module' test_set_result_causes_invalid_state (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_set_result_causes_invalid_state) ... skipped 'requires the C _asyncio module' test_shield_cancel_inner (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_shield_cancel_inner) ... skipped 'requires the C _asyncio module' test_shield_cancel_outer (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_shield_cancel_outer) ... skipped 'requires the C _asyncio module' test_shield_coroutine_use_global_loop (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_shield_coroutine_use_global_loop) ... skipped 'requires the C _asyncio module' test_shield_coroutine_use_running_loop (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_shield_coroutine_use_running_loop) ... skipped 'requires the C _asyncio module' test_shield_coroutine_without_loop (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_shield_coroutine_without_loop) ... skipped 'requires the C _asyncio module' test_shield_effect (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_shield_effect) ... skipped 'requires the C _asyncio module' test_shield_exception (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_shield_exception) ... skipped 'requires the C _asyncio module' test_shield_gather (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_shield_gather) ... skipped 'requires the C _asyncio module' test_shield_result (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_shield_result) ... skipped 'requires the C _asyncio module' test_shield_shortcut (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_shield_shortcut) ... skipped 'requires the C _asyncio module' test_sleep (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_sleep) ... skipped 'requires the C _asyncio module' test_sleep_cancel (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_sleep_cancel) ... skipped 'requires the C _asyncio module' test_step_result_future (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_step_result_future) ... skipped 'requires the C _asyncio module' test_stop_while_run_in_complete (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_stop_while_run_in_complete) ... skipped 'requires the C _asyncio module' test_task_awaits_on_itself (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_task_awaits_on_itself) ... skipped 'requires the C _asyncio module' test_task_basics (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_task_basics) ... skipped 'requires the C _asyncio module' test_task_cancel_message_getter (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_task_cancel_message_getter) ... skipped 'requires the C _asyncio module' test_task_cancel_message_setter (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_task_cancel_message_setter) ... skipped 'requires the C _asyncio module' test_task_cancel_sleeping_task (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_task_cancel_sleeping_task) ... skipped 'requires the C _asyncio module' test_task_cancel_waiter_future (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_task_cancel_waiter_future) ... skipped 'requires the C _asyncio module' test_task_class (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_task_class) ... skipped 'requires the C _asyncio module' test_task_del_collect (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_task_del_collect) ... skipped 'requires the C _asyncio module' test_task_repr (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_task_repr) ... skipped 'requires the C _asyncio module' test_task_repr_autogenerated (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_task_repr_autogenerated) ... skipped 'requires the C _asyncio module' test_task_repr_name_not_str (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_task_repr_name_not_str) ... skipped 'requires the C _asyncio module' test_task_repr_wait_for (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_task_repr_wait_for) ... skipped 'requires the C _asyncio module' test_task_set_methods (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_task_set_methods) ... skipped 'requires the C _asyncio module' test_task_set_name_pylong (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_task_set_name_pylong) ... skipped 'requires the C _asyncio module' test_task_source_traceback (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_task_source_traceback) ... skipped 'requires the C _asyncio module' test_tb_logger_not_called_after_cancel (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_tb_logger_not_called_after_cancel) ... skipped 'requires the C _asyncio module' test_uncancel_basic (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_uncancel_basic) ... skipped 'requires the C _asyncio module' test_uncancel_structured_blocks (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_uncancel_structured_blocks) ... skipped 'requires the C _asyncio module' test_wait (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_wait) ... skipped 'requires the C _asyncio module' test_wait_concurrent_complete (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_wait_concurrent_complete) ... skipped 'requires the C _asyncio module' test_wait_duplicate_coroutines (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_wait_duplicate_coroutines) ... skipped 'requires the C _asyncio module' test_wait_errors (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_wait_errors) ... skipped 'requires the C _asyncio module' test_wait_first_completed (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_wait_first_completed) ... skipped 'requires the C _asyncio module' test_wait_first_exception (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_wait_first_exception) ... skipped 'requires the C _asyncio module' test_wait_first_exception_in_wait (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_wait_first_exception_in_wait) ... skipped 'requires the C _asyncio module' test_wait_generator (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_wait_generator) ... skipped 'requires the C _asyncio module' test_wait_invalid_args (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_wait_invalid_args) ... skipped 'requires the C _asyncio module' test_wait_really_done (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_wait_really_done) ... skipped 'requires the C _asyncio module' test_wait_with_exception (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_wait_with_exception) ... skipped 'requires the C _asyncio module' test_wait_with_iterator_of_tasks (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_wait_with_iterator_of_tasks) ... skipped 'requires the C _asyncio module' test_wait_with_timeout (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_wait_with_timeout) ... skipped 'requires the C _asyncio module' test_yield_future_passes_cancel (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_yield_future_passes_cancel) ... skipped 'requires the C _asyncio module' test_yield_wait_does_not_shield_cancel (test.test_asyncio.test_tasks.CTask_CFuture_Tests.test_yield_wait_does_not_shield_cancel) ... skipped 'requires the C _asyncio module' test_foobar (test.test_asyncio.test_tasks.CTask_Future_Tests.test_foobar) ... skipped 'requires the C _asyncio module' test_as_completed (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_as_completed) ... skipped 'requires the C _asyncio module' test_as_completed_concurrent (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_as_completed_concurrent) ... skipped 'requires the C _asyncio module' test_as_completed_coroutine_use_running_loop (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_as_completed_coroutine_use_running_loop) ... skipped 'requires the C _asyncio module' test_as_completed_coroutine_without_loop (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_as_completed_coroutine_without_loop) ... skipped 'requires the C _asyncio module' test_as_completed_duplicate_coroutines (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_as_completed_duplicate_coroutines) ... skipped 'requires the C _asyncio module' test_as_completed_invalid_args (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_as_completed_invalid_args) ... skipped 'requires the C _asyncio module' test_as_completed_reverse_wait (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_as_completed_reverse_wait) ... skipped 'requires the C _asyncio module' test_as_completed_with_timeout (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_as_completed_with_timeout) ... skipped 'requires the C _asyncio module' test_as_completed_with_unused_timeout (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_as_completed_with_unused_timeout) ... skipped 'requires the C _asyncio module' test_bare_create_named_task (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_bare_create_named_task) ... skipped 'requires the C _asyncio module' test_bare_create_task (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_bare_create_task) ... skipped 'requires the C _asyncio module' test_baseexception_during_cancel (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_baseexception_during_cancel) ... skipped 'requires the C _asyncio module' test_cancel (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_cancel) ... skipped 'requires the C _asyncio module' test_cancel_at_end (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_cancel_at_end) coroutine end right after task is cancelled ... skipped 'requires the C _asyncio module' test_cancel_awaited_task (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_cancel_awaited_task) ... skipped 'requires the C _asyncio module' test_cancel_both_task_and_inner_future (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_cancel_both_task_and_inner_future) ... skipped 'requires the C _asyncio module' test_cancel_current_task (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_cancel_current_task) ... skipped 'requires the C _asyncio module' test_cancel_gather_1 (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_cancel_gather_1) Ensure that a gathering future refuses to be cancelled once all ... skipped 'requires the C _asyncio module' test_cancel_gather_2 (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_cancel_gather_2) ... skipped 'requires the C _asyncio module' test_cancel_inner_future (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_cancel_inner_future) ... skipped 'requires the C _asyncio module' test_cancel_task_catching (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_cancel_task_catching) ... skipped 'requires the C _asyncio module' test_cancel_task_ignoring (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_cancel_task_ignoring) ... skipped 'requires the C _asyncio module' test_cancel_traceback_for_future_exception (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_cancel_traceback_for_future_exception) ... skipped 'requires the C _asyncio module' test_cancel_traceback_for_future_result (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_cancel_traceback_for_future_result) ... skipped 'requires the C _asyncio module' test_cancel_with_message_before_starting_task (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_cancel_with_message_before_starting_task) ... skipped 'requires the C _asyncio module' test_cancel_with_message_then_future_exception (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_cancel_with_message_then_future_exception) ... skipped 'requires the C _asyncio module' test_cancel_with_message_then_future_result (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_cancel_with_message_then_future_result) ... skipped 'requires the C _asyncio module' test_cancel_yield (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_cancel_yield) ... skipped 'requires the C _asyncio module' test_cancellation_exception_context (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_cancellation_exception_context) ... skipped 'requires the C _asyncio module' test_cancelling (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_cancelling) ... skipped 'requires the C _asyncio module' test_context_1 (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_context_1) ... skipped 'requires the C _asyncio module' test_context_2 (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_context_2) ... skipped 'requires the C _asyncio module' test_context_3 (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_context_3) ... skipped 'requires the C _asyncio module' test_context_4 (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_context_4) ... skipped 'requires the C _asyncio module' test_context_5 (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_context_5) ... skipped 'requires the C _asyncio module' test_context_6 (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_context_6) ... skipped 'requires the C _asyncio module' test_coroutine_non_gen_function (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_coroutine_non_gen_function) ... skipped 'requires the C _asyncio module' test_coroutine_non_gen_function_return_future (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_coroutine_non_gen_function_return_future) ... skipped 'requires the C _asyncio module' test_create_task_with_async_function (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_create_task_with_async_function) ... skipped 'requires the C _asyncio module' test_create_task_with_asynclike_function (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_create_task_with_asynclike_function) ... skipped 'requires the C _asyncio module' test_create_task_with_noncoroutine (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_create_task_with_noncoroutine) ... skipped 'requires the C _asyncio module' test_current_task (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_current_task) ... skipped 'requires the C _asyncio module' test_current_task_with_interleaving_tasks (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_current_task_with_interleaving_tasks) ... skipped 'requires the C _asyncio module' test_ensure_future_awaitable (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_ensure_future_awaitable) ... skipped 'requires the C _asyncio module' test_ensure_future_coroutine (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_ensure_future_coroutine) ... skipped 'requires the C _asyncio module' test_ensure_future_error_msg (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_ensure_future_error_msg) ... skipped 'requires the C _asyncio module' test_ensure_future_future (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_ensure_future_future) ... skipped 'requires the C _asyncio module' test_ensure_future_neither (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_ensure_future_neither) ... skipped 'requires the C _asyncio module' test_ensure_future_task (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_ensure_future_task) ... skipped 'requires the C _asyncio module' test_ensure_future_task_awaitable (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_ensure_future_task_awaitable) ... skipped 'requires the C _asyncio module' test_error_in_call_soon (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_error_in_call_soon) ... skipped 'requires the C _asyncio module' test_exception_chaining_after_await (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_exception_chaining_after_await) ... skipped 'requires the C _asyncio module' test_exception_chaining_after_await_with_context_cycle (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_exception_chaining_after_await_with_context_cycle) ... skipped 'requires the C _asyncio module' test_exception_traceback (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_exception_traceback) ... skipped 'requires the C _asyncio module' test_gather_shield (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_gather_shield) ... skipped 'requires the C _asyncio module' test_generic_alias (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_generic_alias) ... skipped 'requires the C _asyncio module' test_get_context (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_get_context) ... skipped 'requires the C _asyncio module' test_get_coro (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_get_coro) ... skipped 'requires the C _asyncio module' test_get_stack (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_get_stack) ... skipped 'requires the C _asyncio module' test_iscoroutinefunction (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_iscoroutinefunction) ... skipped 'requires the C _asyncio module' test_log_destroyed_pending_task (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_log_destroyed_pending_task) ... skipped 'requires the C _asyncio module' test_log_traceback (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_log_traceback) ... skipped 'requires the C _asyncio module' test_other_loop_future (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_other_loop_future) ... skipped 'requires the C _asyncio module' test_proper_refcounts (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_proper_refcounts) ... skipped 'requires the C _asyncio module' test_shield_cancel_inner (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_shield_cancel_inner) ... skipped 'requires the C _asyncio module' test_shield_cancel_outer (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_shield_cancel_outer) ... skipped 'requires the C _asyncio module' test_shield_coroutine_use_global_loop (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_shield_coroutine_use_global_loop) ... skipped 'requires the C _asyncio module' test_shield_coroutine_use_running_loop (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_shield_coroutine_use_running_loop) ... skipped 'requires the C _asyncio module' test_shield_coroutine_without_loop (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_shield_coroutine_without_loop) ... skipped 'requires the C _asyncio module' test_shield_effect (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_shield_effect) ... skipped 'requires the C _asyncio module' test_shield_exception (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_shield_exception) ... skipped 'requires the C _asyncio module' test_shield_gather (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_shield_gather) ... skipped 'requires the C _asyncio module' test_shield_result (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_shield_result) ... skipped 'requires the C _asyncio module' test_shield_shortcut (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_shield_shortcut) ... skipped 'requires the C _asyncio module' test_sleep (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_sleep) ... skipped 'requires the C _asyncio module' test_sleep_cancel (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_sleep_cancel) ... skipped 'requires the C _asyncio module' test_step_result_future (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_step_result_future) ... skipped 'requires the C _asyncio module' test_stop_while_run_in_complete (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_stop_while_run_in_complete) ... skipped 'requires the C _asyncio module' test_task_awaits_on_itself (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_task_awaits_on_itself) ... skipped 'requires the C _asyncio module' test_task_basics (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_task_basics) ... skipped 'requires the C _asyncio module' test_task_cancel_message_getter (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_task_cancel_message_getter) ... skipped 'requires the C _asyncio module' test_task_cancel_message_setter (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_task_cancel_message_setter) ... skipped 'requires the C _asyncio module' test_task_cancel_sleeping_task (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_task_cancel_sleeping_task) ... skipped 'requires the C _asyncio module' test_task_cancel_waiter_future (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_task_cancel_waiter_future) ... skipped 'requires the C _asyncio module' test_task_class (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_task_class) ... skipped 'requires the C _asyncio module' test_task_del_collect (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_task_del_collect) ... skipped 'requires the C _asyncio module' test_task_repr (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_task_repr) ... skipped 'requires the C _asyncio module' test_task_repr_autogenerated (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_task_repr_autogenerated) ... skipped 'requires the C _asyncio module' test_task_repr_name_not_str (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_task_repr_name_not_str) ... skipped 'requires the C _asyncio module' test_task_repr_wait_for (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_task_repr_wait_for) ... skipped 'requires the C _asyncio module' test_task_set_methods (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_task_set_methods) ... skipped 'requires the C _asyncio module' test_task_set_name_pylong (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_task_set_name_pylong) ... skipped 'requires the C _asyncio module' test_task_source_traceback (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_task_source_traceback) ... skipped 'requires the C _asyncio module' test_tb_logger_not_called_after_cancel (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_tb_logger_not_called_after_cancel) ... skipped 'requires the C _asyncio module' test_uncancel_basic (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_uncancel_basic) ... skipped 'requires the C _asyncio module' test_uncancel_structured_blocks (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_uncancel_structured_blocks) ... skipped 'requires the C _asyncio module' test_wait (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_wait) ... skipped 'requires the C _asyncio module' test_wait_concurrent_complete (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_wait_concurrent_complete) ... skipped 'requires the C _asyncio module' test_wait_duplicate_coroutines (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_wait_duplicate_coroutines) ... skipped 'requires the C _asyncio module' test_wait_errors (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_wait_errors) ... skipped 'requires the C _asyncio module' test_wait_first_completed (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_wait_first_completed) ... skipped 'requires the C _asyncio module' test_wait_first_exception (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_wait_first_exception) ... skipped 'requires the C _asyncio module' test_wait_first_exception_in_wait (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_wait_first_exception_in_wait) ... skipped 'requires the C _asyncio module' test_wait_generator (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_wait_generator) ... skipped 'requires the C _asyncio module' test_wait_invalid_args (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_wait_invalid_args) ... skipped 'requires the C _asyncio module' test_wait_really_done (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_wait_really_done) ... skipped 'requires the C _asyncio module' test_wait_with_exception (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_wait_with_exception) ... skipped 'requires the C _asyncio module' test_wait_with_iterator_of_tasks (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_wait_with_iterator_of_tasks) ... skipped 'requires the C _asyncio module' test_wait_with_timeout (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_wait_with_timeout) ... skipped 'requires the C _asyncio module' test_yield_future_passes_cancel (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_yield_future_passes_cancel) ... skipped 'requires the C _asyncio module' test_yield_wait_does_not_shield_cancel (test.test_asyncio.test_tasks.CTask_PyFuture_Tests.test_yield_wait_does_not_shield_cancel) ... skipped 'requires the C _asyncio module' test_cancellation_broadcast (test.test_asyncio.test_tasks.CoroutineGatherTests.test_cancellation_broadcast) ... ok test_constructor_use_global_loop (test.test_asyncio.test_tasks.CoroutineGatherTests.test_constructor_use_global_loop) ... ok test_constructor_use_running_loop (test.test_asyncio.test_tasks.CoroutineGatherTests.test_constructor_use_running_loop) ... ok test_constructor_without_loop (test.test_asyncio.test_tasks.CoroutineGatherTests.test_constructor_without_loop) ... ok test_duplicate_coroutines (test.test_asyncio.test_tasks.CoroutineGatherTests.test_duplicate_coroutines) ... ok test_env_var_debug (test.test_asyncio.test_tasks.CoroutineGatherTests.test_env_var_debug) ... ok test_exception_marking (test.test_asyncio.test_tasks.CoroutineGatherTests.test_exception_marking) ... ok test_issue46672 (test.test_asyncio.test_tasks.CoroutineGatherTests.test_issue46672) ... ok test_one_exception (test.test_asyncio.test_tasks.CoroutineGatherTests.test_one_exception) ... ok test_result_exception_success (test.test_asyncio.test_tasks.CoroutineGatherTests.test_result_exception_success) ... ok test_return_exceptions (test.test_asyncio.test_tasks.CoroutineGatherTests.test_return_exceptions) ... ok test_success (test.test_asyncio.test_tasks.CoroutineGatherTests.test_success) ... ok test_constructor_empty_sequence_use_global_loop (test.test_asyncio.test_tasks.FutureGatherTests.test_constructor_empty_sequence_use_global_loop) ... ok test_constructor_empty_sequence_use_running_loop (test.test_asyncio.test_tasks.FutureGatherTests.test_constructor_empty_sequence_use_running_loop) ... ok test_constructor_empty_sequence_without_loop (test.test_asyncio.test_tasks.FutureGatherTests.test_constructor_empty_sequence_without_loop) ... ok test_constructor_heterogenous_futures (test.test_asyncio.test_tasks.FutureGatherTests.test_constructor_heterogenous_futures) ... ok test_constructor_homogenous_futures (test.test_asyncio.test_tasks.FutureGatherTests.test_constructor_homogenous_futures) ... ok test_env_var_debug (test.test_asyncio.test_tasks.FutureGatherTests.test_env_var_debug) ... ok test_one_cancellation (test.test_asyncio.test_tasks.FutureGatherTests.test_one_cancellation) ... ok test_one_exception (test.test_asyncio.test_tasks.FutureGatherTests.test_one_exception) ... ok test_result_exception_one_cancellation (test.test_asyncio.test_tasks.FutureGatherTests.test_result_exception_one_cancellation) ... ok test_result_exception_success (test.test_asyncio.test_tasks.FutureGatherTests.test_result_exception_success) ... ok test_return_exceptions (test.test_asyncio.test_tasks.FutureGatherTests.test_return_exceptions) ... ok test_success (test.test_asyncio.test_tasks.FutureGatherTests.test_success) ... ok test_asyncio_module_compiled (test.test_asyncio.test_tasks.GenericTaskTests.test_asyncio_module_compiled) ... skipped 'implementation detail specific to cpython' test_future_subclass (test.test_asyncio.test_tasks.GenericTaskTests.test_future_subclass) ... ok test_current_task_no_running_loop (test.test_asyncio.test_tasks.PyCurrentLoopTests.test_current_task_no_running_loop) ... ok test_current_task_no_running_loop_implicit (test.test_asyncio.test_tasks.PyCurrentLoopTests.test_current_task_no_running_loop_implicit) ... ok test_current_task_with_implicit_loop (test.test_asyncio.test_tasks.PyCurrentLoopTests.test_current_task_with_implicit_loop) ... ok test__enter_task (test.test_asyncio.test_tasks.PyIntrospectionTests.test__enter_task) ... ok test__enter_task_failure (test.test_asyncio.test_tasks.PyIntrospectionTests.test__enter_task_failure) ... ok test__leave_task (test.test_asyncio.test_tasks.PyIntrospectionTests.test__leave_task) ... ok test__leave_task_failure1 (test.test_asyncio.test_tasks.PyIntrospectionTests.test__leave_task_failure1) ... ok test__leave_task_failure2 (test.test_asyncio.test_tasks.PyIntrospectionTests.test__leave_task_failure2) ... ok test__register_task_1 (test.test_asyncio.test_tasks.PyIntrospectionTests.test__register_task_1) ... ok test__register_task_2 (test.test_asyncio.test_tasks.PyIntrospectionTests.test__register_task_2) ... ok test__register_task_3 (test.test_asyncio.test_tasks.PyIntrospectionTests.test__register_task_3) ... ok test__unregister_task (test.test_asyncio.test_tasks.PyIntrospectionTests.test__unregister_task) ... ok test__unregister_task_not_registered (test.test_asyncio.test_tasks.PyIntrospectionTests.test__unregister_task_not_registered) ... ok test_as_completed (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_as_completed) ... skipped 'requires the C _asyncio module' test_as_completed_concurrent (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_as_completed_concurrent) ... skipped 'requires the C _asyncio module' test_as_completed_coroutine_use_running_loop (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_as_completed_coroutine_use_running_loop) ... skipped 'requires the C _asyncio module' test_as_completed_coroutine_without_loop (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_as_completed_coroutine_without_loop) ... skipped 'requires the C _asyncio module' test_as_completed_duplicate_coroutines (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_as_completed_duplicate_coroutines) ... skipped 'requires the C _asyncio module' test_as_completed_invalid_args (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_as_completed_invalid_args) ... skipped 'requires the C _asyncio module' test_as_completed_reverse_wait (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_as_completed_reverse_wait) ... skipped 'requires the C _asyncio module' test_as_completed_with_timeout (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_as_completed_with_timeout) ... skipped 'requires the C _asyncio module' test_as_completed_with_unused_timeout (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_as_completed_with_unused_timeout) ... skipped 'requires the C _asyncio module' test_bare_create_named_task (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_bare_create_named_task) ... skipped 'requires the C _asyncio module' test_bare_create_task (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_bare_create_task) ... skipped 'requires the C _asyncio module' test_baseexception_during_cancel (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_baseexception_during_cancel) ... skipped 'requires the C _asyncio module' test_cancel (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_cancel) ... skipped 'requires the C _asyncio module' test_cancel_at_end (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_cancel_at_end) coroutine end right after task is cancelled ... skipped 'requires the C _asyncio module' test_cancel_awaited_task (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_cancel_awaited_task) ... skipped 'requires the C _asyncio module' test_cancel_both_task_and_inner_future (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_cancel_both_task_and_inner_future) ... skipped 'requires the C _asyncio module' test_cancel_current_task (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_cancel_current_task) ... skipped 'requires the C _asyncio module' test_cancel_gather_1 (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_cancel_gather_1) Ensure that a gathering future refuses to be cancelled once all ... skipped 'requires the C _asyncio module' test_cancel_gather_2 (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_cancel_gather_2) ... skipped 'requires the C _asyncio module' test_cancel_inner_future (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_cancel_inner_future) ... skipped 'requires the C _asyncio module' test_cancel_task_catching (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_cancel_task_catching) ... skipped 'requires the C _asyncio module' test_cancel_task_ignoring (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_cancel_task_ignoring) ... skipped 'requires the C _asyncio module' test_cancel_traceback_for_future_exception (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_cancel_traceback_for_future_exception) ... skipped 'requires the C _asyncio module' test_cancel_traceback_for_future_result (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_cancel_traceback_for_future_result) ... skipped 'requires the C _asyncio module' test_cancel_with_message_before_starting_task (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_cancel_with_message_before_starting_task) ... skipped 'requires the C _asyncio module' test_cancel_with_message_then_future_exception (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_cancel_with_message_then_future_exception) ... skipped 'requires the C _asyncio module' test_cancel_with_message_then_future_result (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_cancel_with_message_then_future_result) ... skipped 'requires the C _asyncio module' test_cancel_yield (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_cancel_yield) ... skipped 'requires the C _asyncio module' test_cancellation_exception_context (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_cancellation_exception_context) ... skipped 'requires the C _asyncio module' test_cancelling (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_cancelling) ... skipped 'requires the C _asyncio module' test_context_1 (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_context_1) ... skipped 'requires the C _asyncio module' test_context_2 (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_context_2) ... skipped 'requires the C _asyncio module' test_context_3 (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_context_3) ... skipped 'requires the C _asyncio module' test_context_4 (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_context_4) ... skipped 'requires the C _asyncio module' test_context_5 (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_context_5) ... skipped 'requires the C _asyncio module' test_context_6 (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_context_6) ... skipped 'requires the C _asyncio module' test_coroutine_non_gen_function (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_coroutine_non_gen_function) ... skipped 'requires the C _asyncio module' test_coroutine_non_gen_function_return_future (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_coroutine_non_gen_function_return_future) ... skipped 'requires the C _asyncio module' test_create_task_with_async_function (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_create_task_with_async_function) ... skipped 'requires the C _asyncio module' test_create_task_with_asynclike_function (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_create_task_with_asynclike_function) ... skipped 'requires the C _asyncio module' test_create_task_with_noncoroutine (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_create_task_with_noncoroutine) ... skipped 'requires the C _asyncio module' test_current_task (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_current_task) ... skipped 'requires the C _asyncio module' test_current_task_with_interleaving_tasks (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_current_task_with_interleaving_tasks) ... skipped 'requires the C _asyncio module' test_ensure_future_awaitable (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_ensure_future_awaitable) ... skipped 'requires the C _asyncio module' test_ensure_future_coroutine (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_ensure_future_coroutine) ... skipped 'requires the C _asyncio module' test_ensure_future_error_msg (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_ensure_future_error_msg) ... skipped 'requires the C _asyncio module' test_ensure_future_future (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_ensure_future_future) ... skipped 'requires the C _asyncio module' test_ensure_future_neither (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_ensure_future_neither) ... skipped 'requires the C _asyncio module' test_ensure_future_task (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_ensure_future_task) ... skipped 'requires the C _asyncio module' test_ensure_future_task_awaitable (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_ensure_future_task_awaitable) ... skipped 'requires the C _asyncio module' test_error_in_call_soon (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_error_in_call_soon) ... skipped 'requires the C _asyncio module' test_exception_chaining_after_await (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_exception_chaining_after_await) ... skipped 'requires the C _asyncio module' test_exception_chaining_after_await_with_context_cycle (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_exception_chaining_after_await_with_context_cycle) ... skipped 'requires the C _asyncio module' test_exception_traceback (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_exception_traceback) ... skipped 'requires the C _asyncio module' test_gather_shield (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_gather_shield) ... skipped 'requires the C _asyncio module' test_generic_alias (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_generic_alias) ... skipped 'requires the C _asyncio module' test_get_context (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_get_context) ... skipped 'requires the C _asyncio module' test_get_coro (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_get_coro) ... skipped 'requires the C _asyncio module' test_get_stack (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_get_stack) ... skipped 'requires the C _asyncio module' test_iscoroutinefunction (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_iscoroutinefunction) ... skipped 'requires the C _asyncio module' test_log_destroyed_pending_task (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_log_destroyed_pending_task) ... skipped 'requires the C _asyncio module' test_log_traceback (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_log_traceback) ... skipped 'requires the C _asyncio module' test_other_loop_future (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_other_loop_future) ... skipped 'requires the C _asyncio module' test_proper_refcounts (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_proper_refcounts) ... skipped 'requires the C _asyncio module' test_shield_cancel_inner (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_shield_cancel_inner) ... skipped 'requires the C _asyncio module' test_shield_cancel_outer (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_shield_cancel_outer) ... skipped 'requires the C _asyncio module' test_shield_coroutine_use_global_loop (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_shield_coroutine_use_global_loop) ... skipped 'requires the C _asyncio module' test_shield_coroutine_use_running_loop (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_shield_coroutine_use_running_loop) ... skipped 'requires the C _asyncio module' test_shield_coroutine_without_loop (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_shield_coroutine_without_loop) ... skipped 'requires the C _asyncio module' test_shield_effect (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_shield_effect) ... skipped 'requires the C _asyncio module' test_shield_exception (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_shield_exception) ... skipped 'requires the C _asyncio module' test_shield_gather (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_shield_gather) ... skipped 'requires the C _asyncio module' test_shield_result (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_shield_result) ... skipped 'requires the C _asyncio module' test_shield_shortcut (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_shield_shortcut) ... skipped 'requires the C _asyncio module' test_sleep (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_sleep) ... skipped 'requires the C _asyncio module' test_sleep_cancel (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_sleep_cancel) ... skipped 'requires the C _asyncio module' test_step_result_future (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_step_result_future) ... skipped 'requires the C _asyncio module' test_stop_while_run_in_complete (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_stop_while_run_in_complete) ... skipped 'requires the C _asyncio module' test_task_awaits_on_itself (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_task_awaits_on_itself) ... skipped 'requires the C _asyncio module' test_task_basics (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_task_basics) ... skipped 'requires the C _asyncio module' test_task_cancel_message_getter (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_task_cancel_message_getter) ... skipped 'requires the C _asyncio module' test_task_cancel_message_setter (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_task_cancel_message_setter) ... skipped 'requires the C _asyncio module' test_task_cancel_sleeping_task (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_task_cancel_sleeping_task) ... skipped 'requires the C _asyncio module' test_task_cancel_waiter_future (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_task_cancel_waiter_future) ... skipped 'requires the C _asyncio module' test_task_class (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_task_class) ... skipped 'requires the C _asyncio module' test_task_del_collect (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_task_del_collect) ... skipped 'requires the C _asyncio module' test_task_repr (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_task_repr) ... skipped 'requires the C _asyncio module' test_task_repr_autogenerated (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_task_repr_autogenerated) ... skipped 'requires the C _asyncio module' test_task_repr_name_not_str (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_task_repr_name_not_str) ... skipped 'requires the C _asyncio module' test_task_repr_wait_for (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_task_repr_wait_for) ... skipped 'requires the C _asyncio module' test_task_set_methods (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_task_set_methods) ... skipped 'requires the C _asyncio module' test_task_set_name_pylong (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_task_set_name_pylong) ... skipped 'requires the C _asyncio module' test_task_source_traceback (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_task_source_traceback) ... skipped 'requires the C _asyncio module' test_tb_logger_not_called_after_cancel (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_tb_logger_not_called_after_cancel) ... skipped 'requires the C _asyncio module' test_uncancel_basic (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_uncancel_basic) ... skipped 'requires the C _asyncio module' test_uncancel_structured_blocks (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_uncancel_structured_blocks) ... skipped 'requires the C _asyncio module' test_wait (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_wait) ... skipped 'requires the C _asyncio module' test_wait_concurrent_complete (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_wait_concurrent_complete) ... skipped 'requires the C _asyncio module' test_wait_duplicate_coroutines (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_wait_duplicate_coroutines) ... skipped 'requires the C _asyncio module' test_wait_errors (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_wait_errors) ... skipped 'requires the C _asyncio module' test_wait_first_completed (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_wait_first_completed) ... skipped 'requires the C _asyncio module' test_wait_first_exception (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_wait_first_exception) ... skipped 'requires the C _asyncio module' test_wait_first_exception_in_wait (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_wait_first_exception_in_wait) ... skipped 'requires the C _asyncio module' test_wait_generator (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_wait_generator) ... skipped 'requires the C _asyncio module' test_wait_invalid_args (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_wait_invalid_args) ... skipped 'requires the C _asyncio module' test_wait_really_done (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_wait_really_done) ... skipped 'requires the C _asyncio module' test_wait_with_exception (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_wait_with_exception) ... skipped 'requires the C _asyncio module' test_wait_with_iterator_of_tasks (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_wait_with_iterator_of_tasks) ... skipped 'requires the C _asyncio module' test_wait_with_timeout (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_wait_with_timeout) ... skipped 'requires the C _asyncio module' test_yield_future_passes_cancel (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_yield_future_passes_cancel) ... skipped 'requires the C _asyncio module' test_yield_wait_does_not_shield_cancel (test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests.test_yield_wait_does_not_shield_cancel) ... skipped 'requires the C _asyncio module' test_as_completed (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_as_completed) ... skipped 'requires the C _asyncio module' test_as_completed_concurrent (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_as_completed_concurrent) ... skipped 'requires the C _asyncio module' test_as_completed_coroutine_use_running_loop (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_as_completed_coroutine_use_running_loop) ... skipped 'requires the C _asyncio module' test_as_completed_coroutine_without_loop (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_as_completed_coroutine_without_loop) ... skipped 'requires the C _asyncio module' test_as_completed_duplicate_coroutines (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_as_completed_duplicate_coroutines) ... skipped 'requires the C _asyncio module' test_as_completed_invalid_args (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_as_completed_invalid_args) ... skipped 'requires the C _asyncio module' test_as_completed_reverse_wait (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_as_completed_reverse_wait) ... skipped 'requires the C _asyncio module' test_as_completed_with_timeout (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_as_completed_with_timeout) ... skipped 'requires the C _asyncio module' test_as_completed_with_unused_timeout (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_as_completed_with_unused_timeout) ... skipped 'requires the C _asyncio module' test_bare_create_named_task (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_bare_create_named_task) ... skipped 'requires the C _asyncio module' test_bare_create_task (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_bare_create_task) ... skipped 'requires the C _asyncio module' test_baseexception_during_cancel (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_baseexception_during_cancel) ... skipped 'requires the C _asyncio module' test_cancel (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_cancel) ... skipped 'requires the C _asyncio module' test_cancel_at_end (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_cancel_at_end) coroutine end right after task is cancelled ... skipped 'requires the C _asyncio module' test_cancel_awaited_task (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_cancel_awaited_task) ... skipped 'requires the C _asyncio module' test_cancel_both_task_and_inner_future (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_cancel_both_task_and_inner_future) ... skipped 'requires the C _asyncio module' test_cancel_current_task (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_cancel_current_task) ... skipped 'requires the C _asyncio module' test_cancel_gather_1 (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_cancel_gather_1) Ensure that a gathering future refuses to be cancelled once all ... skipped 'requires the C _asyncio module' test_cancel_gather_2 (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_cancel_gather_2) ... skipped 'requires the C _asyncio module' test_cancel_inner_future (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_cancel_inner_future) ... skipped 'requires the C _asyncio module' test_cancel_task_catching (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_cancel_task_catching) ... skipped 'requires the C _asyncio module' test_cancel_task_ignoring (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_cancel_task_ignoring) ... skipped 'requires the C _asyncio module' test_cancel_traceback_for_future_exception (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_cancel_traceback_for_future_exception) ... skipped 'requires the C _asyncio module' test_cancel_traceback_for_future_result (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_cancel_traceback_for_future_result) ... skipped 'requires the C _asyncio module' test_cancel_with_message_before_starting_task (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_cancel_with_message_before_starting_task) ... skipped 'requires the C _asyncio module' test_cancel_with_message_then_future_exception (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_cancel_with_message_then_future_exception) ... skipped 'requires the C _asyncio module' test_cancel_with_message_then_future_result (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_cancel_with_message_then_future_result) ... skipped 'requires the C _asyncio module' test_cancel_yield (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_cancel_yield) ... skipped 'requires the C _asyncio module' test_cancellation_exception_context (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_cancellation_exception_context) ... skipped 'requires the C _asyncio module' test_cancelling (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_cancelling) ... skipped 'requires the C _asyncio module' test_context_1 (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_context_1) ... skipped 'requires the C _asyncio module' test_context_2 (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_context_2) ... skipped 'requires the C _asyncio module' test_context_3 (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_context_3) ... skipped 'requires the C _asyncio module' test_context_4 (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_context_4) ... skipped 'requires the C _asyncio module' test_context_5 (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_context_5) ... skipped 'requires the C _asyncio module' test_context_6 (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_context_6) ... skipped 'requires the C _asyncio module' test_coroutine_non_gen_function (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_coroutine_non_gen_function) ... skipped 'requires the C _asyncio module' test_coroutine_non_gen_function_return_future (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_coroutine_non_gen_function_return_future) ... skipped 'requires the C _asyncio module' test_create_task_with_async_function (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_create_task_with_async_function) ... skipped 'requires the C _asyncio module' test_create_task_with_asynclike_function (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_create_task_with_asynclike_function) ... skipped 'requires the C _asyncio module' test_create_task_with_noncoroutine (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_create_task_with_noncoroutine) ... skipped 'requires the C _asyncio module' test_current_task (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_current_task) ... skipped 'requires the C _asyncio module' test_current_task_with_interleaving_tasks (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_current_task_with_interleaving_tasks) ... skipped 'requires the C _asyncio module' test_ensure_future_awaitable (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_ensure_future_awaitable) ... skipped 'requires the C _asyncio module' test_ensure_future_coroutine (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_ensure_future_coroutine) ... skipped 'requires the C _asyncio module' test_ensure_future_error_msg (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_ensure_future_error_msg) ... skipped 'requires the C _asyncio module' test_ensure_future_future (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_ensure_future_future) ... skipped 'requires the C _asyncio module' test_ensure_future_neither (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_ensure_future_neither) ... skipped 'requires the C _asyncio module' test_ensure_future_task (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_ensure_future_task) ... skipped 'requires the C _asyncio module' test_ensure_future_task_awaitable (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_ensure_future_task_awaitable) ... skipped 'requires the C _asyncio module' test_error_in_call_soon (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_error_in_call_soon) ... skipped 'requires the C _asyncio module' test_exception_chaining_after_await (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_exception_chaining_after_await) ... skipped 'requires the C _asyncio module' test_exception_chaining_after_await_with_context_cycle (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_exception_chaining_after_await_with_context_cycle) ... skipped 'requires the C _asyncio module' test_exception_traceback (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_exception_traceback) ... skipped 'requires the C _asyncio module' test_gather_shield (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_gather_shield) ... skipped 'requires the C _asyncio module' test_generic_alias (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_generic_alias) ... skipped 'requires the C _asyncio module' test_get_context (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_get_context) ... skipped 'requires the C _asyncio module' test_get_coro (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_get_coro) ... skipped 'requires the C _asyncio module' test_get_stack (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_get_stack) ... skipped 'requires the C _asyncio module' test_iscoroutinefunction (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_iscoroutinefunction) ... skipped 'requires the C _asyncio module' test_log_destroyed_pending_task (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_log_destroyed_pending_task) ... skipped 'requires the C _asyncio module' test_log_traceback (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_log_traceback) ... skipped 'requires the C _asyncio module' test_other_loop_future (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_other_loop_future) ... skipped 'requires the C _asyncio module' test_proper_refcounts (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_proper_refcounts) ... skipped 'requires the C _asyncio module' test_shield_cancel_inner (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_shield_cancel_inner) ... skipped 'requires the C _asyncio module' test_shield_cancel_outer (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_shield_cancel_outer) ... skipped 'requires the C _asyncio module' test_shield_coroutine_use_global_loop (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_shield_coroutine_use_global_loop) ... skipped 'requires the C _asyncio module' test_shield_coroutine_use_running_loop (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_shield_coroutine_use_running_loop) ... skipped 'requires the C _asyncio module' test_shield_coroutine_without_loop (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_shield_coroutine_without_loop) ... skipped 'requires the C _asyncio module' test_shield_effect (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_shield_effect) ... skipped 'requires the C _asyncio module' test_shield_exception (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_shield_exception) ... skipped 'requires the C _asyncio module' test_shield_gather (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_shield_gather) ... skipped 'requires the C _asyncio module' test_shield_result (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_shield_result) ... skipped 'requires the C _asyncio module' test_shield_shortcut (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_shield_shortcut) ... skipped 'requires the C _asyncio module' test_sleep (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_sleep) ... skipped 'requires the C _asyncio module' test_sleep_cancel (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_sleep_cancel) ... skipped 'requires the C _asyncio module' test_step_result_future (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_step_result_future) ... skipped 'requires the C _asyncio module' test_stop_while_run_in_complete (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_stop_while_run_in_complete) ... skipped 'requires the C _asyncio module' test_task_awaits_on_itself (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_task_awaits_on_itself) ... skipped 'requires the C _asyncio module' test_task_basics (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_task_basics) ... skipped 'requires the C _asyncio module' test_task_cancel_message_getter (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_task_cancel_message_getter) ... skipped 'requires the C _asyncio module' test_task_cancel_message_setter (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_task_cancel_message_setter) ... skipped 'requires the C _asyncio module' test_task_cancel_sleeping_task (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_task_cancel_sleeping_task) ... skipped 'requires the C _asyncio module' test_task_cancel_waiter_future (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_task_cancel_waiter_future) ... skipped 'requires the C _asyncio module' test_task_class (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_task_class) ... skipped 'requires the C _asyncio module' test_task_del_collect (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_task_del_collect) ... skipped 'requires the C _asyncio module' test_task_repr (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_task_repr) ... skipped 'requires the C _asyncio module' test_task_repr_autogenerated (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_task_repr_autogenerated) ... skipped 'requires the C _asyncio module' test_task_repr_name_not_str (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_task_repr_name_not_str) ... skipped 'requires the C _asyncio module' test_task_repr_wait_for (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_task_repr_wait_for) ... skipped 'requires the C _asyncio module' test_task_set_methods (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_task_set_methods) ... skipped 'requires the C _asyncio module' test_task_set_name_pylong (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_task_set_name_pylong) ... skipped 'requires the C _asyncio module' test_task_source_traceback (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_task_source_traceback) ... skipped 'requires the C _asyncio module' test_tb_logger_not_called_after_cancel (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_tb_logger_not_called_after_cancel) ... skipped 'requires the C _asyncio module' test_uncancel_basic (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_uncancel_basic) ... skipped 'requires the C _asyncio module' test_uncancel_structured_blocks (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_uncancel_structured_blocks) ... skipped 'requires the C _asyncio module' test_wait (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_wait) ... skipped 'requires the C _asyncio module' test_wait_concurrent_complete (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_wait_concurrent_complete) ... skipped 'requires the C _asyncio module' test_wait_duplicate_coroutines (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_wait_duplicate_coroutines) ... skipped 'requires the C _asyncio module' test_wait_errors (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_wait_errors) ... skipped 'requires the C _asyncio module' test_wait_first_completed (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_wait_first_completed) ... skipped 'requires the C _asyncio module' test_wait_first_exception (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_wait_first_exception) ... skipped 'requires the C _asyncio module' test_wait_first_exception_in_wait (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_wait_first_exception_in_wait) ... skipped 'requires the C _asyncio module' test_wait_generator (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_wait_generator) ... skipped 'requires the C _asyncio module' test_wait_invalid_args (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_wait_invalid_args) ... skipped 'requires the C _asyncio module' test_wait_really_done (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_wait_really_done) ... skipped 'requires the C _asyncio module' test_wait_with_exception (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_wait_with_exception) ... skipped 'requires the C _asyncio module' test_wait_with_iterator_of_tasks (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_wait_with_iterator_of_tasks) ... skipped 'requires the C _asyncio module' test_wait_with_timeout (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_wait_with_timeout) ... skipped 'requires the C _asyncio module' test_yield_future_passes_cancel (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_yield_future_passes_cancel) ... skipped 'requires the C _asyncio module' test_yield_wait_does_not_shield_cancel (test.test_asyncio.test_tasks.PyTask_CFuture_Tests.test_yield_wait_does_not_shield_cancel) ... skipped 'requires the C _asyncio module' test_as_completed (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_as_completed) ... ok test_as_completed_concurrent (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_as_completed_concurrent) ... ok test_as_completed_coroutine_use_running_loop (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_as_completed_coroutine_use_running_loop) ... ok test_as_completed_coroutine_without_loop (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_as_completed_coroutine_without_loop) ... ok test_as_completed_duplicate_coroutines (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_as_completed_duplicate_coroutines) ... ok test_as_completed_invalid_args (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_as_completed_invalid_args) ... ok test_as_completed_reverse_wait (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_as_completed_reverse_wait) ... ok test_as_completed_with_timeout (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_as_completed_with_timeout) ... ok test_as_completed_with_unused_timeout (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_as_completed_with_unused_timeout) ... ok test_bare_create_named_task (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_bare_create_named_task) ... ok test_bare_create_task (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_bare_create_task) ... ok test_baseexception_during_cancel (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_baseexception_during_cancel) ... ok test_cancel (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_cancel) ... ok test_cancel_at_end (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_cancel_at_end) coroutine end right after task is cancelled ... ok test_cancel_awaited_task (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_cancel_awaited_task) ... ok test_cancel_both_task_and_inner_future (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_cancel_both_task_and_inner_future) ... ok test_cancel_current_task (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_cancel_current_task) ... ok test_cancel_gather_1 (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_cancel_gather_1) Ensure that a gathering future refuses to be cancelled once all ... ok test_cancel_gather_2 (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_cancel_gather_2) ... ok test_cancel_inner_future (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_cancel_inner_future) ... ok test_cancel_task_catching (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_cancel_task_catching) ... ok test_cancel_task_ignoring (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_cancel_task_ignoring) ... ok test_cancel_traceback_for_future_exception (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_cancel_traceback_for_future_exception) ... ok test_cancel_traceback_for_future_result (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_cancel_traceback_for_future_result) ... ok test_cancel_with_message_before_starting_task (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_cancel_with_message_before_starting_task) ... ok test_cancel_with_message_then_future_exception (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_cancel_with_message_then_future_exception) ... ok test_cancel_with_message_then_future_result (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_cancel_with_message_then_future_result) ... ok test_cancel_yield (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_cancel_yield) ... ok test_cancellation_exception_context (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_cancellation_exception_context) ... ok test_cancelling (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_cancelling) ... ok test_context_1 (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_context_1) ... ok test_context_2 (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_context_2) ... ok test_context_3 (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_context_3) ... ok test_context_4 (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_context_4) ... ok test_context_5 (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_context_5) ... ok test_context_6 (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_context_6) ... ok test_coroutine_non_gen_function (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_coroutine_non_gen_function) ... ok test_coroutine_non_gen_function_return_future (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_coroutine_non_gen_function_return_future) ... ok test_create_task_with_async_function (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_create_task_with_async_function) ... ok test_create_task_with_asynclike_function (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_create_task_with_asynclike_function) ... ok test_create_task_with_noncoroutine (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_create_task_with_noncoroutine) ... ok test_current_task (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_current_task) ... ok test_current_task_with_interleaving_tasks (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_current_task_with_interleaving_tasks) ... ok test_ensure_future_awaitable (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_ensure_future_awaitable) ... ok test_ensure_future_coroutine (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_ensure_future_coroutine) ... ok test_ensure_future_error_msg (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_ensure_future_error_msg) ... ok test_ensure_future_future (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_ensure_future_future) ... ok test_ensure_future_neither (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_ensure_future_neither) ... ok test_ensure_future_task (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_ensure_future_task) ... ok test_ensure_future_task_awaitable (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_ensure_future_task_awaitable) ... ok test_error_in_call_soon (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_error_in_call_soon) ... ok test_exception_chaining_after_await (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_exception_chaining_after_await) ... ok test_exception_chaining_after_await_with_context_cycle (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_exception_chaining_after_await_with_context_cycle) ... ok test_exception_traceback (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_exception_traceback) ... ok test_gather_shield (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_gather_shield) ... ok test_generic_alias (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_generic_alias) ... ok test_get_context (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_get_context) ... ok test_get_coro (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_get_coro) ... ok test_get_stack (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_get_stack) ... ok test_iscoroutinefunction (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_iscoroutinefunction) ... ok test_log_destroyed_pending_task (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_log_destroyed_pending_task) ... ok test_log_traceback (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_log_traceback) ... ok test_other_loop_future (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_other_loop_future) ... ok test_proper_refcounts (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_proper_refcounts) ... skipped 'implementation detail specific to cpython' test_shield_cancel_inner (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_shield_cancel_inner) ... ok test_shield_cancel_outer (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_shield_cancel_outer) ... ok test_shield_coroutine_use_global_loop (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_shield_coroutine_use_global_loop) ... ok test_shield_coroutine_use_running_loop (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_shield_coroutine_use_running_loop) ... ok test_shield_coroutine_without_loop (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_shield_coroutine_without_loop) ... ok test_shield_effect (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_shield_effect) ... ok test_shield_exception (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_shield_exception) ... ok test_shield_gather (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_shield_gather) ... ok test_shield_result (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_shield_result) ... ok test_shield_shortcut (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_shield_shortcut) ... ok test_sleep (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_sleep) ... ok test_sleep_cancel (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_sleep_cancel) ... ok test_step_result_future (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_step_result_future) ... ok test_stop_while_run_in_complete (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_stop_while_run_in_complete) ... ok test_subclasses_ctask_cfuture (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_subclasses_ctask_cfuture) ... ok test_task_awaits_on_itself (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_task_awaits_on_itself) ... ok test_task_basics (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_task_basics) ... ok test_task_cancel_message_getter (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_task_cancel_message_getter) ... ok test_task_cancel_message_setter (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_task_cancel_message_setter) ... ok test_task_cancel_sleeping_task (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_task_cancel_sleeping_task) ... ok test_task_cancel_waiter_future (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_task_cancel_waiter_future) ... ok test_task_class (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_task_class) ... ok test_task_del_collect (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_task_del_collect) ... ok test_task_repr (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_task_repr) ... ok test_task_repr_autogenerated (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_task_repr_autogenerated) ... ok test_task_repr_name_not_str (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_task_repr_name_not_str) ... ok test_task_repr_wait_for (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_task_repr_wait_for) ... ok test_task_set_methods (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_task_set_methods) ... ok test_task_set_name_pylong (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_task_set_name_pylong) ... ok test_tb_logger_not_called_after_cancel (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_tb_logger_not_called_after_cancel) ... ok test_uncancel_basic (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_uncancel_basic) ... ok test_uncancel_structured_blocks (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_uncancel_structured_blocks) ... ok test_wait (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_wait) ... ok test_wait_concurrent_complete (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_wait_concurrent_complete) ... ok test_wait_duplicate_coroutines (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_wait_duplicate_coroutines) ... ok test_wait_errors (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_wait_errors) ... ok test_wait_first_completed (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_wait_first_completed) ... ok test_wait_first_exception (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_wait_first_exception) ... ok test_wait_first_exception_in_wait (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_wait_first_exception_in_wait) ... ok test_wait_generator (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_wait_generator) ... ok test_wait_invalid_args (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_wait_invalid_args) ... ok test_wait_really_done (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_wait_really_done) ... ok test_wait_with_exception (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_wait_with_exception) ... ok test_wait_with_iterator_of_tasks (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_wait_with_iterator_of_tasks) ... ok test_wait_with_timeout (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_wait_with_timeout) ... ok test_yield_future_passes_cancel (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_yield_future_passes_cancel) ... ok test_yield_wait_does_not_shield_cancel (test.test_asyncio.test_tasks.PyTask_PyFuture_SubclassTests.test_yield_wait_does_not_shield_cancel) ... ok test_as_completed (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_as_completed) ... ok test_as_completed_concurrent (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_as_completed_concurrent) ... ok test_as_completed_coroutine_use_running_loop (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_as_completed_coroutine_use_running_loop) ... ok test_as_completed_coroutine_without_loop (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_as_completed_coroutine_without_loop) ... ok test_as_completed_duplicate_coroutines (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_as_completed_duplicate_coroutines) ... ok test_as_completed_invalid_args (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_as_completed_invalid_args) ... ok test_as_completed_reverse_wait (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_as_completed_reverse_wait) ... ok test_as_completed_with_timeout (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_as_completed_with_timeout) ... ok test_as_completed_with_unused_timeout (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_as_completed_with_unused_timeout) ... ok test_bare_create_named_task (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_bare_create_named_task) ... ok test_bare_create_task (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_bare_create_task) ... ok test_baseexception_during_cancel (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_baseexception_during_cancel) ... ok test_cancel (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_cancel) ... ok test_cancel_at_end (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_cancel_at_end) coroutine end right after task is cancelled ... ok test_cancel_awaited_task (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_cancel_awaited_task) ... ok test_cancel_both_task_and_inner_future (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_cancel_both_task_and_inner_future) ... ok test_cancel_current_task (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_cancel_current_task) ... ok test_cancel_gather_1 (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_cancel_gather_1) Ensure that a gathering future refuses to be cancelled once all ... ok test_cancel_gather_2 (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_cancel_gather_2) ... ok test_cancel_inner_future (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_cancel_inner_future) ... ok test_cancel_task_catching (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_cancel_task_catching) ... ok test_cancel_task_ignoring (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_cancel_task_ignoring) ... ok test_cancel_traceback_for_future_exception (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_cancel_traceback_for_future_exception) ... ok test_cancel_traceback_for_future_result (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_cancel_traceback_for_future_result) ... ok test_cancel_with_message_before_starting_task (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_cancel_with_message_before_starting_task) ... ok test_cancel_with_message_then_future_exception (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_cancel_with_message_then_future_exception) ... ok test_cancel_with_message_then_future_result (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_cancel_with_message_then_future_result) ... ok test_cancel_yield (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_cancel_yield) ... ok test_cancellation_exception_context (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_cancellation_exception_context) ... ok test_cancelling (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_cancelling) ... ok test_context_1 (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_context_1) ... ok test_context_2 (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_context_2) ... ok test_context_3 (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_context_3) ... ok test_context_4 (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_context_4) ... ok test_context_5 (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_context_5) ... ok test_context_6 (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_context_6) ... ok test_coroutine_non_gen_function (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_coroutine_non_gen_function) ... ok test_coroutine_non_gen_function_return_future (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_coroutine_non_gen_function_return_future) ... ok test_create_task_with_async_function (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_create_task_with_async_function) ... ok test_create_task_with_asynclike_function (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_create_task_with_asynclike_function) ... ok test_create_task_with_noncoroutine (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_create_task_with_noncoroutine) ... ok test_current_task (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_current_task) ... ok test_current_task_with_interleaving_tasks (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_current_task_with_interleaving_tasks) ... ok test_ensure_future_awaitable (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_ensure_future_awaitable) ... ok test_ensure_future_coroutine (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_ensure_future_coroutine) ... ok test_ensure_future_error_msg (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_ensure_future_error_msg) ... ok test_ensure_future_future (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_ensure_future_future) ... ok test_ensure_future_neither (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_ensure_future_neither) ... ok test_ensure_future_task (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_ensure_future_task) ... ok test_ensure_future_task_awaitable (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_ensure_future_task_awaitable) ... ok test_error_in_call_soon (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_error_in_call_soon) ... ok test_exception_chaining_after_await (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_exception_chaining_after_await) ... ok test_exception_chaining_after_await_with_context_cycle (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_exception_chaining_after_await_with_context_cycle) ... ok test_exception_traceback (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_exception_traceback) ... ok test_gather_shield (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_gather_shield) ... ok test_generic_alias (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_generic_alias) ... ok test_get_context (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_get_context) ... ok test_get_coro (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_get_coro) ... ok test_get_stack (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_get_stack) ... ok test_iscoroutinefunction (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_iscoroutinefunction) ... ok test_log_destroyed_pending_task (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_log_destroyed_pending_task) ... ok test_log_traceback (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_log_traceback) ... ok test_other_loop_future (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_other_loop_future) ... ok test_proper_refcounts (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_proper_refcounts) ... skipped 'implementation detail specific to cpython' test_set_exception_causes_invalid_state (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_set_exception_causes_invalid_state) ... ok test_set_result_causes_invalid_state (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_set_result_causes_invalid_state) ... ok test_shield_cancel_inner (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_shield_cancel_inner) ... ok test_shield_cancel_outer (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_shield_cancel_outer) ... ok test_shield_coroutine_use_global_loop (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_shield_coroutine_use_global_loop) ... ok test_shield_coroutine_use_running_loop (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_shield_coroutine_use_running_loop) ... ok test_shield_coroutine_without_loop (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_shield_coroutine_without_loop) ... ok test_shield_effect (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_shield_effect) ... ok test_shield_exception (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_shield_exception) ... ok test_shield_gather (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_shield_gather) ... ok test_shield_result (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_shield_result) ... ok test_shield_shortcut (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_shield_shortcut) ... ok test_sleep (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_sleep) ... ok test_sleep_cancel (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_sleep_cancel) ... ok test_step_result_future (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_step_result_future) ... ok test_stop_while_run_in_complete (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_stop_while_run_in_complete) ... ok test_task_awaits_on_itself (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_task_awaits_on_itself) ... ok test_task_basics (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_task_basics) ... ok test_task_cancel_message_getter (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_task_cancel_message_getter) ... ok test_task_cancel_message_setter (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_task_cancel_message_setter) ... ok test_task_cancel_sleeping_task (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_task_cancel_sleeping_task) ... ok test_task_cancel_waiter_future (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_task_cancel_waiter_future) ... ok test_task_class (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_task_class) ... ok test_task_del_collect (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_task_del_collect) ... ok test_task_repr (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_task_repr) ... ok test_task_repr_autogenerated (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_task_repr_autogenerated) ... ok test_task_repr_name_not_str (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_task_repr_name_not_str) ... ok test_task_repr_wait_for (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_task_repr_wait_for) ... ok test_task_set_methods (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_task_set_methods) ... ok test_task_set_name_pylong (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_task_set_name_pylong) ... ok test_task_source_traceback (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_task_source_traceback) ... ok test_tb_logger_not_called_after_cancel (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_tb_logger_not_called_after_cancel) ... ok test_uncancel_basic (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_uncancel_basic) ... ok test_uncancel_structured_blocks (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_uncancel_structured_blocks) ... ok test_wait (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_wait) ... ok test_wait_concurrent_complete (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_wait_concurrent_complete) ... ok test_wait_duplicate_coroutines (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_wait_duplicate_coroutines) ... ok test_wait_errors (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_wait_errors) ... ok test_wait_first_completed (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_wait_first_completed) ... ok test_wait_first_exception (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_wait_first_exception) ... ok test_wait_first_exception_in_wait (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_wait_first_exception_in_wait) ... ok test_wait_generator (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_wait_generator) ... ok test_wait_invalid_args (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_wait_invalid_args) ... ok test_wait_really_done (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_wait_really_done) ... ok test_wait_with_exception (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_wait_with_exception) ... ok test_wait_with_iterator_of_tasks (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_wait_with_iterator_of_tasks) ... ok test_wait_with_timeout (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_wait_with_timeout) ... ok test_yield_future_passes_cancel (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_yield_future_passes_cancel) ... ok test_yield_wait_does_not_shield_cancel (test.test_asyncio.test_tasks.PyTask_PyFuture_Tests.test_yield_wait_does_not_shield_cancel) ... ok test_run_coroutine_threadsafe (test.test_asyncio.test_tasks.RunCoroutineThreadsafeTests.test_run_coroutine_threadsafe) Test coroutine submission from a thread to an event loop. ... ok test_run_coroutine_threadsafe_task_cancelled (test.test_asyncio.test_tasks.RunCoroutineThreadsafeTests.test_run_coroutine_threadsafe_task_cancelled) Test coroutine submission from a thread to an event loop ... ok test_run_coroutine_threadsafe_task_factory_exception (test.test_asyncio.test_tasks.RunCoroutineThreadsafeTests.test_run_coroutine_threadsafe_task_factory_exception) Test coroutine submission from a thread to an event loop ... ok test_run_coroutine_threadsafe_with_exception (test.test_asyncio.test_tasks.RunCoroutineThreadsafeTests.test_run_coroutine_threadsafe_with_exception) Test coroutine submission from a thread to an event loop ... ok test_run_coroutine_threadsafe_with_timeout (test.test_asyncio.test_tasks.RunCoroutineThreadsafeTests.test_run_coroutine_threadsafe_with_timeout) Test coroutine submission from a thread to an event loop ... ok test_sleep_zero (test.test_asyncio.test_tasks.SleepTests.test_sleep_zero) ... ok ---------------------------------------------------------------------- Ran 953 tests in 7.375s OK (skipped=687) 0:01:40 load avg: 1.52 [24/31/8] test_asyncio.test_tasks passed 0:01:40 load avg: 1.52 [25/31/8] test_asyncio.test_threads test_to_thread (test.test_asyncio.test_threads.ToThreadTests.test_to_thread) ... ok test_to_thread_args_kwargs (test.test_asyncio.test_threads.ToThreadTests.test_to_thread_args_kwargs) ... ok test_to_thread_concurrent (test.test_asyncio.test_threads.ToThreadTests.test_to_thread_concurrent) ... ok test_to_thread_contextvars (test.test_asyncio.test_threads.ToThreadTests.test_to_thread_contextvars) ... ok test_to_thread_exception (test.test_asyncio.test_threads.ToThreadTests.test_to_thread_exception) ... ok test_to_thread_once (test.test_asyncio.test_threads.ToThreadTests.test_to_thread_once) ... ok ---------------------------------------------------------------------- Ran 6 tests in 0.059s OK 0:01:40 load avg: 1.52 [25/31/8] test_asyncio.test_threads passed 0:01:40 load avg: 1.52 [26/31/8] test_asyncio.test_timeouts test_cancel_in_timeout_after_cancellation (test.test_asyncio.test_timeouts.TimeoutTests.test_cancel_in_timeout_after_cancellation) ... ok test_foreign_cancel_doesnt_timeout_if_not_expired (test.test_asyncio.test_timeouts.TimeoutTests.test_foreign_cancel_doesnt_timeout_if_not_expired) ... ok test_foreign_exception_on_timeout (test.test_asyncio.test_timeouts.TimeoutTests.test_foreign_exception_on_timeout) ... ok test_foreign_exception_passed (test.test_asyncio.test_timeouts.TimeoutTests.test_foreign_exception_passed) ... ok test_nested_timeout_in_finally (test.test_asyncio.test_timeouts.TimeoutTests.test_nested_timeout_in_finally) ... ok test_nested_timeouts (test.test_asyncio.test_timeouts.TimeoutTests.test_nested_timeouts) ... ok test_nested_timeouts_concurrent (test.test_asyncio.test_timeouts.TimeoutTests.test_nested_timeouts_concurrent) ... ok test_nested_timeouts_loop_busy (test.test_asyncio.test_timeouts.TimeoutTests.test_nested_timeouts_loop_busy) ... ok test_outer_task_is_not_cancelled (test.test_asyncio.test_timeouts.TimeoutTests.test_outer_task_is_not_cancelled) ... ok test_repr_active (test.test_asyncio.test_timeouts.TimeoutTests.test_repr_active) ... ok test_repr_disabled (test.test_asyncio.test_timeouts.TimeoutTests.test_repr_disabled) ... ok test_repr_expired (test.test_asyncio.test_timeouts.TimeoutTests.test_repr_expired) ... ok test_repr_finished (test.test_asyncio.test_timeouts.TimeoutTests.test_repr_finished) ... ok test_reschedule (test.test_asyncio.test_timeouts.TimeoutTests.test_reschedule) ... ok test_timeout_after_cancellation (test.test_asyncio.test_timeouts.TimeoutTests.test_timeout_after_cancellation) ... ok test_timeout_already_entered (test.test_asyncio.test_timeouts.TimeoutTests.test_timeout_already_entered) ... ok test_timeout_at_basic (test.test_asyncio.test_timeouts.TimeoutTests.test_timeout_at_basic) ... ok test_timeout_at_disabled (test.test_asyncio.test_timeouts.TimeoutTests.test_timeout_at_disabled) ... ok test_timeout_basic (test.test_asyncio.test_timeouts.TimeoutTests.test_timeout_basic) ... ok test_timeout_disabled (test.test_asyncio.test_timeouts.TimeoutTests.test_timeout_disabled) ... ok test_timeout_double_enter (test.test_asyncio.test_timeouts.TimeoutTests.test_timeout_double_enter) ... ok test_timeout_exception_cause (test.test_asyncio.test_timeouts.TimeoutTests.test_timeout_exception_cause) ... ok test_timeout_expired (test.test_asyncio.test_timeouts.TimeoutTests.test_timeout_expired) ... ok test_timeout_expiring (test.test_asyncio.test_timeouts.TimeoutTests.test_timeout_expiring) ... ok test_timeout_finished (test.test_asyncio.test_timeouts.TimeoutTests.test_timeout_finished) ... ok test_timeout_in_the_past_sleep_zero (test.test_asyncio.test_timeouts.TimeoutTests.test_timeout_in_the_past_sleep_zero) ... ok test_timeout_not_called (test.test_asyncio.test_timeouts.TimeoutTests.test_timeout_not_called) ... ok test_timeout_not_entered (test.test_asyncio.test_timeouts.TimeoutTests.test_timeout_not_entered) ... ok test_timeout_without_task (test.test_asyncio.test_timeouts.TimeoutTests.test_timeout_without_task) ... ok test_timeout_zero (test.test_asyncio.test_timeouts.TimeoutTests.test_timeout_zero) ... ok test_timeout_zero_sleep_zero (test.test_asyncio.test_timeouts.TimeoutTests.test_timeout_zero_sleep_zero) ... ok test_waiter_cancelled (test.test_asyncio.test_timeouts.TimeoutTests.test_waiter_cancelled) ... ok ---------------------------------------------------------------------- Ran 32 tests in 0.368s OK 0:01:41 load avg: 1.52 [26/31/8] test_asyncio.test_timeouts passed 0:01:41 load avg: 1.52 [27/31/8] test_asyncio.test_transports test_ctor_extra_is_none (test.test_asyncio.test_transports.TransportTests.test_ctor_extra_is_none) ... ok test_dgram_not_implemented (test.test_asyncio.test_transports.TransportTests.test_dgram_not_implemented) ... ok test_flowcontrol_mixin_set_write_limits (test.test_asyncio.test_transports.TransportTests.test_flowcontrol_mixin_set_write_limits) ... ok test_get_extra_info (test.test_asyncio.test_transports.TransportTests.test_get_extra_info) ... ok test_not_implemented (test.test_asyncio.test_transports.TransportTests.test_not_implemented) ... ok test_subprocess_transport_not_implemented (test.test_asyncio.test_transports.TransportTests.test_subprocess_transport_not_implemented) ... ok test_writelines (test.test_asyncio.test_transports.TransportTests.test_writelines) ... ok ---------------------------------------------------------------------- Ran 7 tests in 0.002s OK 0:01:41 load avg: 1.52 [27/31/8] test_asyncio.test_transports passed 0:01:41 load avg: 1.52 [28/31/8] test_asyncio.test_unix_events test_not_implemented (test.test_asyncio.test_unix_events.AbstractChildWatcherTests.test_not_implemented) ... ok test_warns_on_subclassing (test.test_asyncio.test_unix_events.AbstractChildWatcherTests.test_warns_on_subclassing) ... ok test_not_implemented (test.test_asyncio.test_unix_events.BaseChildWatcherTests.test_not_implemented) ... ok test_close (test.test_asyncio.test_unix_events.FastChildWatcherTests.test_close) ... ok test_create_watcher (test.test_asyncio.test_unix_events.FastChildWatcherTests.test_create_watcher) ... ok test_remove_child_handler (test.test_asyncio.test_unix_events.FastChildWatcherTests.test_remove_child_handler) ... ok test_set_loop (test.test_asyncio.test_unix_events.FastChildWatcherTests.test_set_loop) ... ok test_set_loop_race_condition (test.test_asyncio.test_unix_events.FastChildWatcherTests.test_set_loop_race_condition) ... ok test_sigchld (test.test_asyncio.test_unix_events.FastChildWatcherTests.test_sigchld) ... ok test_sigchld_child_reaped_elsewhere (test.test_asyncio.test_unix_events.FastChildWatcherTests.test_sigchld_child_reaped_elsewhere) ... ok test_sigchld_race_condition (test.test_asyncio.test_unix_events.FastChildWatcherTests.test_sigchld_race_condition) ... ok test_sigchld_remove_handler (test.test_asyncio.test_unix_events.FastChildWatcherTests.test_sigchld_remove_handler) ... ok test_sigchld_replace_handler (test.test_asyncio.test_unix_events.FastChildWatcherTests.test_sigchld_replace_handler) ... ok test_sigchld_two_children (test.test_asyncio.test_unix_events.FastChildWatcherTests.test_sigchld_two_children) ... ok test_sigchld_two_children_terminating_together (test.test_asyncio.test_unix_events.FastChildWatcherTests.test_sigchld_two_children_terminating_together) ... ok test_sigchld_unhandled_exception (test.test_asyncio.test_unix_events.FastChildWatcherTests.test_sigchld_unhandled_exception) ... ok test_sigchld_unknown_pid_during_registration (test.test_asyncio.test_unix_events.FastChildWatcherTests.test_sigchld_unknown_pid_during_registration) ... ok test_sigchld_unknown_status (test.test_asyncio.test_unix_events.FastChildWatcherTests.test_sigchld_unknown_status) ... ok test_child_watcher_replace_mainloop_existing (test.test_asyncio.test_unix_events.PolicyTests.test_child_watcher_replace_mainloop_existing) ... ok test_get_child_watcher_after_set (test.test_asyncio.test_unix_events.PolicyTests.test_get_child_watcher_after_set) ... ok test_get_child_watcher_thread (test.test_asyncio.test_unix_events.PolicyTests.test_get_child_watcher_thread) ... ok test_get_default_child_watcher (test.test_asyncio.test_unix_events.PolicyTests.test_get_default_child_watcher) ... ok test_close (test.test_asyncio.test_unix_events.SafeChildWatcherTests.test_close) ... ok test_create_watcher (test.test_asyncio.test_unix_events.SafeChildWatcherTests.test_create_watcher) ... ok test_remove_child_handler (test.test_asyncio.test_unix_events.SafeChildWatcherTests.test_remove_child_handler) ... ok test_set_loop (test.test_asyncio.test_unix_events.SafeChildWatcherTests.test_set_loop) ... ok test_set_loop_race_condition (test.test_asyncio.test_unix_events.SafeChildWatcherTests.test_set_loop_race_condition) ... ok test_sigchld (test.test_asyncio.test_unix_events.SafeChildWatcherTests.test_sigchld) ... ok test_sigchld_child_reaped_elsewhere (test.test_asyncio.test_unix_events.SafeChildWatcherTests.test_sigchld_child_reaped_elsewhere) ... ok test_sigchld_race_condition (test.test_asyncio.test_unix_events.SafeChildWatcherTests.test_sigchld_race_condition) ... ok test_sigchld_remove_handler (test.test_asyncio.test_unix_events.SafeChildWatcherTests.test_sigchld_remove_handler) ... ok test_sigchld_replace_handler (test.test_asyncio.test_unix_events.SafeChildWatcherTests.test_sigchld_replace_handler) ... ok test_sigchld_two_children (test.test_asyncio.test_unix_events.SafeChildWatcherTests.test_sigchld_two_children) ... ok test_sigchld_two_children_terminating_together (test.test_asyncio.test_unix_events.SafeChildWatcherTests.test_sigchld_two_children_terminating_together) ... ok test_sigchld_unhandled_exception (test.test_asyncio.test_unix_events.SafeChildWatcherTests.test_sigchld_unhandled_exception) ... ok test_sigchld_unknown_pid_during_registration (test.test_asyncio.test_unix_events.SafeChildWatcherTests.test_sigchld_unknown_pid_during_registration) ... ok test_sigchld_unknown_status (test.test_asyncio.test_unix_events.SafeChildWatcherTests.test_sigchld_unknown_status) ... ok test_add_signal_handler (test.test_asyncio.test_unix_events.SelectorEventLoopSignalTests.test_add_signal_handler) ... ok test_add_signal_handler_coroutine_error (test.test_asyncio.test_unix_events.SelectorEventLoopSignalTests.test_add_signal_handler_coroutine_error) ... ok test_add_signal_handler_install_error (test.test_asyncio.test_unix_events.SelectorEventLoopSignalTests.test_add_signal_handler_install_error) ... ok test_add_signal_handler_install_error2 (test.test_asyncio.test_unix_events.SelectorEventLoopSignalTests.test_add_signal_handler_install_error2) ... ok test_add_signal_handler_install_error3 (test.test_asyncio.test_unix_events.SelectorEventLoopSignalTests.test_add_signal_handler_install_error3) ... ok test_add_signal_handler_setup_error (test.test_asyncio.test_unix_events.SelectorEventLoopSignalTests.test_add_signal_handler_setup_error) ... ok test_check_signal (test.test_asyncio.test_unix_events.SelectorEventLoopSignalTests.test_check_signal) ... ok test_close (test.test_asyncio.test_unix_events.SelectorEventLoopSignalTests.test_close) ... ok test_close_on_finalizing (test.test_asyncio.test_unix_events.SelectorEventLoopSignalTests.test_close_on_finalizing) ... ok test_handle_signal_cancelled_handler (test.test_asyncio.test_unix_events.SelectorEventLoopSignalTests.test_handle_signal_cancelled_handler) ... ok test_handle_signal_no_handler (test.test_asyncio.test_unix_events.SelectorEventLoopSignalTests.test_handle_signal_no_handler) ... ok test_remove_signal_handler (test.test_asyncio.test_unix_events.SelectorEventLoopSignalTests.test_remove_signal_handler) ... ok test_remove_signal_handler_2 (test.test_asyncio.test_unix_events.SelectorEventLoopSignalTests.test_remove_signal_handler_2) ... ok test_remove_signal_handler_cleanup_error (test.test_asyncio.test_unix_events.SelectorEventLoopSignalTests.test_remove_signal_handler_cleanup_error) ... ok test_remove_signal_handler_error (test.test_asyncio.test_unix_events.SelectorEventLoopSignalTests.test_remove_signal_handler_error) ... ok test_remove_signal_handler_error2 (test.test_asyncio.test_unix_events.SelectorEventLoopSignalTests.test_remove_signal_handler_error2) ... ok test_sock_sendfile_blocking_error (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSockSendfileTests.test_sock_sendfile_blocking_error) ... ok test_sock_sendfile_cancel1 (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSockSendfileTests.test_sock_sendfile_cancel1) ... ok test_sock_sendfile_cancel2 (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSockSendfileTests.test_sock_sendfile_cancel2) ... ok test_sock_sendfile_exception (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSockSendfileTests.test_sock_sendfile_exception) ... ok test_sock_sendfile_iobuffer (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSockSendfileTests.test_sock_sendfile_iobuffer) ... ok test_sock_sendfile_not_a_file (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSockSendfileTests.test_sock_sendfile_not_a_file) ... ok test_sock_sendfile_not_available (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSockSendfileTests.test_sock_sendfile_not_available) ... ok test_sock_sendfile_not_regular_file (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSockSendfileTests.test_sock_sendfile_not_regular_file) ... ok test_sock_sendfile_os_error_first_call (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSockSendfileTests.test_sock_sendfile_os_error_first_call) ... ok test_sock_sendfile_os_error_next_call (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSockSendfileTests.test_sock_sendfile_os_error_next_call) ... ok test_create_unix_connection_nopath_nosock (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSocketTests.test_create_unix_connection_nopath_nosock) ... ok test_create_unix_connection_nossl_serverhost (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSocketTests.test_create_unix_connection_nossl_serverhost) ... ok test_create_unix_connection_path_inetsock (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSocketTests.test_create_unix_connection_path_inetsock) ... ok test_create_unix_connection_path_sock (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSocketTests.test_create_unix_connection_path_sock) ... ok test_create_unix_connection_pathlike (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSocketTests.test_create_unix_connection_pathlike) ... ok test_create_unix_connection_ssl_noserverhost (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSocketTests.test_create_unix_connection_ssl_noserverhost) ... ok test_create_unix_connection_ssl_timeout_with_plain_sock (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSocketTests.test_create_unix_connection_ssl_timeout_with_plain_sock) ... ok test_create_unix_server_bind_error (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSocketTests.test_create_unix_server_bind_error) ... ok test_create_unix_server_existing_path_nonsock (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSocketTests.test_create_unix_server_existing_path_nonsock) ... ok test_create_unix_server_existing_path_sock (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSocketTests.test_create_unix_server_existing_path_sock) ... ok test_create_unix_server_nopath_nosock (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSocketTests.test_create_unix_server_nopath_nosock) ... ok test_create_unix_server_path_dgram (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSocketTests.test_create_unix_server_path_dgram) ... ok test_create_unix_server_path_inetsock (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSocketTests.test_create_unix_server_path_inetsock) ... ok test_create_unix_server_path_stream_bittype (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSocketTests.test_create_unix_server_path_stream_bittype) ... ok test_create_unix_server_pathlike (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSocketTests.test_create_unix_server_pathlike) ... ok test_create_unix_server_ssl_bool (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSocketTests.test_create_unix_server_ssl_bool) ... ok test_create_unix_server_ssl_timeout_with_plain_sock (test.test_asyncio.test_unix_events.SelectorEventLoopUnixSocketTests.test_create_unix_server_ssl_timeout_with_plain_sock) ... ok test_fork_asyncio_run (test.test_asyncio.test_unix_events.TestFork.test_fork_asyncio_run) ... ok test_fork_asyncio_subprocess (test.test_asyncio.test_unix_events.TestFork.test_fork_asyncio_subprocess) ... ok test_fork_not_share_event_loop (test.test_asyncio.test_unix_events.TestFork.test_fork_not_share_event_loop) ... ok test_fork_signal_handling (test.test_asyncio.test_unix_events.TestFork.test_fork_signal_handling) ... ok test_add_reader_invalid_argument (test.test_asyncio.test_unix_events.TestFunctional.test_add_reader_invalid_argument) ... ok test_add_reader_or_writer_transport_fd (test.test_asyncio.test_unix_events.TestFunctional.test_add_reader_or_writer_transport_fd) ... ok test__call_connection_lost (test.test_asyncio.test_unix_events.UnixReadPipeTransportTests.test__call_connection_lost) ... ok test__call_connection_lost_with_err (test.test_asyncio.test_unix_events.UnixReadPipeTransportTests.test__call_connection_lost_with_err) ... ok test__close (test.test_asyncio.test_unix_events.UnixReadPipeTransportTests.test__close) ... ok test__read_ready (test.test_asyncio.test_unix_events.UnixReadPipeTransportTests.test__read_ready) ... ok test__read_ready_blocked (test.test_asyncio.test_unix_events.UnixReadPipeTransportTests.test__read_ready_blocked) ... ok test__read_ready_eof (test.test_asyncio.test_unix_events.UnixReadPipeTransportTests.test__read_ready_eof) ... ok test__read_ready_error (test.test_asyncio.test_unix_events.UnixReadPipeTransportTests.test__read_ready_error) ... ok test_close (test.test_asyncio.test_unix_events.UnixReadPipeTransportTests.test_close) ... ok test_close_already_closing (test.test_asyncio.test_unix_events.UnixReadPipeTransportTests.test_close_already_closing) ... ok test_ctor (test.test_asyncio.test_unix_events.UnixReadPipeTransportTests.test_ctor) ... ok test_pause_reading (test.test_asyncio.test_unix_events.UnixReadPipeTransportTests.test_pause_reading) ... ok test_pause_reading_on_closed_pipe (test.test_asyncio.test_unix_events.UnixReadPipeTransportTests.test_pause_reading_on_closed_pipe) ... ok test_pause_reading_on_paused_pipe (test.test_asyncio.test_unix_events.UnixReadPipeTransportTests.test_pause_reading_on_paused_pipe) ... ok test_resume_reading (test.test_asyncio.test_unix_events.UnixReadPipeTransportTests.test_resume_reading) ... ok test_resume_reading_on_closed_pipe (test.test_asyncio.test_unix_events.UnixReadPipeTransportTests.test_resume_reading_on_closed_pipe) ... ok test_resume_reading_on_paused_pipe (test.test_asyncio.test_unix_events.UnixReadPipeTransportTests.test_resume_reading_on_paused_pipe) ... ok test__call_connection_lost (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test__call_connection_lost) ... ok test__call_connection_lost_with_err (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test__call_connection_lost_with_err) ... ok test__read_ready (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test__read_ready) ... ok test__write_ready (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test__write_ready) ... ok test__write_ready_again (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test__write_ready_again) ... ok test__write_ready_closing (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test__write_ready_closing) ... ok test__write_ready_empty (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test__write_ready_empty) ... ok test__write_ready_err (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test__write_ready_err) ... ok test__write_ready_partial (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test__write_ready_partial) ... ok test_abort (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test_abort) ... ok test_can_write_eof (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test_can_write_eof) ... ok test_close (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test_close) ... ok test_close_closing (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test_close_closing) ... ok test_ctor (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test_ctor) ... ok test_write (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test_write) ... ok test_write_again (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test_write_again) ... ok test_write_buffer (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test_write_buffer) ... ok test_write_close (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test_write_close) ... ok test_write_eof (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test_write_eof) ... ok test_write_eof_pending (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test_write_eof_pending) ... ok test_write_err (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test_write_err) ... ok test_write_no_data (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test_write_no_data) ... ok test_write_partial (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests.test_write_partial) ... ok ---------------------------------------------------------------------- Ran 125 tests in 0.966s OK 0:01:42 load avg: 1.52 [28/31/8] test_asyncio.test_unix_events passed 0:01:42 load avg: 1.52 [29/31/8] test_asyncio.test_waitfor test_asyncio_wait_for_cancelled (test.test_asyncio.test_waitfor.AsyncioWaitForTest.test_asyncio_wait_for_cancelled) ... ok test_asyncio_wait_for_timeout (test.test_asyncio.test_waitfor.AsyncioWaitForTest.test_asyncio_wait_for_timeout) ... ok test_cancel_blocking_wait_for (test.test_asyncio.test_waitfor.AsyncioWaitForTest.test_cancel_blocking_wait_for) ... ok test_cancel_wait_for (test.test_asyncio.test_waitfor.AsyncioWaitForTest.test_cancel_wait_for) ... ok test_wait_for (test.test_asyncio.test_waitfor.AsyncioWaitForTest.test_wait_for) ... ok test_wait_for_blocking (test.test_asyncio.test_waitfor.AsyncioWaitForTest.test_wait_for_blocking) ... ok test_wait_for_cancel_suppressed (test.test_asyncio.test_waitfor.AsyncioWaitForTest.test_wait_for_cancel_suppressed) ... ok test_wait_for_cancellation_race_condition (test.test_asyncio.test_waitfor.AsyncioWaitForTest.test_wait_for_cancellation_race_condition) ... ok test_wait_for_issue86296 (test.test_asyncio.test_waitfor.AsyncioWaitForTest.test_wait_for_issue86296) ... ok test_wait_for_race_condition (test.test_asyncio.test_waitfor.AsyncioWaitForTest.test_wait_for_race_condition) ... ok test_wait_for_reraises_exception_during_cancellation (test.test_asyncio.test_waitfor.AsyncioWaitForTest.test_wait_for_reraises_exception_during_cancellation) ... ok test_wait_for_timeout_less_then_0_or_0 (test.test_asyncio.test_waitfor.AsyncioWaitForTest.test_wait_for_timeout_less_then_0_or_0) ... ok test_wait_for_timeout_less_then_0_or_0_coroutine_do_not_started (test.test_asyncio.test_waitfor.AsyncioWaitForTest.test_wait_for_timeout_less_then_0_or_0_coroutine_do_not_started) ... ok test_wait_for_timeout_less_then_0_or_0_future_done (test.test_asyncio.test_waitfor.AsyncioWaitForTest.test_wait_for_timeout_less_then_0_or_0_future_done) ... ok test_wait_for_waits_for_task_cancellation (test.test_asyncio.test_waitfor.AsyncioWaitForTest.test_wait_for_waits_for_task_cancellation) ... ok test_wait_for_waits_for_task_cancellation_w_timeout_0 (test.test_asyncio.test_waitfor.AsyncioWaitForTest.test_wait_for_waits_for_task_cancellation_w_timeout_0) ... ok test_none_timeout (test.test_asyncio.test_waitfor.WaitForShieldTests.test_none_timeout) ... ok test_shielded_timeout (test.test_asyncio.test_waitfor.WaitForShieldTests.test_shielded_timeout) ... ok test_zero_timeout (test.test_asyncio.test_waitfor.WaitForShieldTests.test_zero_timeout) ... ok ---------------------------------------------------------------------- Ran 19 tests in 1.003s OK 0:01:43 load avg: 1.48 [29/31/8] test_asyncio.test_waitfor passed 0:01:43 load avg: 1.48 [30/31/8] test_asyncio.test_windows_events test_asyncio.test_windows_events skipped -- Windows only 0:01:43 load avg: 1.48 [30/31/8] test_asyncio.test_windows_events skipped 0:01:43 load avg: 1.48 [31/31/8] test_asyncio.test_windows_utils test_asyncio.test_windows_utils skipped -- Windows only 0:01:44 load avg: 1.48 [31/31/8] test_asyncio.test_windows_utils skipped == Tests result: FAILURE == 2 tests skipped: test_asyncio.test_windows_events test_asyncio.test_windows_utils 1 test altered the execution environment (env changed): test_asyncio.test_subprocess 7 tests failed: test_asyncio.test_events test_asyncio.test_futures test_asyncio.test_futures2 test_asyncio.test_runners test_asyncio.test_ssl test_asyncio.test_streams test_asyncio.test_taskgroups 21 tests OK. Total duration: 1 min 44 sec Total tests: run=2,562 failures=22 skipped=879 Total test files: run=31/31 failed=7 env_changed=1 skipped=2 Result: FAILURE /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py:790: RuntimeWarning: coroutine 'EventLoopTestsMixin.test_run_until_complete_nesting.<locals>.coro1' was never awaited gc.collect() /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py:790: RuntimeWarning: coroutine 'EventLoopTestsMixin.test_run_until_complete_nesting.<locals>.coro1' was never awaited gc.collect() /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py:790: RuntimeWarning: coroutine 'EventLoopTestsMixin.test_run_until_complete_nesting.<locals>.coro1' was never awaited gc.collect() test test_asyncio.test_events failed test test_asyncio.test_futures failed test test_asyncio.test_futures2 crashed -- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc _load_run_test(result, runtests) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 128, in _load_run_test test_mod = importlib.import_module(module_name) ^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<builtin>/frozen importlib._bootstrap_external", line 1011, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_futures2.py", line 73, in <module> class CFutureTests(FutureTests, unittest.IsolatedAsyncioTestCase): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_futures2.py", line 74, in CFutureTests cls = tasks._CTask ^^^^^^ AttributeError: module 'asyncio.tasks' has no attribute '_CTask' /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py:790: RuntimeWarning: coroutine 'RunnerTests.test_recursive_run.<locals>.g' was never awaited gc.collect() test test_asyncio.test_runners failed test test_asyncio.test_ssl failed test test_asyncio.test_streams failed Warning -- threading._dangling was modified by test_asyncio.test_subprocess Warning -- Before: {<weakref.ReferenceType at 0x00007f10cee5cca0; to '_MainThread'>} Warning -- After: {<weakref.ReferenceType at 0x0000000004aca020; to '_MainThread'>, <weakref.ReferenceType at 0x0000000004aca040; to 'Thread'>} Executing <Task finished name='Task-9928' coro=<BaseTestTaskGroup.test_exception_refcycles_base_error() done, defined at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py:942> exception=AssertionError("Lists differ: [<frame at 0x00000000041800d0, file '/buil[161 chars](),)] != []\n\nFirst list contains 2 additional elements.\nFirst extra element 0:\n<frame at 0x00000000041800d0, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 957, code test_exception_refcycles_base_error>\n\n+ []\n- [<frame at 0x00000000041800d0, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 957, code test_exception_refcycles_base_error>,\n- (MyKeyboardInterrupt(),)]") created at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py:974> took 0.216 seconds Executing <Task finished name='Task-9933' coro=<BaseTestTaskGroup.test_exception_refcycles_direct() done, defined at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py:846> exception=AssertionError("Lists differ: [<frame at 0x0000000002a0f6d0, file '/buil[196 chars]]),)] != []\n\nFirst list contains 2 additional elements.\nFirst extra element 0:\n<frame at 0x0000000002a0f6d0, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 861, code test_exception_refcycles_direct>\n\n+ []\n- [<frame at 0x0000000002a0f6d0, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 861, code test_exception_refcycles_direct>,\n- (ExceptionGroup('unhandled errors in a TaskGroup', [_Done()]),)]") created at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py:974> took 0.215 seconds Executing <Task finished name='Task-9938' coro=<BaseTestTaskGroup.test_exception_refcycles_errors() done, defined at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py:864> exception=AssertionError("Lists differ: [<frame at 0x00007f10cee40ff0, file '/buil[143 chars](),)] != []\n\nFirst list contains 2 additional elements.\nFirst extra element 0:\n<frame at 0x00007f10cee40ff0, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 879, code test_exception_refcycles_errors>\n\n+ []\n- [<frame at 0x00007f10cee40ff0, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 879, code test_exception_refcycles_errors>,\n- (_Done(),)]") created at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py:974> took 0.215 seconds Executing <Task finished name='Task-9943' coro=<BaseTestTaskGroup.test_exception_refcycles_parent_task() done, defined at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py:882> exception=AssertionError("Lists differ: [<frame at 0x00007f10cf3cea70, file '/buil[233 chars](),)] != []\n\nFirst list contains 5 additional elements.\nFirst extra element 0:\n<frame at 0x00007f10cf3cea70, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 901, code test_exception_refcycles_parent_task>\n\n+ []\n- [<frame at 0x00007f10cf3cea70, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 901, code test_exception_refcycles_parent_task>,\n- ExceptionGroup('unhandled errors in a TaskGroup', [_Done()]),\n- (_Done(),),\n- [_Done()],\n- (_Done(),)]") created at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py:974> took 0.216 seconds Executing <Task finished name='Task-9955' coro=<BaseTestTaskGroup.test_exception_refcycles_propagate_cancellation_error() done, defined at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py:927> exception=AssertionError("Lists differ: [<frame at 0x00007f10cdc35ba0, file '/buil[516 chars](),)] != []\n\nFirst list contains 5 additional elements.\nFirst extra element 0:\n<frame at 0x00007f10cdc35ba0, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 940, code test_exception_refcycles_propagate_cancellation_error>\n\n+ []\n- [<frame at 0x00007f10cdc35ba0, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 940, code test_exception_refcycles_propagate_cancellation_error>,\n- <frame at 0x00007f10cdc35c50, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py', line 316, code __step_run_and_handle_result>,\n- <frame at 0x00007f10cdc35ca8, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py', line 303, code __step>,\n- <SApplicationException object at 0x000000000385dd20>,\n- (CancelledError(),)]") created at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py:974> took 0.243 seconds Executing <Task finished name='Task-10271' coro=<BaseTestTaskGroup.test_exception_refcycles_base_error() done, defined at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py:942> exception=AssertionError("Lists differ: [<frame at 0x000000000439e5f8, file '/buil[161 chars](),)] != []\n\nFirst list contains 2 additional elements.\nFirst extra element 0:\n<frame at 0x000000000439e5f8, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 957, code test_exception_refcycles_base_error>\n\n+ []\n- [<frame at 0x000000000439e5f8, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 957, code test_exception_refcycles_base_error>,\n- (MyKeyboardInterrupt(),)]") created at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py:100> took 0.280 seconds Executing <Task finished name='Task-10276' coro=<BaseTestTaskGroup.test_exception_refcycles_direct() done, defined at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py:846> exception=AssertionError("Lists differ: [<frame at 0x000000000439f570, file '/buil[196 chars]]),)] != []\n\nFirst list contains 2 additional elements.\nFirst extra element 0:\n<frame at 0x000000000439f570, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 861, code test_exception_refcycles_direct>\n\n+ []\n- [<frame at 0x000000000439f570, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 861, code test_exception_refcycles_direct>,\n- (ExceptionGroup('unhandled errors in a TaskGroup', [_Done()]),)]") created at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py:100> took 0.281 seconds Executing <Task finished name='Task-10281' coro=<BaseTestTaskGroup.test_exception_refcycles_errors() done, defined at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py:864> exception=AssertionError("Lists differ: [<frame at 0x00000000042bc440, file '/buil[143 chars](),)] != []\n\nFirst list contains 2 additional elements.\nFirst extra element 0:\n<frame at 0x00000000042bc440, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 879, code test_exception_refcycles_errors>\n\n+ []\n- [<frame at 0x00000000042bc440, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 879, code test_exception_refcycles_errors>,\n- (_Done(),)]") created at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py:100> took 0.282 seconds Executing <Task finished name='Task-10286' coro=<BaseTestTaskGroup.test_exception_refcycles_parent_task() done, defined at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py:882> exception=AssertionError("Lists differ: [<frame at 0x00000000042bd3b8, file '/buil[233 chars](),)] != []\n\nFirst list contains 5 additional elements.\nFirst extra element 0:\n<frame at 0x00000000042bd3b8, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 901, code test_exception_refcycles_parent_task>\n\n+ []\n- [<frame at 0x00000000042bd3b8, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 901, code test_exception_refcycles_parent_task>,\n- ExceptionGroup('unhandled errors in a TaskGroup', [_Done()]),\n- (_Done(),),\n- [_Done()],\n- (_Done(),)]") created at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py:100> took 0.312 seconds Executing <Task finished name='Task-10298' coro=<BaseTestTaskGroup.test_exception_refcycles_propagate_cancellation_error() done, defined at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py:927> exception=AssertionError("Lists differ: [<frame at 0x00007f10cef29570, file '/buil[516 chars](),)] != []\n\nFirst list contains 5 additional elements.\nFirst extra element 0:\n<frame at 0x00007f10cef29570, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 940, code test_exception_refcycles_propagate_cancellation_error>\n\n+ []\n- [<frame at 0x00007f10cef29570, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py', line 940, code test_exception_refcycles_propagate_cancellation_error>,\n- <frame at 0x00007f10cef29620, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py', line 316, code __step_run_and_handle_result>,\n- <frame at 0x00007f10cef29c50, file '/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py', line 303, code __step>,\n- <SApplicationException object at 0x000000000385d840>,\n- (CancelledError(),)]") created at /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py:100> took 0.283 seconds test test_asyncio.test_taskgroups failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1756191æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3180337243 0:00:00 load avg: 1.48 Run 1 test sequentially in a single process 0:00:00 load avg: 1.48 [1/1] test_capi 0:00:00 load avg: 1.48 [1/1/1] test_capi failed (uncaught exception) == Tests result: FAILURE == 1 test failed: test_capi Total duration: 299 ms Total tests: run=0 Total test files: run=1/1 failed=1 Result: FAILURE /build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_testmultiphase.c 387 Failed to import test module: test.test_capi.test_complex Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/loader.py", line 396, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/loader.py", line 339, in _get_module_from_name __import__(name) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_capi/test_complex.py", line 6, in <module> from test.test_capi.test_getargs import (BadComplex, BadComplex2, Complex, File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_capi/test_getargs.py", line 12, in <module> from _testcapi import getargs_keywords, getargs_keyword_only ImportError: cannot import name 'getargs_keywords' from '_testcapi' (/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_testcapi.pypy312-pp80-x86_64-linux-gnu.so) Failed to import test module: test.test_capi.test_exceptions Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/loader.py", line 396, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/loader.py", line 339, in _get_module_from_name __import__(name) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_capi/test_exceptions.py", line 13, in <module> from .test_misc import decode_stderr File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_capi/test_misc.py", line 51, in <module> import _testinternalcapi ModuleNotFoundError: No module named '_testinternalcapi' Failed to import test module: test.test_capi.test_float Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/loader.py", line 396, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/loader.py", line 339, in _get_module_from_name __import__(name) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_capi/test_float.py", line 6, in <module> from test.test_capi.test_getargs import (Float, FloatSubclass, FloatSubclass2, File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_capi/test_getargs.py", line 12, in <module> from _testcapi import getargs_keywords, getargs_keyword_only ImportError: cannot import name 'getargs_keywords' from '_testcapi' (/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_testcapi.pypy312-pp80-x86_64-linux-gnu.so) Failed to import test module: test.test_capi.test_getargs Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/loader.py", line 396, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/loader.py", line 339, in _get_module_from_name __import__(name) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_capi/test_getargs.py", line 12, in <module> from _testcapi import getargs_keywords, getargs_keyword_only ImportError: cannot import name 'getargs_keywords' from '_testcapi' (/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_testcapi.pypy312-pp80-x86_64-linux-gnu.so) Failed to import test module: test.test_capi.test_mem Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/loader.py", line 396, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/loader.py", line 339, in _get_module_from_name __import__(name) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_capi/test_mem.py", line 157, in <module> @unittest.skipUnless(support.with_pymalloc(), 'need pymalloc') ^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py", line 1955, in with_pymalloc return _testcapi.WITH_PYMALLOC ^^^^^^^^^^^^^ AttributeError: module '_testcapi' has no attribute 'WITH_PYMALLOC' Failed to import test module: test.test_capi.test_misc Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/loader.py", line 396, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/loader.py", line 339, in _get_module_from_name __import__(name) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_capi/test_misc.py", line 51, in <module> import _testinternalcapi ModuleNotFoundError: No module named '_testinternalcapi' test test_capi crashed -- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc _load_run_test(result, runtests) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 138, in _load_run_test regrtest_runner(result, test_func, runtests) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 91, in regrtest_runner test_result = test_func() ^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 135, in test_func return run_unittest(test_mod) ^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 35, in run_unittest raise Exception("errors while loading tests") Exception: errors while loading tests _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1756201æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3220966617 0:00:00 load avg: 1.48 Run 8 tests sequentially in a single process 0:00:00 load avg: 1.48 [1/8] test_concurrent_futures.test_as_completed test_correct_timeout_exception_msg (test.test_concurrent_futures.test_as_completed.ProcessPoolForkAsCompletedTest.test_correct_timeout_exception_msg) ... 0.00s ok test_duplicate_futures (test.test_concurrent_futures.test_as_completed.ProcessPoolForkAsCompletedTest.test_duplicate_futures) ... 2.01s ok test_free_reference_yielded_future (test.test_concurrent_futures.test_as_completed.ProcessPoolForkAsCompletedTest.test_free_reference_yielded_future) ... 0.23s ok test_future_times_out (test.test_concurrent_futures.test_as_completed.ProcessPoolForkAsCompletedTest.test_future_times_out) Test ``futures.as_completed`` timing out before ... 1.01s ok test_no_timeout (test.test_concurrent_futures.test_as_completed.ProcessPoolForkAsCompletedTest.test_no_timeout) ... 0.01s ok test_correct_timeout_exception_msg (test.test_concurrent_futures.test_as_completed.ProcessPoolForkserverAsCompletedTest.test_correct_timeout_exception_msg) ... 0.00s ok test_duplicate_futures (test.test_concurrent_futures.test_as_completed.ProcessPoolForkserverAsCompletedTest.test_duplicate_futures) ... 2.11s ok test_free_reference_yielded_future (test.test_concurrent_futures.test_as_completed.ProcessPoolForkserverAsCompletedTest.test_free_reference_yielded_future) ... 0.23s ok test_future_times_out (test.test_concurrent_futures.test_as_completed.ProcessPoolForkserverAsCompletedTest.test_future_times_out) Test ``futures.as_completed`` timing out before ... 1.03s ok test_no_timeout (test.test_concurrent_futures.test_as_completed.ProcessPoolForkserverAsCompletedTest.test_no_timeout) ... 0.06s ok test_correct_timeout_exception_msg (test.test_concurrent_futures.test_as_completed.ProcessPoolSpawnAsCompletedTest.test_correct_timeout_exception_msg) ... 0.00s ok test_duplicate_futures (test.test_concurrent_futures.test_as_completed.ProcessPoolSpawnAsCompletedTest.test_duplicate_futures) ... 2.10s ok test_free_reference_yielded_future (test.test_concurrent_futures.test_as_completed.ProcessPoolSpawnAsCompletedTest.test_free_reference_yielded_future) ... 0.23s ok test_future_times_out (test.test_concurrent_futures.test_as_completed.ProcessPoolSpawnAsCompletedTest.test_future_times_out) Test ``futures.as_completed`` timing out before ... 1.11s ok test_no_timeout (test.test_concurrent_futures.test_as_completed.ProcessPoolSpawnAsCompletedTest.test_no_timeout) ... 0.14s ok test_correct_timeout_exception_msg (test.test_concurrent_futures.test_as_completed.ThreadPoolAsCompletedTest.test_correct_timeout_exception_msg) ... 0.00s ok test_duplicate_futures (test.test_concurrent_futures.test_as_completed.ThreadPoolAsCompletedTest.test_duplicate_futures) ... 2.00s ok test_free_reference_yielded_future (test.test_concurrent_futures.test_as_completed.ThreadPoolAsCompletedTest.test_free_reference_yielded_future) ... 0.23s ok test_future_times_out (test.test_concurrent_futures.test_as_completed.ThreadPoolAsCompletedTest.test_future_times_out) Test ``futures.as_completed`` timing out before ... 1.00s ok test_no_timeout (test.test_concurrent_futures.test_as_completed.ThreadPoolAsCompletedTest.test_no_timeout) ... 0.00s ok ---------------------------------------------------------------------- Ran 20 tests in 13.565s OK 0:00:13 load avg: 1.44 [1/8] test_concurrent_futures.test_as_completed passed 0:00:13 load avg: 1.44 [2/8] test_concurrent_futures.test_deadlock test_crash_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_crash_at_task_unpickle) ... 0.34s ok test_crash_big_data (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_crash_big_data) ... 0.65s ok test_crash_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_crash_during_func_exec_on_worker) ... 0.53s ok test_crash_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_crash_during_result_pickle_on_worker) ... 0.57s ok test_error_at_task_pickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_error_at_task_pickle) ... 0.01s ok test_error_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_error_at_task_unpickle) ... 0.01s ok test_error_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_error_during_func_exec_on_worker) ... 0.01s ok test_error_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_error_during_result_pickle_on_worker) ... 0.01s ok test_error_during_result_unpickle_in_result_handler (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_error_during_result_unpickle_in_result_handler) ... 0.01s ok test_exit_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_exit_at_task_unpickle) ... 0.01s ok test_exit_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_exit_during_func_exec_on_worker) ... 0.01s ok test_exit_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_exit_during_result_pickle_on_worker) ... 0.01s ok test_exit_during_result_unpickle_in_result_handler (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_exit_during_result_unpickle_in_result_handler) ... 0.01s ok test_gh105829_should_not_deadlock_if_wakeup_pipe_full (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_gh105829_should_not_deadlock_if_wakeup_pipe_full) ... 3.08s ok test_shutdown_deadlock (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_shutdown_deadlock) ... 0.56s ok test_shutdown_deadlock_pickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_shutdown_deadlock_pickle) ... 0.01s ok test_crash_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_crash_at_task_unpickle) ... 0.46s ok test_crash_big_data (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_crash_big_data) ... 1.25s ok test_crash_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_crash_during_func_exec_on_worker) ... 0.37s ok test_crash_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_crash_during_result_pickle_on_worker) ... 0.36s ok test_error_at_task_pickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_error_at_task_pickle) ... 0.02s ok test_error_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_error_at_task_unpickle) ... 0.13s ok test_error_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_error_during_func_exec_on_worker) ... 0.13s ok test_error_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_error_during_result_pickle_on_worker) ... 0.13s ok test_error_during_result_unpickle_in_result_handler (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_error_during_result_unpickle_in_result_handler) ... 0.13s ok test_exit_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_exit_at_task_unpickle) ... 0.13s ok test_exit_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_exit_during_func_exec_on_worker) ... 0.13s ok test_exit_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_exit_during_result_pickle_on_worker) ... 0.13s ok test_exit_during_result_unpickle_in_result_handler (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_exit_during_result_unpickle_in_result_handler) ... 0.13s ok test_gh105829_should_not_deadlock_if_wakeup_pipe_full (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_gh105829_should_not_deadlock_if_wakeup_pipe_full) ... 3.08s ok test_shutdown_deadlock (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_shutdown_deadlock) ... 0.50s ok test_shutdown_deadlock_pickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_shutdown_deadlock_pickle) ... 0.02s ok test_crash_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_crash_at_task_unpickle) ... 0.48s ok test_crash_big_data (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_crash_big_data) ... 0.63s ok test_crash_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_crash_during_func_exec_on_worker) ... 0.43s ok test_crash_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_crash_during_result_pickle_on_worker) ... 0.48s ok test_error_at_task_pickle (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_error_at_task_pickle) ... 0.11s ok test_error_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_error_at_task_unpickle) ... 0.21s ok test_error_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_error_during_func_exec_on_worker) ... 0.21s ok test_error_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_error_during_result_pickle_on_worker) ... 0.21s ok test_error_during_result_unpickle_in_result_handler (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_error_during_result_unpickle_in_result_handler) ... 0.21s ok test_exit_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_exit_at_task_unpickle) ... 0.21s ok test_exit_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_exit_during_func_exec_on_worker) ... 0.21s ok test_exit_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_exit_during_result_pickle_on_worker) ... 0.21s ok test_exit_during_result_unpickle_in_result_handler (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_exit_during_result_unpickle_in_result_handler) ... 0.21s ok test_gh105829_should_not_deadlock_if_wakeup_pipe_full (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_gh105829_should_not_deadlock_if_wakeup_pipe_full) ... 3.12s ok test_shutdown_deadlock (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_shutdown_deadlock) ... 0.67s ok test_shutdown_deadlock_pickle (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_shutdown_deadlock_pickle) ... 0.11s ok ---------------------------------------------------------------------- Ran 48 tests in 20.729s OK 0:00:34 load avg: 1.46 [2/8/1] test_concurrent_futures.test_deadlock failed (env changed) 0:00:34 load avg: 1.46 [3/8/1] test_concurrent_futures.test_future test_cancel (test.test_concurrent_futures.test_future.FutureTests.test_cancel) ... ok test_cancelled (test.test_concurrent_futures.test_future.FutureTests.test_cancelled) ... ok test_done (test.test_concurrent_futures.test_future.FutureTests.test_done) ... ok test_done_callback_already_cancelled (test.test_concurrent_futures.test_future.FutureTests.test_done_callback_already_cancelled) ... ok test_done_callback_already_failed (test.test_concurrent_futures.test_future.FutureTests.test_done_callback_already_failed) ... ok test_done_callback_already_successful (test.test_concurrent_futures.test_future.FutureTests.test_done_callback_already_successful) ... ok test_done_callback_raises (test.test_concurrent_futures.test_future.FutureTests.test_done_callback_raises) ... ok test_done_callback_raises_already_succeeded (test.test_concurrent_futures.test_future.FutureTests.test_done_callback_raises_already_succeeded) ... ok test_done_callback_with_cancel (test.test_concurrent_futures.test_future.FutureTests.test_done_callback_with_cancel) ... ok test_done_callback_with_exception (test.test_concurrent_futures.test_future.FutureTests.test_done_callback_with_exception) ... ok test_done_callback_with_result (test.test_concurrent_futures.test_future.FutureTests.test_done_callback_with_result) ... ok test_exception_with_success (test.test_concurrent_futures.test_future.FutureTests.test_exception_with_success) ... ok test_exception_with_timeout (test.test_concurrent_futures.test_future.FutureTests.test_exception_with_timeout) ... ok test_multiple_set_exception (test.test_concurrent_futures.test_future.FutureTests.test_multiple_set_exception) ... ok test_multiple_set_result (test.test_concurrent_futures.test_future.FutureTests.test_multiple_set_result) ... ok test_repr (test.test_concurrent_futures.test_future.FutureTests.test_repr) ... ok test_result_with_cancel (test.test_concurrent_futures.test_future.FutureTests.test_result_with_cancel) ... ok test_result_with_success (test.test_concurrent_futures.test_future.FutureTests.test_result_with_success) ... ok test_result_with_timeout (test.test_concurrent_futures.test_future.FutureTests.test_result_with_timeout) ... ok test_running (test.test_concurrent_futures.test_future.FutureTests.test_running) ... ok ---------------------------------------------------------------------- Ran 20 tests in 3.041s OK 0:00:37 load avg: 1.46 [3/8/1] test_concurrent_futures.test_future passed 0:00:37 load avg: 1.46 [4/8/1] test_concurrent_futures.test_init test_initializer (test.test_concurrent_futures.test_init.ProcessPoolForkFailingInitializerTest.test_initializer) ... 0.12s ok test_initializer (test.test_concurrent_futures.test_init.ProcessPoolForkInitializerTest.test_initializer) ... 0.01s ok test_initializer (test.test_concurrent_futures.test_init.ProcessPoolForkserverFailingInitializerTest.test_initializer) ... 0.25s ok test_initializer (test.test_concurrent_futures.test_init.ProcessPoolForkserverInitializerTest.test_initializer) ... 0.07s ok test_initializer (test.test_concurrent_futures.test_init.ProcessPoolSpawnFailingInitializerTest.test_initializer) ... 0.24s ok test_initializer (test.test_concurrent_futures.test_init.ProcessPoolSpawnInitializerTest.test_initializer) ... 0.14s ok test_initializer (test.test_concurrent_futures.test_init.ThreadPoolFailingInitializerTest.test_initializer) ... 0.10s ok test_initializer (test.test_concurrent_futures.test_init.ThreadPoolInitializerTest.test_initializer) ... 0.00s ok ---------------------------------------------------------------------- Ran 8 tests in 0.985s OK 0:00:38 load avg: 1.42 [4/8/1] test_concurrent_futures.test_init passed 0:00:38 load avg: 1.42 [5/8/1] test_concurrent_futures.test_process_pool test_free_reference (test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_free_reference) ... 0.37s ok test_idle_process_reuse_multiple (test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_idle_process_reuse_multiple) ... skipped 'Incompatible with the fork start method.' 0.00s test_idle_process_reuse_one (test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_idle_process_reuse_one) ... skipped 'Incompatible with the fork start method.' 0.00s test_killed_child (test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_killed_child) ... 0.01s ok test_map (test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_map) ... 0.02s ok test_map_chunksize (test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_map_chunksize) ... 0.02s ok test_map_exception (test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_map_exception) ... 0.02s ok test_map_timeout (test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_map_timeout) ... skipped "resource 'walltime' is not enabled" test_max_tasks_early_shutdown (test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_max_tasks_early_shutdown) ... skipped 'Incompatible with the fork start method.' 0.00s test_max_tasks_per_child (test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_max_tasks_per_child) ... 0.00s ok test_max_tasks_per_child_defaults_to_spawn_context (test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_max_tasks_per_child_defaults_to_spawn_context) ... 0.00s ok test_max_workers_negative (test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_max_workers_negative) ... 0.00s ok test_max_workers_too_large (test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_max_workers_too_large) ... skipped 'Windows-only process limit' test_no_stale_references (test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_no_stale_references) ... skipped 'implementation detail specific to cpython' test_python_finalization_error (test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_python_finalization_error) ... 0.01s ok test_ressources_gced_in_workers (test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_ressources_gced_in_workers) ... skipped 'implementation detail specific to cpython' test_saturation (test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_saturation) ... 0.07s ok test_shutdown_race_issue12456 (test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_shutdown_race_issue12456) ... 0.02s ok test_submit (test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_submit) ... 0.02s ok test_submit_keyword (test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_submit_keyword) ... 0.02s ok test_traceback (test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_traceback) ... 0.02s ok test_free_reference (test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_free_reference) ... 0.53s ok test_idle_process_reuse_multiple (test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_idle_process_reuse_multiple) ... 0.08s ok test_idle_process_reuse_one (test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_idle_process_reuse_one) ... 0.06s ok test_killed_child (test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_killed_child) ... 0.00s ok test_map (test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_map) ... 0.04s ok test_map_chunksize (test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_map_chunksize) ... 0.04s ok test_map_exception (test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_map_exception) ... 0.04s ok test_map_timeout (test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_map_timeout) ... skipped "resource 'walltime' is not enabled" test_max_tasks_early_shutdown (test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_max_tasks_early_shutdown) ... 0.14s ok test_max_tasks_per_child (test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_max_tasks_per_child) ... 0.04s ok test_max_tasks_per_child_defaults_to_spawn_context (test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_max_tasks_per_child_defaults_to_spawn_context) ... 0.00s ok test_max_workers_negative (test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_max_workers_negative) ... 0.00s ok test_max_workers_too_large (test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_max_workers_too_large) ... skipped 'Windows-only process limit' test_no_stale_references (test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_no_stale_references) ... skipped 'implementation detail specific to cpython' test_python_finalization_error (test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_python_finalization_error) ... 0.01s ok test_ressources_gced_in_workers (test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_ressources_gced_in_workers) ... skipped 'implementation detail specific to cpython' test_saturation (test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_saturation) ... 0.07s ok test_shutdown_race_issue12456 (test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_shutdown_race_issue12456) ... 0.05s ok test_submit (test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_submit) ... 0.02s ok test_submit_keyword (test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_submit_keyword) ... 0.06s ok test_traceback (test.test_concurrent_futures.test_process_pool.ProcessPoolForkserverProcessPoolExecutorTest.test_traceback) ... 0.09s ok test_free_reference (test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_free_reference) ... 0.53s ok test_idle_process_reuse_multiple (test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_idle_process_reuse_multiple) ... 0.24s ok test_idle_process_reuse_one (test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_idle_process_reuse_one) ... 0.14s ok test_killed_child (test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_killed_child) ... 0.00s ok test_map (test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_map) ... 0.20s ok test_map_chunksize (test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_map_chunksize) ... 0.20s ok test_map_exception (test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_map_exception) ... 0.17s ok test_map_timeout (test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_map_timeout) ... skipped "resource 'walltime' is not enabled" test_max_tasks_early_shutdown (test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_max_tasks_early_shutdown) ... 0.42s ok test_max_tasks_per_child (test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_max_tasks_per_child) ... 0.21s ok test_max_tasks_per_child_defaults_to_spawn_context (test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_max_tasks_per_child_defaults_to_spawn_context) ... 0.00s ok test_max_workers_negative (test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_max_workers_negative) ... 0.00s ok test_max_workers_too_large (test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_max_workers_too_large) ... skipped 'Windows-only process limit' test_no_stale_references (test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_no_stale_references) ... skipped 'implementation detail specific to cpython' test_python_finalization_error (test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_python_finalization_error) ... 0.01s ok test_ressources_gced_in_workers (test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_ressources_gced_in_workers) ... skipped 'implementation detail specific to cpython' test_saturation (test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_saturation) ... 0.22s ok test_shutdown_race_issue12456 (test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_shutdown_race_issue12456) ... 0.20s ok test_submit (test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_submit) ... 0.11s ok test_submit_keyword (test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_submit_keyword) ... 0.14s ok test_traceback (test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_traceback) ... 0.17s ok ---------------------------------------------------------------------- Ran 63 tests in 4.904s OK (skipped=15) 0:00:43 load avg: 1.79 [5/8/1] test_concurrent_futures.test_process_pool passed 0:00:43 load avg: 1.79 [6/8/1] test_concurrent_futures.test_shutdown test_cancel_futures (test.test_concurrent_futures.test_shutdown.ProcessPoolForkProcessPoolShutdownTest.test_cancel_futures) ... 0.32s ok test_context_manager_shutdown (test.test_concurrent_futures.test_shutdown.ProcessPoolForkProcessPoolShutdownTest.test_context_manager_shutdown) ... 0.02s ok test_del_shutdown (test.test_concurrent_futures.test_shutdown.ProcessPoolForkProcessPoolShutdownTest.test_del_shutdown) ... 0.06s ok test_hang_gh83386 (test.test_concurrent_futures.test_shutdown.ProcessPoolForkProcessPoolShutdownTest.test_hang_gh83386) shutdown(wait=False) doesn't hang at exit with running futures. ... skipped 'Hangs, see https://github.com/python/cpython/issues/83386' 0.00s test_hang_gh94440 (test.test_concurrent_futures.test_shutdown.ProcessPoolForkProcessPoolShutdownTest.test_hang_gh94440) shutdown(wait=True) doesn't hang when a future was submitted and ... 0.01s ok test_hang_issue12364 (test.test_concurrent_futures.test_shutdown.ProcessPoolForkProcessPoolShutdownTest.test_hang_issue12364) ... 1.02s ok test_interpreter_shutdown (test.test_concurrent_futures.test_shutdown.ProcessPoolForkProcessPoolShutdownTest.test_interpreter_shutdown) ... 1.18s ok test_processes_terminate (test.test_concurrent_futures.test_shutdown.ProcessPoolForkProcessPoolShutdownTest.test_processes_terminate) ... 0.02s ok test_run_after_shutdown (test.test_concurrent_futures.test_shutdown.ProcessPoolForkProcessPoolShutdownTest.test_run_after_shutdown) ... 0.00s ok test_shutdown_no_wait (test.test_concurrent_futures.test_shutdown.ProcessPoolForkProcessPoolShutdownTest.test_shutdown_no_wait) ... 0.02s ok test_submit_after_interpreter_shutdown (test.test_concurrent_futures.test_shutdown.ProcessPoolForkProcessPoolShutdownTest.test_submit_after_interpreter_shutdown) ... 0.10s ok test_cancel_futures (test.test_concurrent_futures.test_shutdown.ProcessPoolForkserverProcessPoolShutdownTest.test_cancel_futures) ... 0.23s ok test_context_manager_shutdown (test.test_concurrent_futures.test_shutdown.ProcessPoolForkserverProcessPoolShutdownTest.test_context_manager_shutdown) ... 0.05s ok test_del_shutdown (test.test_concurrent_futures.test_shutdown.ProcessPoolForkserverProcessPoolShutdownTest.test_del_shutdown) ... 0.08s ok test_hang_gh83386 (test.test_concurrent_futures.test_shutdown.ProcessPoolForkserverProcessPoolShutdownTest.test_hang_gh83386) shutdown(wait=False) doesn't hang at exit with running futures. ... skipped 'Hangs, see https://github.com/python/cpython/issues/83386' 0.00s test_hang_gh94440 (test.test_concurrent_futures.test_shutdown.ProcessPoolForkserverProcessPoolShutdownTest.test_hang_gh94440) shutdown(wait=True) doesn't hang when a future was submitted and ... 0.02s ok test_hang_issue12364 (test.test_concurrent_futures.test_shutdown.ProcessPoolForkserverProcessPoolShutdownTest.test_hang_issue12364) ... 1.05s ok test_interpreter_shutdown (test.test_concurrent_futures.test_shutdown.ProcessPoolForkserverProcessPoolShutdownTest.test_interpreter_shutdown) ... 1.30s ok test_processes_terminate (test.test_concurrent_futures.test_shutdown.ProcessPoolForkserverProcessPoolShutdownTest.test_processes_terminate) ... 0.04s ok test_run_after_shutdown (test.test_concurrent_futures.test_shutdown.ProcessPoolForkserverProcessPoolShutdownTest.test_run_after_shutdown) ... 0.00s ok test_shutdown_no_wait (test.test_concurrent_futures.test_shutdown.ProcessPoolForkserverProcessPoolShutdownTest.test_shutdown_no_wait) ... 0.05s ok test_submit_after_interpreter_shutdown (test.test_concurrent_futures.test_shutdown.ProcessPoolForkserverProcessPoolShutdownTest.test_submit_after_interpreter_shutdown) ... 0.21s ok test_cancel_futures (test.test_concurrent_futures.test_shutdown.ProcessPoolSpawnProcessPoolShutdownTest.test_cancel_futures) ... 0.32s ok test_context_manager_shutdown (test.test_concurrent_futures.test_shutdown.ProcessPoolSpawnProcessPoolShutdownTest.test_context_manager_shutdown) ... 0.20s ok test_del_shutdown (test.test_concurrent_futures.test_shutdown.ProcessPoolSpawnProcessPoolShutdownTest.test_del_shutdown) ... 0.21s ok test_hang_gh83386 (test.test_concurrent_futures.test_shutdown.ProcessPoolSpawnProcessPoolShutdownTest.test_hang_gh83386) shutdown(wait=False) doesn't hang at exit with running futures. ... skipped 'Hangs, see https://github.com/python/cpython/issues/83386' 0.00s test_hang_gh94440 (test.test_concurrent_futures.test_shutdown.ProcessPoolSpawnProcessPoolShutdownTest.test_hang_gh94440) shutdown(wait=True) doesn't hang when a future was submitted and ... 0.10s ok test_hang_issue12364 (test.test_concurrent_futures.test_shutdown.ProcessPoolSpawnProcessPoolShutdownTest.test_hang_issue12364) ... 1.20s ok test_interpreter_shutdown (test.test_concurrent_futures.test_shutdown.ProcessPoolSpawnProcessPoolShutdownTest.test_interpreter_shutdown) ... 1.29s ok test_processes_terminate (test.test_concurrent_futures.test_shutdown.ProcessPoolSpawnProcessPoolShutdownTest.test_processes_terminate) ... 0.12s ok test_run_after_shutdown (test.test_concurrent_futures.test_shutdown.ProcessPoolSpawnProcessPoolShutdownTest.test_run_after_shutdown) ... 0.00s ok test_shutdown_no_wait (test.test_concurrent_futures.test_shutdown.ProcessPoolSpawnProcessPoolShutdownTest.test_shutdown_no_wait) ... 0.21s ok test_submit_after_interpreter_shutdown (test.test_concurrent_futures.test_shutdown.ProcessPoolSpawnProcessPoolShutdownTest.test_submit_after_interpreter_shutdown) ... 0.20s ok test_cancel_futures (test.test_concurrent_futures.test_shutdown.ThreadPoolShutdownTest.test_cancel_futures) ... 0.10s ok test_cancel_futures_wait_false (test.test_concurrent_futures.test_shutdown.ThreadPoolShutdownTest.test_cancel_futures_wait_false) ... 0.24s ok test_context_manager_shutdown (test.test_concurrent_futures.test_shutdown.ThreadPoolShutdownTest.test_context_manager_shutdown) ... 0.00s ok test_del_shutdown (test.test_concurrent_futures.test_shutdown.ThreadPoolShutdownTest.test_del_shutdown) ... 0.05s ok test_hang_gh83386 (test.test_concurrent_futures.test_shutdown.ThreadPoolShutdownTest.test_hang_gh83386) shutdown(wait=False) doesn't hang at exit with running futures. ... 1.14s ok test_hang_gh94440 (test.test_concurrent_futures.test_shutdown.ThreadPoolShutdownTest.test_hang_gh94440) shutdown(wait=True) doesn't hang when a future was submitted and ... 0.00s ok test_hang_issue12364 (test.test_concurrent_futures.test_shutdown.ThreadPoolShutdownTest.test_hang_issue12364) ... 1.00s ok test_interpreter_shutdown (test.test_concurrent_futures.test_shutdown.ThreadPoolShutdownTest.test_interpreter_shutdown) ... 1.14s ok test_run_after_shutdown (test.test_concurrent_futures.test_shutdown.ThreadPoolShutdownTest.test_run_after_shutdown) ... 0.00s ok test_shutdown_no_wait (test.test_concurrent_futures.test_shutdown.ThreadPoolShutdownTest.test_shutdown_no_wait) ... 0.00s ok test_submit_after_interpreter_shutdown (test.test_concurrent_futures.test_shutdown.ThreadPoolShutdownTest.test_submit_after_interpreter_shutdown) ... 0.06s ok test_thread_names_assigned (test.test_concurrent_futures.test_shutdown.ThreadPoolShutdownTest.test_thread_names_assigned) ... 0.04s ok test_thread_names_default (test.test_concurrent_futures.test_shutdown.ThreadPoolShutdownTest.test_thread_names_default) ... 0.04s ok test_threads_terminate (test.test_concurrent_futures.test_shutdown.ThreadPoolShutdownTest.test_threads_terminate) ... 0.00s ok ---------------------------------------------------------------------- Ran 47 tests in 13.486s OK (skipped=3) 0:00:57 load avg: 2.14 [6/8/1] test_concurrent_futures.test_shutdown passed 0:00:57 load avg: 2.14 [7/8/1] test_concurrent_futures.test_thread_pool test_default_workers (test.test_concurrent_futures.test_thread_pool.ThreadPoolExecutorTest.test_default_workers) ... 0.00s ok test_executor_map_current_future_cancel (test.test_concurrent_futures.test_thread_pool.ThreadPoolExecutorTest.test_executor_map_current_future_cancel) ... 0.00s ok test_free_reference (test.test_concurrent_futures.test_thread_pool.ThreadPoolExecutorTest.test_free_reference) ... 0.36s ok test_hang_global_shutdown_lock (test.test_concurrent_futures.test_thread_pool.ThreadPoolExecutorTest.test_hang_global_shutdown_lock) ... skipped "resource 'cpu' is not enabled" test_idle_thread_reuse (test.test_concurrent_futures.test_thread_pool.ThreadPoolExecutorTest.test_idle_thread_reuse) ... 0.00s ok test_map (test.test_concurrent_futures.test_thread_pool.ThreadPoolExecutorTest.test_map) ... 0.00s ok test_map_exception (test.test_concurrent_futures.test_thread_pool.ThreadPoolExecutorTest.test_map_exception) ... 0.00s ok test_map_submits_without_iteration (test.test_concurrent_futures.test_thread_pool.ThreadPoolExecutorTest.test_map_submits_without_iteration) Tests verifying issue 11777. ... 0.00s ok test_map_timeout (test.test_concurrent_futures.test_thread_pool.ThreadPoolExecutorTest.test_map_timeout) ... skipped "resource 'walltime' is not enabled" test_max_workers_negative (test.test_concurrent_futures.test_thread_pool.ThreadPoolExecutorTest.test_max_workers_negative) ... 0.00s ok test_no_stale_references (test.test_concurrent_futures.test_thread_pool.ThreadPoolExecutorTest.test_no_stale_references) ... skipped 'implementation detail specific to cpython' test_process_fork_from_a_threadpool (test.test_concurrent_futures.test_thread_pool.ThreadPoolExecutorTest.test_process_fork_from_a_threadpool) ... FAIL 0.01s test_saturation (test.test_concurrent_futures.test_thread_pool.ThreadPoolExecutorTest.test_saturation) ... 0.01s ok test_shutdown_race_issue12456 (test.test_concurrent_futures.test_thread_pool.ThreadPoolExecutorTest.test_shutdown_race_issue12456) ... 0.00s ok test_submit (test.test_concurrent_futures.test_thread_pool.ThreadPoolExecutorTest.test_submit) ... 0.00s ok test_submit_keyword (test.test_concurrent_futures.test_thread_pool.ThreadPoolExecutorTest.test_submit_keyword) ... 0.00s ok ====================================================================== FAIL: test_process_fork_from_a_threadpool (test.test_concurrent_futures.test_thread_pool.ThreadPoolExecutorTest.test_process_fork_from_a_threadpool) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_concurrent_futures/test_thread_pool.py", line 82, in test_process_fork_from_a_threadpool process_exitcode = pool.submit(fork_process_and_return_exitcode).result() ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/concurrent/futures/_base.py", line 456, in result return self.__get_result() ^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/concurrent/futures/_base.py", line 401, in __get_result raise self._exception File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/concurrent/futures/thread.py", line 59, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_concurrent_futures/test_thread_pool.py", line 74, in fork_process_and_return_exitcode with self.assertWarnsRegex(DeprecationWarning, AssertionError: DeprecationWarning not triggered ---------------------------------------------------------------------- Ran 16 tests in 0.426s FAILED (failures=1, skipped=3) 0:00:57 load avg: 2.14 [7/8/2] test_concurrent_futures.test_thread_pool failed (1 failure) 0:00:57 load avg: 2.14 [8/8/2] test_concurrent_futures.test_wait test_20369 (test.test_concurrent_futures.test_wait.ProcessPoolForkWaitTest.test_20369) ... 1.51s ok test_all_completed (test.test_concurrent_futures.test_wait.ProcessPoolForkWaitTest.test_all_completed) ... 0.02s ok test_first_completed (test.test_concurrent_futures.test_wait.ProcessPoolForkWaitTest.test_first_completed) ... 1.51s ok test_first_completed_some_already_completed (test.test_concurrent_futures.test_wait.ProcessPoolForkWaitTest.test_first_completed_some_already_completed) ... 1.51s ok test_first_exception (test.test_concurrent_futures.test_wait.ProcessPoolForkWaitTest.test_first_exception) ... skipped "resource 'walltime' is not enabled" test_first_exception_one_already_failed (test.test_concurrent_futures.test_wait.ProcessPoolForkWaitTest.test_first_exception_one_already_failed) ... 2.01s ok test_first_exception_some_already_complete (test.test_concurrent_futures.test_wait.ProcessPoolForkWaitTest.test_first_exception_some_already_complete) ... 1.51s ok test_timeout (test.test_concurrent_futures.test_wait.ProcessPoolForkWaitTest.test_timeout) ... 0.51s ok test_20369 (test.test_concurrent_futures.test_wait.ProcessPoolForkserverWaitTest.test_20369) ... 1.61s ok test_all_completed (test.test_concurrent_futures.test_wait.ProcessPoolForkserverWaitTest.test_all_completed) ... 0.06s ok test_first_completed (test.test_concurrent_futures.test_wait.ProcessPoolForkserverWaitTest.test_first_completed) ... 1.53s ok test_first_completed_some_already_completed (test.test_concurrent_futures.test_wait.ProcessPoolForkserverWaitTest.test_first_completed_some_already_completed) ... 1.52s ok test_first_exception (test.test_concurrent_futures.test_wait.ProcessPoolForkserverWaitTest.test_first_exception) ... skipped "resource 'walltime' is not enabled" test_first_exception_one_already_failed (test.test_concurrent_futures.test_wait.ProcessPoolForkserverWaitTest.test_first_exception_one_already_failed) ... 2.02s ok test_first_exception_some_already_complete (test.test_concurrent_futures.test_wait.ProcessPoolForkserverWaitTest.test_first_exception_some_already_complete) ... 1.53s ok test_timeout (test.test_concurrent_futures.test_wait.ProcessPoolForkserverWaitTest.test_timeout) ... 0.52s ok test_20369 (test.test_concurrent_futures.test_wait.ProcessPoolSpawnWaitTest.test_20369) ... 1.60s ok test_all_completed (test.test_concurrent_futures.test_wait.ProcessPoolSpawnWaitTest.test_all_completed) ... 0.14s ok test_first_completed (test.test_concurrent_futures.test_wait.ProcessPoolSpawnWaitTest.test_first_completed) ... 1.61s ok test_first_completed_some_already_completed (test.test_concurrent_futures.test_wait.ProcessPoolSpawnWaitTest.test_first_completed_some_already_completed) ... 1.61s ok test_first_exception (test.test_concurrent_futures.test_wait.ProcessPoolSpawnWaitTest.test_first_exception) ... skipped "resource 'walltime' is not enabled" test_first_exception_one_already_failed (test.test_concurrent_futures.test_wait.ProcessPoolSpawnWaitTest.test_first_exception_one_already_failed) ... 2.10s ok test_first_exception_some_already_complete (test.test_concurrent_futures.test_wait.ProcessPoolSpawnWaitTest.test_first_exception_some_already_complete) ... 1.61s ok test_timeout (test.test_concurrent_futures.test_wait.ProcessPoolSpawnWaitTest.test_timeout) ... 0.60s ok test_20369 (test.test_concurrent_futures.test_wait.ThreadPoolWaitTests.test_20369) ... 1.50s ok test_all_completed (test.test_concurrent_futures.test_wait.ThreadPoolWaitTests.test_all_completed) ... 0.00s ok test_first_completed (test.test_concurrent_futures.test_wait.ThreadPoolWaitTests.test_first_completed) ... 1.50s ok test_first_completed_some_already_completed (test.test_concurrent_futures.test_wait.ThreadPoolWaitTests.test_first_completed_some_already_completed) ... 1.50s ok test_first_exception (test.test_concurrent_futures.test_wait.ThreadPoolWaitTests.test_first_exception) ... skipped "resource 'walltime' is not enabled" test_first_exception_one_already_failed (test.test_concurrent_futures.test_wait.ThreadPoolWaitTests.test_first_exception_one_already_failed) ... 2.00s ok test_first_exception_some_already_complete (test.test_concurrent_futures.test_wait.ThreadPoolWaitTests.test_first_exception_some_already_complete) ... 1.50s ok test_pending_calls_race (test.test_concurrent_futures.test_wait.ThreadPoolWaitTests.test_pending_calls_race) ... 0.10s ok test_timeout (test.test_concurrent_futures.test_wait.ThreadPoolWaitTests.test_timeout) ... 0.50s ok ---------------------------------------------------------------------- Ran 33 tests in 35.344s OK (skipped=4) 0:01:33 load avg: 1.58 [8/8/2] test_concurrent_futures.test_wait passed in 35.5 sec == Tests result: FAILURE == 1 test altered the execution environment (env changed): test_concurrent_futures.test_deadlock 1 test failed: test_concurrent_futures.test_thread_pool 6 tests OK. Total duration: 1 min 33 sec Total tests: run=255 failures=1 skipped=25 Total test files: run=8/8 failed=1 env_changed=1 Result: FAILURE Warning -- files was modified by test_concurrent_futures.test_deadlock Warning -- Before: [] Warning -- After: ['core'] Warning -- reap_children() reaped child process 1756912 Warning -- multiprocessing.process._dangling was modified by test_concurrent_futures.test_thread_pool Warning -- Before: set() Warning -- After: {<weakref.ReferenceType at 0x00007f33c7736bc0; to 'ForkProcess'>} test test_concurrent_futures.test_thread_pool failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1757040æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1946204948 0:00:00 load avg: 1.58 Run 1 test sequentially in a single process 0:00:00 load avg: 1.58 [1/1] test_ctypes test_anon (test.test_ctypes.test_anon.AnonTest.test_anon) ... ok test_anon_nonmember (test.test_ctypes.test_anon.AnonTest.test_anon_nonmember) ... ok test_anon_nonseq (test.test_ctypes.test_anon.AnonTest.test_anon_nonseq) ... ok test_issue31490 (test.test_ctypes.test_anon.AnonTest.test_issue31490) ... skipped 'implementation detail specific to cpython' test_nested (test.test_ctypes.test_anon.AnonTest.test_nested) ... ok test (test.test_ctypes.test_array_in_pointer.Test.test) ... ok test_2 (test.test_ctypes.test_array_in_pointer.Test.test_2) ... ok test_bad_length (test.test_ctypes.test_arrays.ArrayTestCase.test_bad_length) ... ok test_bad_subclass (test.test_ctypes.test_arrays.ArrayTestCase.test_bad_subclass) ... ok test_bpo36504_signed_int_overflow (test.test_ctypes.test_arrays.ArrayTestCase.test_bpo36504_signed_int_overflow) ... ok test_cache (test.test_ctypes.test_arrays.ArrayTestCase.test_cache) ... ok test_classcache (test.test_ctypes.test_arrays.ArrayTestCase.test_classcache) ... ok test_empty_element_array (test.test_ctypes.test_arrays.ArrayTestCase.test_empty_element_array) ... ok test_empty_element_struct (test.test_ctypes.test_arrays.ArrayTestCase.test_empty_element_struct) ... ok test_from_address (test.test_ctypes.test_arrays.ArrayTestCase.test_from_address) ... ok test_from_addressW (test.test_ctypes.test_arrays.ArrayTestCase.test_from_addressW) ... ok test_large_array (test.test_ctypes.test_arrays.ArrayTestCase.test_large_array) ... skipped 'not enough memory: 2.0G minimum needed' test_numeric_arrays (test.test_ctypes.test_arrays.ArrayTestCase.test_numeric_arrays) ... ok test_simple (test.test_ctypes.test_arrays.ArrayTestCase.test_simple) ... ok test_step_overflow (test.test_ctypes.test_arrays.ArrayTestCase.test_step_overflow) ... ok test_subclass (test.test_ctypes.test_arrays.ArrayTestCase.test_subclass) ... ok test_zero_length (test.test_ctypes.test_arrays.ArrayTestCase.test_zero_length) ... ok test_byval (test.test_ctypes.test_as_parameter.AsParamNestedWrapperTestCase.test_byval) ... ok test_callbacks (test.test_ctypes.test_as_parameter.AsParamNestedWrapperTestCase.test_callbacks) ... ok test_callbacks_2 (test.test_ctypes.test_as_parameter.AsParamNestedWrapperTestCase.test_callbacks_2) ... ok test_longlong_callbacks (test.test_ctypes.test_as_parameter.AsParamNestedWrapperTestCase.test_longlong_callbacks) ... ok test_pointers (test.test_ctypes.test_as_parameter.AsParamNestedWrapperTestCase.test_pointers) ... ok test_recursive_as_param (test.test_ctypes.test_as_parameter.AsParamNestedWrapperTestCase.test_recursive_as_param) ... ok test_shorts (test.test_ctypes.test_as_parameter.AsParamNestedWrapperTestCase.test_shorts) ... ok test_struct_return_2H (test.test_ctypes.test_as_parameter.AsParamNestedWrapperTestCase.test_struct_return_2H) ... ok test_struct_return_8H (test.test_ctypes.test_as_parameter.AsParamNestedWrapperTestCase.test_struct_return_8H) ... ok test_wchar_parm (test.test_ctypes.test_as_parameter.AsParamNestedWrapperTestCase.test_wchar_parm) ... ok test_byval (test.test_ctypes.test_as_parameter.AsParamPropertyWrapperTestCase.test_byval) ... ok test_callbacks (test.test_ctypes.test_as_parameter.AsParamPropertyWrapperTestCase.test_callbacks) ... ok test_callbacks_2 (test.test_ctypes.test_as_parameter.AsParamPropertyWrapperTestCase.test_callbacks_2) ... ok test_longlong_callbacks (test.test_ctypes.test_as_parameter.AsParamPropertyWrapperTestCase.test_longlong_callbacks) ... ok test_pointers (test.test_ctypes.test_as_parameter.AsParamPropertyWrapperTestCase.test_pointers) ... ok test_recursive_as_param (test.test_ctypes.test_as_parameter.AsParamPropertyWrapperTestCase.test_recursive_as_param) ... ok test_shorts (test.test_ctypes.test_as_parameter.AsParamPropertyWrapperTestCase.test_shorts) ... ok test_struct_return_2H (test.test_ctypes.test_as_parameter.AsParamPropertyWrapperTestCase.test_struct_return_2H) ... ok test_struct_return_8H (test.test_ctypes.test_as_parameter.AsParamPropertyWrapperTestCase.test_struct_return_8H) ... ok test_wchar_parm (test.test_ctypes.test_as_parameter.AsParamPropertyWrapperTestCase.test_wchar_parm) ... ok test_byval (test.test_ctypes.test_as_parameter.AsParamWrapperTestCase.test_byval) ... ok test_callbacks (test.test_ctypes.test_as_parameter.AsParamWrapperTestCase.test_callbacks) ... ok test_callbacks_2 (test.test_ctypes.test_as_parameter.AsParamWrapperTestCase.test_callbacks_2) ... ok test_longlong_callbacks (test.test_ctypes.test_as_parameter.AsParamWrapperTestCase.test_longlong_callbacks) ... ok test_pointers (test.test_ctypes.test_as_parameter.AsParamWrapperTestCase.test_pointers) ... ok test_recursive_as_param (test.test_ctypes.test_as_parameter.AsParamWrapperTestCase.test_recursive_as_param) ... ok test_shorts (test.test_ctypes.test_as_parameter.AsParamWrapperTestCase.test_shorts) ... ok test_struct_return_2H (test.test_ctypes.test_as_parameter.AsParamWrapperTestCase.test_struct_return_2H) ... ok test_struct_return_8H (test.test_ctypes.test_as_parameter.AsParamWrapperTestCase.test_struct_return_8H) ... ok test_wchar_parm (test.test_ctypes.test_as_parameter.AsParamWrapperTestCase.test_wchar_parm) ... ok test_byval (test.test_ctypes.test_as_parameter.BasicWrapTestCase.test_byval) ... ok test_callbacks (test.test_ctypes.test_as_parameter.BasicWrapTestCase.test_callbacks) ... ok test_callbacks_2 (test.test_ctypes.test_as_parameter.BasicWrapTestCase.test_callbacks_2) ... ok test_longlong_callbacks (test.test_ctypes.test_as_parameter.BasicWrapTestCase.test_longlong_callbacks) ... ok test_pointers (test.test_ctypes.test_as_parameter.BasicWrapTestCase.test_pointers) ... ok test_recursive_as_param (test.test_ctypes.test_as_parameter.BasicWrapTestCase.test_recursive_as_param) ... ok test_shorts (test.test_ctypes.test_as_parameter.BasicWrapTestCase.test_shorts) ... ok test_struct_return_2H (test.test_ctypes.test_as_parameter.BasicWrapTestCase.test_struct_return_2H) ... ok test_struct_return_8H (test.test_ctypes.test_as_parameter.BasicWrapTestCase.test_struct_return_8H) ... ok test_wchar_parm (test.test_ctypes.test_as_parameter.BasicWrapTestCase.test_wchar_parm) ... ok test_anon_bitfields (test.test_ctypes.test_bitfields.BitFieldTest.test_anon_bitfields) ... ok test_c_wchar (test.test_ctypes.test_bitfields.BitFieldTest.test_c_wchar) ... ok test_longlong (test.test_ctypes.test_bitfields.BitFieldTest.test_longlong) ... ok test_mixed_1 (test.test_ctypes.test_bitfields.BitFieldTest.test_mixed_1) ... ok test_mixed_2 (test.test_ctypes.test_bitfields.BitFieldTest.test_mixed_2) ... ok test_mixed_3 (test.test_ctypes.test_bitfields.BitFieldTest.test_mixed_3) ... ok test_mixed_4 (test.test_ctypes.test_bitfields.BitFieldTest.test_mixed_4) ... ok test_multi_bitfields_size (test.test_ctypes.test_bitfields.BitFieldTest.test_multi_bitfields_size) ... ok test_nonint_types (test.test_ctypes.test_bitfields.BitFieldTest.test_nonint_types) ... ok test_signed (test.test_ctypes.test_bitfields.BitFieldTest.test_signed) ... ok test_single_bitfield_size (test.test_ctypes.test_bitfields.BitFieldTest.test_single_bitfield_size) ... ok test_uint32 (test.test_ctypes.test_bitfields.BitFieldTest.test_uint32) ... ok test_uint32_swap_big_endian (test.test_ctypes.test_bitfields.BitFieldTest.test_uint32_swap_big_endian) ... ok test_uint32_swap_little_endian (test.test_ctypes.test_bitfields.BitFieldTest.test_uint32_swap_little_endian) ... ok test_uint64 (test.test_ctypes.test_bitfields.BitFieldTest.test_uint64) ... ok test_ulonglong (test.test_ctypes.test_bitfields.BitFieldTest.test_ulonglong) ... ok test_unsigned (test.test_ctypes.test_bitfields.BitFieldTest.test_unsigned) ... ok test_ints (test.test_ctypes.test_bitfields.C_Test.test_ints) ... ok test_shorts (test.test_ctypes.test_bitfields.C_Test.test_shorts) ... ok test_buffer (test.test_ctypes.test_buffers.StringBufferTestCase.test_buffer) ... ok test_buffer_interface (test.test_ctypes.test_buffers.StringBufferTestCase.test_buffer_interface) ... ok test_create_unicode_buffer_non_bmp (test.test_ctypes.test_buffers.StringBufferTestCase.test_create_unicode_buffer_non_bmp) ... ok test_unicode_buffer (test.test_ctypes.test_buffers.StringBufferTestCase.test_unicode_buffer) ... ok test_unicode_conversion (test.test_ctypes.test_buffers.StringBufferTestCase.test_unicode_conversion) ... ok test_BSTR (test.test_ctypes.test_bytes.BytesTest.test_BSTR) ... skipped 'Windows-specific test' test_c_char (test.test_ctypes.test_bytes.BytesTest.test_c_char) ... ok test_c_char_p (test.test_ctypes.test_bytes.BytesTest.test_c_char_p) ... ok test_c_wchar (test.test_ctypes.test_bytes.BytesTest.test_c_wchar) ... ok test_c_wchar_p (test.test_ctypes.test_bytes.BytesTest.test_c_wchar_p) ... ok test_struct (test.test_ctypes.test_bytes.BytesTest.test_struct) ... ok test_struct_W (test.test_ctypes.test_bytes.BytesTest.test_struct_W) ... ok test_build_struct_union_opposite_system_byteorder (test.test_ctypes.test_byteswap.Test.test_build_struct_union_opposite_system_byteorder) ... ok test_endian_double (test.test_ctypes.test_byteswap.Test.test_endian_double) ... ok test_endian_float (test.test_ctypes.test_byteswap.Test.test_endian_float) ... ok test_endian_int (test.test_ctypes.test_byteswap.Test.test_endian_int) ... ok test_endian_longlong (test.test_ctypes.test_byteswap.Test.test_endian_longlong) ... ok test_endian_other (test.test_ctypes.test_byteswap.Test.test_endian_other) ... ok test_endian_short (test.test_ctypes.test_byteswap.Test.test_endian_short) ... ok test_slots (test.test_ctypes.test_byteswap.Test.test_slots) ... skipped 'slots are irrelevant on PyPy' test_struct_field_alignment (test.test_ctypes.test_byteswap.Test.test_struct_field_alignment) ... ok test_struct_fields_unsupported_byte_order (test.test_ctypes.test_byteswap.Test.test_struct_fields_unsupported_byte_order) ... ok test_struct_struct (test.test_ctypes.test_byteswap.Test.test_struct_struct) ... ok test_unaligned_native_struct_fields (test.test_ctypes.test_byteswap.Test.test_unaligned_native_struct_fields) ... ok test_unaligned_nonnative_struct_fields (test.test_ctypes.test_byteswap.Test.test_unaligned_nonnative_struct_fields) ... ok test_union_fields_unsupported_byte_order (test.test_ctypes.test_byteswap.Test.test_union_fields_unsupported_byte_order) ... ok test_union_struct (test.test_ctypes.test_byteswap.Test.test_union_struct) ... ok test_creating_pointer_in_dunder_init_1 (test.test_ctypes.test_c_simple_type_meta.PyCSimpleTypeAsMetaclassTest.test_creating_pointer_in_dunder_init_1) ... ok test_creating_pointer_in_dunder_init_2 (test.test_ctypes.test_c_simple_type_meta.PyCSimpleTypeAsMetaclassTest.test_creating_pointer_in_dunder_init_2) ... ok test_creating_pointer_in_dunder_new_1 (test.test_ctypes.test_c_simple_type_meta.PyCSimpleTypeAsMetaclassTest.test_creating_pointer_in_dunder_new_1) ... ok test_creating_pointer_in_dunder_new_2 (test.test_ctypes.test_c_simple_type_meta.PyCSimpleTypeAsMetaclassTest.test_creating_pointer_in_dunder_new_2) ... ok test_byte (test.test_ctypes.test_callbacks.Callbacks.test_byte) ... ok test_char (test.test_ctypes.test_callbacks.Callbacks.test_char) ... ok test_double (test.test_ctypes.test_callbacks.Callbacks.test_double) ... ok test_float (test.test_ctypes.test_callbacks.Callbacks.test_float) ... ok test_i38748_stackCorruption (test.test_ctypes.test_callbacks.Callbacks.test_i38748_stackCorruption) ... skipped "'WINFUNCTYPE' is required" test_int (test.test_ctypes.test_callbacks.Callbacks.test_int) ... ok test_issue12483 (test.test_ctypes.test_callbacks.Callbacks.test_issue12483) ... ok test_issue_7959 (test.test_ctypes.test_callbacks.Callbacks.test_issue_7959) ... ok test_long (test.test_ctypes.test_callbacks.Callbacks.test_long) ... ok test_longdouble (test.test_ctypes.test_callbacks.Callbacks.test_longdouble) ... ok test_longlong (test.test_ctypes.test_callbacks.Callbacks.test_longlong) ... ok test_pyobject (test.test_ctypes.test_callbacks.Callbacks.test_pyobject) ... skipped 'no sys.getrefcount()' test_short (test.test_ctypes.test_callbacks.Callbacks.test_short) ... ok test_ubyte (test.test_ctypes.test_callbacks.Callbacks.test_ubyte) ... ok test_uint (test.test_ctypes.test_callbacks.Callbacks.test_uint) ... ok test_ulong (test.test_ctypes.test_callbacks.Callbacks.test_ulong) ... ok test_ulonglong (test.test_ctypes.test_callbacks.Callbacks.test_ulonglong) ... ok test_unsupported_restype_1 (test.test_ctypes.test_callbacks.Callbacks.test_unsupported_restype_1) ... ok test_unsupported_restype_2 (test.test_ctypes.test_callbacks.Callbacks.test_unsupported_restype_2) ... ok test_ushort (test.test_ctypes.test_callbacks.Callbacks.test_ushort) ... ok test_callback_large_struct (test.test_ctypes.test_callbacks.SampleCallbacksTestCase.test_callback_large_struct) ... ok test_callback_register_double (test.test_ctypes.test_callbacks.SampleCallbacksTestCase.test_callback_register_double) ... ok test_callback_register_int (test.test_ctypes.test_callbacks.SampleCallbacksTestCase.test_callback_register_int) ... ok test_callback_too_many_args (test.test_ctypes.test_callbacks.SampleCallbacksTestCase.test_callback_too_many_args) ... ok test_convert_result_error (test.test_ctypes.test_callbacks.SampleCallbacksTestCase.test_convert_result_error) ... ok test_integrate (test.test_ctypes.test_callbacks.SampleCallbacksTestCase.test_integrate) ... ok test_issue_8959_a (test.test_ctypes.test_callbacks.SampleCallbacksTestCase.test_issue_8959_a) ... ok test_issue_8959_b (test.test_ctypes.test_callbacks.SampleCallbacksTestCase.test_issue_8959_b) ... skipped "'WINFUNCTYPE' is required" test_byte (test.test_ctypes.test_callbacks.StdcallCallbacks.test_byte) ... skipped "'WINFUNCTYPE' is required" test_char (test.test_ctypes.test_callbacks.StdcallCallbacks.test_char) ... skipped "'WINFUNCTYPE' is required" test_double (test.test_ctypes.test_callbacks.StdcallCallbacks.test_double) ... skipped "'WINFUNCTYPE' is required" test_float (test.test_ctypes.test_callbacks.StdcallCallbacks.test_float) ... skipped "'WINFUNCTYPE' is required" test_i38748_stackCorruption (test.test_ctypes.test_callbacks.StdcallCallbacks.test_i38748_stackCorruption) ... skipped "'WINFUNCTYPE' is required" test_int (test.test_ctypes.test_callbacks.StdcallCallbacks.test_int) ... skipped "'WINFUNCTYPE' is required" test_issue12483 (test.test_ctypes.test_callbacks.StdcallCallbacks.test_issue12483) ... skipped "'WINFUNCTYPE' is required" test_issue_7959 (test.test_ctypes.test_callbacks.StdcallCallbacks.test_issue_7959) ... skipped "'WINFUNCTYPE' is required" test_long (test.test_ctypes.test_callbacks.StdcallCallbacks.test_long) ... skipped "'WINFUNCTYPE' is required" test_longdouble (test.test_ctypes.test_callbacks.StdcallCallbacks.test_longdouble) ... skipped "'WINFUNCTYPE' is required" test_longlong (test.test_ctypes.test_callbacks.StdcallCallbacks.test_longlong) ... skipped "'WINFUNCTYPE' is required" test_pyobject (test.test_ctypes.test_callbacks.StdcallCallbacks.test_pyobject) ... skipped "'WINFUNCTYPE' is required" test_short (test.test_ctypes.test_callbacks.StdcallCallbacks.test_short) ... skipped "'WINFUNCTYPE' is required" test_ubyte (test.test_ctypes.test_callbacks.StdcallCallbacks.test_ubyte) ... skipped "'WINFUNCTYPE' is required" test_uint (test.test_ctypes.test_callbacks.StdcallCallbacks.test_uint) ... skipped "'WINFUNCTYPE' is required" test_ulong (test.test_ctypes.test_callbacks.StdcallCallbacks.test_ulong) ... skipped "'WINFUNCTYPE' is required" test_ulonglong (test.test_ctypes.test_callbacks.StdcallCallbacks.test_ulonglong) ... skipped "'WINFUNCTYPE' is required" test_unsupported_restype_1 (test.test_ctypes.test_callbacks.StdcallCallbacks.test_unsupported_restype_1) ... skipped "'WINFUNCTYPE' is required" test_unsupported_restype_2 (test.test_ctypes.test_callbacks.StdcallCallbacks.test_unsupported_restype_2) ... skipped "'WINFUNCTYPE' is required" test_ushort (test.test_ctypes.test_callbacks.StdcallCallbacks.test_ushort) ... skipped "'WINFUNCTYPE' is required" test_address2pointer (test.test_ctypes.test_cast.Test.test_address2pointer) ... ok test_array2pointer (test.test_ctypes.test_cast.Test.test_array2pointer) ... ok test_bad_type_arg (test.test_ctypes.test_cast.Test.test_bad_type_arg) ... ok test_char_p (test.test_ctypes.test_cast.Test.test_char_p) ... ok test_other (test.test_ctypes.test_cast.Test.test_other) ... ok test_p2a_objects (test.test_ctypes.test_cast.Test.test_p2a_objects) ... ok test_wchar_p (test.test_ctypes.test_cast.Test.test_wchar_p) ... ok test_byte (test.test_ctypes.test_cfuncs.CFunctions.test_byte) ... ok test_byte_plus (test.test_ctypes.test_cfuncs.CFunctions.test_byte_plus) ... ok test_callwithresult (test.test_ctypes.test_cfuncs.CFunctions.test_callwithresult) ... ok test_double (test.test_ctypes.test_cfuncs.CFunctions.test_double) ... ok test_double_plus (test.test_ctypes.test_cfuncs.CFunctions.test_double_plus) ... ok test_float (test.test_ctypes.test_cfuncs.CFunctions.test_float) ... ok test_float_plus (test.test_ctypes.test_cfuncs.CFunctions.test_float_plus) ... ok test_int (test.test_ctypes.test_cfuncs.CFunctions.test_int) ... ok test_int_plus (test.test_ctypes.test_cfuncs.CFunctions.test_int_plus) ... ok test_long (test.test_ctypes.test_cfuncs.CFunctions.test_long) ... ok test_long_plus (test.test_ctypes.test_cfuncs.CFunctions.test_long_plus) ... ok test_longdouble (test.test_ctypes.test_cfuncs.CFunctions.test_longdouble) ... skipped 'c_longdouble FFI calls not supported' test_longdouble_plus (test.test_ctypes.test_cfuncs.CFunctions.test_longdouble_plus) ... skipped 'c_longdouble FFI calls not supported' test_longlong (test.test_ctypes.test_cfuncs.CFunctions.test_longlong) ... ok test_longlong_plus (test.test_ctypes.test_cfuncs.CFunctions.test_longlong_plus) ... ok test_short (test.test_ctypes.test_cfuncs.CFunctions.test_short) ... ok test_short_plus (test.test_ctypes.test_cfuncs.CFunctions.test_short_plus) ... ok test_ubyte (test.test_ctypes.test_cfuncs.CFunctions.test_ubyte) ... ok test_ubyte_plus (test.test_ctypes.test_cfuncs.CFunctions.test_ubyte_plus) ... ok test_uint (test.test_ctypes.test_cfuncs.CFunctions.test_uint) ... ok test_uint_plus (test.test_ctypes.test_cfuncs.CFunctions.test_uint_plus) ... ok test_ulong (test.test_ctypes.test_cfuncs.CFunctions.test_ulong) ... ok test_ulong_plus (test.test_ctypes.test_cfuncs.CFunctions.test_ulong_plus) ... ok test_ulonglong (test.test_ctypes.test_cfuncs.CFunctions.test_ulonglong) ... ok test_ulonglong_plus (test.test_ctypes.test_cfuncs.CFunctions.test_ulonglong_plus) ... ok test_ushort (test.test_ctypes.test_cfuncs.CFunctions.test_ushort) ... ok test_ushort_plus (test.test_ctypes.test_cfuncs.CFunctions.test_ushort_plus) ... ok test_void (test.test_ctypes.test_cfuncs.CFunctions.test_void) ... ok test_byte (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_byte) ... skipped "'WinDLL' is required" test_byte_plus (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_byte_plus) ... skipped "'WinDLL' is required" test_callwithresult (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_callwithresult) ... skipped "'WinDLL' is required" test_double (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_double) ... skipped "'WinDLL' is required" test_double_plus (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_double_plus) ... skipped "'WinDLL' is required" test_float (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_float) ... skipped "'WinDLL' is required" test_float_plus (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_float_plus) ... skipped "'WinDLL' is required" test_int (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_int) ... skipped "'WinDLL' is required" test_int_plus (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_int_plus) ... skipped "'WinDLL' is required" test_long (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_long) ... skipped "'WinDLL' is required" test_long_plus (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_long_plus) ... skipped "'WinDLL' is required" test_longdouble (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_longdouble) ... skipped "'WinDLL' is required" test_longdouble_plus (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_longdouble_plus) ... skipped "'WinDLL' is required" test_longlong (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_longlong) ... skipped "'WinDLL' is required" test_longlong_plus (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_longlong_plus) ... skipped "'WinDLL' is required" test_short (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_short) ... skipped "'WinDLL' is required" test_short_plus (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_short_plus) ... skipped "'WinDLL' is required" test_ubyte (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_ubyte) ... skipped "'WinDLL' is required" test_ubyte_plus (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_ubyte_plus) ... skipped "'WinDLL' is required" test_uint (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_uint) ... skipped "'WinDLL' is required" test_uint_plus (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_uint_plus) ... skipped "'WinDLL' is required" test_ulong (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_ulong) ... skipped "'WinDLL' is required" test_ulong_plus (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_ulong_plus) ... skipped "'WinDLL' is required" test_ulonglong (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_ulonglong) ... skipped "'WinDLL' is required" test_ulonglong_plus (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_ulonglong_plus) ... skipped "'WinDLL' is required" test_ushort (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_ushort) ... skipped "'WinDLL' is required" test_ushort_plus (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_ushort_plus) ... skipped "'WinDLL' is required" test_void (test.test_ctypes.test_cfuncs.stdcallCFunctions.test_void) ... skipped "'WinDLL' is required" test_checkretval (test.test_ctypes.test_checkretval.Test.test_checkretval) ... ok test_oledll (test.test_ctypes.test_checkretval.Test.test_oledll) ... skipped "'oledll' is required" test_chararray (test.test_ctypes.test_delattr.TestCase.test_chararray) ... ok test_simple (test.test_ctypes.test_delattr.TestCase.test_simple) ... ok test_struct (test.test_ctypes.test_delattr.TestCase.test_struct) ... ok test_localized_error_dlopen (test.test_ctypes.test_dlerror.TestLocalization.test_localized_error_dlopen) ... FAIL test_localized_error_dlsym (test.test_ctypes.test_dlerror.TestLocalization.test_localized_error_dlsym) ... skipped 'test requires _ctypes.dlsym()' test_localized_error_from_dll (test.test_ctypes.test_dlerror.TestLocalization.test_localized_error_from_dll) ... ok test_localized_error_in_dll (test.test_ctypes.test_dlerror.TestLocalization.test_localized_error_in_dll) ... ok test_null_dlsym (test.test_ctypes.test_dlerror.TestNullDlsym.test_null_dlsym) ... skipped "object <module '_ctypes' from '/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_ctypes/__init__.py'> has no attribute 'dlsym'" test_GetLastError (test.test_ctypes.test_errno.Test.test_GetLastError) ... skipped 'Test specific to Windows' test_open (test.test_ctypes.test_errno.Test.test_open) ... ok test_find_library_with_gcc (test.test_ctypes.test_find.FindLibraryLinux.test_find_library_with_gcc) ... ok test_find_library_with_ld (test.test_ctypes.test_find.FindLibraryLinux.test_find_library_with_ld) ... ok test_find_on_libpath (test.test_ctypes.test_find.FindLibraryLinux.test_find_on_libpath) ... ok test_gh114257 (test.test_ctypes.test_find.FindLibraryLinux.test_gh114257) ... ok OpenGL libraries: ('GL', 'libGL.so.1') ('GLU', None) ('gle', None) test_gl (test.test_ctypes.test_find.Test_OpenGL_libs.test_gl) ... ok test_gle (test.test_ctypes.test_find.Test_OpenGL_libs.test_gle) ... skipped 'lib_gle not available' test_glu (test.test_ctypes.test_find.Test_OpenGL_libs.test_glu) ... skipped 'lib_glu not available' test_shell_injection (test.test_ctypes.test_find.Test_OpenGL_libs.test_shell_injection) ... ok test_abstract (test.test_ctypes.test_frombuffer.Test.test_abstract) ... ok test_fortran_contiguous (test.test_ctypes.test_frombuffer.Test.test_fortran_contiguous) ... skipped "No module named '_testbuffer'" test_from_buffer (test.test_ctypes.test_frombuffer.Test.test_from_buffer) ... ok test_from_buffer_copy (test.test_ctypes.test_frombuffer.Test.test_from_buffer_copy) ... ok test_from_buffer_copy_with_offset (test.test_ctypes.test_frombuffer.Test.test_from_buffer_copy_with_offset) ... ok test_from_buffer_memoryview (test.test_ctypes.test_frombuffer.Test.test_from_buffer_memoryview) ... ok test_from_buffer_with_offset (test.test_ctypes.test_frombuffer.Test.test_from_buffer_with_offset) ... ok test_abstract (test.test_ctypes.test_funcptr.CFuncPtrTestCase.test_abstract) ... ok test_basic (test.test_ctypes.test_funcptr.CFuncPtrTestCase.test_basic) ... ok test_dllfunctions (test.test_ctypes.test_funcptr.CFuncPtrTestCase.test_dllfunctions) ... ok test_first (test.test_ctypes.test_funcptr.CFuncPtrTestCase.test_first) ... ok test_structures (test.test_ctypes.test_funcptr.CFuncPtrTestCase.test_structures) ... ok test_byval (test.test_ctypes.test_functions.FunctionTestCase.test_byval) ... ok test_c_char_parm (test.test_ctypes.test_functions.FunctionTestCase.test_c_char_parm) ... ok test_callbacks (test.test_ctypes.test_functions.FunctionTestCase.test_callbacks) ... ok test_callbacks_2 (test.test_ctypes.test_functions.FunctionTestCase.test_callbacks_2) ... ok test_doubleresult (test.test_ctypes.test_functions.FunctionTestCase.test_doubleresult) ... ok test_errors (test.test_ctypes.test_functions.FunctionTestCase.test_errors) ... ok test_floatresult (test.test_ctypes.test_functions.FunctionTestCase.test_floatresult) ... ok test_intresult (test.test_ctypes.test_functions.FunctionTestCase.test_intresult) ... ok test_longdoubleresult (test.test_ctypes.test_functions.FunctionTestCase.test_longdoubleresult) ... skipped 'c_longdouble FFI calls not supported' test_longlong_callbacks (test.test_ctypes.test_functions.FunctionTestCase.test_longlong_callbacks) ... ok test_longlongresult (test.test_ctypes.test_functions.FunctionTestCase.test_longlongresult) ... ok test_mro (test.test_ctypes.test_functions.FunctionTestCase.test_mro) ... ok test_pointers (test.test_ctypes.test_functions.FunctionTestCase.test_pointers) ... ok test_sf1651235 (test.test_ctypes.test_functions.FunctionTestCase.test_sf1651235) ... ok test_shorts (test.test_ctypes.test_functions.FunctionTestCase.test_shorts) ... ok test_stringresult (test.test_ctypes.test_functions.FunctionTestCase.test_stringresult) ... ok test_struct_return_2H (test.test_ctypes.test_functions.FunctionTestCase.test_struct_return_2H) ... ok test_struct_return_2H_stdcall (test.test_ctypes.test_functions.FunctionTestCase.test_struct_return_2H_stdcall) ... skipped 'Windows-specific test' test_struct_return_8H (test.test_ctypes.test_functions.FunctionTestCase.test_struct_return_8H) ... ok test_struct_return_8H_stdcall (test.test_ctypes.test_functions.FunctionTestCase.test_struct_return_8H_stdcall) ... skipped 'Windows-specific test' test_voidresult (test.test_ctypes.test_functions.FunctionTestCase.test_voidresult) ... ok test_wchar_parm (test.test_ctypes.test_functions.FunctionTestCase.test_wchar_parm) ... ok test_wchar_result (test.test_ctypes.test_functions.FunctionTestCase.test_wchar_result) ... ok test_incomplete_example (test.test_ctypes.test_incomplete.MyTestCase.test_incomplete_example) ... ok test_get (test.test_ctypes.test_init.InitTest.test_get) ... ok test.test_ctypes.test_internals (unittest.loader.ModuleSkipped.test.test_ctypes.test_internals) ... skipped 'no sys.getrefcount on PyPy' test_cint_array (test.test_ctypes.test_keeprefs.ArrayTestCase.test_cint_array) ... ok test_p_cint (test.test_ctypes.test_keeprefs.PointerTestCase.test_p_cint) ... ok test (test.test_ctypes.test_keeprefs.PointerToStructure.test) ... ok test_ccharp (test.test_ctypes.test_keeprefs.SimpleTestCase.test_ccharp) ... ok test_cint (test.test_ctypes.test_keeprefs.SimpleTestCase.test_cint) ... ok test_ccharp_struct (test.test_ctypes.test_keeprefs.StructureTestCase.test_ccharp_struct) ... ok test_cint_struct (test.test_ctypes.test_keeprefs.StructureTestCase.test_cint_struct) ... ok test_struct_struct (test.test_ctypes.test_keeprefs.StructureTestCase.test_struct_struct) ... ok test_qsort (test.test_ctypes.test_libc.LibTest.test_qsort) ... ok test_sqrt (test.test_ctypes.test_libc.LibTest.test_sqrt) ... ok libc_name is libc.so.6 test_1703286_A (test.test_ctypes.test_loading.LoaderTest.test_1703286_A) ... skipped 'Windows-specific test' test_1703286_B (test.test_ctypes.test_loading.LoaderTest.test_1703286_B) ... skipped 'Windows-specific test' test_find (test.test_ctypes.test_loading.LoaderTest.test_find) ... ok test_load (test.test_ctypes.test_loading.LoaderTest.test_load) ... ok test_load_dll_with_flags (test.test_ctypes.test_loading.LoaderTest.test_load_dll_with_flags) ... skipped 'test specific to Windows' test_load_hasattr (test.test_ctypes.test_loading.LoaderTest.test_load_hasattr) ... skipped 'test specific to Windows' test_load_library (test.test_ctypes.test_loading.LoaderTest.test_load_library) ... skipped 'test specific to Windows' test_load_ordinal_functions (test.test_ctypes.test_loading.LoaderTest.test_load_ordinal_functions) ... skipped 'test specific to Windows' test_load_version (test.test_ctypes.test_loading.LoaderTest.test_load_version) ... ok test_find (test.test_ctypes.test_macholib.MachOTest.test_find) ... skipped 'OSX-specific test' test_framework_info (test.test_ctypes.test_macholib.MachOTest.test_framework_info) ... skipped 'OSX-specific test' test_info (test.test_ctypes.test_macholib.MachOTest.test_info) ... skipped 'OSX-specific test' test_cast (test.test_ctypes.test_memfunctions.MemFunctionsTest.test_cast) ... ok test_memmove (test.test_ctypes.test_memfunctions.MemFunctionsTest.test_memmove) ... ok test_memset (test.test_ctypes.test_memfunctions.MemFunctionsTest.test_memset) ... ok test_overflow (test.test_ctypes.test_memfunctions.MemFunctionsTest.test_overflow) ... skipped 'test disabled' test_string_at (test.test_ctypes.test_memfunctions.MemFunctionsTest.test_string_at) ... skipped 'implementation detail specific to cpython' test_wstring_at (test.test_ctypes.test_memfunctions.MemFunctionsTest.test_wstring_at) ... ok test_alignments (test.test_ctypes.test_numbers.NumberTestCase.test_alignments) ... ok test_bool_values (test.test_ctypes.test_numbers.NumberTestCase.test_bool_values) ... ok test_byref (test.test_ctypes.test_numbers.NumberTestCase.test_byref) ... ok test_char_from_address (test.test_ctypes.test_numbers.NumberTestCase.test_char_from_address) ... ok test_default_init (test.test_ctypes.test_numbers.NumberTestCase.test_default_init) ... ok test_float_from_address (test.test_ctypes.test_numbers.NumberTestCase.test_float_from_address) ... ok test_float_overflow (test.test_ctypes.test_numbers.NumberTestCase.test_float_overflow) ... ok test_floats (test.test_ctypes.test_numbers.NumberTestCase.test_floats) ... ok test_from_param (test.test_ctypes.test_numbers.NumberTestCase.test_from_param) ... ok test_init (test.test_ctypes.test_numbers.NumberTestCase.test_init) ... ok test_int_from_address (test.test_ctypes.test_numbers.NumberTestCase.test_int_from_address) ... ok test_integers (test.test_ctypes.test_numbers.NumberTestCase.test_integers) ... ok test_signed_values (test.test_ctypes.test_numbers.NumberTestCase.test_signed_values) ... ok test_sizes (test.test_ctypes.test_numbers.NumberTestCase.test_sizes) ... ok test_typeerror (test.test_ctypes.test_numbers.NumberTestCase.test_typeerror) ... ok test_unsigned_values (test.test_ctypes.test_numbers.NumberTestCase.test_unsigned_values) ... ok test (test.test_ctypes.test_objects.TestCase.test) ... Trying: from ctypes import * Expecting nothing ok Trying: array = (c_char_p * 5)() Expecting nothing ok Trying: print(array._objects) Expecting: None ok Trying: array[4] = b'foo bar' Expecting nothing ok Trying: array._objects Expecting: {'4': b'foo bar'} ok Trying: array[4] Expecting: b'foo bar' ok Trying: class X(Structure): _fields_ = [("x", c_int), ("y", c_int), ("array", c_char_p * 5)] Expecting nothing ok Trying: x = X() Expecting nothing ok Trying: print(x._objects) Expecting: None ok Trying: print(x.array._b_base_) # doctest: +ELLIPSIS Expecting: <test.test_ctypes.test_objects.X object at 0x...> ok Trying: x.array[0] = b'spam spam spam' Expecting nothing ok Trying: x._objects Expecting: {'0:2': b'spam spam spam'} ok Trying: x.array._b_base_._objects Expecting: {'0:2': b'spam spam spam'} ok 2 items had no tests: test.test_ctypes.test_objects.TestCase test.test_ctypes.test_objects.TestCase.test 1 items passed all tests: 13 tests in test.test_ctypes.test_objects 13 tests in 3 items. 13 passed and 0 failed. Test passed. ok test_abstract (test.test_ctypes.test_parameters.SimpleTypesTestCase.test_abstract) ... ok test_array_pointers (test.test_ctypes.test_parameters.SimpleTypesTestCase.test_array_pointers) ... ok test_byref_pointer (test.test_ctypes.test_parameters.SimpleTypesTestCase.test_byref_pointer) ... ok test_byref_pointerpointer (test.test_ctypes.test_parameters.SimpleTypesTestCase.test_byref_pointerpointer) ... ok test_c_char (test.test_ctypes.test_parameters.SimpleTypesTestCase.test_c_char) ... ok test_c_wchar (test.test_ctypes.test_parameters.SimpleTypesTestCase.test_c_wchar) ... ok test_cstrings (test.test_ctypes.test_parameters.SimpleTypesTestCase.test_cstrings) ... ok test_cw_strings (test.test_ctypes.test_parameters.SimpleTypesTestCase.test_cw_strings) ... ok test_from_param_result_refcount (test.test_ctypes.test_parameters.SimpleTypesTestCase.test_from_param_result_refcount) ... skipped 'implementation detail specific to cpython' test_int_pointers (test.test_ctypes.test_parameters.SimpleTypesTestCase.test_int_pointers) ... ok test_issue31311 (test.test_ctypes.test_parameters.SimpleTypesTestCase.test_issue31311) ... skipped 'implementation detail specific to cpython' test_noctypes_argtype (test.test_ctypes.test_parameters.SimpleTypesTestCase.test_noctypes_argtype) ... ok test_parameter_repr (test.test_ctypes.test_parameters.SimpleTypesTestCase.test_parameter_repr) ... skipped 'implementation detail specific to cpython' test_subclasses (test.test_ctypes.test_parameters.SimpleTypesTestCase.test_subclasses) ... ok test_subclasses_c_wchar_p (test.test_ctypes.test_parameters.SimpleTypesTestCase.test_subclasses_c_wchar_p) ... ok test_endian_types (test.test_ctypes.test_pep3118.Test.test_endian_types) ... ok test_native_types (test.test_ctypes.test_pep3118.Test.test_native_types) ... <class 'test.test_ctypes.test_pep3118.PackedPoint'> FAIL test_simple (test.test_ctypes.test_pickling.PickleTest_0.test_simple) ... ok test_struct (test.test_ctypes.test_pickling.PickleTest_0.test_struct) ... ok test_unpickable (test.test_ctypes.test_pickling.PickleTest_0.test_unpickable) ... ok test_wchar (test.test_ctypes.test_pickling.PickleTest_0.test_wchar) ... ok test_simple (test.test_ctypes.test_pickling.PickleTest_1.test_simple) ... ok test_struct (test.test_ctypes.test_pickling.PickleTest_1.test_struct) ... ok test_unpickable (test.test_ctypes.test_pickling.PickleTest_1.test_unpickable) ... ok test_wchar (test.test_ctypes.test_pickling.PickleTest_1.test_wchar) ... ok test_simple (test.test_ctypes.test_pickling.PickleTest_2.test_simple) ... ok test_struct (test.test_ctypes.test_pickling.PickleTest_2.test_struct) ... ok test_unpickable (test.test_ctypes.test_pickling.PickleTest_2.test_unpickable) ... ok test_wchar (test.test_ctypes.test_pickling.PickleTest_2.test_wchar) ... ok test_simple (test.test_ctypes.test_pickling.PickleTest_3.test_simple) ... ok test_struct (test.test_ctypes.test_pickling.PickleTest_3.test_struct) ... ok test_unpickable (test.test_ctypes.test_pickling.PickleTest_3.test_unpickable) ... ok test_wchar (test.test_ctypes.test_pickling.PickleTest_3.test_wchar) ... ok test_simple (test.test_ctypes.test_pickling.PickleTest_4.test_simple) ... ok test_struct (test.test_ctypes.test_pickling.PickleTest_4.test_struct) ... ok test_unpickable (test.test_ctypes.test_pickling.PickleTest_4.test_unpickable) ... ok test_wchar (test.test_ctypes.test_pickling.PickleTest_4.test_wchar) ... ok test_simple (test.test_ctypes.test_pickling.PickleTest_5.test_simple) ... ok test_struct (test.test_ctypes.test_pickling.PickleTest_5.test_struct) ... ok test_unpickable (test.test_ctypes.test_pickling.PickleTest_5.test_unpickable) ... ok test_wchar (test.test_ctypes.test_pickling.PickleTest_5.test_wchar) ... ok test_abstract (test.test_ctypes.test_pointers.PointersTestCase.test_abstract) ... ok test_basic (test.test_ctypes.test_pointers.PointersTestCase.test_basic) ... ok test_basics (test.test_ctypes.test_pointers.PointersTestCase.test_basics) ... ok test_bug_1467852 (test.test_ctypes.test_pointers.PointersTestCase.test_bug_1467852) ... ok test_c_void_p (test.test_ctypes.test_pointers.PointersTestCase.test_c_void_p) ... ok test_callbacks_with_pointers (test.test_ctypes.test_pointers.PointersTestCase.test_callbacks_with_pointers) ... ok test_change_pointers (test.test_ctypes.test_pointers.PointersTestCase.test_change_pointers) ... ok test_charpp (test.test_ctypes.test_pointers.PointersTestCase.test_charpp) Test that a character pointer-to-pointer is correctly passed ... ok test_from_address (test.test_ctypes.test_pointers.PointersTestCase.test_from_address) ... ok test_other (test.test_ctypes.test_pointers.PointersTestCase.test_other) ... ok test_pass_pointers (test.test_ctypes.test_pointers.PointersTestCase.test_pass_pointers) ... ok test_pointer_crash (test.test_ctypes.test_pointers.PointersTestCase.test_pointer_crash) ... ok test_pointer_type_name (test.test_ctypes.test_pointers.PointersTestCase.test_pointer_type_name) ... ok test_pointer_type_str_name (test.test_ctypes.test_pointers.PointersTestCase.test_pointer_type_str_name) ... ok test_pointers_bool (test.test_ctypes.test_pointers.PointersTestCase.test_pointers_bool) ... ok test (test.test_ctypes.test_prototypes.ArrayTest.test) ... ok test_POINTER_c_char_arg (test.test_ctypes.test_prototypes.CharPointersTestCase.test_POINTER_c_char_arg) ... ok test_c_char_p_arg (test.test_ctypes.test_prototypes.CharPointersTestCase.test_c_char_p_arg) ... ok test_c_void_p_arg (test.test_ctypes.test_prototypes.CharPointersTestCase.test_c_void_p_arg) ... ok test_c_void_p_arg_with_c_wchar_p (test.test_ctypes.test_prototypes.CharPointersTestCase.test_c_void_p_arg_with_c_wchar_p) ... ok test_instance (test.test_ctypes.test_prototypes.CharPointersTestCase.test_instance) ... ok test_int_pointer_arg (test.test_ctypes.test_prototypes.CharPointersTestCase.test_int_pointer_arg) ... ok test_paramflags (test.test_ctypes.test_prototypes.CharPointersTestCase.test_paramflags) ... ok test_POINTER_c_wchar_arg (test.test_ctypes.test_prototypes.WCharPointersTestCase.test_POINTER_c_wchar_arg) ... ok test_c_wchar_p_arg (test.test_ctypes.test_prototypes.WCharPointersTestCase.test_c_wchar_p_arg) ... ok test.test_ctypes.test_python_api (unittest.loader.ModuleSkipped.test.test_ctypes.test_python_api) ... skipped "cannot import name 'pythonapi' from 'ctypes' (/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/ctypes/__init__.py)" test_FloatDivisionError (test.test_ctypes.test_random_things.CallbackTracbackTestCase.test_FloatDivisionError) ... ok test_IntegerDivisionError (test.test_ctypes.test_random_things.CallbackTracbackTestCase.test_IntegerDivisionError) ... ok test_TypeErrorDivisionError (test.test_ctypes.test_random_things.CallbackTracbackTestCase.test_TypeErrorDivisionError) ... ok test_ValueError (test.test_ctypes.test_random_things.CallbackTracbackTestCase.test_ValueError) ... ok test (test.test_ctypes.test_random_things.call_function_TestCase.test) ... skipped 'Windows-specific test' test_callback (test.test_ctypes.test_refcounts.AnotherLeak.test_callback) ... skipped 'implementation detail specific to cpython' test_callback_py_object_none_return (test.test_ctypes.test_refcounts.AnotherLeak.test_callback_py_object_none_return) ... skipped 'implementation detail specific to cpython' test_1 (test.test_ctypes.test_refcounts.RefcountTestCase.test_1) ... skipped 'implementation detail specific to cpython' test_refcount (test.test_ctypes.test_refcounts.RefcountTestCase.test_refcount) ... skipped 'implementation detail specific to cpython' test_char (test.test_ctypes.test_repr.ReprTest.test_char) ... ok test_numbers (test.test_ctypes.test_repr.ReprTest.test_numbers) ... ok test_from_dll (test.test_ctypes.test_returnfuncptrs.ReturnFuncPtrTestCase.test_from_dll) ... ok test_from_dll_refcount (test.test_ctypes.test_returnfuncptrs.ReturnFuncPtrTestCase.test_from_dll_refcount) ... ok test_with_prototype (test.test_ctypes.test_returnfuncptrs.ReturnFuncPtrTestCase.test_with_prototype) ... ok test_without_prototype (test.test_ctypes.test_returnfuncptrs.ReturnFuncPtrTestCase.test_without_prototype) ... ok test_compare (test.test_ctypes.test_simplesubclasses.Test.test_compare) ... ok test_ignore_retval (test.test_ctypes.test_simplesubclasses.Test.test_ignore_retval) ... ok test_int_callback (test.test_ctypes.test_simplesubclasses.Test.test_int_callback) ... ok test_int_struct (test.test_ctypes.test_simplesubclasses.Test.test_int_struct) ... ok test_16 (test.test_ctypes.test_sizes.SizesTestCase.test_16) ... ok test_32 (test.test_ctypes.test_sizes.SizesTestCase.test_32) ... ok test_64 (test.test_ctypes.test_sizes.SizesTestCase.test_64) ... ok test_8 (test.test_ctypes.test_sizes.SizesTestCase.test_8) ... ok test_size_t (test.test_ctypes.test_sizes.SizesTestCase.test_size_t) ... ok test_ssize_t (test.test_ctypes.test_sizes.SizesTestCase.test_ssize_t) ... ok test_time_t (test.test_ctypes.test_sizes.SizesTestCase.test_time_t) ... ok test_char_array (test.test_ctypes.test_slicing.SlicesTestCase.test_char_array) ... ok test_char_ptr (test.test_ctypes.test_slicing.SlicesTestCase.test_char_ptr) ... ok test_char_ptr_with_free (test.test_ctypes.test_slicing.SlicesTestCase.test_char_ptr_with_free) ... ok test_getslice_cint (test.test_ctypes.test_slicing.SlicesTestCase.test_getslice_cint) ... ok test_setslice_cint (test.test_ctypes.test_slicing.SlicesTestCase.test_setslice_cint) ... ok test_wchar_ptr (test.test_ctypes.test_slicing.SlicesTestCase.test_wchar_ptr) ... ok test__POINTER_c_char (test.test_ctypes.test_stringptr.StringPtrTestCase.test__POINTER_c_char) ... skipped 'implementation detail specific to cpython' test__c_char_p (test.test_ctypes.test_stringptr.StringPtrTestCase.test__c_char_p) ... ok test_functions (test.test_ctypes.test_stringptr.StringPtrTestCase.test_functions) ... ok test (test.test_ctypes.test_strings.StringArrayTestCase.test) ... ok test_c_buffer_raw (test.test_ctypes.test_strings.StringArrayTestCase.test_c_buffer_raw) ... ok test_c_buffer_value (test.test_ctypes.test_strings.StringArrayTestCase.test_c_buffer_value) ... ok test_del_segfault (test.test_ctypes.test_strings.StringArrayTestCase.test_del_segfault) ... ok test_param_1 (test.test_ctypes.test_strings.StringArrayTestCase.test_param_1) ... ok test_param_2 (test.test_ctypes.test_strings.StringArrayTestCase.test_param_2) ... ok test (test.test_ctypes.test_strings.WStringArrayTestCase.test) ... ok test_nonbmp (test.test_ctypes.test_strings.WStringArrayTestCase.test_nonbmp) ... ok test_basic_wstrings (test.test_ctypes.test_strings.WStringTestCase.test_basic_wstrings) ... skipped 'test disabled' test_toolong (test.test_ctypes.test_strings.WStringTestCase.test_toolong) ... skipped 'test disabled' test_wchar (test.test_ctypes.test_strings.WStringTestCase.test_wchar) ... ok test_1_A (test.test_ctypes.test_struct_fields.StructFieldsTestCase.test_1_A) ... ok test_1_B (test.test_ctypes.test_struct_fields.StructFieldsTestCase.test_1_B) ... ok test_2 (test.test_ctypes.test_struct_fields.StructFieldsTestCase.test_2) ... ok test_3 (test.test_ctypes.test_struct_fields.StructFieldsTestCase.test_3) ... ok test_4 (test.test_ctypes.test_struct_fields.StructFieldsTestCase.test_4) ... ok test_5 (test.test_ctypes.test_struct_fields.StructFieldsTestCase.test_5) ... skipped 'implementation detail specific to cpython' test_6 (test.test_ctypes.test_struct_fields.StructFieldsTestCase.test_6) ... ok test___get__ (test.test_ctypes.test_struct_fields.StructFieldsTestCase.test___get__) ... ok test___set__ (test.test_ctypes.test_struct_fields.StructFieldsTestCase.test___set__) ... ok test_gh99275 (test.test_ctypes.test_struct_fields.StructFieldsTestCase.test_gh99275) ... skipped 'implementation detail specific to cpython' test_max_field_size_gh126937 (test.test_ctypes.test_struct_fields.StructFieldsTestCase.test_max_field_size_gh126937) ... ok test (test.test_ctypes.test_structures.PointerMemberTestCase.test) ... ok test_none_to_pointer_fields (test.test_ctypes.test_structures.PointerMemberTestCase.test_none_to_pointer_fields) ... ok test_38368 (test.test_ctypes.test_structures.StructureTestCase.test_38368) ... ok test_abstract_class (test.test_ctypes.test_structures.StructureTestCase.test_abstract_class) ... ok test_array_in_struct (test.test_ctypes.test_structures.StructureTestCase.test_array_in_struct) ... ok test_bitfield_by_value (test.test_ctypes.test_structures.StructureTestCase.test_bitfield_by_value) ... skipped 'Test disabled for now - see bpo-16575/bpo-16576' test_conflicting_initializers (test.test_ctypes.test_structures.StructureTestCase.test_conflicting_initializers) ... ok test_empty (test.test_ctypes.test_structures.StructureTestCase.test_empty) ... ok test_fields (test.test_ctypes.test_structures.StructureTestCase.test_fields) ... ok test_huge_field_name (test.test_ctypes.test_structures.StructureTestCase.test_huge_field_name) ... ok test_init_errors (test.test_ctypes.test_structures.StructureTestCase.test_init_errors) ... ok test_initializers (test.test_ctypes.test_structures.StructureTestCase.test_initializers) ... ok test_intarray_fields (test.test_ctypes.test_structures.StructureTestCase.test_intarray_fields) ... ok test_invalid_field_types (test.test_ctypes.test_structures.StructureTestCase.test_invalid_field_types) ... ok test_invalid_name (test.test_ctypes.test_structures.StructureTestCase.test_invalid_name) ... ok test_issue18060_a (test.test_ctypes.test_structures.StructureTestCase.test_issue18060_a) ... ok test_issue18060_b (test.test_ctypes.test_structures.StructureTestCase.test_issue18060_b) ... ok test_issue18060_c (test.test_ctypes.test_structures.StructureTestCase.test_issue18060_c) ... ok test_keyword_initializers (test.test_ctypes.test_structures.StructureTestCase.test_keyword_initializers) ... ok test_methods (test.test_ctypes.test_structures.StructureTestCase.test_methods) ... ok test_nested_initializers (test.test_ctypes.test_structures.StructureTestCase.test_nested_initializers) ... ok test_packed (test.test_ctypes.test_structures.StructureTestCase.test_packed) ... ok test_packed_c_limits (test.test_ctypes.test_structures.StructureTestCase.test_packed_c_limits) ... skipped 'implementation detail specific to cpython' test_pass_by_value (test.test_ctypes.test_structures.StructureTestCase.test_pass_by_value) ... ok test_pass_by_value_finalizer (test.test_ctypes.test_structures.StructureTestCase.test_pass_by_value_finalizer) ... ok test_pass_by_value_in_register (test.test_ctypes.test_structures.StructureTestCase.test_pass_by_value_in_register) ... ok test_positional_args (test.test_ctypes.test_structures.StructureTestCase.test_positional_args) ... ok test_simple_structs (test.test_ctypes.test_structures.StructureTestCase.test_simple_structs) ... ok test_struct_alignment (test.test_ctypes.test_structures.StructureTestCase.test_struct_alignment) ... ok test_structures_with_wchar (test.test_ctypes.test_structures.StructureTestCase.test_structures_with_wchar) ... ok test_union_by_value (test.test_ctypes.test_structures.StructureTestCase.test_union_by_value) ... skipped 'Test disabled for now - see bpo-16575/bpo-16576' test_unions (test.test_ctypes.test_structures.StructureTestCase.test_unions) ... ok test_subclass (test.test_ctypes.test_structures.SubclassesTest.test_subclass) ... ok test_subclass_delayed (test.test_ctypes.test_structures.SubclassesTest.test_subclass_delayed) ... ok test_contains_itself (test.test_ctypes.test_structures.TestRecursiveStructure.test_contains_itself) ... ok test_vice_versa (test.test_ctypes.test_structures.TestRecursiveStructure.test_vice_versa) ... ok test_native (test.test_ctypes.test_unaligned_structures.TestStructures.test_native) ... ok test_swapped (test.test_ctypes.test_unaligned_structures.TestStructures.test_swapped) ... ok test_buffers (test.test_ctypes.test_unicode.StringTestCase.test_buffers) ... ok test_embedded_null (test.test_ctypes.test_unicode.StringTestCase.test_embedded_null) ... ok test_func (test.test_ctypes.test_unicode.StringTestCase.test_func) ... ok test_wcslen (test.test_ctypes.test_unicode.StringTestCase.test_wcslen) ... ok test_buffers (test.test_ctypes.test_unicode.UnicodeTestCase.test_buffers) ... ok test_embedded_null (test.test_ctypes.test_unicode.UnicodeTestCase.test_embedded_null) ... ok test_wcslen (test.test_ctypes.test_unicode.UnicodeTestCase.test_wcslen) ... ok test_frozentable (test.test_ctypes.test_values.PythonValuesTestCase.test_frozentable) ... skipped 'requires ctypes.pythonapi' test_optimizeflag (test.test_ctypes.test_values.PythonValuesTestCase.test_optimizeflag) ... skipped 'requires ctypes.pythonapi' test_undefined (test.test_ctypes.test_values.PythonValuesTestCase.test_undefined) ... skipped 'requires ctypes.pythonapi' test_an_integer (test.test_ctypes.test_values.ValuesTestCase.test_an_integer) ... ok test_undefined (test.test_ctypes.test_values.ValuesTestCase.test_undefined) ... ok test_array_invalid_length (test.test_ctypes.test_varsize_struct.VarSizeTest.test_array_invalid_length) ... ok test_resize (test.test_ctypes.test_varsize_struct.VarSizeTest.test_resize) ... ok test_zerosized_array (test.test_ctypes.test_varsize_struct.VarSizeTest.test_zerosized_array) ... ok test_SEH (test.test_ctypes.test_win32.FunctionCallTestCase.test_SEH) ... skipped 'Windows-specific test' test_noargs (test.test_ctypes.test_win32.FunctionCallTestCase.test_noargs) ... skipped 'Windows-specific test' test_sizes (test.test_ctypes.test_win32.ReturnStructSizesTestCase.test_sizes) ... skipped 'Windows-specific test' test_struct_by_value (test.test_ctypes.test_win32.Structures.test_struct_by_value) ... ok test_winerror (test.test_ctypes.test_win32.TestWinError.test_winerror) ... skipped 'Windows-specific test' test_COMError (test.test_ctypes.test_win32.TestWintypes.test_COMError) ... skipped 'Windows-specific test' test_HWND (test.test_ctypes.test_win32.TestWintypes.test_HWND) ... skipped 'Windows-specific test' test_PARAM (test.test_ctypes.test_win32.TestWintypes.test_PARAM) ... skipped 'Windows-specific test' test.test_ctypes.test_win32_com_foreign_func (unittest.loader.ModuleSkipped.test.test_ctypes.test_win32_com_foreign_func) ... skipped 'Windows-specific test' test_signedness (test.test_ctypes.test_wintypes.WinTypesTest.test_signedness) ... ok test_variant_bool (test.test_ctypes.test_wintypes.WinTypesTest.test_variant_bool) ... ok ====================================================================== FAIL: test_localized_error_dlopen (test.test_ctypes.test_dlerror.TestLocalization.test_localized_error_dlopen) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ctypes/test_dlerror.py", line 165, in test_localized_error_dlopen _ctypes.dlopen(missing_filename, 2) ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_ctypes/dll.py", line 9, in dlopen return _rawffi.CDLL(name) ^^^^ OSError: Cannot load library missing\uxFF: missing\uxFF During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 81, in inner return func(*args, **kwds) ^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ctypes/test_dlerror.py", line 164, in test_localized_error_dlopen with self.assertRaisesRegex(OSError, filename_pattern): AssertionError: "missing.*?\.so" does not match "Cannot load library missing\uxFF: missing\uxFF" ====================================================================== FAIL: test_native_types (test.test_ctypes.test_pep3118.Test.test_native_types) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ctypes/test_pep3118.py", line 28, in test_native_types self.assertEqual(normalize(v.format), normalize(fmt)) ^^^^^^^^^^^ AssertionError: 'B' != 'T{<q:x:<q:y:}' - B + T{<q:x:<q:y:} ---------------------------------------------------------------------- Ran 514 tests in 1.536s FAILED (failures=2, skipped=107) 0:00:01 load avg: 1.58 [1/1/1] test_ctypes failed (2 failures) == Tests result: FAILURE == 1 test failed: test_ctypes Total duration: 2.0 sec Total tests: run=514 failures=2 skipped=107 Total test files: run=1/1 failed=1 Result: FAILURE /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ctypes/test_parameters.py:62: SyntaxWarning: invalid octal escape sequence '\377' self.assertRaises(TypeError, c_char_p.from_param, "123\377") Warning -- Unraisable exception Exception ignored in calling ctypes callback function <function _cast_addr at 0x00007fa31fbf0d68> TypeError: cast() argument 2 must be a pointer type, not None test test_ctypes failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1757108æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3220349813 0:00:00 load avg: 1.58 Run 1 test sequentially in a single process 0:00:00 load avg: 1.58 [1/1] test_dataclasses test_abc_implementation (test.test_dataclasses.TestAbstract.test_abc_implementation) ... ok test_maintain_abc (test.test_dataclasses.TestAbstract.test_maintain_abc) ... FAIL test_0_field_compare (test.test_dataclasses.TestCase.test_0_field_compare) ... ok test_1_field_compare (test.test_dataclasses.TestCase.test_1_field_compare) ... ok test_alternate_classmethod_constructor (test.test_dataclasses.TestCase.test_alternate_classmethod_constructor) ... ok test_class_attrs (test.test_dataclasses.TestCase.test_class_attrs) ... ok test_class_marker (test.test_dataclasses.TestCase.test_class_marker) ... ok test_class_var (test.test_dataclasses.TestCase.test_class_var) ... ok test_class_var_default_factory (test.test_dataclasses.TestCase.test_class_var_default_factory) ... ok test_class_var_frozen (test.test_dataclasses.TestCase.test_class_var_frozen) ... ok test_class_var_no_default (test.test_dataclasses.TestCase.test_class_var_no_default) ... ok test_class_var_with_default (test.test_dataclasses.TestCase.test_class_var_with_default) ... ok test_classvar_default_factory (test.test_dataclasses.TestCase.test_classvar_default_factory) ... ok test_clean_traceback_from_fields_exception (test.test_dataclasses.TestCase.test_clean_traceback_from_fields_exception) ... ok test_compare_subclasses (test.test_dataclasses.TestCase.test_compare_subclasses) ... ok test_dataclass_params_repr (test.test_dataclasses.TestCase.test_dataclass_params_repr) ... ok test_dataclass_params_signature (test.test_dataclasses.TestCase.test_dataclass_params_signature) ... ok test_dataclasses_pickleable (test.test_dataclasses.TestCase.test_dataclasses_pickleable) ... ok test_dataclasses_qualnames (test.test_dataclasses.TestCase.test_dataclasses_qualnames) ... ok test_default_factory (test.test_dataclasses.TestCase.test_default_factory) ... ok test_default_factory_derived (test.test_dataclasses.TestCase.test_default_factory_derived) ... ok test_default_factory_not_called_if_value_given (test.test_dataclasses.TestCase.test_default_factory_not_called_if_value_given) ... ok test_default_factory_with_no_init (test.test_dataclasses.TestCase.test_default_factory_with_no_init) ... ok test_deliberately_mutable_defaults (test.test_dataclasses.TestCase.test_deliberately_mutable_defaults) ... ok test_disallowed_mutable_defaults (test.test_dataclasses.TestCase.test_disallowed_mutable_defaults) ... ok test_dont_include_other_annotations (test.test_dataclasses.TestCase.test_dont_include_other_annotations) ... ok test_dynamic_class_creation (test.test_dataclasses.TestCase.test_dynamic_class_creation) ... ok test_dynamic_class_creation_using_field (test.test_dataclasses.TestCase.test_dynamic_class_creation_using_field) ... ok test_eq_order (test.test_dataclasses.TestCase.test_eq_order) ... ok test_field_default (test.test_dataclasses.TestCase.test_field_default) ... ok test_field_default_default_factory_error (test.test_dataclasses.TestCase.test_field_default_default_factory_error) ... ok test_field_metadata_custom_mapping (test.test_dataclasses.TestCase.test_field_metadata_custom_mapping) ... ok test_field_metadata_default (test.test_dataclasses.TestCase.test_field_metadata_default) ... ok test_field_metadata_mapping (test.test_dataclasses.TestCase.test_field_metadata_mapping) ... ok test_field_named_BUILTINS_frozen (test.test_dataclasses.TestCase.test_field_named_BUILTINS_frozen) ... ok test_field_named_like_builtin (test.test_dataclasses.TestCase.test_field_named_like_builtin) ... ok test_field_named_like_builtin_frozen (test.test_dataclasses.TestCase.test_field_named_like_builtin_frozen) ... ok test_field_named_object (test.test_dataclasses.TestCase.test_field_named_object) ... ok test_field_named_object_frozen (test.test_dataclasses.TestCase.test_field_named_object_frozen) ... ok test_field_named_self (test.test_dataclasses.TestCase.test_field_named_self) ... ok test_field_no_default (test.test_dataclasses.TestCase.test_field_no_default) ... ok test_field_order (test.test_dataclasses.TestCase.test_field_order) ... ok test_field_recursive_repr (test.test_dataclasses.TestCase.test_field_recursive_repr) ... ok test_field_repr (test.test_dataclasses.TestCase.test_field_repr) ... ok test_field_with_special_single_underscore_names (test.test_dataclasses.TestCase.test_field_with_special_single_underscore_names) ... ok test_function_annotations (test.test_dataclasses.TestCase.test_function_annotations) ... ok test_generic_dataclasses (test.test_dataclasses.TestCase.test_generic_dataclasses) ... ok test_generic_dynamic (test.test_dataclasses.TestCase.test_generic_dynamic) ... ok test_generic_extending (test.test_dataclasses.TestCase.test_generic_extending) ... ok test_hash_field_rules (test.test_dataclasses.TestCase.test_hash_field_rules) ... ok test_helper_asdict (test.test_dataclasses.TestCase.test_helper_asdict) ... ok test_helper_asdict_builtin_containers (test.test_dataclasses.TestCase.test_helper_asdict_builtin_containers) ... ok test_helper_asdict_builtin_object_containers (test.test_dataclasses.TestCase.test_helper_asdict_builtin_object_containers) ... ok test_helper_asdict_copy_values (test.test_dataclasses.TestCase.test_helper_asdict_copy_values) ... ok test_helper_asdict_defaultdict (test.test_dataclasses.TestCase.test_helper_asdict_defaultdict) ... ok test_helper_asdict_factory (test.test_dataclasses.TestCase.test_helper_asdict_factory) ... ok test_helper_asdict_namedtuple (test.test_dataclasses.TestCase.test_helper_asdict_namedtuple) ... ok test_helper_asdict_namedtuple_derived (test.test_dataclasses.TestCase.test_helper_asdict_namedtuple_derived) ... ok test_helper_asdict_namedtuple_key (test.test_dataclasses.TestCase.test_helper_asdict_namedtuple_key) ... ok test_helper_asdict_nested (test.test_dataclasses.TestCase.test_helper_asdict_nested) ... ok test_helper_asdict_raises_on_classes (test.test_dataclasses.TestCase.test_helper_asdict_raises_on_classes) ... ok test_helper_astuple (test.test_dataclasses.TestCase.test_helper_astuple) ... ok test_helper_astuple_builtin_containers (test.test_dataclasses.TestCase.test_helper_astuple_builtin_containers) ... ok test_helper_astuple_builtin_object_containers (test.test_dataclasses.TestCase.test_helper_astuple_builtin_object_containers) ... ok test_helper_astuple_copy_values (test.test_dataclasses.TestCase.test_helper_astuple_copy_values) ... ok test_helper_astuple_defaultdict (test.test_dataclasses.TestCase.test_helper_astuple_defaultdict) ... ok test_helper_astuple_factory (test.test_dataclasses.TestCase.test_helper_astuple_factory) ... ok test_helper_astuple_namedtuple (test.test_dataclasses.TestCase.test_helper_astuple_namedtuple) ... ok test_helper_astuple_nested (test.test_dataclasses.TestCase.test_helper_astuple_nested) ... ok test_helper_astuple_raises_on_classes (test.test_dataclasses.TestCase.test_helper_astuple_raises_on_classes) ... ok test_helper_fields_exception (test.test_dataclasses.TestCase.test_helper_fields_exception) ... ok test_helper_fields_with_class_instance (test.test_dataclasses.TestCase.test_helper_fields_with_class_instance) ... ok test_init_false_no_default (test.test_dataclasses.TestCase.test_init_false_no_default) ... ok test_init_in_order (test.test_dataclasses.TestCase.test_init_in_order) ... ok test_init_var (test.test_dataclasses.TestCase.test_init_var) ... ok test_init_var_default_factory (test.test_dataclasses.TestCase.test_init_var_default_factory) ... ok test_init_var_inheritance (test.test_dataclasses.TestCase.test_init_var_inheritance) ... ok test_init_var_name_shadowing (test.test_dataclasses.TestCase.test_init_var_name_shadowing) ... ok test_init_var_no_default (test.test_dataclasses.TestCase.test_init_var_no_default) ... ok test_init_var_preserve_type (test.test_dataclasses.TestCase.test_init_var_preserve_type) ... ok test_init_var_with_default (test.test_dataclasses.TestCase.test_init_var_with_default) ... ok test_intermediate_non_dataclass (test.test_dataclasses.TestCase.test_intermediate_non_dataclass) ... ok test_is_dataclass (test.test_dataclasses.TestCase.test_is_dataclass) ... ok test_is_dataclass_genericalias (test.test_dataclasses.TestCase.test_is_dataclass_genericalias) ... ok test_is_dataclass_inheritance (test.test_dataclasses.TestCase.test_is_dataclass_inheritance) ... ok test_is_dataclass_when_getattr_always_returns (test.test_dataclasses.TestCase.test_is_dataclass_when_getattr_always_returns) ... ok test_items_in_dicts (test.test_dataclasses.TestCase.test_items_in_dicts) ... ok test_missing_default (test.test_dataclasses.TestCase.test_missing_default) ... ok test_missing_default_factory (test.test_dataclasses.TestCase.test_missing_default_factory) ... ok test_missing_repr (test.test_dataclasses.TestCase.test_missing_repr) ... ok test_named_init_params (test.test_dataclasses.TestCase.test_named_init_params) ... ok test_no_fields (test.test_dataclasses.TestCase.test_no_fields) ... ok test_no_fields_but_member_variable (test.test_dataclasses.TestCase.test_no_fields_but_member_variable) ... ok test_no_options (test.test_dataclasses.TestCase.test_no_options) ... ok test_no_unhashable_default (test.test_dataclasses.TestCase.test_no_unhashable_default) ... ok test_not_in_compare (test.test_dataclasses.TestCase.test_not_in_compare) ... ok test_not_in_repr (test.test_dataclasses.TestCase.test_not_in_repr) ... ok test_not_other_dataclass (test.test_dataclasses.TestCase.test_not_other_dataclass) ... ok test_not_tuple (test.test_dataclasses.TestCase.test_not_tuple) ... ok test_one_field_no_default (test.test_dataclasses.TestCase.test_one_field_no_default) ... ok test_overwrite_fields_in_derived_class (test.test_dataclasses.TestCase.test_overwrite_fields_in_derived_class) ... ok test_overwrite_hash (test.test_dataclasses.TestCase.test_overwrite_hash) ... ok test_post_init (test.test_dataclasses.TestCase.test_post_init) ... ok test_post_init_classmethod (test.test_dataclasses.TestCase.test_post_init_classmethod) ... ok test_post_init_not_auto_added (test.test_dataclasses.TestCase.test_post_init_not_auto_added) ... ok test_post_init_staticmethod (test.test_dataclasses.TestCase.test_post_init_staticmethod) ... ok test_post_init_super (test.test_dataclasses.TestCase.test_post_init_super) ... ok test_recursive_annotation (test.test_dataclasses.TestCase.test_recursive_annotation) ... ok test_simple_compare (test.test_dataclasses.TestCase.test_simple_compare) ... ok test_two_fields_one_default (test.test_dataclasses.TestCase.test_two_fields_one_default) ... ok test_default_value (test.test_dataclasses.TestDescriptors.test_default_value) ... ok test_getting_field_calls_get (test.test_dataclasses.TestDescriptors.test_getting_field_calls_get) ... ok test_init_calls_set (test.test_dataclasses.TestDescriptors.test_init_calls_set) ... ok test_lookup_on_class (test.test_dataclasses.TestDescriptors.test_lookup_on_class) ... ok test_lookup_on_instance (test.test_dataclasses.TestDescriptors.test_lookup_on_instance) ... ok test_no_default_value (test.test_dataclasses.TestDescriptors.test_no_default_value) ... ok test_non_descriptor (test.test_dataclasses.TestDescriptors.test_non_descriptor) ... ok test_set_name (test.test_dataclasses.TestDescriptors.test_set_name) ... ok test_setting_field_calls_set (test.test_dataclasses.TestDescriptors.test_setting_field_calls_set) ... ok test_setting_uninitialized_descriptor_field (test.test_dataclasses.TestDescriptors.test_setting_uninitialized_descriptor_field) ... ok test_docstring_deque_field (test.test_dataclasses.TestDocString.test_docstring_deque_field) ... ok test_docstring_deque_field_with_default_factory (test.test_dataclasses.TestDocString.test_docstring_deque_field_with_default_factory) ... ok test_docstring_list_field (test.test_dataclasses.TestDocString.test_docstring_list_field) ... ok test_docstring_list_field_with_default_factory (test.test_dataclasses.TestDocString.test_docstring_list_field_with_default_factory) ... ok test_docstring_no_fields (test.test_dataclasses.TestDocString.test_docstring_no_fields) ... ok test_docstring_one_field (test.test_dataclasses.TestDocString.test_docstring_one_field) ... ok test_docstring_one_field_with_default (test.test_dataclasses.TestDocString.test_docstring_one_field_with_default) ... ok test_docstring_one_field_with_default_none (test.test_dataclasses.TestDocString.test_docstring_one_field_with_default_none) ... ok test_docstring_three_fields (test.test_dataclasses.TestDocString.test_docstring_three_fields) ... ok test_docstring_two_fields (test.test_dataclasses.TestDocString.test_docstring_two_fields) ... ok test_docstring_with_no_signature (test.test_dataclasses.TestDocString.test_docstring_with_no_signature) ... ok test_existing_docstring_not_overridden (test.test_dataclasses.TestDocString.test_existing_docstring_not_overridden) ... ok test_no_eq (test.test_dataclasses.TestEq.test_no_eq) ... ok test_overwriting_eq (test.test_dataclasses.TestEq.test_overwriting_eq) ... ok test_field_without_annotation (test.test_dataclasses.TestFieldNoAnnotation.test_field_without_annotation) ... ok test_field_without_annotation_but_annotation_in_base (test.test_dataclasses.TestFieldNoAnnotation.test_field_without_annotation_but_annotation_in_base) ... ok test_field_without_annotation_but_annotation_in_base_not_dataclass (test.test_dataclasses.TestFieldNoAnnotation.test_field_without_annotation_but_annotation_in_base_not_dataclass) ... ok test_frozen (test.test_dataclasses.TestFrozen.test_frozen) ... ok test_frozen_deepcopy_with_slots (test.test_dataclasses.TestFrozen.test_frozen_deepcopy_with_slots) ... ok test_frozen_deepcopy_without_slots (test.test_dataclasses.TestFrozen.test_frozen_deepcopy_without_slots) ... ok test_frozen_empty (test.test_dataclasses.TestFrozen.test_frozen_empty) ... ok test_frozen_hash (test.test_dataclasses.TestFrozen.test_frozen_hash) ... ok test_inherit (test.test_dataclasses.TestFrozen.test_inherit) ... ok test_inherit_from_normal_class (test.test_dataclasses.TestFrozen.test_inherit_from_normal_class) ... ok test_inherit_frozen_from_nonfrozen (test.test_dataclasses.TestFrozen.test_inherit_frozen_from_nonfrozen) ... ok test_inherit_nonfrozen_from_empty (test.test_dataclasses.TestFrozen.test_inherit_nonfrozen_from_empty) ... ok test_inherit_nonfrozen_from_empty_frozen (test.test_dataclasses.TestFrozen.test_inherit_nonfrozen_from_empty_frozen) ... ok test_inherit_nonfrozen_from_frozen (test.test_dataclasses.TestFrozen.test_inherit_nonfrozen_from_frozen) ... ok test_non_frozen_normal_derived (test.test_dataclasses.TestFrozen.test_non_frozen_normal_derived) ... ok test_non_frozen_normal_derived_from_empty_frozen (test.test_dataclasses.TestFrozen.test_non_frozen_normal_derived_from_empty_frozen) ... ok test_overwriting_frozen (test.test_dataclasses.TestFrozen.test_overwriting_frozen) ... ok test_0_field_hash (test.test_dataclasses.TestHash.test_0_field_hash) ... ok test_1_field_hash (test.test_dataclasses.TestHash.test_1_field_hash) ... ok test_eq_only (test.test_dataclasses.TestHash.test_eq_only) ... ok test_hash_no_args (test.test_dataclasses.TestHash.test_hash_no_args) ... ok test_hash_rules (test.test_dataclasses.TestHash.test_hash_rules) ... ok test_unsafe_hash (test.test_dataclasses.TestHash.test_unsafe_hash) ... ok test_base_has_init (test.test_dataclasses.TestInit.test_base_has_init) ... ok test_inherit_from_protocol (test.test_dataclasses.TestInit.test_inherit_from_protocol) ... ok test_no_init (test.test_dataclasses.TestInit.test_no_init) ... ok test_overwriting_init (test.test_dataclasses.TestInit.test_overwriting_init) ... ok test_KW_ONLY (test.test_dataclasses.TestKeywordArgs.test_KW_ONLY) ... ok test_KW_ONLY_as_string (test.test_dataclasses.TestKeywordArgs.test_KW_ONLY_as_string) ... ok test_KW_ONLY_twice (test.test_dataclasses.TestKeywordArgs.test_KW_ONLY_twice) ... ok test_defaults (test.test_dataclasses.TestKeywordArgs.test_defaults) ... ok test_field_marked_as_kwonly (test.test_dataclasses.TestKeywordArgs.test_field_marked_as_kwonly) ... ok test_make_dataclass (test.test_dataclasses.TestKeywordArgs.test_make_dataclass) ... ok test_match_args (test.test_dataclasses.TestKeywordArgs.test_match_args) ... ok test_no_classvar_kwarg (test.test_dataclasses.TestKeywordArgs.test_no_classvar_kwarg) ... ok test_post_init (test.test_dataclasses.TestKeywordArgs.test_post_init) ... ok test_base (test.test_dataclasses.TestMakeDataclass.test_base) ... ok test_base_dataclass (test.test_dataclasses.TestMakeDataclass.test_base_dataclass) ... ok test_cannot_be_pickled (test.test_dataclasses.TestMakeDataclass.test_cannot_be_pickled) ... ok test_class_var (test.test_dataclasses.TestMakeDataclass.test_class_var) ... ok test_duplicate_field_names (test.test_dataclasses.TestMakeDataclass.test_duplicate_field_names) ... ok test_funny_class_names_names (test.test_dataclasses.TestMakeDataclass.test_funny_class_names_names) ... ok test_init_var (test.test_dataclasses.TestMakeDataclass.test_init_var) ... ok test_invalid_type_specification (test.test_dataclasses.TestMakeDataclass.test_invalid_type_specification) ... ok test_keyword_field_names (test.test_dataclasses.TestMakeDataclass.test_keyword_field_names) ... ok test_module_attr (test.test_dataclasses.TestMakeDataclass.test_module_attr) ... ok test_no_mutate_namespace (test.test_dataclasses.TestMakeDataclass.test_no_mutate_namespace) ... ok test_no_types (test.test_dataclasses.TestMakeDataclass.test_no_types) ... ok test_non_identifier_field_names (test.test_dataclasses.TestMakeDataclass.test_non_identifier_field_names) ... ok test_other_params (test.test_dataclasses.TestMakeDataclass.test_other_params) ... ok test_pickle_support (test.test_dataclasses.TestMakeDataclass.test_pickle_support) ... ok test_simple (test.test_dataclasses.TestMakeDataclass.test_simple) ... ok test_underscore_field_names (test.test_dataclasses.TestMakeDataclass.test_underscore_field_names) ... ok test_bpo_43764 (test.test_dataclasses.TestMatchArgs.test_bpo_43764) ... ok test_explicit_match_args (test.test_dataclasses.TestMatchArgs.test_explicit_match_args) ... ok test_make_dataclasses (test.test_dataclasses.TestMatchArgs.test_make_dataclasses) ... ok test_match_args (test.test_dataclasses.TestMatchArgs.test_match_args) ... ok test_match_args_argument (test.test_dataclasses.TestMatchArgs.test_match_args_argument) ... ok test_functools_total_ordering (test.test_dataclasses.TestOrdering.test_functools_total_ordering) ... ok test_no_order (test.test_dataclasses.TestOrdering.test_no_order) ... ok test_overwriting_order (test.test_dataclasses.TestOrdering.test_overwriting_order) ... ok test (test.test_dataclasses.TestReplace.test) ... ok test_classvar (test.test_dataclasses.TestReplace.test_classvar) ... ok test_frozen (test.test_dataclasses.TestReplace.test_frozen) ... ok test_initvar_is_specified (test.test_dataclasses.TestReplace.test_initvar_is_specified) ... ok test_initvar_with_default_value (test.test_dataclasses.TestReplace.test_initvar_with_default_value) ... ok test_invalid_field_name (test.test_dataclasses.TestReplace.test_invalid_field_name) ... ok test_invalid_object (test.test_dataclasses.TestReplace.test_invalid_object) ... ok test_no_init (test.test_dataclasses.TestReplace.test_no_init) ... ok test_recursive_repr (test.test_dataclasses.TestReplace.test_recursive_repr) ... ok test_recursive_repr_indirection (test.test_dataclasses.TestReplace.test_recursive_repr_indirection) ... ok test_recursive_repr_indirection_two (test.test_dataclasses.TestReplace.test_recursive_repr_indirection_two) ... ok test_recursive_repr_misc_attrs (test.test_dataclasses.TestReplace.test_recursive_repr_misc_attrs) ... ok test_recursive_repr_two_attrs (test.test_dataclasses.TestReplace.test_recursive_repr_two_attrs) ... ok test_no_repr (test.test_dataclasses.TestRepr.test_no_repr) ... ok test_overwriting_repr (test.test_dataclasses.TestRepr.test_overwriting_repr) ... ok test_repr (test.test_dataclasses.TestRepr.test_repr) ... ok test_add_slots_when_slots_exists (test.test_dataclasses.TestSlots.test_add_slots_when_slots_exists) ... ok test_cant_inherit_from_iterator_slots (test.test_dataclasses.TestSlots.test_cant_inherit_from_iterator_slots) ... ok test_dataclass_derived_generic (test.test_dataclasses.TestSlots.test_dataclass_derived_generic) ... FAIL test_dataclass_derived_generic_from_base (test.test_dataclasses.TestSlots.test_dataclass_derived_generic_from_base) ... FAIL test_dataclass_derived_generic_from_slotted_base (test.test_dataclasses.TestSlots.test_dataclass_derived_generic_from_slotted_base) ... FAIL test_dataclass_derived_weakref_slot (test.test_dataclasses.TestSlots.test_dataclass_derived_weakref_slot) ... ok test_dataclass_slot_dict (test.test_dataclasses.TestSlots.test_dataclass_slot_dict) ... ok test_dataclass_slot_dict_ctype (test.test_dataclasses.TestSlots.test_dataclass_slot_dict_ctype) ... skipped 'implementation detail specific to cpython' test_derived_added_field (test.test_dataclasses.TestSlots.test_derived_added_field) ... ERROR test_frozen_pickle (test.test_dataclasses.TestSlots.test_frozen_pickle) ... ok test_frozen_slots_pickle_custom_state (test.test_dataclasses.TestSlots.test_frozen_slots_pickle_custom_state) ... ok test_generated_slots (test.test_dataclasses.TestSlots.test_generated_slots) ... ok test_generated_slots_value (test.test_dataclasses.TestSlots.test_generated_slots_value) ... ERROR test_returns_new_class (test.test_dataclasses.TestSlots.test_returns_new_class) ... ok test_simple (test.test_dataclasses.TestSlots.test_simple) ... FAIL test_slots_no_weakref (test.test_dataclasses.TestSlots.test_slots_no_weakref) ... FAIL test_slots_weakref (test.test_dataclasses.TestSlots.test_slots_weakref) ... ok test_slots_weakref_base_str (test.test_dataclasses.TestSlots.test_slots_weakref_base_str) ... ok test_slots_weakref_base_tuple (test.test_dataclasses.TestSlots.test_slots_weakref_base_tuple) ... ok test_slots_with_default_factory_no_init (test.test_dataclasses.TestSlots.test_slots_with_default_factory_no_init) ... ok test_slots_with_default_no_init (test.test_dataclasses.TestSlots.test_slots_with_default_no_init) ... ok test_slots_with_wrong_init_subclass (test.test_dataclasses.TestSlots.test_slots_with_wrong_init_subclass) ... skipped 'implementation detail specific to cpython' test_weakref_slot_make_dataclass (test.test_dataclasses.TestSlots.test_weakref_slot_make_dataclass) ... ok test_weakref_slot_normal_base_weakref_slot (test.test_dataclasses.TestSlots.test_weakref_slot_normal_base_weakref_slot) ... ok test_weakref_slot_subclass_no_weakref_slot (test.test_dataclasses.TestSlots.test_weakref_slot_subclass_no_weakref_slot) ... ok test_weakref_slot_subclass_weakref_slot (test.test_dataclasses.TestSlots.test_weakref_slot_subclass_weakref_slot) ... ok test_weakref_slot_without_slot (test.test_dataclasses.TestSlots.test_weakref_slot_without_slot) ... ok test_classvar (test.test_dataclasses.TestStringAnnotations.test_classvar) ... ok test_classvar_module_level_import (test.test_dataclasses.TestStringAnnotations.test_classvar_module_level_import) ... ok test_initvar (test.test_dataclasses.TestStringAnnotations.test_initvar) ... ok test_isnt_classvar (test.test_dataclasses.TestStringAnnotations.test_isnt_classvar) ... ok test_isnt_initvar (test.test_dataclasses.TestStringAnnotations.test_isnt_initvar) ... ok test_text_annotations (test.test_dataclasses.TestStringAnnotations.test_text_annotations) ... ok ====================================================================== ERROR: test_derived_added_field (test.test_dataclasses.TestSlots.test_derived_added_field) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_dataclasses/__init__.py", line 3149, in test_derived_added_field @dataclass ^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/dataclasses.py", line 1275, in dataclass return wrap(cls) ^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/dataclasses.py", line 1265, in wrap return _process_class(cls, init, repr, eq, order, unsafe_hash, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/dataclasses.py", line 1063, in _process_class _init_fn(all_init_fields, File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/dataclasses.py", line 585, in _init_fn raise TypeError(f'non-default argument {f.name!r} ' TypeError: non-default argument 'y' follows default argument ====================================================================== ERROR: test_generated_slots_value (test.test_dataclasses.TestSlots.test_generated_slots_value) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_dataclasses/__init__.py", line 3205, in test_generated_slots_value @dataclass(slots=True) ^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/dataclasses.py", line 1265, in wrap return _process_class(cls, init, repr, eq, order, unsafe_hash, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/dataclasses.py", line 1063, in _process_class _init_fn(all_init_fields, File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/dataclasses.py", line 585, in _init_fn raise TypeError(f'non-default argument {f.name!r} ' TypeError: non-default argument 'z' follows default argument ====================================================================== FAIL: test_maintain_abc (test.test_dataclasses.TestAbstract.test_maintain_abc) ---------------------------------------------------------------------- TypeError: Can't instantiate abstract class Date with abstract method foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_dataclasses/__init__.py", line 4459, in test_maintain_abc self.assertRaisesRegex(TypeError, msg, Date) ^^^^^^^^^^^^^^^^^ AssertionError: "class Date without an implementation for abstract method 'foo'" does not match "Can't instantiate abstract class Date with abstract method foo" ====================================================================== FAIL: test_dataclass_derived_generic (test.test_dataclasses.TestSlots.test_dataclass_derived_generic) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_dataclasses/__init__.py", line 3508, in test_dataclass_derived_generic self.assertTrue(A.__weakref__) ^^^^^^^^^^ AssertionError: None is not true ====================================================================== FAIL: test_dataclass_derived_generic_from_base (test.test_dataclasses.TestSlots.test_dataclass_derived_generic_from_base) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_dataclasses/__init__.py", line 3527, in test_dataclass_derived_generic_from_base self.assertTrue(C1.__weakref__) ^^^^^^^^^^ AssertionError: None is not true ====================================================================== FAIL: test_dataclass_derived_generic_from_slotted_base (test.test_dataclasses.TestSlots.test_dataclass_derived_generic_from_slotted_base) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_dataclasses/__init__.py", line 3579, in test_dataclass_derived_generic_from_slotted_base self.assertTrue(G1.__weakref__) ^^^^^^^^^^ AssertionError: None is not true ====================================================================== FAIL: test_simple (test.test_dataclasses.TestSlots.test_simple) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_dataclasses/__init__.py", line 3128, in test_simple with self.assertRaisesRegex(TypeError, AssertionError: TypeError not raised ====================================================================== FAIL: test_slots_no_weakref (test.test_dataclasses.TestSlots.test_slots_no_weakref) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_dataclasses/__init__.py", line 3372, in test_slots_no_weakref with self.assertRaisesRegex(TypeError, AssertionError: TypeError not raised ---------------------------------------------------------------------- Ran 244 tests in 0.440s FAILED (failures=6, errors=2, skipped=2) 0:00:00 load avg: 1.58 [1/1/1] test_dataclasses failed (2 errors, 6 failures) == Tests result: FAILURE == 1 test failed: test_dataclasses Total duration: 645 ms Total tests: run=244 failures=6 skipped=2 Total test files: run=1/1 failed=1 Result: FAILURE test test_dataclasses failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1757113æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2360309795 0:00:00 load avg: 1.58 Run 1 test sequentially in a single process 0:00:00 load avg: 1.58 [1/1] test_doctest test_empty_namespace_package (test.test_doctest.test_doctest.TestDocTestFinder.test_empty_namespace_package) ... ok test_issue35753 (test.test_doctest.test_doctest.TestDocTestFinder.test_issue35753) ... ok DebugRunner (doctest) Doctest: doctest.DebugRunner ... ok debug (doctest.DocTestCase) Doctest: doctest.DocTestCase.debug ... ok DocTestRunner (doctest) Doctest: doctest.DocTestRunner ... ok _TestClass (doctest) Doctest: doctest._TestClass ... ok __init__ (doctest._TestClass) Doctest: doctest._TestClass.__init__ ... ok get (doctest._TestClass) Doctest: doctest._TestClass.get ... ok square (doctest._TestClass) Doctest: doctest._TestClass.square ... ok blank lines (doctest.__test__) Doctest: doctest.__test__.blank lines ... ok bool-int equivalence (doctest.__test__) Doctest: doctest.__test__.bool-int equivalence ... ok ellipsis (doctest.__test__) Doctest: doctest.__test__.ellipsis ... ok string (doctest.__test__) Doctest: doctest.__test__.string ... ok whitespace normalization (doctest.__test__) Doctest: doctest.__test__.whitespace normalization ... ok _ellipsis_match (doctest) Doctest: doctest._ellipsis_match ... ok script_from_examples (doctest) Doctest: doctest.script_from_examples ... ok set_unittest_reportflags (doctest) Doctest: doctest.set_unittest_reportflags ... ok SampleClass (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.SampleClass ... ok NestedClass (test.test_doctest.test_doctest.SampleClass) Doctest: test.test_doctest.test_doctest.SampleClass.NestedClass ... ok __init__ (test.test_doctest.test_doctest.SampleClass.NestedClass) Doctest: test.test_doctest.test_doctest.SampleClass.NestedClass.__init__ ... ok __init__ (test.test_doctest.test_doctest.SampleClass) Doctest: test.test_doctest.test_doctest.SampleClass.__init__ ... ok a_classmethod (test.test_doctest.test_doctest.SampleClass) Doctest: test.test_doctest.test_doctest.SampleClass.a_classmethod ... ok a_classmethod_property (test.test_doctest.test_doctest.SampleClass) Doctest: test.test_doctest.test_doctest.SampleClass.a_classmethod_property ... ok a_property (test.test_doctest.test_doctest.SampleClass) Doctest: test.test_doctest.test_doctest.SampleClass.a_property ... ok a_staticmethod (test.test_doctest.test_doctest.SampleClass) Doctest: test.test_doctest.test_doctest.SampleClass.a_staticmethod ... ok double (test.test_doctest.test_doctest.SampleClass) Doctest: test.test_doctest.test_doctest.SampleClass.double ... ok get (test.test_doctest.test_doctest.SampleClass) Doctest: test.test_doctest.test_doctest.SampleClass.get ... ok setter (test.test_doctest.test_doctest.SampleClass) Doctest: test.test_doctest.test_doctest.SampleClass.setter ... ok SampleNewStyleClass (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.SampleNewStyleClass ... ok __init__ (test.test_doctest.test_doctest.SampleNewStyleClass) Doctest: test.test_doctest.test_doctest.SampleNewStyleClass.__init__ ... ok double (test.test_doctest.test_doctest.SampleNewStyleClass) Doctest: test.test_doctest.test_doctest.SampleNewStyleClass.double ... ok get (test.test_doctest.test_doctest.SampleNewStyleClass) Doctest: test.test_doctest.test_doctest.SampleNewStyleClass.get ... ok sample_func (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.sample_func ... ok test_CLI (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_CLI ... ok test_DocFileSuite (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_DocFileSuite ... ok test_DocTest (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_DocTest ... ok basics (test.test_doctest.test_doctest.test_DocTestFinder) Doctest: test.test_doctest.test_doctest.test_DocTestFinder.basics ... ok non_Python_modules (test.test_doctest.test_doctest.test_DocTestFinder) Doctest: test.test_doctest.test_doctest.test_DocTestFinder.non_Python_modules ... FAIL test_DocTestParser (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_DocTestParser ... ok basics (test.test_doctest.test_doctest.test_DocTestRunner) Doctest: test.test_doctest.test_doctest.test_DocTestRunner.basics ... ok displayhook (test.test_doctest.test_doctest.test_DocTestRunner) Doctest: test.test_doctest.test_doctest.test_DocTestRunner.displayhook ... ok exceptions (test.test_doctest.test_doctest.test_DocTestRunner) Doctest: test.test_doctest.test_doctest.test_DocTestRunner.exceptions ... ok option_directives (test.test_doctest.test_doctest.test_DocTestRunner) Doctest: test.test_doctest.test_doctest.test_DocTestRunner.option_directives ... ok optionflags (test.test_doctest.test_doctest.test_DocTestRunner) Doctest: test.test_doctest.test_doctest.test_DocTestRunner.optionflags ... ok verbose_flag (test.test_doctest.test_doctest.test_DocTestRunner) Doctest: test.test_doctest.test_doctest.test_DocTestRunner.verbose_flag ... ok test_DocTestSuite (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_DocTestSuite ... ok test_Example (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_Example ... ok test_debug (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_debug ... ok test_exception_with_multiple_notes (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_exception_with_multiple_notes ... ok test_exception_with_note (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_exception_with_note ... ok test_lineendings (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_lineendings ... ok test_look_in_unwrapped (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_look_in_unwrapped ... ok test_no_trailing_whitespace_stripping (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_no_trailing_whitespace_stripping ... ok test_pdb_set_trace (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_pdb_set_trace ... ok test_pdb_set_trace_nested (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_pdb_set_trace_nested ... ok test_run_doctestsuite_multiple_times (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_run_doctestsuite_multiple_times ... ok test_syntax_error_subclass_from_stdlib (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_syntax_error_subclass_from_stdlib ... ok test_syntax_error_with_incorrect_expected_note (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_syntax_error_with_incorrect_expected_note ... ok test_syntax_error_with_note (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_syntax_error_with_note ... ok test_testfile (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_testfile ... ok test_testmod (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_testmod ... ok test_testsource (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_testsource ... ok test_trailing_space_in_test (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_trailing_space_in_test ... ok test_unicode (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_unicode ... ok test_unittest_reportflags (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.test_unittest_reportflags ... ok wrapped (test.test_doctest.test_doctest) Doctest: test.test_doctest.test_doctest.wrapped ... ok test_testmod (test.test_doctest.test_doctest2.Test.test_testmod) ... Trying: print('yup') # 1 Expecting: yup ok Trying: print(C()) # 2 Expecting: 42 ok Trying: print("In D!") # 5 Expecting: In D! ok Trying: print(3) # 6 Expecting: 3 ok Trying: print(C()) # 3 Expecting: 42 ok Trying: print(C()) # 4 Expecting: 42 ok Trying: print(C.clsm(22)) # 18 Expecting: 22 ok Trying: print(C().clsm(23)) # 19 Expecting: 23 ok Trying: c = C() # 7 Expecting nothing ok Trying: c.x = 12 # 8 Expecting nothing ok Trying: print(c.x) # 9 Expecting: -12 ok Trying: c = C() # 10 Expecting nothing ok Trying: c.x = 12 # 11 Expecting nothing ok Trying: print(c.x) # 12 Expecting: -12 ok Trying: print(C.statm()) # 16 Expecting: 666 ok Trying: print(C().statm()) # 17 Expecting: 666 ok Trying: c = C() # 13 Expecting nothing ok Trying: c.x = 12 # 14 Expecting nothing ok Trying: print(c.x) # 15 Expecting: -12 ok 2 items had no tests: test.test_doctest.test_doctest2.Test test.test_doctest.test_doctest2.Test.test_testmod 11 items passed all tests: 1 tests in test.test_doctest.test_doctest2 1 tests in test.test_doctest.test_doctest2.C 1 tests in test.test_doctest.test_doctest2.C.D 1 tests in test.test_doctest.test_doctest2.C.D.nested 1 tests in test.test_doctest.test_doctest2.C.__init__ 1 tests in test.test_doctest.test_doctest2.C.__str__ 2 tests in test.test_doctest.test_doctest2.C.clsm 3 tests in test.test_doctest.test_doctest2.C.getx 3 tests in test.test_doctest.test_doctest2.C.setx 2 tests in test.test_doctest.test_doctest2.C.statm 3 tests in test.test_doctest.test_doctest2.C.x 19 tests in 13 items. 19 passed and 0 failed. Test passed. ok ====================================================================== FAIL: non_Python_modules (test.test_doctest.test_doctest.test_DocTestFinder) Doctest: test.test_doctest.test_doctest.test_DocTestFinder.non_Python_modules ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/doctest.py", line 2256, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for test.test_doctest.test_doctest.test_DocTestFinder.non_Python_modules File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_doctest/test_doctest.py", line 728, in non_Python_modules ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_doctest/test_doctest.py", line 739, in test.test_doctest.test_doctest.test_DocTestFinder.non_Python_modules Failed example: 830 < len(tests) < 860 # approximate number of objects with docstrings Expected: True Got: False ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_doctest/test_doctest.py", line 742, in test.test_doctest.test_doctest.test_DocTestFinder.non_Python_modules Failed example: len(real_tests) # objects that actually have doctests Expected: 14 Got: 5 ---------------------------------------------------------------------- File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_doctest/test_doctest.py", line 744, in test.test_doctest.test_doctest.test_DocTestFinder.non_Python_modules Failed example: for t in real_tests: print('{} {}'.format(len(t.examples), t.name)) Expected: 1 builtins.bin 5 builtins.bytearray.hex 5 builtins.bytes.hex 3 builtins.float.as_integer_ratio 2 builtins.float.fromhex 2 builtins.float.hex 1 builtins.hex 1 builtins.int 3 builtins.int.as_integer_ratio 2 builtins.int.bit_count 2 builtins.int.bit_length 5 builtins.memoryview.hex 1 builtins.oct 1 builtins.zip Got: 1 builtins.bin 1 builtins.hex 1 builtins.int 1 builtins.oct 1 builtins.zip ---------------------------------------------------------------------- Ran 67 tests in 1.866s FAILED (failures=1) 0:00:02 load avg: 1.62 [1/1/1] test_doctest failed (1 failure) == Tests result: FAILURE == 1 test failed: test_doctest Total duration: 2.1 sec Total tests: run=67 failures=1 Total test files: run=1/1 failed=1 Result: FAILURE test test_doctest failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1757133æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1703316670 0:00:00 load avg: 1.62 Run 5 tests sequentially in a single process 0:00:00 load avg: 1.62 [1/5] test_future_stmt.test_future test_annotation_with_complex_target (test.test_future_stmt.test_future.AnnotationsFutureTestCase.test_annotation_with_complex_target) ... ok test_annotations (test.test_future_stmt.test_future.AnnotationsFutureTestCase.test_annotations) ... ok test_annotations_forbidden (test.test_future_stmt.test_future.AnnotationsFutureTestCase.test_annotations_forbidden) ... ok test_annotations_symbol_table_pass (test.test_future_stmt.test_future.AnnotationsFutureTestCase.test_annotations_symbol_table_pass) ... ok test_fstring_debug_annotations (test.test_future_stmt.test_future.AnnotationsFutureTestCase.test_fstring_debug_annotations) ... ok test_get_type_hints_on_func_with_variadic_arg (test.test_future_stmt.test_future.AnnotationsFutureTestCase.test_get_type_hints_on_func_with_variadic_arg) ... ok test_infinity_numbers (test.test_future_stmt.test_future.AnnotationsFutureTestCase.test_infinity_numbers) ... ok test_badfuture10 (test.test_future_stmt.test_future.FutureTest.test_badfuture10) ... ok test_badfuture3 (test.test_future_stmt.test_future.FutureTest.test_badfuture3) ... FAIL test_badfuture4 (test.test_future_stmt.test_future.FutureTest.test_badfuture4) ... ok test_badfuture5 (test.test_future_stmt.test_future.FutureTest.test_badfuture5) ... ok test_badfuture6 (test.test_future_stmt.test_future.FutureTest.test_badfuture6) ... ok test_badfuture7 (test.test_future_stmt.test_future.FutureTest.test_badfuture7) ... FAIL test_badfuture8 (test.test_future_stmt.test_future.FutureTest.test_badfuture8) ... FAIL test_badfuture9 (test.test_future_stmt.test_future.FutureTest.test_badfuture9) ... FAIL test_ensure_flags_dont_clash (test.test_future_stmt.test_future.FutureTest.test_ensure_flags_dont_clash) ... ok test_future1 (test.test_future_stmt.test_future.FutureTest.test_future1) ... ok test_future2 (test.test_future_stmt.test_future.FutureTest.test_future2) ... ok test_future_multiple_features (test.test_future_stmt.test_future.FutureTest.test_future_multiple_features) ... ok test_future_multiple_imports (test.test_future_stmt.test_future.FutureTest.test_future_multiple_imports) ... ok test_future_single_import (test.test_future_stmt.test_future.FutureTest.test_future_single_import) ... ok test_syntactical_future_repl (test.test_future_stmt.test_future.FutureTest.test_syntactical_future_repl) ... ok test_unicode_literals_exec (test.test_future_stmt.test_future.FutureTest.test_unicode_literals_exec) ... ok ====================================================================== FAIL: test_badfuture3 (test.test_future_stmt.test_future.FutureTest.test_badfuture3) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_future_stmt/test_future.py", line 58, in test_badfuture3 self.check_syntax_error(cm.exception, "badsyntax_future3", 3, 24) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_future_stmt/test_future.py", line 25, in check_syntax_error self.assertEqual(err.offset, offset) ^^^^^^^^^^^ AssertionError: 1 != 24 ====================================================================== FAIL: test_badfuture7 (test.test_future_stmt.test_future.FutureTest.test_badfuture7) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_future_stmt/test_future.py", line 78, in test_badfuture7 self.check_syntax_error(cm.exception, "badsyntax_future7", 3, 54) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_future_stmt/test_future.py", line 22, in check_syntax_error self.assertIn('%s.py, line %d' % (basename, lineno), str(err)) ^^^^^^^^ AssertionError: 'badsyntax_future7.py, line 3' not found in '__future__ statements must appear at beginning of file (badsyntax_future7.py, lines 3-4)' ====================================================================== FAIL: test_badfuture8 (test.test_future_stmt.test_future.FutureTest.test_badfuture8) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_future_stmt/test_future.py", line 83, in test_badfuture8 self.check_syntax_error(cm.exception, "badsyntax_future8", 3, 24) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_future_stmt/test_future.py", line 25, in check_syntax_error self.assertEqual(err.offset, offset) ^^^^^^^^^^^ AssertionError: 1 != 24 ====================================================================== FAIL: test_badfuture9 (test.test_future_stmt.test_future.FutureTest.test_badfuture9) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_future_stmt/test_future.py", line 88, in test_badfuture9 self.check_syntax_error(cm.exception, "badsyntax_future9", 3, 39) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_future_stmt/test_future.py", line 25, in check_syntax_error self.assertEqual(err.offset, offset) ^^^^^^^^^^^ AssertionError: 1 != 39 ---------------------------------------------------------------------- Ran 23 tests in 0.182s FAILED (failures=4) 0:00:00 load avg: 1.62 [1/5/1] test_future_stmt.test_future failed (4 failures) 0:00:00 load avg: 1.62 [2/5/1] test_future_stmt.test_future_flags test_attributes (test.test_future_stmt.test_future_flags.FutureTest.test_attributes) ... ok test_names (test.test_future_stmt.test_future_flags.FutureTest.test_names) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.001s OK 0:00:00 load avg: 1.62 [2/5/1] test_future_stmt.test_future_flags passed 0:00:00 load avg: 1.62 [3/5/1] test_future_stmt.test_future_multiple_features test_print_function (test.test_future_stmt.test_future_multiple_features.TestMultipleFeatures.test_print_function) ... ok test_unicode_literals (test.test_future_stmt.test_future_multiple_features.TestMultipleFeatures.test_unicode_literals) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.000s OK 0:00:00 load avg: 1.65 [3/5/1] test_future_stmt.test_future_multiple_features passed 0:00:00 load avg: 1.65 [4/5/1] test_future_stmt.test_future_multiple_imports test_unicode_literals (test.test_future_stmt.test_future_multiple_imports.Tests.test_unicode_literals) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.000s OK 0:00:00 load avg: 1.65 [4/5/1] test_future_stmt.test_future_multiple_imports passed 0:00:00 load avg: 1.65 [5/5/1] test_future_stmt.test_future_single_import test_floor_div_operator (test.test_future_stmt.test_future_single_import.TestFuture.test_floor_div_operator) ... ok test_nested_scopes (test.test_future_stmt.test_future_single_import.TestFuture.test_nested_scopes) ... ok test_true_div_as_default (test.test_future_stmt.test_future_single_import.TestFuture.test_true_div_as_default) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.000s OK 0:00:00 load avg: 1.65 [5/5/1] test_future_stmt.test_future_single_import passed == Tests result: FAILURE == 1 test failed: test_future_stmt.test_future 4 tests OK. Total duration: 555 ms Total tests: run=31 failures=4 Total test files: run=5/5 failed=1 Result: FAILURE test test_future_stmt.test_future failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1757145æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 4030649130 0:00:00 load avg: 1.65 Run 1 test sequentially in a single process 0:00:00 load avg: 1.65 [1/1] test_import 0:00:00 load avg: 1.65 [1/1/1] test_import failed (uncaught exception) == Tests result: FAILURE == 1 test failed: test_import Total duration: 147 ms Total tests: run=0 Total test files: run=1/1 failed=1 Result: FAILURE test test_import crashed -- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc _load_run_test(result, runtests) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 128, in _load_run_test test_mod = importlib.import_module(module_name) ^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<builtin>/frozen importlib._bootstrap_external", line 1011, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_import/__init__.py", line 24, in <module> import _testinternalcapi ModuleNotFoundError: No module named '_testinternalcapi' _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1759473æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2645990872 0:00:00 load avg: 1.68 Run 1 test sequentially in a single process 0:00:00 load avg: 1.68 [1/1] test_inspect.test_inspect test__all__ (test.test_inspect.test_inspect.IsTestBase.test__all__) ... ok test_class_async_method (test.test_inspect.test_inspect.TestBlockComments.test_class_async_method) ... ok test_class_method (test.test_inspect.test_inspect.TestBlockComments.test_class_method) ... ok test_toplevel_class (test.test_inspect.test_inspect.TestBlockComments.test_toplevel_class) ... ok test_signature_bound_arguments_apply_defaults (test.test_inspect.test_inspect.TestBoundArguments.test_signature_bound_arguments_apply_defaults) ... ok test_signature_bound_arguments_arguments_type (test.test_inspect.test_inspect.TestBoundArguments.test_signature_bound_arguments_arguments_type) ... ok test_signature_bound_arguments_equality (test.test_inspect.test_inspect.TestBoundArguments.test_signature_bound_arguments_equality) ... ok test_signature_bound_arguments_pickle (test.test_inspect.test_inspect.TestBoundArguments.test_signature_bound_arguments_pickle) ... ok test_signature_bound_arguments_repr (test.test_inspect.test_inspect.TestBoundArguments.test_signature_bound_arguments_repr) ... ok test_signature_bound_arguments_unhashable (test.test_inspect.test_inspect.TestBoundArguments.test_signature_bound_arguments_unhashable) ... ok test_class_decorator (test.test_inspect.test_inspect.TestBuggyCases.test_class_decorator) ... ok test_class_definition_in_multiline_comment (test.test_inspect.test_inspect.TestBuggyCases.test_class_definition_in_multiline_comment) ... ok test_class_definition_in_multiline_string_definition (test.test_inspect.test_inspect.TestBuggyCases.test_class_definition_in_multiline_string_definition) ... ok test_class_inside_conditional (test.test_inspect.test_inspect.TestBuggyCases.test_class_inside_conditional) ... ok test_findsource_binary (test.test_inspect.test_inspect.TestBuggyCases.test_findsource_binary) ... skipped 'unicodedata is not an external binary module' test_findsource_code_in_linecache (test.test_inspect.test_inspect.TestBuggyCases.test_findsource_code_in_linecache) ... ok test_findsource_with_out_of_bounds_lineno (test.test_inspect.test_inspect.TestBuggyCases.test_findsource_with_out_of_bounds_lineno) ... ok test_findsource_without_filename (test.test_inspect.test_inspect.TestBuggyCases.test_findsource_without_filename) ... ok test_getsource_on_method (test.test_inspect.test_inspect.TestBuggyCases.test_getsource_on_method) ... ok test_method_in_dynamic_class (test.test_inspect.test_inspect.TestBuggyCases.test_method_in_dynamic_class) ... ok test_multiline_sig (test.test_inspect.test_inspect.TestBuggyCases.test_multiline_sig) ... ok test_multiple_children_classes (test.test_inspect.test_inspect.TestBuggyCases.test_multiple_children_classes) ... ok test_nested_class (test.test_inspect.test_inspect.TestBuggyCases.test_nested_class) ... ok test_nested_class_definition (test.test_inspect.test_inspect.TestBuggyCases.test_nested_class_definition) ... ok test_nested_class_definition_indented_string (test.test_inspect.test_inspect.TestBuggyCases.test_nested_class_definition_indented_string) ... ok test_nested_class_definition_inside_async_function (test.test_inspect.test_inspect.TestBuggyCases.test_nested_class_definition_inside_async_function) ... ok test_nested_class_definition_inside_function (test.test_inspect.test_inspect.TestBuggyCases.test_nested_class_definition_inside_function) ... ok test_nested_func (test.test_inspect.test_inspect.TestBuggyCases.test_nested_func) ... ok test_one_liner_dedent_non_name (test.test_inspect.test_inspect.TestBuggyCases.test_one_liner_dedent_non_name) ... ok test_one_liner_followed_by_non_name (test.test_inspect.test_inspect.TestBuggyCases.test_one_liner_followed_by_non_name) ... ok test_with_comment (test.test_inspect.test_inspect.TestBuggyCases.test_with_comment) ... ok test_with_comment_instead_of_docstring (test.test_inspect.test_inspect.TestBuggyCases.test_with_comment_instead_of_docstring) ... ok test_argspec_api_ignores_wrapped (test.test_inspect.test_inspect.TestClassesAndFunctions.test_argspec_api_ignores_wrapped) ... ok test_classify_DynamicClassAttribute (test.test_inspect.test_inspect.TestClassesAndFunctions.test_classify_DynamicClassAttribute) ... ok test_classify_VirtualAttribute (test.test_inspect.test_inspect.TestClassesAndFunctions.test_classify_VirtualAttribute) ... ok test_classify_VirtualAttribute_multi_classes (test.test_inspect.test_inspect.TestClassesAndFunctions.test_classify_VirtualAttribute_multi_classes) ... ok test_classify_builtin_types (test.test_inspect.test_inspect.TestClassesAndFunctions.test_classify_builtin_types) ... ok test_classify_class_attrs_with_buggy_dir (test.test_inspect.test_inspect.TestClassesAndFunctions.test_classify_class_attrs_with_buggy_dir) ... ok test_classify_metaclass_class_attribute (test.test_inspect.test_inspect.TestClassesAndFunctions.test_classify_metaclass_class_attribute) ... ok test_classify_newstyle (test.test_inspect.test_inspect.TestClassesAndFunctions.test_classify_newstyle) ... ok test_classify_overrides_bool (test.test_inspect.test_inspect.TestClassesAndFunctions.test_classify_overrides_bool) ... ok test_get_annotations_with_stock_annotations (test.test_inspect.test_inspect.TestClassesAndFunctions.test_get_annotations_with_stock_annotations) ... ok test_get_annotations_with_stringized_annotations (test.test_inspect.test_inspect.TestClassesAndFunctions.test_get_annotations_with_stringized_annotations) ... ok test_getfullargspec (test.test_inspect.test_inspect.TestClassesAndFunctions.test_getfullargspec) ... ok test_getfullargspec_builtin_func (test.test_inspect.test_inspect.TestClassesAndFunctions.test_getfullargspec_builtin_func) ... skipped 'implementation detail specific to cpython' test_getfullargspec_builtin_func_no_signature (test.test_inspect.test_inspect.TestClassesAndFunctions.test_getfullargspec_builtin_func_no_signature) ... skipped 'implementation detail specific to cpython' test_getfullargspec_builtin_methods (test.test_inspect.test_inspect.TestClassesAndFunctions.test_getfullargspec_builtin_methods) ... ok test_getfullargspec_definition_order_preserved_on_kwonly (test.test_inspect.test_inspect.TestClassesAndFunctions.test_getfullargspec_definition_order_preserved_on_kwonly) ... ok test_getfullargspec_signature_annos (test.test_inspect.test_inspect.TestClassesAndFunctions.test_getfullargspec_signature_annos) ... ok test_getfullargspec_signature_attr (test.test_inspect.test_inspect.TestClassesAndFunctions.test_getfullargspec_signature_attr) ... ok test_getmembers_VirtualAttribute (test.test_inspect.test_inspect.TestClassesAndFunctions.test_getmembers_VirtualAttribute) ... ok test_getmembers_custom_broken_dir (test.test_inspect.test_inspect.TestClassesAndFunctions.test_getmembers_custom_broken_dir) ... ok test_getmembers_custom_dir (test.test_inspect.test_inspect.TestClassesAndFunctions.test_getmembers_custom_dir) ... ok test_getmembers_custom_duplicated_dir (test.test_inspect.test_inspect.TestClassesAndFunctions.test_getmembers_custom_duplicated_dir) ... ok test_getmembers_descriptors (test.test_inspect.test_inspect.TestClassesAndFunctions.test_getmembers_descriptors) ... ok test_getmembers_method (test.test_inspect.test_inspect.TestClassesAndFunctions.test_getmembers_method) ... ok test_getmembers_static (test.test_inspect.test_inspect.TestClassesAndFunctions.test_getmembers_static) ... ok test_getmembers_with_buggy_dir (test.test_inspect.test_inspect.TestClassesAndFunctions.test_getmembers_with_buggy_dir) ... ok test_newstyle_mro (test.test_inspect.test_inspect.TestClassesAndFunctions.test_newstyle_mro) ... ok test_pep695_generic_class_with_future_annotations (test.test_inspect.test_inspect.TestClassesAndFunctions.test_pep695_generic_class_with_future_annotations) ... ok test_pep695_generic_class_with_future_annotations_and_local_shadowing (test.test_inspect.test_inspect.TestClassesAndFunctions.test_pep695_generic_class_with_future_annotations_and_local_shadowing) ... ok test_pep695_generic_class_with_future_annotations_name_clash_with_global_vars (test.test_inspect.test_inspect.TestClassesAndFunctions.test_pep695_generic_class_with_future_annotations_name_clash_with_global_vars) ... ok test_pep_695_generic_function_with_future_annotations (test.test_inspect.test_inspect.TestClassesAndFunctions.test_pep_695_generic_function_with_future_annotations) ... ok test_pep_695_generic_function_with_future_annotations_name_clash_with_global_vars (test.test_inspect.test_inspect.TestClassesAndFunctions.test_pep_695_generic_function_with_future_annotations_name_clash_with_global_vars) ... ok test_pep_695_generic_method_with_future_annotations (test.test_inspect.test_inspect.TestClassesAndFunctions.test_pep_695_generic_method_with_future_annotations) ... ok test_pep_695_generic_method_with_future_annotations_name_clash_with_global_and_local_vars (test.test_inspect.test_inspect.TestClassesAndFunctions.test_pep_695_generic_method_with_future_annotations_name_clash_with_global_and_local_vars) ... ok test_pep_695_generic_method_with_future_annotations_name_clash_with_global_vars (test.test_inspect.test_inspect.TestClassesAndFunctions.test_pep_695_generic_method_with_future_annotations_name_clash_with_global_vars) ... ok test_pep_695_generics_with_future_annotations_nested_in_function (test.test_inspect.test_inspect.TestClassesAndFunctions.test_pep_695_generics_with_future_annotations_nested_in_function) ... ok test_parens_in_decorator (test.test_inspect.test_inspect.TestComplexDecorator.test_parens_in_decorator) ... ok test_decorator_with_lambda (test.test_inspect.test_inspect.TestDecorators.test_decorator_with_lambda) ... ok test_getsource_unwrap (test.test_inspect.test_inspect.TestDecorators.test_getsource_unwrap) ... ok test_replacing_decorator (test.test_inspect.test_inspect.TestDecorators.test_replacing_decorator) ... ok test_wrapped_decorator (test.test_inspect.test_inspect.TestDecorators.test_wrapped_decorator) ... ok test_typing_replacement (test.test_inspect.test_inspect.TestFormatAnnotation.test_typing_replacement) ... ok test_closed_after_exhaustion (test.test_inspect.test_inspect.TestGetAsyncGenState.test_closed_after_exhaustion) ... ERROR test_closed_after_immediate_exception (test.test_inspect.test_inspect.TestGetAsyncGenState.test_closed_after_immediate_exception) ... ERROR test_created (test.test_inspect.test_inspect.TestGetAsyncGenState.test_created) ... ERROR test_easy_debugging (test.test_inspect.test_inspect.TestGetAsyncGenState.test_easy_debugging) ... ok test_getasyncgenlocals (test.test_inspect.test_inspect.TestGetAsyncGenState.test_getasyncgenlocals) ... ok test_getasyncgenlocals_empty (test.test_inspect.test_inspect.TestGetAsyncGenState.test_getasyncgenlocals_empty) ... ok test_getasyncgenlocals_error (test.test_inspect.test_inspect.TestGetAsyncGenState.test_getasyncgenlocals_error) ... ok test_running (test.test_inspect.test_inspect.TestGetAsyncGenState.test_running) ... ERROR test_suspended (test.test_inspect.test_inspect.TestGetAsyncGenState.test_suspended) ... ERROR test_attribute_same_name_as_global_var (test.test_inspect.test_inspect.TestGetClosureVars.test_attribute_same_name_as_global_var) ... FAIL test_builtins_as_dict (test.test_inspect.test_inspect.TestGetClosureVars.test_builtins_as_dict) ... FAIL test_builtins_as_module (test.test_inspect.test_inspect.TestGetClosureVars.test_builtins_as_module) ... FAIL test_builtins_fallback (test.test_inspect.test_inspect.TestGetClosureVars.test_builtins_fallback) ... FAIL test_generator_closure (test.test_inspect.test_inspect.TestGetClosureVars.test_generator_closure) ... FAIL test_getclosurevars_empty (test.test_inspect.test_inspect.TestGetClosureVars.test_getclosurevars_empty) ... ok test_getclosurevars_error (test.test_inspect.test_inspect.TestGetClosureVars.test_getclosurevars_error) ... ok test_method_closure (test.test_inspect.test_inspect.TestGetClosureVars.test_method_closure) ... FAIL test_name_resolution (test.test_inspect.test_inspect.TestGetClosureVars.test_name_resolution) ... FAIL test_nonlocal_vars (test.test_inspect.test_inspect.TestGetClosureVars.test_nonlocal_vars) ... ok test_closed_after_close (test.test_inspect.test_inspect.TestGetCoroutineState.test_closed_after_close) ... ok test_closed_after_exhaustion (test.test_inspect.test_inspect.TestGetCoroutineState.test_closed_after_exhaustion) ... ok test_closed_after_immediate_exception (test.test_inspect.test_inspect.TestGetCoroutineState.test_closed_after_immediate_exception) ... ok test_created (test.test_inspect.test_inspect.TestGetCoroutineState.test_created) ... ok test_easy_debugging (test.test_inspect.test_inspect.TestGetCoroutineState.test_easy_debugging) ... ok test_getcoroutinelocals (test.test_inspect.test_inspect.TestGetCoroutineState.test_getcoroutinelocals) ... ok test_suspended (test.test_inspect.test_inspect.TestGetCoroutineState.test_suspended) ... ok test_closed_after_close (test.test_inspect.test_inspect.TestGetGeneratorState.test_closed_after_close) ... ok test_closed_after_exhaustion (test.test_inspect.test_inspect.TestGetGeneratorState.test_closed_after_exhaustion) ... ok test_closed_after_immediate_exception (test.test_inspect.test_inspect.TestGetGeneratorState.test_closed_after_immediate_exception) ... ok test_created (test.test_inspect.test_inspect.TestGetGeneratorState.test_created) ... ok test_easy_debugging (test.test_inspect.test_inspect.TestGetGeneratorState.test_easy_debugging) ... ok test_getgeneratorlocals (test.test_inspect.test_inspect.TestGetGeneratorState.test_getgeneratorlocals) ... ok test_getgeneratorlocals_empty (test.test_inspect.test_inspect.TestGetGeneratorState.test_getgeneratorlocals_empty) ... ok test_getgeneratorlocals_error (test.test_inspect.test_inspect.TestGetGeneratorState.test_getgeneratorlocals_error) ... ok test_running (test.test_inspect.test_inspect.TestGetGeneratorState.test_running) ... ok test_suspended (test.test_inspect.test_inspect.TestGetGeneratorState.test_suspended) ... ok test_basic (test.test_inspect.test_inspect.TestGetattrStatic.test_basic) ... ok test_cache_does_not_cause_classes_to_persist (test.test_inspect.test_inspect.TestGetattrStatic.test_cache_does_not_cause_classes_to_persist) ... ok test_classAttribute (test.test_inspect.test_inspect.TestGetattrStatic.test_classAttribute) ... ok test_classVirtualAttribute (test.test_inspect.test_inspect.TestGetattrStatic.test_classVirtualAttribute) ... ok test_class_as_property (test.test_inspect.test_inspect.TestGetattrStatic.test_class_as_property) ... ok test_custom___getattr__ (test.test_inspect.test_inspect.TestGetattrStatic.test_custom___getattr__) ... ok test_custom___getattribute__ (test.test_inspect.test_inspect.TestGetattrStatic.test_custom___getattribute__) ... ok test_custom_object_dict (test.test_inspect.test_inspect.TestGetattrStatic.test_custom_object_dict) ... ok test_descriptor (test.test_inspect.test_inspect.TestGetattrStatic.test_descriptor) ... ok test_descriptor_raises_AttributeError (test.test_inspect.test_inspect.TestGetattrStatic.test_descriptor_raises_AttributeError) ... ok test_dict_as_property (test.test_inspect.test_inspect.TestGetattrStatic.test_dict_as_property) ... ok test_inherited (test.test_inspect.test_inspect.TestGetattrStatic.test_inherited) ... ok test_inherited_classattribute (test.test_inspect.test_inspect.TestGetattrStatic.test_inherited_classattribute) ... ok test_inherited_slots (test.test_inspect.test_inspect.TestGetattrStatic.test_inherited_slots) ... ok test_instance_attr (test.test_inspect.test_inspect.TestGetattrStatic.test_instance_attr) ... ok test_metaclass (test.test_inspect.test_inspect.TestGetattrStatic.test_metaclass) ... ok test_metaclass_dict_as_property (test.test_inspect.test_inspect.TestGetattrStatic.test_metaclass_dict_as_property) ... ok test_metaclass_with_descriptor (test.test_inspect.test_inspect.TestGetattrStatic.test_metaclass_with_descriptor) ... ok test_metaclass_with_metaclass_with_dict_as_property (test.test_inspect.test_inspect.TestGetattrStatic.test_metaclass_with_metaclass_with_dict_as_property) ... ok test_module (test.test_inspect.test_inspect.TestGetattrStatic.test_module) ... ok test_mro_as_property (test.test_inspect.test_inspect.TestGetattrStatic.test_mro_as_property) ... ok test_mutated_mro (test.test_inspect.test_inspect.TestGetattrStatic.test_mutated_mro) ... ok test_no_dict_no_slots (test.test_inspect.test_inspect.TestGetattrStatic.test_no_dict_no_slots) ... ok test_no_dict_no_slots_instance_member (test.test_inspect.test_inspect.TestGetattrStatic.test_no_dict_no_slots_instance_member) ... ok test_property (test.test_inspect.test_inspect.TestGetattrStatic.test_property) ... ok test_slots (test.test_inspect.test_inspect.TestGetattrStatic.test_slots) ... ok test_errors (test.test_inspect.test_inspect.TestGetcallargsFunctions.test_errors) ... ok test_keyword_only (test.test_inspect.test_inspect.TestGetcallargsFunctions.test_keyword_only) ... ok test_multiple_features (test.test_inspect.test_inspect.TestGetcallargsFunctions.test_multiple_features) ... ok test_plain (test.test_inspect.test_inspect.TestGetcallargsFunctions.test_plain) ... ok test_varargs (test.test_inspect.test_inspect.TestGetcallargsFunctions.test_varargs) ... ok test_varkw (test.test_inspect.test_inspect.TestGetcallargsFunctions.test_varkw) ... ok test_varkw_only (test.test_inspect.test_inspect.TestGetcallargsFunctions.test_varkw_only) ... ok test_errors (test.test_inspect.test_inspect.TestGetcallargsMethods.test_errors) ... ok test_keyword_only (test.test_inspect.test_inspect.TestGetcallargsMethods.test_keyword_only) ... ok test_multiple_features (test.test_inspect.test_inspect.TestGetcallargsMethods.test_multiple_features) ... ok test_plain (test.test_inspect.test_inspect.TestGetcallargsMethods.test_plain) ... ok test_varargs (test.test_inspect.test_inspect.TestGetcallargsMethods.test_varargs) ... ok test_varkw (test.test_inspect.test_inspect.TestGetcallargsMethods.test_varkw) ... ok test_varkw_only (test.test_inspect.test_inspect.TestGetcallargsMethods.test_varkw_only) ... ok test_errors (test.test_inspect.test_inspect.TestGetcallargsUnboundMethods.test_errors) ... ok test_keyword_only (test.test_inspect.test_inspect.TestGetcallargsUnboundMethods.test_keyword_only) ... ok test_multiple_features (test.test_inspect.test_inspect.TestGetcallargsUnboundMethods.test_multiple_features) ... ok test_plain (test.test_inspect.test_inspect.TestGetcallargsUnboundMethods.test_plain) ... ok test_varargs (test.test_inspect.test_inspect.TestGetcallargsUnboundMethods.test_varargs) ... ok test_varkw (test.test_inspect.test_inspect.TestGetcallargsUnboundMethods.test_varkw) ... ok test_varkw_only (test.test_inspect.test_inspect.TestGetcallargsUnboundMethods.test_varkw_only) ... ok test_getclasses_interactive (test.test_inspect.test_inspect.TestGetsourceInteractive.test_getclasses_interactive) ... ok test_range_toplevel_frame (test.test_inspect.test_inspect.TestGettingSourceOfToplevelFrames.test_range_toplevel_frame) ... ok test_range_traceback_toplevel_frame (test.test_inspect.test_inspect.TestGettingSourceOfToplevelFrames.test_range_traceback_toplevel_frame) ... ok test__all__ (test.test_inspect.test_inspect.TestInterpreterStack.test__all__) ... ok test_abuse_done (test.test_inspect.test_inspect.TestInterpreterStack.test_abuse_done) ... ok test_frame (test.test_inspect.test_inspect.TestInterpreterStack.test_frame) ... ok test_previous_frame (test.test_inspect.test_inspect.TestInterpreterStack.test_previous_frame) ... ok test_stack (test.test_inspect.test_inspect.TestInterpreterStack.test_stack) ... skipped 'implementation detail specific to cpython' test_trace (test.test_inspect.test_inspect.TestInterpreterStack.test_trace) ... ok test_custom_descriptors (test.test_inspect.test_inspect.TestIsDataDescriptor.test_custom_descriptors) ... ok test_functions (test.test_inspect.test_inspect.TestIsDataDescriptor.test_functions) ... ok test_property (test.test_inspect.test_inspect.TestIsDataDescriptor.test_property) ... ok test_slot (test.test_inspect.test_inspect.TestIsDataDescriptor.test_slot) ... ok test_builtins (test.test_inspect.test_inspect.TestMain.test_builtins) ... ok test_custom_getattr (test.test_inspect.test_inspect.TestMain.test_custom_getattr) ... ok test_details (test.test_inspect.test_inspect.TestMain.test_details) ... ok test_only_source (test.test_inspect.test_inspect.TestMain.test_only_source) ... ok test_qualname_source (test.test_inspect.test_inspect.TestMain.test_qualname_source) ... ok test_class (test.test_inspect.test_inspect.TestNoEOL.test_class) ... ok test_anonymous (test.test_inspect.test_inspect.TestOneliners.test_anonymous) ... ok test_lambda_in_list (test.test_inspect.test_inspect.TestOneliners.test_lambda_in_list) ... ok test_manyargs (test.test_inspect.test_inspect.TestOneliners.test_manyargs) ... ok test_nested_lambda (test.test_inspect.test_inspect.TestOneliners.test_nested_lambda) ... ok test_oneline_lambda (test.test_inspect.test_inspect.TestOneliners.test_oneline_lambda) ... ok test_onelinefunc (test.test_inspect.test_inspect.TestOneliners.test_onelinefunc) ... ok test_parenthesized_multiline_lambda (test.test_inspect.test_inspect.TestOneliners.test_parenthesized_multiline_lambda) ... ok test_post_line_parenthesized_lambda (test.test_inspect.test_inspect.TestOneliners.test_post_line_parenthesized_lambda) ... ok test_threeline_lambda (test.test_inspect.test_inspect.TestOneliners.test_threeline_lambda) ... ok test_twoline_indented_lambda (test.test_inspect.test_inspect.TestOneliners.test_twoline_indented_lambda) ... ok test_twolinefunc (test.test_inspect.test_inspect.TestOneliners.test_twolinefunc) ... ok test_signature_parameter_equality (test.test_inspect.test_inspect.TestParameterObject.test_signature_parameter_equality) ... ok test_signature_parameter_hashable (test.test_inspect.test_inspect.TestParameterObject.test_signature_parameter_hashable) ... ok test_signature_parameter_immutability (test.test_inspect.test_inspect.TestParameterObject.test_signature_parameter_immutability) ... ok test_signature_parameter_implicit (test.test_inspect.test_inspect.TestParameterObject.test_signature_parameter_implicit) ... skipped 'implementation detail specific to cpython' test_signature_parameter_kinds (test.test_inspect.test_inspect.TestParameterObject.test_signature_parameter_kinds) ... ok test_signature_parameter_object (test.test_inspect.test_inspect.TestParameterObject.test_signature_parameter_object) ... ok test_signature_parameter_positional_only (test.test_inspect.test_inspect.TestParameterObject.test_signature_parameter_positional_only) ... ok test_signature_parameter_replace (test.test_inspect.test_inspect.TestParameterObject.test_signature_parameter_replace) ... ok test__all__ (test.test_inspect.test_inspect.TestPredicates.test__all__) ... ok test_excluding_predicates (test.test_inspect.test_inspect.TestPredicates.test_excluding_predicates) ... ok test_get_slot_members (test.test_inspect.test_inspect.TestPredicates.test_get_slot_members) ... ok test_isabstract (test.test_inspect.test_inspect.TestPredicates.test_isabstract) ... ok test_isabstract_during_init_subclass (test.test_inspect.test_inspect.TestPredicates.test_isabstract_during_init_subclass) ... ok test_isawaitable (test.test_inspect.test_inspect.TestPredicates.test_isawaitable) ... ok test_isclass (test.test_inspect.test_inspect.TestPredicates.test_isclass) ... ok test_iscoroutine (test.test_inspect.test_inspect.TestPredicates.test_iscoroutine) ... ok test_ismethodwrapper (test.test_inspect.test_inspect.TestPredicates.test_ismethodwrapper) ... skipped 'implementation detail specific to cpython' test_isroutine (test.test_inspect.test_inspect.TestPredicates.test_isroutine) ... ok test_isroutine_singledispatch (test.test_inspect.test_inspect.TestPredicates.test_isroutine_singledispatch) ... ok test_getsource_reload (test.test_inspect.test_inspect.TestReload.test_getsource_reload) ... ok test_cleandoc (test.test_inspect.test_inspect.TestRetrievingSourceCode.test_cleandoc) ... ok test_finddoc (test.test_inspect.test_inspect.TestRetrievingSourceCode.test_finddoc) ... ok test_getclasses (test.test_inspect.test_inspect.TestRetrievingSourceCode.test_getclasses) ... ok test_getcomments (test.test_inspect.test_inspect.TestRetrievingSourceCode.test_getcomments) ... ok test_getdoc (test.test_inspect.test_inspect.TestRetrievingSourceCode.test_getdoc) ... FAIL test_getdoc_inherited (test.test_inspect.test_inspect.TestRetrievingSourceCode.test_getdoc_inherited) ... ok test_getfile (test.test_inspect.test_inspect.TestRetrievingSourceCode.test_getfile) ... ok test_getfile_broken_repr (test.test_inspect.test_inspect.TestRetrievingSourceCode.test_getfile_broken_repr) ... ok test_getfile_builtin_class (test.test_inspect.test_inspect.TestRetrievingSourceCode.test_getfile_builtin_class) ... ok test_getfile_builtin_function_or_method (test.test_inspect.test_inspect.TestRetrievingSourceCode.test_getfile_builtin_function_or_method) ... ok test_getfile_builtin_module (test.test_inspect.test_inspect.TestRetrievingSourceCode.test_getfile_builtin_module) ... ok test_getfile_class_without_module (test.test_inspect.test_inspect.TestRetrievingSourceCode.test_getfile_class_without_module) ... ok test_getframeinfo_get_first_line (test.test_inspect.test_inspect.TestRetrievingSourceCode.test_getframeinfo_get_first_line) ... ok test_getfunctions (test.test_inspect.test_inspect.TestRetrievingSourceCode.test_getfunctions) ... ok test_getmodule (test.test_inspect.test_inspect.TestRetrievingSourceCode.test_getmodule) ... ok test_getmodule_file_not_found (test.test_inspect.test_inspect.TestRetrievingSourceCode.test_getmodule_file_not_found) ... ok test_getmodule_recursion (test.test_inspect.test_inspect.TestRetrievingSourceCode.test_getmodule_recursion) ... ok test_getsource (test.test_inspect.test_inspect.TestRetrievingSourceCode.test_getsource) ... ok test_getsource_on_code_object (test.test_inspect.test_inspect.TestRetrievingSourceCode.test_getsource_on_code_object) ... ok test_getsourcefile (test.test_inspect.test_inspect.TestRetrievingSourceCode.test_getsourcefile) ... ok test_proceed_with_fake_filename (test.test_inspect.test_inspect.TestRetrievingSourceCode.test_proceed_with_fake_filename) doctest monkeypatches linecache to enable inspection ... ok test_signature_bind_args_and_kwargs (test.test_inspect.test_inspect.TestSignatureBind.test_signature_bind_args_and_kwargs) ... ok test_signature_bind_args_and_varargs (test.test_inspect.test_inspect.TestSignatureBind.test_signature_bind_args_and_varargs) ... ok test_signature_bind_arguments (test.test_inspect.test_inspect.TestSignatureBind.test_signature_bind_arguments) ... ok test_signature_bind_empty (test.test_inspect.test_inspect.TestSignatureBind.test_signature_bind_empty) ... ok test_signature_bind_implicit_arg (test.test_inspect.test_inspect.TestSignatureBind.test_signature_bind_implicit_arg) ... skipped 'implementation detail specific to cpython' test_signature_bind_just_args (test.test_inspect.test_inspect.TestSignatureBind.test_signature_bind_just_args) ... ok test_signature_bind_just_kwargs (test.test_inspect.test_inspect.TestSignatureBind.test_signature_bind_just_kwargs) ... ok test_signature_bind_kwonly (test.test_inspect.test_inspect.TestSignatureBind.test_signature_bind_kwonly) ... ok test_signature_bind_positional_only (test.test_inspect.test_inspect.TestSignatureBind.test_signature_bind_positional_only) ... ok test_signature_bind_posonly_kwargs (test.test_inspect.test_inspect.TestSignatureBind.test_signature_bind_posonly_kwargs) ... ok test_signature_bind_var (test.test_inspect.test_inspect.TestSignatureBind.test_signature_bind_var) ... ok test_signature_bind_vararg_name (test.test_inspect.test_inspect.TestSignatureBind.test_signature_bind_vararg_name) ... ok test_signature_bind_varargs_order (test.test_inspect.test_inspect.TestSignatureBind.test_signature_bind_varargs_order) ... ok test_signature_bind_with_self_arg (test.test_inspect.test_inspect.TestSignatureBind.test_signature_bind_with_self_arg) ... ok test_base_class_have_text_signature (test.test_inspect.test_inspect.TestSignatureDefinitions.test_base_class_have_text_signature) ... ok test_builtins_have_signatures (test.test_inspect.test_inspect.TestSignatureDefinitions.test_builtins_have_signatures) ... skipped 'implementation detail specific to cpython' test_python_function_override_signature (test.test_inspect.test_inspect.TestSignatureDefinitions.test_python_function_override_signature) ... ok test_signater_parameters_is_ordered (test.test_inspect.test_inspect.TestSignatureObject.test_signater_parameters_is_ordered) ... ok test_signature_annotations_with_local_namespaces (test.test_inspect.test_inspect.TestSignatureObject.test_signature_annotations_with_local_namespaces) ... ok test_signature_as_callable (test.test_inspect.test_inspect.TestSignatureObject.test_signature_as_callable) ... ok test_signature_as_str (test.test_inspect.test_inspect.TestSignatureObject.test_signature_as_str) ... ok test_signature_definition_order_preserved_on_kwonly (test.test_inspect.test_inspect.TestSignatureObject.test_signature_definition_order_preserved_on_kwonly) ... ok test_signature_equality (test.test_inspect.test_inspect.TestSignatureObject.test_signature_equality) ... ok test_signature_eval_str (test.test_inspect.test_inspect.TestSignatureObject.test_signature_eval_str) ... ok test_signature_from_callable_builtin_obj (test.test_inspect.test_inspect.TestSignatureObject.test_signature_from_callable_builtin_obj) ... ok test_signature_from_callable_class (test.test_inspect.test_inspect.TestSignatureObject.test_signature_from_callable_class) ... ok test_signature_from_callable_python_obj (test.test_inspect.test_inspect.TestSignatureObject.test_signature_from_callable_python_obj) ... ok test_signature_from_functionlike_object (test.test_inspect.test_inspect.TestSignatureObject.test_signature_from_functionlike_object) ... ok test_signature_functionlike_class (test.test_inspect.test_inspect.TestSignatureObject.test_signature_functionlike_class) ... ok test_signature_hashable (test.test_inspect.test_inspect.TestSignatureObject.test_signature_hashable) ... ok test_signature_immutability (test.test_inspect.test_inspect.TestSignatureObject.test_signature_immutability) ... ok test_signature_none_annotation (test.test_inspect.test_inspect.TestSignatureObject.test_signature_none_annotation) ... ok test_signature_object (test.test_inspect.test_inspect.TestSignatureObject.test_signature_object) ... ok test_signature_object_pickle (test.test_inspect.test_inspect.TestSignatureObject.test_signature_object_pickle) ... ok test_signature_on_builtin_class (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_builtin_class) ... ok test_signature_on_builtins (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_builtins) ... skipped 'implementation detail specific to cpython' test_signature_on_builtins_no_signature (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_builtins_no_signature) ... skipped 'implementation detail specific to cpython' test_signature_on_callable_objects (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_callable_objects) ... ok test_signature_on_class (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_class) ... ok test_signature_on_class_with_init (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_class_with_init) ... ok test_signature_on_class_with_new (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_class_with_new) ... ok test_signature_on_class_without_init (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_class_without_init) ... ok test_signature_on_classmethod (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_classmethod) ... ok test_signature_on_complex_args (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_complex_args) ... ok test_signature_on_decorated (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_decorated) ... ok test_signature_on_decorated_builtins (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_decorated_builtins) ... skipped 'implementation detail specific to cpython' test_signature_on_derived_classes (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_derived_classes) ... ok test_signature_on_fake_partialmethod (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_fake_partialmethod) ... ok test_signature_on_generic_subclass (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_generic_subclass) ... ok test_signature_on_lambdas (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_lambdas) ... ok test_signature_on_mangled_parameters (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_mangled_parameters) ... ok test_signature_on_method (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_method) ... ok test_signature_on_mocks (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_mocks) ... ok test_signature_on_noarg (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_noarg) ... ok test_signature_on_non_comparable (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_non_comparable) ... ok test_signature_on_non_function (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_non_function) ... ok test_signature_on_noncallable_mocks (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_noncallable_mocks) ... ok test_signature_on_partial (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_partial) ... ok test_signature_on_partialmethod (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_partialmethod) ... ok test_signature_on_staticmethod (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_staticmethod) ... ok test_signature_on_subclass (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_subclass) ... ok test_signature_on_wargs (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_wargs) ... ok test_signature_on_wkwonly (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_wkwonly) ... ok test_signature_on_wrapper (test.test_inspect.test_inspect.TestSignatureObject.test_signature_on_wrapper) ... ok test_signature_replace_anno (test.test_inspect.test_inspect.TestSignatureObject.test_signature_replace_anno) ... ok test_signature_replaced (test.test_inspect.test_inspect.TestSignatureObject.test_signature_replaced) ... ok test_signature_str (test.test_inspect.test_inspect.TestSignatureObject.test_signature_str) ... ok test_signature_str_positional_only (test.test_inspect.test_inspect.TestSignatureObject.test_signature_str_positional_only) ... ok test_signature_without_self (test.test_inspect.test_inspect.TestSignatureObject.test_signature_without_self) ... ok test_signature_wrapped_bound_method (test.test_inspect.test_inspect.TestSignatureObject.test_signature_wrapped_bound_method) ... ok test_signature_strip_non_python_syntax (test.test_inspect.test_inspect.TestSignaturePrivateHelpers.test_signature_strip_non_python_syntax) ... ok test_cycle (test.test_inspect.test_inspect.TestUnwrap.test_cycle) ... ok test_recursion_limit (test.test_inspect.test_inspect.TestUnwrap.test_recursion_limit) ... ok test_stop (test.test_inspect.test_inspect.TestUnwrap.test_stop) ... ok test_unhashable (test.test_inspect.test_inspect.TestUnwrap.test_unhashable) ... ok test_unwrap_one (test.test_inspect.test_inspect.TestUnwrap.test_unwrap_one) ... ok test_unwrap_several (test.test_inspect.test_inspect.TestUnwrap.test_unwrap_several) ... ok test_wrapped_descriptor (test.test_inspect.test_inspect.TestUnwrap.test_wrapped_descriptor) ... ok ====================================================================== ERROR: test_closed_after_exhaustion (test.test_inspect.test_inspect.TestGetAsyncGenState.test_closed_after_exhaustion) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/futures.py", line 202, in result raise self._exception.with_traceback(self._exception_tb) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py", line 314, in __step_run_and_handle_result result = coro.send(None) ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_inspect/test_inspect.py", line 2670, in test_closed_after_exhaustion self.assertEqual(self._asyncgenstate(), inspect.AGEN_CLOSED) ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_inspect/test_inspect.py", line 2654, in _asyncgenstate return inspect.getasyncgenstate(self.asyncgen) ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/inspect.py", line 2038, in getasyncgenstate if agen.ag_suspended: ^^^^^^^^^^^^ AttributeError: 'async_generator' object has no attribute 'ag_suspended' ====================================================================== ERROR: test_closed_after_immediate_exception (test.test_inspect.test_inspect.TestGetAsyncGenState.test_closed_after_immediate_exception) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/futures.py", line 202, in result raise self._exception.with_traceback(self._exception_tb) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py", line 314, in __step_run_and_handle_result result = coro.send(None) ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_inspect/test_inspect.py", line 2675, in test_closed_after_immediate_exception self.assertEqual(self._asyncgenstate(), inspect.AGEN_CLOSED) ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_inspect/test_inspect.py", line 2654, in _asyncgenstate return inspect.getasyncgenstate(self.asyncgen) ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/inspect.py", line 2038, in getasyncgenstate if agen.ag_suspended: ^^^^^^^^^^^^ AttributeError: 'async_generator' object has no attribute 'ag_suspended' ====================================================================== ERROR: test_created (test.test_inspect.test_inspect.TestGetAsyncGenState.test_created) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_inspect/test_inspect.py", line 2657, in test_created self.assertEqual(self._asyncgenstate(), inspect.AGEN_CREATED) ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_inspect/test_inspect.py", line 2654, in _asyncgenstate return inspect.getasyncgenstate(self.asyncgen) ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/inspect.py", line 2038, in getasyncgenstate if agen.ag_suspended: ^^^^^^^^^^^^ AttributeError: 'async_generator' object has no attribute 'ag_suspended' ====================================================================== ERROR: test_running (test.test_inspect.test_inspect.TestGetAsyncGenState.test_running) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/futures.py", line 202, in result raise self._exception.with_traceback(self._exception_tb) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py", line 314, in __step_run_and_handle_result result = coro.send(None) ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_inspect/test_inspect.py", line 2686, in test_running self.assertEqual(self._asyncgenstate(), inspect.AGEN_SUSPENDED) ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_inspect/test_inspect.py", line 2654, in _asyncgenstate return inspect.getasyncgenstate(self.asyncgen) ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/inspect.py", line 2038, in getasyncgenstate if agen.ag_suspended: ^^^^^^^^^^^^ AttributeError: 'async_generator' object has no attribute 'ag_suspended' ====================================================================== ERROR: test_suspended (test.test_inspect.test_inspect.TestGetAsyncGenState.test_suspended) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete return future.result() ^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/futures.py", line 202, in result raise self._exception.with_traceback(self._exception_tb) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py", line 314, in __step_run_and_handle_result result = coro.send(None) ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_inspect/test_inspect.py", line 2661, in test_suspended self.assertEqual(self._asyncgenstate(), inspect.AGEN_SUSPENDED) ^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_inspect/test_inspect.py", line 2654, in _asyncgenstate return inspect.getasyncgenstate(self.asyncgen) ^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/inspect.py", line 2038, in getasyncgenstate if agen.ag_suspended: ^^^^^^^^^^^^ AttributeError: 'async_generator' object has no attribute 'ag_suspended' ====================================================================== FAIL: test_attribute_same_name_as_global_var (test.test_inspect.test_inspect.TestGetClosureVars.test_attribute_same_name_as_global_var) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_inspect/test_inspect.py", line 1822, in test_attribute_same_name_as_global_var self.assertEqual(inspect.getclosurevars(f), expected) ^^^^^^^^^^^ AssertionError: Closu[139 chars]als={}, builtins={'print': <built-in function [22 chars]nt'}) != Closu[139 chars]als={'_global_ref': <object object at 0x00007f[80 chars]ef'}) ====================================================================== FAIL: test_builtins_as_dict (test.test_inspect.test_inspect.TestGetClosureVars.test_builtins_as_dict) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_inspect/test_inspect.py", line 1890, in test_builtins_as_dict self.assertEqual(inspect.getclosurevars(f), expected) ^^^^^^^^^^^ AssertionError: ClosureVars(nonlocals={}, globals={}, builtins={}, unbound={'print'}) != ClosureVars(nonlocals={}, globals={}, builtins={'path': 1}, unbound={'print'}) ====================================================================== FAIL: test_builtins_as_module (test.test_inspect.test_inspect.TestGetClosureVars.test_builtins_as_module) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_inspect/test_inspect.py", line 1896, in test_builtins_as_module self.assertEqual(inspect.getclosurevars(f), expected) ^^^^^^^^^^^ AssertionError: Closu[38 chars]ins={}, unbound={'print'}) != Closu[38 chars]ins={'path': <module 'posixpath' from '/build_[77 chars]nt'}) ====================================================================== FAIL: test_builtins_fallback (test.test_inspect.test_inspect.TestGetClosureVars.test_builtins_fallback) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_inspect/test_inspect.py", line 1884, in test_builtins_fallback self.assertEqual(inspect.getclosurevars(f), expected) ^^^^^^^^^^^ AssertionError: Closu[34 chars]uiltins={'print': <built-in function print>}, unbound=set()) != Closu[34 chars]uiltins={'print': <built-in function print>}, unbound={'path'}) ====================================================================== FAIL: test_generator_closure (test.test_inspect.test_inspect.TestGetClosureVars.test_generator_closure) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_inspect/test_inspect.py", line 1794, in test_generator_closure self.assertEqual(inspect.getclosurevars(f(_arg)), expected) ^^^^^^^^^^^ AssertionError: Closu[146 chars]={'print': <built-in function print>}, unbound=set()) != Closu[146 chars]={'print': <built-in function print>}, unbound={'unbound_ref'}) ====================================================================== FAIL: test_method_closure (test.test_inspect.test_inspect.TestGetClosureVars.test_method_closure) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_inspect/test_inspect.py", line 1809, in test_method_closure self.assertEqual(inspect.getclosurevars(C().f(_arg)), expected) ^^^^^^^^^^^ AssertionError: Closu[146 chars]={'print': <built-in function print>}, unbound=set()) != Closu[146 chars]={'print': <built-in function print>}, unbound={'unbound_ref'}) ====================================================================== FAIL: test_name_resolution (test.test_inspect.test_inspect.TestGetClosureVars.test_name_resolution) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_inspect/test_inspect.py", line 1779, in test_name_resolution self.assertEqual(inspect.getclosurevars(f(_arg)), expected) ^^^^^^^^^^^ AssertionError: Closu[146 chars]={'print': <built-in function print>}, unbound=set()) != Closu[146 chars]={'print': <built-in function print>}, unbound={'unbound_ref'}) ====================================================================== FAIL: test_getdoc (test.test_inspect.test_inspect.TestRetrievingSourceCode.test_getdoc) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_inspect/test_inspect.py", line 605, in test_getdoc self.assertEqual(inspect.getdoc(SlotUser.power), ^^^^^^^^^^^ AssertionError: None != 'measured in kilowatts' ---------------------------------------------------------------------- Ran 306 tests in 1.115s FAILED (failures=8, errors=5, skipped=11) 0:00:01 load avg: 1.68 [1/1/1] test_inspect.test_inspect failed (5 errors, 8 failures) == Tests result: FAILURE == 1 test failed: test_inspect.test_inspect Total duration: 1.4 sec Total tests: run=306 failures=8 skipped=11 Total test files: run=1/1 failed=1 Result: FAILURE /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py:790: RuntimeWarning: coroutine 'coroutine_function_example' was never awaited gc.collect() test test_inspect.test_inspect failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1759511æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 504994922 0:00:00 load avg: 1.65 Run 1 test sequentially in a single process 0:00:00 load avg: 1.65 [1/1] test_module test_annotations_are_created_correctly (test.test_module.ModuleTests.test_annotations_are_created_correctly) ... ok test_annotations_getset_raises (test.test_module.ModuleTests.test_annotations_getset_raises) ... ok test_ascii_docstring (test.test_module.ModuleTests.test_ascii_docstring) ... ok test_clear_dict_in_ref_cycle (test.test_module.ModuleTests.test_clear_dict_in_ref_cycle) ... ok test_descriptor_errors_propagate (test.test_module.ModuleTests.test_descriptor_errors_propagate) ... ok test_dont_clear_dict (test.test_module.ModuleTests.test_dont_clear_dict) ... ok test_lazy_create_annotations (test.test_module.ModuleTests.test_lazy_create_annotations) ... ok test_missing_getattr (test.test_module.ModuleTests.test_missing_getattr) ... ok test_module_dir (test.test_module.ModuleTests.test_module_dir) ... ok test_module_dir_errors (test.test_module.ModuleTests.test_module_dir_errors) ... ok test_module_finalization_at_shutdown (test.test_module.ModuleTests.test_module_finalization_at_shutdown) ... FAIL test_module_getattr (test.test_module.ModuleTests.test_module_getattr) ... ok test_module_getattr_errors (test.test_module.ModuleTests.test_module_getattr_errors) ... ok test_module_getattr_tricky (test.test_module.ModuleTests.test_module_getattr_tricky) ... ok test_module_repr_builtin (test.test_module.ModuleTests.test_module_repr_builtin) ... ok test_module_repr_minimal (test.test_module.ModuleTests.test_module_repr_minimal) ... ok test_module_repr_source (test.test_module.ModuleTests.test_module_repr_source) ... ok test_module_repr_with_bare_loader (test.test_module.ModuleTests.test_module_repr_with_bare_loader) ... ok test_module_repr_with_bare_loader_and_filename (test.test_module.ModuleTests.test_module_repr_with_bare_loader_and_filename) ... ok test_module_repr_with_bare_loader_but_no_name (test.test_module.ModuleTests.test_module_repr_with_bare_loader_but_no_name) ... ok test_module_repr_with_fake_namespace_package (test.test_module.ModuleTests.test_module_repr_with_fake_namespace_package) ... ok test_module_repr_with_filename_only (test.test_module.ModuleTests.test_module_repr_with_filename_only) ... ok test_module_repr_with_full_loader (test.test_module.ModuleTests.test_module_repr_with_full_loader) ... ok test_module_repr_with_full_loader_and_filename (test.test_module.ModuleTests.test_module_repr_with_full_loader_and_filename) ... ok test_module_repr_with_full_loader_but_no_name (test.test_module.ModuleTests.test_module_repr_with_full_loader_but_no_name) ... ok test_module_repr_with_loader_as_None (test.test_module.ModuleTests.test_module_repr_with_loader_as_None) ... ok test_module_repr_with_name (test.test_module.ModuleTests.test_module_repr_with_name) ... ok test_module_repr_with_name_and_filename (test.test_module.ModuleTests.test_module_repr_with_name_and_filename) ... ok test_module_repr_with_namespace_package (test.test_module.ModuleTests.test_module_repr_with_namespace_package) ... ok test_module_repr_with_namespace_package_and_custom_loader (test.test_module.ModuleTests.test_module_repr_with_namespace_package_and_custom_loader) ... ok test_no_docstring (test.test_module.ModuleTests.test_no_docstring) ... ok test_reinit (test.test_module.ModuleTests.test_reinit) ... ok test_repeated_attribute_pops (test.test_module.ModuleTests.test_repeated_attribute_pops) ... ok test_setting_annotations (test.test_module.ModuleTests.test_setting_annotations) ... ok test_subclass_with_slots (test.test_module.ModuleTests.test_subclass_with_slots) ... ok test_unicode_docstring (test.test_module.ModuleTests.test_unicode_docstring) ... ok test_uninitialized (test.test_module.ModuleTests.test_uninitialized) ... ok test_uninitialized_missing_getattr (test.test_module.ModuleTests.test_uninitialized_missing_getattr) ... ok test_weakref (test.test_module.ModuleTests.test_weakref) ... ok ====================================================================== FAIL: test_module_finalization_at_shutdown (test.test_module.ModuleTests.test_module_finalization_at_shutdown) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_module/__init__.py", line 302, in test_module_finalization_at_shutdown self.assertEqual(set(lines), { ^^^^^^^^^^^ AssertionError: Items in the second set but not the first: b'x = a' b'x = b' b'final_a.x = a' b'final_b.x = b' b'len = len' b'shutil.rmtree = rmtree' ---------------------------------------------------------------------- Ran 39 tests in 0.218s FAILED (failures=1) 0:00:00 load avg: 1.65 [1/1/1] test_module failed (1 failure) == Tests result: FAILURE == 1 test failed: test_module Total duration: 315 ms Total tests: run=39 failures=1 Total test files: run=1/1 failed=1 Result: FAILURE test test_module failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1759518æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1504526107 0:00:00 load avg: 1.65 Run 4 tests sequentially in a single process 0:00:00 load avg: 1.65 [1/4] test_multiprocessing_fork.test_manager test_abort (test.test_multiprocessing_fork.test_manager.WithManagerTestBarrier.test_abort) Test that an abort will put the barrier in a broken state ... ok test_abort_and_reset (test.test_multiprocessing_fork.test_manager.WithManagerTestBarrier.test_abort_and_reset) Test that a barrier can be reset after being broken. ... ok test_action (test.test_multiprocessing_fork.test_manager.WithManagerTestBarrier.test_action) Test the 'action' callback ... ok test_barrier (test.test_multiprocessing_fork.test_manager.WithManagerTestBarrier.test_barrier) Test that a barrier is passed in lockstep ... ok test_barrier_10 (test.test_multiprocessing_fork.test_manager.WithManagerTestBarrier.test_barrier_10) Test that a barrier works for 10 consecutive runs ... ok test_default_timeout (test.test_multiprocessing_fork.test_manager.WithManagerTestBarrier.test_default_timeout) Test the barrier's default timeout ... ok test_reset (test.test_multiprocessing_fork.test_manager.WithManagerTestBarrier.test_reset) Test that a 'reset' on a barrier frees the waiting threads ... ok test_single_thread (test.test_multiprocessing_fork.test_manager.WithManagerTestBarrier.test_single_thread) ... ok test_thousand (test.test_multiprocessing_fork.test_manager.WithManagerTestBarrier.test_thousand) ... skipped 'test not appropriate for manager' test_timeout (test.test_multiprocessing_fork.test_manager.WithManagerTestBarrier.test_timeout) Test wait(timeout) ... ok test_wait_return (test.test_multiprocessing_fork.test_manager.WithManagerTestBarrier.test_wait_return) test the return value from barrier.wait ... ok test_notify (test.test_multiprocessing_fork.test_manager.WithManagerTestCondition.test_notify) ... ok test_notify_all (test.test_multiprocessing_fork.test_manager.WithManagerTestCondition.test_notify_all) ... ok test_notify_n (test.test_multiprocessing_fork.test_manager.WithManagerTestCondition.test_notify_n) ... ok test_timeout (test.test_multiprocessing_fork.test_manager.WithManagerTestCondition.test_timeout) ... ok test_wait_result (test.test_multiprocessing_fork.test_manager.WithManagerTestCondition.test_wait_result) ... ok test_waitfor (test.test_multiprocessing_fork.test_manager.WithManagerTestCondition.test_waitfor) ... ok test_waitfor_timeout (test.test_multiprocessing_fork.test_manager.WithManagerTestCondition.test_waitfor_timeout) ... ok test_dict (test.test_multiprocessing_fork.test_manager.WithManagerTestContainers.test_dict) ... ok test_dict_iter (test.test_multiprocessing_fork.test_manager.WithManagerTestContainers.test_dict_iter) ... ok test_dict_proxy_nested (test.test_multiprocessing_fork.test_manager.WithManagerTestContainers.test_dict_proxy_nested) ... ok test_list (test.test_multiprocessing_fork.test_manager.WithManagerTestContainers.test_list) ... ok test_list_iter (test.test_multiprocessing_fork.test_manager.WithManagerTestContainers.test_list_iter) ... ok test_list_proxy_in_list (test.test_multiprocessing_fork.test_manager.WithManagerTestContainers.test_list_proxy_in_list) ... ok test_namespace (test.test_multiprocessing_fork.test_manager.WithManagerTestContainers.test_namespace) ... ok test_nested_queue (test.test_multiprocessing_fork.test_manager.WithManagerTestContainers.test_nested_queue) ... ok test_event (test.test_multiprocessing_fork.test_manager.WithManagerTestEvent.test_event) ... ok test_repr (test.test_multiprocessing_fork.test_manager.WithManagerTestEvent.test_repr) ... ok test_lock (test.test_multiprocessing_fork.test_manager.WithManagerTestLock.test_lock) ... ok test_lock_context (test.test_multiprocessing_fork.test_manager.WithManagerTestLock.test_lock_context) ... ok test_repr_lock (test.test_multiprocessing_fork.test_manager.WithManagerTestLock.test_repr_lock) ... skipped 'test not appropriate for manager' test_repr_rlock (test.test_multiprocessing_fork.test_manager.WithManagerTestLock.test_repr_rlock) ... skipped 'test not appropriate for manager' test_rlock (test.test_multiprocessing_fork.test_manager.WithManagerTestLock.test_rlock) ... ok test_rapid_restart (test.test_multiprocessing_fork.test_manager.WithManagerTestManagerRestart.test_rapid_restart) ... ok test_mymanager (test.test_multiprocessing_fork.test_manager.WithManagerTestMyManager.test_mymanager) ... ok test_mymanager_context (test.test_multiprocessing_fork.test_manager.WithManagerTestMyManager.test_mymanager_context) ... ok test_mymanager_context_prestarted (test.test_multiprocessing_fork.test_manager.WithManagerTestMyManager.test_mymanager_context_prestarted) ... ok test_apply (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_apply) ... ok test_async (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_async) ... ok test_async_timeout (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_async_timeout) ... ok test_context (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_context) ... ok test_empty_iterable (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_empty_iterable) ... ok test_enter (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_enter) ... skipped 'test not applicable to manager' test_imap (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_imap) ... ok test_imap_handle_iterable_exception (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_imap_handle_iterable_exception) ... skipped 'test not appropriate for manager' test_imap_unordered (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_imap_unordered) ... ok test_imap_unordered_handle_iterable_exception (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_imap_unordered_handle_iterable_exception) ... skipped 'test not appropriate for manager' test_make_pool (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_make_pool) ... ok test_map (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_map) ... ok test_map_async (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_map_async) ... ok test_map_async_callbacks (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_map_async_callbacks) ... ok test_map_chunksize (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_map_chunksize) ... ok test_map_handle_iterable_exception (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_map_handle_iterable_exception) ... skipped 'test not appropriate for manager' test_map_no_failfast (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_map_no_failfast) ... ok test_map_unplicklable (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_map_unplicklable) ... ok test_release_task_refs (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_release_task_refs) ... ok test_resource_warning (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_resource_warning) ... skipped 'test not applicable to manager' test_starmap (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_starmap) ... ok test_starmap_async (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_starmap_async) ... ok test_terminate (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_terminate) ... ok test_traceback (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_traceback) ... ok test_wrapped_exception (test.test_multiprocessing_fork.test_manager.WithManagerTestPool.test_wrapped_exception) ... ok test_closed_queue_empty_exceptions (test.test_multiprocessing_fork.test_manager.WithManagerTestQueue.test_closed_queue_empty_exceptions) ... ok test_closed_queue_put_get_exceptions (test.test_multiprocessing_fork.test_manager.WithManagerTestQueue.test_closed_queue_put_get_exceptions) ... ok test_fork (test.test_multiprocessing_fork.test_manager.WithManagerTestQueue.test_fork) ... ok test_get (test.test_multiprocessing_fork.test_manager.WithManagerTestQueue.test_get) ... ok test_no_import_lock_contention (test.test_multiprocessing_fork.test_manager.WithManagerTestQueue.test_no_import_lock_contention) ... ok test_put (test.test_multiprocessing_fork.test_manager.WithManagerTestQueue.test_put) ... ok test_qsize (test.test_multiprocessing_fork.test_manager.WithManagerTestQueue.test_qsize) ... ok test_queue_feeder_donot_stop_onexc (test.test_multiprocessing_fork.test_manager.WithManagerTestQueue.test_queue_feeder_donot_stop_onexc) ... skipped 'test not appropriate for manager' test_queue_feeder_on_queue_feeder_error (test.test_multiprocessing_fork.test_manager.WithManagerTestQueue.test_queue_feeder_on_queue_feeder_error) ... skipped 'test not appropriate for manager' test_task_done (test.test_multiprocessing_fork.test_manager.WithManagerTestQueue.test_task_done) ... ok test_timeout (test.test_multiprocessing_fork.test_manager.WithManagerTestQueue.test_timeout) ... ok test_remote (test.test_multiprocessing_fork.test_manager.WithManagerTestRemoteManager.test_remote) ... FAIL test_bounded_semaphore (test.test_multiprocessing_fork.test_manager.WithManagerTestSemaphore.test_bounded_semaphore) ... ok test_semaphore (test.test_multiprocessing_fork.test_manager.WithManagerTestSemaphore.test_semaphore) ... ok test_timeout (test.test_multiprocessing_fork.test_manager.WithManagerTestSemaphore.test_timeout) ... skipped 'test not appropriate for manager' ====================================================================== FAIL: test_remote (test.test_multiprocessing_fork.test_manager.WithManagerTestRemoteManager.test_remote) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/_test_multiprocessing.py", line 3275, in test_remote self.assertRaises(Exception, queue.put, time.sleep) ^^^^^^^^^^^^ AssertionError: Exception not raised by put ---------------------------------------------------------------------- Ran 77 tests in 11.814s FAILED (failures=1, skipped=11) 0:00:12 load avg: 1.59 [1/4/1] test_multiprocessing_fork.test_manager failed (1 failure) 0:00:12 load avg: 1.59 [2/4/1] test_multiprocessing_fork.test_misc test_challengeresponse (test.test_multiprocessing_fork.test_misc.ChallengeResponseTest.test_challengeresponse) ... ok test__all__ (test.test_multiprocessing_fork.test_misc.MiscTestCase.test__all__) ... ok test_spawn_sys_executable_none_allows_import (test.test_multiprocessing_fork.test_misc.MiscTestCase.test_spawn_sys_executable_none_allows_import) ... skipped "start_method='fork', not 'spawn'; avoids redundant testing." test_answer_challenge_auth_failure (test.test_multiprocessing_fork.test_misc.OtherTest.test_answer_challenge_auth_failure) ... ok test_deliver_challenge_auth_failure (test.test_multiprocessing_fork.test_misc.OtherTest.test_deliver_challenge_auth_failure) ... ok test_semlock_subclass (test.test_multiprocessing_fork.test_misc.SemLockTests.test_semlock_subclass) ... ok test_closefd (test.test_multiprocessing_fork.test_misc.TestCloseFds.test_closefd) ... ok test_flags (test.test_multiprocessing_fork.test_misc.TestFlags.test_flags) ... ok test_lock (test.test_multiprocessing_fork.test_misc.TestForkAwareThreadLock.test_lock) ... ok test_ignore (test.test_multiprocessing_fork.test_misc.TestIgnoreEINTR.test_ignore) ... ok test_ignore_listener (test.test_multiprocessing_fork.test_misc.TestIgnoreEINTR.test_ignore_listener) ... ok test_manager_initializer (test.test_multiprocessing_fork.test_misc.TestInitializers.test_manager_initializer) ... ok test_pool_initializer (test.test_multiprocessing_fork.test_misc.TestInitializers.test_pool_initializer) ... ok test_only_run_in_spawn_testsuite (test.test_multiprocessing_fork.test_misc.TestInternalDecorators.test_only_run_in_spawn_testsuite) ... skipped 'only run in test_multiprocessing_spawn.' test_invalid_family (test.test_multiprocessing_fork.test_misc.TestInvalidFamily.test_invalid_family) ... ok test_invalid_family_win32 (test.test_multiprocessing_fork.test_misc.TestInvalidFamily.test_invalid_family_win32) ... skipped 'skipped on non-Windows platforms' test_invalid_handles (test.test_multiprocessing_fork.test_misc.TestInvalidHandle.test_invalid_handles) ... ok test_global_named_resource_spawn (test.test_multiprocessing_fork.test_misc.TestNamedResource.test_global_named_resource_spawn) ... skipped "start_method='fork', not 'spawn'; spawn specific test." test_noforkbomb (test.test_multiprocessing_fork.test_misc.TestNoForkBomb.test_noforkbomb) ... ok test_release_unused_processes (test.test_multiprocessing_fork.test_misc.TestPoolNotLeakOnFailure.test_release_unused_processes) ... ok test_resource_tracker (test.test_multiprocessing_fork.test_misc.TestResourceTracker.test_resource_tracker) ... ok test_resource_tracker_blocked_signals (test.test_multiprocessing_fork.test_misc.TestResourceTracker.test_resource_tracker_blocked_signals) ... ok test_resource_tracker_reused (test.test_multiprocessing_fork.test_misc.TestResourceTracker.test_resource_tracker_reused) ... ok test_resource_tracker_sigint (test.test_multiprocessing_fork.test_misc.TestResourceTracker.test_resource_tracker_sigint) ... ok test_resource_tracker_sigkill (test.test_multiprocessing_fork.test_misc.TestResourceTracker.test_resource_tracker_sigkill) ... ok test_resource_tracker_sigterm (test.test_multiprocessing_fork.test_misc.TestResourceTracker.test_resource_tracker_sigterm) ... ok test_too_long_name_resource (test.test_multiprocessing_fork.test_misc.TestResourceTracker.test_too_long_name_resource) ... ok test_close (test.test_multiprocessing_fork.test_misc.TestSimpleQueue.test_close) ... ok test_closed (test.test_multiprocessing_fork.test_misc.TestSimpleQueue.test_closed) ... skipped 'implementation detail specific to cpython' test_empty (test.test_multiprocessing_fork.test_misc.TestSimpleQueue.test_empty) ... ok test_empty_exceptions (test.test_multiprocessing_fork.test_misc.TestSimpleQueue.test_empty_exceptions) ... ok test_context (test.test_multiprocessing_fork.test_misc.TestStartMethod.test_context) ... ok test_context_check_module_types (test.test_multiprocessing_fork.test_misc.TestStartMethod.test_context_check_module_types) ... ok test_get_all (test.test_multiprocessing_fork.test_misc.TestStartMethod.test_get_all) ... ok test_mixed_startmethod (test.test_multiprocessing_fork.test_misc.TestStartMethod.test_mixed_startmethod) ... skipped "start_method='fork', not 'spawn'; avoids redundant testing." test_nested_startmethod (test.test_multiprocessing_fork.test_misc.TestStartMethod.test_nested_startmethod) ... ok test_preload_resources (test.test_multiprocessing_fork.test_misc.TestStartMethod.test_preload_resources) ... skipped "test only relevant for 'forkserver' method" test_set_get (test.test_multiprocessing_fork.test_misc.TestStartMethod.test_set_get) ... ok test_flushing (test.test_multiprocessing_fork.test_misc.TestStdinBadfiledescriptor.test_flushing) ... ok test_pool_in_process (test.test_multiprocessing_fork.test_misc.TestStdinBadfiledescriptor.test_pool_in_process) ... ok test_queue_in_process (test.test_multiprocessing_fork.test_misc.TestStdinBadfiledescriptor.test_queue_in_process) ... ok test_array (test.test_multiprocessing_fork.test_misc.TestSyncManagerTypes.test_array) ... ok test_barrier (test.test_multiprocessing_fork.test_misc.TestSyncManagerTypes.test_barrier) ... ok test_bounded_semaphore (test.test_multiprocessing_fork.test_misc.TestSyncManagerTypes.test_bounded_semaphore) ... ok test_condition (test.test_multiprocessing_fork.test_misc.TestSyncManagerTypes.test_condition) ... ok test_dict (test.test_multiprocessing_fork.test_misc.TestSyncManagerTypes.test_dict) ... ok test_event (test.test_multiprocessing_fork.test_misc.TestSyncManagerTypes.test_event) ... ok test_joinable_queue (test.test_multiprocessing_fork.test_misc.TestSyncManagerTypes.test_joinable_queue) ... ok test_list (test.test_multiprocessing_fork.test_misc.TestSyncManagerTypes.test_list) ... ok test_lock (test.test_multiprocessing_fork.test_misc.TestSyncManagerTypes.test_lock) ... ok test_namespace (test.test_multiprocessing_fork.test_misc.TestSyncManagerTypes.test_namespace) ... ok test_pool (test.test_multiprocessing_fork.test_misc.TestSyncManagerTypes.test_pool) ... ok test_queue (test.test_multiprocessing_fork.test_misc.TestSyncManagerTypes.test_queue) ... ok test_rlock (test.test_multiprocessing_fork.test_misc.TestSyncManagerTypes.test_rlock) ... ok test_semaphore (test.test_multiprocessing_fork.test_misc.TestSyncManagerTypes.test_semaphore) ... ok test_value (test.test_multiprocessing_fork.test_misc.TestSyncManagerTypes.test_value) ... ok test_timeout (test.test_multiprocessing_fork.test_misc.TestTimeouts.test_timeout) ... ok test_neg_timeout (test.test_multiprocessing_fork.test_misc.TestWait.test_neg_timeout) ... ok test_wait (test.test_multiprocessing_fork.test_misc.TestWait.test_wait) ... ok test_wait_integer (test.test_multiprocessing_fork.test_misc.TestWait.test_wait_integer) ... skipped "resource 'walltime' is not enabled" test_wait_slow (test.test_multiprocessing_fork.test_misc.TestWait.test_wait_slow) ... ok test_wait_socket (test.test_multiprocessing_fork.test_misc.TestWait.test_wait_socket) ... ok test_wait_socket_slow (test.test_multiprocessing_fork.test_misc.TestWait.test_wait_socket_slow) ... ok test_wait_timeout (test.test_multiprocessing_fork.test_misc.TestWait.test_wait_timeout) ... skipped "resource 'walltime' is not enabled" test_import (test.test_multiprocessing_fork.test_misc._TestImportStar.test_import) ... ok ---------------------------------------------------------------------- Ran 65 tests in 9.217s OK (skipped=9) 0:00:21 load avg: 1.54 [2/4/1] test_multiprocessing_fork.test_misc passed 0:00:21 load avg: 1.54 [3/4/1] test_multiprocessing_fork.test_processes test_array (test.test_multiprocessing_fork.test_processes.WithProcessesTestArray.test_array) ... ok test_array_from_size (test.test_multiprocessing_fork.test_processes.WithProcessesTestArray.test_array_from_size) ... ok test_getobj_getlock_obj (test.test_multiprocessing_fork.test_processes.WithProcessesTestArray.test_getobj_getlock_obj) ... ok test_rawarray (test.test_multiprocessing_fork.test_processes.WithProcessesTestArray.test_rawarray) ... ok test_abort (test.test_multiprocessing_fork.test_processes.WithProcessesTestBarrier.test_abort) Test that an abort will put the barrier in a broken state ... ok test_abort_and_reset (test.test_multiprocessing_fork.test_processes.WithProcessesTestBarrier.test_abort_and_reset) Test that a barrier can be reset after being broken. ... ok test_action (test.test_multiprocessing_fork.test_processes.WithProcessesTestBarrier.test_action) Test the 'action' callback ... ok test_barrier (test.test_multiprocessing_fork.test_processes.WithProcessesTestBarrier.test_barrier) Test that a barrier is passed in lockstep ... ok test_barrier_10 (test.test_multiprocessing_fork.test_processes.WithProcessesTestBarrier.test_barrier_10) Test that a barrier works for 10 consecutive runs ... ok test_default_timeout (test.test_multiprocessing_fork.test_processes.WithProcessesTestBarrier.test_default_timeout) Test the barrier's default timeout ... ok test_reset (test.test_multiprocessing_fork.test_processes.WithProcessesTestBarrier.test_reset) Test that a 'reset' on a barrier frees the waiting threads ... ok test_single_thread (test.test_multiprocessing_fork.test_processes.WithProcessesTestBarrier.test_single_thread) ... ok test_thousand (test.test_multiprocessing_fork.test_processes.WithProcessesTestBarrier.test_thousand) ... ok test_timeout (test.test_multiprocessing_fork.test_processes.WithProcessesTestBarrier.test_timeout) Test wait(timeout) ... ok test_wait_return (test.test_multiprocessing_fork.test_processes.WithProcessesTestBarrier.test_wait_return) test the return value from barrier.wait ... ok test_notify (test.test_multiprocessing_fork.test_processes.WithProcessesTestCondition.test_notify) ... ok test_notify_all (test.test_multiprocessing_fork.test_processes.WithProcessesTestCondition.test_notify_all) ... ok test_notify_n (test.test_multiprocessing_fork.test_processes.WithProcessesTestCondition.test_notify_n) ... ok test_timeout (test.test_multiprocessing_fork.test_processes.WithProcessesTestCondition.test_timeout) ... ok test_wait_result (test.test_multiprocessing_fork.test_processes.WithProcessesTestCondition.test_wait_result) ... ok test_waitfor (test.test_multiprocessing_fork.test_processes.WithProcessesTestCondition.test_waitfor) ... ok test_waitfor_timeout (test.test_multiprocessing_fork.test_processes.WithProcessesTestCondition.test_waitfor_timeout) ... ok test_connection (test.test_multiprocessing_fork.test_processes.WithProcessesTestConnection.test_connection) ... ok test_context (test.test_multiprocessing_fork.test_processes.WithProcessesTestConnection.test_context) ... ok test_duplex_false (test.test_multiprocessing_fork.test_processes.WithProcessesTestConnection.test_duplex_false) ... ok test_fd_transfer (test.test_multiprocessing_fork.test_processes.WithProcessesTestConnection.test_fd_transfer) ... ok test_large_fd_transfer (test.test_multiprocessing_fork.test_processes.WithProcessesTestConnection.test_large_fd_transfer) ... ok test_missing_fd_transfer (test.test_multiprocessing_fork.test_processes.WithProcessesTestConnection.test_missing_fd_transfer) ... ok test_sendbytes (test.test_multiprocessing_fork.test_processes.WithProcessesTestConnection.test_sendbytes) ... ok test_spawn_close (test.test_multiprocessing_fork.test_processes.WithProcessesTestConnection.test_spawn_close) ... ok test_event (test.test_multiprocessing_fork.test_processes.WithProcessesTestEvent.test_event) ... ok test_repr (test.test_multiprocessing_fork.test_processes.WithProcessesTestEvent.test_repr) ... ok test_finalize (test.test_multiprocessing_fork.test_processes.WithProcessesTestFinalize.test_finalize) ... ok test_thread_safety (test.test_multiprocessing_fork.test_processes.WithProcessesTestFinalize.test_thread_safety) ... skipped "resource 'cpu' is not enabled" test_free_from_gc (test.test_multiprocessing_fork.test_processes.WithProcessesTestHeap.test_free_from_gc) ... ERROR test_heap (test.test_multiprocessing_fork.test_processes.WithProcessesTestHeap.test_heap) ... FAIL test_abstract_socket (test.test_multiprocessing_fork.test_processes.WithProcessesTestListener.test_abstract_socket) ... ok test_context (test.test_multiprocessing_fork.test_processes.WithProcessesTestListener.test_context) ... ok test_empty_authkey (test.test_multiprocessing_fork.test_processes.WithProcessesTestListener.test_empty_authkey) ... ok test_multiple_bind (test.test_multiprocessing_fork.test_processes.WithProcessesTestListener.test_multiple_bind) ... ok test_issue14725 (test.test_multiprocessing_fork.test_processes.WithProcessesTestListenerClient.test_issue14725) ... ok test_issue16955 (test.test_multiprocessing_fork.test_processes.WithProcessesTestListenerClient.test_issue16955) ... ok test_listener_client (test.test_multiprocessing_fork.test_processes.WithProcessesTestListenerClient.test_listener_client) ... ok test_lock (test.test_multiprocessing_fork.test_processes.WithProcessesTestLock.test_lock) ... ok test_lock_context (test.test_multiprocessing_fork.test_processes.WithProcessesTestLock.test_lock_context) ... ok test_repr_lock (test.test_multiprocessing_fork.test_processes.WithProcessesTestLock.test_repr_lock) ... ok test_repr_rlock (test.test_multiprocessing_fork.test_processes.WithProcessesTestLock.test_repr_rlock) ... ok test_rlock (test.test_multiprocessing_fork.test_processes.WithProcessesTestLock.test_rlock) ... ok test_enable_logging (test.test_multiprocessing_fork.test_processes.WithProcessesTestLogging.test_enable_logging) ... ok test_filename (test.test_multiprocessing_fork.test_processes.WithProcessesTestLogging.test_filename) ... ok test_level (test.test_multiprocessing_fork.test_processes.WithProcessesTestLogging.test_level) ... ok test_rapid_restart (test.test_multiprocessing_fork.test_processes.WithProcessesTestManagerRestart.test_rapid_restart) ... ok test_access (test.test_multiprocessing_fork.test_processes.WithProcessesTestPicklingConnections.test_access) ... ok test_pickling (test.test_multiprocessing_fork.test_processes.WithProcessesTestPicklingConnections.test_pickling) ... ok test_boundaries (test.test_multiprocessing_fork.test_processes.WithProcessesTestPoll.test_boundaries) ... ok test_dont_merge (test.test_multiprocessing_fork.test_processes.WithProcessesTestPoll.test_dont_merge) ... ok test_empty_string (test.test_multiprocessing_fork.test_processes.WithProcessesTestPoll.test_empty_string) ... ok test_strings (test.test_multiprocessing_fork.test_processes.WithProcessesTestPoll.test_strings) ... ok test_poll_eintr (test.test_multiprocessing_fork.test_processes.WithProcessesTestPollEintr.test_poll_eintr) ... ok test_apply (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_apply) ... ok test_async (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_async) ... ok test_async_timeout (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_async_timeout) ... ok test_context (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_context) ... ok test_empty_iterable (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_empty_iterable) ... ok test_enter (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_enter) ... ok test_imap (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_imap) ... ok test_imap_handle_iterable_exception (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_imap_handle_iterable_exception) ... ok test_imap_unordered (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_imap_unordered) ... ok test_imap_unordered_handle_iterable_exception (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_imap_unordered_handle_iterable_exception) ... ok test_make_pool (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_make_pool) ... ok test_map (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_map) ... ok test_map_async (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_map_async) ... ok test_map_async_callbacks (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_map_async_callbacks) ... ok test_map_chunksize (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_map_chunksize) ... ok test_map_handle_iterable_exception (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_map_handle_iterable_exception) ... ok test_map_no_failfast (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_map_no_failfast) ... ok test_map_unplicklable (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_map_unplicklable) ... ok test_release_task_refs (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_release_task_refs) ... ok test_resource_warning (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_resource_warning) ... ok test_starmap (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_starmap) ... ok test_starmap_async (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_starmap_async) ... ok test_terminate (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_terminate) ... ok test_traceback (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_traceback) ... ok test_wrapped_exception (test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_wrapped_exception) ... ok test_async_error_callback (test.test_multiprocessing_fork.test_processes.WithProcessesTestPoolWorkerErrors.test_async_error_callback) ... ok test_unpickleable_result (test.test_multiprocessing_fork.test_processes.WithProcessesTestPoolWorkerErrors.test_unpickleable_result) ... ok test_pool_maxtasksperchild_invalid (test.test_multiprocessing_fork.test_processes.WithProcessesTestPoolWorkerLifetime.test_pool_maxtasksperchild_invalid) ... ok test_pool_worker_lifetime (test.test_multiprocessing_fork.test_processes.WithProcessesTestPoolWorkerLifetime.test_pool_worker_lifetime) ... ok test_pool_worker_lifetime_early_close (test.test_multiprocessing_fork.test_processes.WithProcessesTestPoolWorkerLifetime.test_pool_worker_lifetime_early_close) ... ok test_worker_finalization_via_atexit_handler_of_multiprocessing (test.test_multiprocessing_fork.test_processes.WithProcessesTestPoolWorkerLifetime.test_worker_finalization_via_atexit_handler_of_multiprocessing) ... ok test_active_children (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_active_children) ... ok test_args_argument (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_args_argument) ... skipped "resource 'cpu' is not enabled" test_child_fd_inflation (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_child_fd_inflation) ... skipped 'test not appropriate for fork' test_close (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_close) ... ok test_cpu_count (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_cpu_count) ... ok test_current (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_current) ... ok test_daemon_argument (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_daemon_argument) ... ok test_error_on_stdio_flush_1 (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_error_on_stdio_flush_1) ... ok test_error_on_stdio_flush_2 (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_error_on_stdio_flush_2) ... ok test_forkserver_sigint (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_forkserver_sigint) ... skipped 'test not appropriate for fork' test_forkserver_sigkill (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_forkserver_sigkill) ... skipped 'test not appropriate for fork' test_kill (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_kill) ... ok test_lose_target_ref (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_lose_target_ref) ... ok test_many_processes (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_many_processes) ... skipped "resource 'walltime' is not enabled" test_parent_process (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_parent_process) ... ok test_parent_process_attributes (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_parent_process_attributes) ... ok test_process (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_process) ... ok test_process_mainthread_native_id (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_process_mainthread_native_id) ... ok test_recursion (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_recursion) ... ok test_sentinel (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_sentinel) ... ok test_set_executable (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_set_executable) ... ok test_terminate (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_terminate) ... ok test_wait_for_threads (test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_wait_for_threads) ... ok test_closed_queue_empty_exceptions (test.test_multiprocessing_fork.test_processes.WithProcessesTestQueue.test_closed_queue_empty_exceptions) ... ok test_closed_queue_put_get_exceptions (test.test_multiprocessing_fork.test_processes.WithProcessesTestQueue.test_closed_queue_put_get_exceptions) ... ok test_fork (test.test_multiprocessing_fork.test_processes.WithProcessesTestQueue.test_fork) ... ok test_get (test.test_multiprocessing_fork.test_processes.WithProcessesTestQueue.test_get) ... ok test_no_import_lock_contention (test.test_multiprocessing_fork.test_processes.WithProcessesTestQueue.test_no_import_lock_contention) ... ok test_put (test.test_multiprocessing_fork.test_processes.WithProcessesTestQueue.test_put) ... ok test_qsize (test.test_multiprocessing_fork.test_processes.WithProcessesTestQueue.test_qsize) ... ok test_queue_feeder_donot_stop_onexc (test.test_multiprocessing_fork.test_processes.WithProcessesTestQueue.test_queue_feeder_donot_stop_onexc) ... ok test_queue_feeder_on_queue_feeder_error (test.test_multiprocessing_fork.test_processes.WithProcessesTestQueue.test_queue_feeder_on_queue_feeder_error) ... ok test_task_done (test.test_multiprocessing_fork.test_processes.WithProcessesTestQueue.test_task_done) ... ok test_timeout (test.test_multiprocessing_fork.test_processes.WithProcessesTestQueue.test_timeout) ... ok test_bounded_semaphore (test.test_multiprocessing_fork.test_processes.WithProcessesTestSemaphore.test_bounded_semaphore) ... ok test_semaphore (test.test_multiprocessing_fork.test_processes.WithProcessesTestSemaphore.test_semaphore) ... ok test_timeout (test.test_multiprocessing_fork.test_processes.WithProcessesTestSemaphore.test_timeout) ... ok test_copy (test.test_multiprocessing_fork.test_processes.WithProcessesTestSharedCTypes.test_copy) ... ok test_sharedctypes (test.test_multiprocessing_fork.test_processes.WithProcessesTestSharedCTypes.test_sharedctypes) ... ok test_synchronize (test.test_multiprocessing_fork.test_processes.WithProcessesTestSharedCTypes.test_synchronize) ... ok test_invalid_shared_memory_creation (test.test_multiprocessing_fork.test_processes.WithProcessesTestSharedMemory.test_invalid_shared_memory_creation) ... ok test_shared_memory_ShareableList_basics (test.test_multiprocessing_fork.test_processes.WithProcessesTestSharedMemory.test_shared_memory_ShareableList_basics) ... ok test_shared_memory_ShareableList_pickling (test.test_multiprocessing_fork.test_processes.WithProcessesTestSharedMemory.test_shared_memory_ShareableList_pickling) ... ok test_shared_memory_ShareableList_pickling_dead_object (test.test_multiprocessing_fork.test_processes.WithProcessesTestSharedMemory.test_shared_memory_ShareableList_pickling_dead_object) ... ok test_shared_memory_SharedMemoryManager_basics (test.test_multiprocessing_fork.test_processes.WithProcessesTestSharedMemory.test_shared_memory_SharedMemoryManager_basics) ... ok test_shared_memory_SharedMemoryManager_reuses_resource_tracker (test.test_multiprocessing_fork.test_processes.WithProcessesTestSharedMemory.test_shared_memory_SharedMemoryManager_reuses_resource_tracker) ... ok test_shared_memory_SharedMemoryServer_ignores_sigint (test.test_multiprocessing_fork.test_processes.WithProcessesTestSharedMemory.test_shared_memory_SharedMemoryServer_ignores_sigint) ... ok test_shared_memory_across_processes (test.test_multiprocessing_fork.test_processes.WithProcessesTestSharedMemory.test_shared_memory_across_processes) ... ok test_shared_memory_basics (test.test_multiprocessing_fork.test_processes.WithProcessesTestSharedMemory.test_shared_memory_basics) ... ok test_shared_memory_cleaned_after_process_termination (test.test_multiprocessing_fork.test_processes.WithProcessesTestSharedMemory.test_shared_memory_cleaned_after_process_termination) ... ok test_shared_memory_name_with_embedded_null (test.test_multiprocessing_fork.test_processes.WithProcessesTestSharedMemory.test_shared_memory_name_with_embedded_null) ... ok test_shared_memory_pickle_unpickle (test.test_multiprocessing_fork.test_processes.WithProcessesTestSharedMemory.test_shared_memory_pickle_unpickle) ... ok test_shared_memory_pickle_unpickle_dead_object (test.test_multiprocessing_fork.test_processes.WithProcessesTestSharedMemory.test_shared_memory_pickle_unpickle_dead_object) ... ok test_shared_memory_recreate (test.test_multiprocessing_fork.test_processes.WithProcessesTestSharedMemory.test_shared_memory_recreate) ... ok test_stderr_flush (test.test_multiprocessing_fork.test_processes.WithProcessesTestSubclassingProcess.test_stderr_flush) ... ok test_subclassing (test.test_multiprocessing_fork.test_processes.WithProcessesTestSubclassingProcess.test_subclassing) ... ok test_sys_exit (test.test_multiprocessing_fork.test_processes.WithProcessesTestSubclassingProcess.test_sys_exit) ... ok test_getobj_getlock (test.test_multiprocessing_fork.test_processes.WithProcessesTestValue.test_getobj_getlock) ... ok test_rawvalue (test.test_multiprocessing_fork.test_processes.WithProcessesTestValue.test_rawvalue) ... ok test_value (test.test_multiprocessing_fork.test_processes.WithProcessesTestValue.test_value) ... ok ====================================================================== ERROR: test_free_from_gc (test.test_multiprocessing_fork.test_processes.WithProcessesTestHeap.test_free_from_gc) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/_test_multiprocessing.py", line 4016, in test_free_from_gc thresholds = gc.get_threshold() ^^^^^^^^^^^^^ AttributeError: module 'gc' has no attribute 'get_threshold' ====================================================================== FAIL: test_heap (test.test_multiprocessing_fork.test_processes.WithProcessesTestHeap.test_heap) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/_test_multiprocessing.py", line 4001, in test_heap self.assertEqual(heap._n_frees, heap._n_mallocs) ^^^^^^^^^^^ AssertionError: 0 != 5000 ---------------------------------------------------------------------- Ran 150 tests in 23.336s FAILED (failures=1, errors=1, skipped=6) 0:00:44 load avg: 1.42 [3/4/2] test_multiprocessing_fork.test_processes failed (1 error, 1 failure) 0:00:44 load avg: 1.42 [4/4/2] test_multiprocessing_fork.test_threads test_abort (test.test_multiprocessing_fork.test_threads.WithThreadsTestBarrier.test_abort) Test that an abort will put the barrier in a broken state ... ok test_abort_and_reset (test.test_multiprocessing_fork.test_threads.WithThreadsTestBarrier.test_abort_and_reset) Test that a barrier can be reset after being broken. ... ok test_action (test.test_multiprocessing_fork.test_threads.WithThreadsTestBarrier.test_action) Test the 'action' callback ... ok test_barrier (test.test_multiprocessing_fork.test_threads.WithThreadsTestBarrier.test_barrier) Test that a barrier is passed in lockstep ... ok test_barrier_10 (test.test_multiprocessing_fork.test_threads.WithThreadsTestBarrier.test_barrier_10) Test that a barrier works for 10 consecutive runs ... ok test_default_timeout (test.test_multiprocessing_fork.test_threads.WithThreadsTestBarrier.test_default_timeout) Test the barrier's default timeout ... ok test_reset (test.test_multiprocessing_fork.test_threads.WithThreadsTestBarrier.test_reset) Test that a 'reset' on a barrier frees the waiting threads ... ok test_single_thread (test.test_multiprocessing_fork.test_threads.WithThreadsTestBarrier.test_single_thread) ... ok test_thousand (test.test_multiprocessing_fork.test_threads.WithThreadsTestBarrier.test_thousand) ... ok test_timeout (test.test_multiprocessing_fork.test_threads.WithThreadsTestBarrier.test_timeout) Test wait(timeout) ... ok test_wait_return (test.test_multiprocessing_fork.test_threads.WithThreadsTestBarrier.test_wait_return) test the return value from barrier.wait ... ok test_notify (test.test_multiprocessing_fork.test_threads.WithThreadsTestCondition.test_notify) ... ok test_notify_all (test.test_multiprocessing_fork.test_threads.WithThreadsTestCondition.test_notify_all) ... ok test_notify_n (test.test_multiprocessing_fork.test_threads.WithThreadsTestCondition.test_notify_n) ... ok test_timeout (test.test_multiprocessing_fork.test_threads.WithThreadsTestCondition.test_timeout) ... ok test_wait_result (test.test_multiprocessing_fork.test_threads.WithThreadsTestCondition.test_wait_result) ... ok test_waitfor (test.test_multiprocessing_fork.test_threads.WithThreadsTestCondition.test_waitfor) ... ok test_waitfor_timeout (test.test_multiprocessing_fork.test_threads.WithThreadsTestCondition.test_waitfor_timeout) ... ok test_connection (test.test_multiprocessing_fork.test_threads.WithThreadsTestConnection.test_connection) ... ok test_context (test.test_multiprocessing_fork.test_threads.WithThreadsTestConnection.test_context) ... ok test_duplex_false (test.test_multiprocessing_fork.test_threads.WithThreadsTestConnection.test_duplex_false) ... ok test_fd_transfer (test.test_multiprocessing_fork.test_threads.WithThreadsTestConnection.test_fd_transfer) ... skipped 'only makes sense with processes' test_large_fd_transfer (test.test_multiprocessing_fork.test_threads.WithThreadsTestConnection.test_large_fd_transfer) ... skipped 'only makes sense with processes' test_missing_fd_transfer (test.test_multiprocessing_fork.test_threads.WithThreadsTestConnection.test_missing_fd_transfer) ... skipped 'only makes sense with processes' test_sendbytes (test.test_multiprocessing_fork.test_threads.WithThreadsTestConnection.test_sendbytes) ... skipped 'test not appropriate for threads' test_spawn_close (test.test_multiprocessing_fork.test_threads.WithThreadsTestConnection.test_spawn_close) ... ok test_event (test.test_multiprocessing_fork.test_threads.WithThreadsTestEvent.test_event) ... ok test_repr (test.test_multiprocessing_fork.test_threads.WithThreadsTestEvent.test_repr) ... ok test_issue14725 (test.test_multiprocessing_fork.test_threads.WithThreadsTestListenerClient.test_issue14725) ... ok test_issue16955 (test.test_multiprocessing_fork.test_threads.WithThreadsTestListenerClient.test_issue16955) ... ok test_listener_client (test.test_multiprocessing_fork.test_threads.WithThreadsTestListenerClient.test_listener_client) ... ok test_lock (test.test_multiprocessing_fork.test_threads.WithThreadsTestLock.test_lock) ... ok test_lock_context (test.test_multiprocessing_fork.test_threads.WithThreadsTestLock.test_lock_context) ... ok test_repr_lock (test.test_multiprocessing_fork.test_threads.WithThreadsTestLock.test_repr_lock) ... skipped 'test not appropriate for threads' test_repr_rlock (test.test_multiprocessing_fork.test_threads.WithThreadsTestLock.test_repr_rlock) ... skipped 'test not appropriate for threads' test_rlock (test.test_multiprocessing_fork.test_threads.WithThreadsTestLock.test_rlock) ... ok test_rapid_restart (test.test_multiprocessing_fork.test_threads.WithThreadsTestManagerRestart.test_rapid_restart) ... ok test_boundaries (test.test_multiprocessing_fork.test_threads.WithThreadsTestPoll.test_boundaries) ... ok test_dont_merge (test.test_multiprocessing_fork.test_threads.WithThreadsTestPoll.test_dont_merge) ... ok test_empty_string (test.test_multiprocessing_fork.test_threads.WithThreadsTestPoll.test_empty_string) ... ok test_strings (test.test_multiprocessing_fork.test_threads.WithThreadsTestPoll.test_strings) ... ok test_apply (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_apply) ... ok test_async (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_async) ... ok test_async_timeout (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_async_timeout) ... ok test_context (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_context) ... ok test_empty_iterable (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_empty_iterable) ... ok test_enter (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_enter) ... ok test_imap (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_imap) ... ok test_imap_handle_iterable_exception (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_imap_handle_iterable_exception) ... ok test_imap_unordered (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_imap_unordered) ... ok test_imap_unordered_handle_iterable_exception (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_imap_unordered_handle_iterable_exception) ... ok test_make_pool (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_make_pool) ... ok test_map (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_map) ... ok test_map_async (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_map_async) ... ok test_map_async_callbacks (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_map_async_callbacks) ... ok test_map_chunksize (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_map_chunksize) ... ok test_map_handle_iterable_exception (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_map_handle_iterable_exception) ... ok test_map_no_failfast (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_map_no_failfast) ... ok test_map_unplicklable (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_map_unplicklable) ... skipped 'test not appropriate for threads' test_release_task_refs (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_release_task_refs) ... ok test_resource_warning (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_resource_warning) ... ok test_starmap (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_starmap) ... ok test_starmap_async (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_starmap_async) ... ok test_terminate (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_terminate) ... ok test_traceback (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_traceback) ... ok test_wrapped_exception (test.test_multiprocessing_fork.test_threads.WithThreadsTestPool.test_wrapped_exception) ... ok test_active_children (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_active_children) ... ok test_args_argument (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_args_argument) ... skipped "resource 'cpu' is not enabled" test_child_fd_inflation (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_child_fd_inflation) ... skipped 'test not appropriate for threads' test_close (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_close) ... skipped 'test not appropriate for threads' test_cpu_count (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_cpu_count) ... ok test_current (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_current) ... skipped 'test not appropriate for threads' test_daemon_argument (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_daemon_argument) ... skipped 'test not appropriate for threads' test_error_on_stdio_flush_1 (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_error_on_stdio_flush_1) ... ok test_error_on_stdio_flush_2 (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_error_on_stdio_flush_2) ... ok test_forkserver_sigint (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_forkserver_sigint) ... skipped 'test not appropriate for threads' test_forkserver_sigkill (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_forkserver_sigkill) ... skipped 'test not appropriate for threads' test_kill (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_kill) ... skipped 'test not appropriate for threads' test_lose_target_ref (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_lose_target_ref) ... ok test_many_processes (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_many_processes) ... skipped "resource 'walltime' is not enabled" test_parent_process (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_parent_process) ... skipped 'test not appropriate for threads' test_parent_process_attributes (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_parent_process_attributes) ... skipped 'test not appropriate for threads' test_process (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_process) ... ok test_process_mainthread_native_id (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_process_mainthread_native_id) ... skipped 'test not appropriate for threads' test_recursion (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_recursion) ... ok test_sentinel (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_sentinel) ... skipped 'test not appropriate for threads' test_set_executable (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_set_executable) ... skipped 'test not appropriate for threads' test_terminate (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_terminate) ... skipped 'test not appropriate for threads' test_wait_for_threads (test.test_multiprocessing_fork.test_threads.WithThreadsTestProcess.test_wait_for_threads) ... skipped 'test not appropriate for threads' test_closed_queue_empty_exceptions (test.test_multiprocessing_fork.test_threads.WithThreadsTestQueue.test_closed_queue_empty_exceptions) ... ok test_closed_queue_put_get_exceptions (test.test_multiprocessing_fork.test_threads.WithThreadsTestQueue.test_closed_queue_put_get_exceptions) ... ok test_fork (test.test_multiprocessing_fork.test_threads.WithThreadsTestQueue.test_fork) ... ok test_get (test.test_multiprocessing_fork.test_threads.WithThreadsTestQueue.test_get) ... ok test_no_import_lock_contention (test.test_multiprocessing_fork.test_threads.WithThreadsTestQueue.test_no_import_lock_contention) ... ok test_put (test.test_multiprocessing_fork.test_threads.WithThreadsTestQueue.test_put) ... ok test_qsize (test.test_multiprocessing_fork.test_threads.WithThreadsTestQueue.test_qsize) ... ok test_queue_feeder_donot_stop_onexc (test.test_multiprocessing_fork.test_threads.WithThreadsTestQueue.test_queue_feeder_donot_stop_onexc) ... skipped 'test not appropriate for threads' test_queue_feeder_on_queue_feeder_error (test.test_multiprocessing_fork.test_threads.WithThreadsTestQueue.test_queue_feeder_on_queue_feeder_error) ... skipped 'test not appropriate for threads' test_task_done (test.test_multiprocessing_fork.test_threads.WithThreadsTestQueue.test_task_done) ... ok test_timeout (test.test_multiprocessing_fork.test_threads.WithThreadsTestQueue.test_timeout) ... ok test_bounded_semaphore (test.test_multiprocessing_fork.test_threads.WithThreadsTestSemaphore.test_bounded_semaphore) ... ok test_semaphore (test.test_multiprocessing_fork.test_threads.WithThreadsTestSemaphore.test_semaphore) ... ok test_timeout (test.test_multiprocessing_fork.test_threads.WithThreadsTestSemaphore.test_timeout) ... skipped 'test not appropriate for threads' ---------------------------------------------------------------------- Ran 103 tests in 14.558s OK (skipped=26) 0:00:59 load avg: 1.32 [4/4/2] test_multiprocessing_fork.test_threads passed == Tests result: FAILURE == 2 tests failed: test_multiprocessing_fork.test_manager test_multiprocessing_fork.test_processes 2 tests OK. Total duration: 59.7 sec Total tests: run=395 failures=2 skipped=52 Total test files: run=4/4 failed=2 Result: FAILURE test test_multiprocessing_fork.test_manager failed /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:320: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d ' Warning -- Dangling threads: {<Thread(QueueFeederThread, started daemon 140215935792896)>} test test_multiprocessing_fork.test_processes failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1762905æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3000830389 0:00:00 load avg: 1.32 Run 4 tests sequentially in a single process 0:00:00 load avg: 1.32 [1/4] test_multiprocessing_forkserver.test_manager test_abort (test.test_multiprocessing_forkserver.test_manager.WithManagerTestBarrier.test_abort) Test that an abort will put the barrier in a broken state ... ok test_abort_and_reset (test.test_multiprocessing_forkserver.test_manager.WithManagerTestBarrier.test_abort_and_reset) Test that a barrier can be reset after being broken. ... ok test_action (test.test_multiprocessing_forkserver.test_manager.WithManagerTestBarrier.test_action) Test the 'action' callback ... ok test_barrier (test.test_multiprocessing_forkserver.test_manager.WithManagerTestBarrier.test_barrier) Test that a barrier is passed in lockstep ... ok test_barrier_10 (test.test_multiprocessing_forkserver.test_manager.WithManagerTestBarrier.test_barrier_10) Test that a barrier works for 10 consecutive runs ... ok test_default_timeout (test.test_multiprocessing_forkserver.test_manager.WithManagerTestBarrier.test_default_timeout) Test the barrier's default timeout ... ok test_reset (test.test_multiprocessing_forkserver.test_manager.WithManagerTestBarrier.test_reset) Test that a 'reset' on a barrier frees the waiting threads ... ok test_single_thread (test.test_multiprocessing_forkserver.test_manager.WithManagerTestBarrier.test_single_thread) ... ok test_thousand (test.test_multiprocessing_forkserver.test_manager.WithManagerTestBarrier.test_thousand) ... skipped 'test not appropriate for manager' test_timeout (test.test_multiprocessing_forkserver.test_manager.WithManagerTestBarrier.test_timeout) Test wait(timeout) ... ok test_wait_return (test.test_multiprocessing_forkserver.test_manager.WithManagerTestBarrier.test_wait_return) test the return value from barrier.wait ... ok test_notify (test.test_multiprocessing_forkserver.test_manager.WithManagerTestCondition.test_notify) ... ok test_notify_all (test.test_multiprocessing_forkserver.test_manager.WithManagerTestCondition.test_notify_all) ... ok test_notify_n (test.test_multiprocessing_forkserver.test_manager.WithManagerTestCondition.test_notify_n) ... ok test_timeout (test.test_multiprocessing_forkserver.test_manager.WithManagerTestCondition.test_timeout) ... ok test_wait_result (test.test_multiprocessing_forkserver.test_manager.WithManagerTestCondition.test_wait_result) ... ok test_waitfor (test.test_multiprocessing_forkserver.test_manager.WithManagerTestCondition.test_waitfor) ... ok test_waitfor_timeout (test.test_multiprocessing_forkserver.test_manager.WithManagerTestCondition.test_waitfor_timeout) ... ok test_dict (test.test_multiprocessing_forkserver.test_manager.WithManagerTestContainers.test_dict) ... ok test_dict_iter (test.test_multiprocessing_forkserver.test_manager.WithManagerTestContainers.test_dict_iter) ... ok test_dict_proxy_nested (test.test_multiprocessing_forkserver.test_manager.WithManagerTestContainers.test_dict_proxy_nested) ... ok test_list (test.test_multiprocessing_forkserver.test_manager.WithManagerTestContainers.test_list) ... ok test_list_iter (test.test_multiprocessing_forkserver.test_manager.WithManagerTestContainers.test_list_iter) ... ok test_list_proxy_in_list (test.test_multiprocessing_forkserver.test_manager.WithManagerTestContainers.test_list_proxy_in_list) ... ok test_namespace (test.test_multiprocessing_forkserver.test_manager.WithManagerTestContainers.test_namespace) ... ok test_nested_queue (test.test_multiprocessing_forkserver.test_manager.WithManagerTestContainers.test_nested_queue) ... ok test_event (test.test_multiprocessing_forkserver.test_manager.WithManagerTestEvent.test_event) ... ok test_repr (test.test_multiprocessing_forkserver.test_manager.WithManagerTestEvent.test_repr) ... ok test_lock (test.test_multiprocessing_forkserver.test_manager.WithManagerTestLock.test_lock) ... ok test_lock_context (test.test_multiprocessing_forkserver.test_manager.WithManagerTestLock.test_lock_context) ... ok test_repr_lock (test.test_multiprocessing_forkserver.test_manager.WithManagerTestLock.test_repr_lock) ... skipped 'test not appropriate for manager' test_repr_rlock (test.test_multiprocessing_forkserver.test_manager.WithManagerTestLock.test_repr_rlock) ... skipped 'test not appropriate for manager' test_rlock (test.test_multiprocessing_forkserver.test_manager.WithManagerTestLock.test_rlock) ... ok test_rapid_restart (test.test_multiprocessing_forkserver.test_manager.WithManagerTestManagerRestart.test_rapid_restart) ... ok test_mymanager (test.test_multiprocessing_forkserver.test_manager.WithManagerTestMyManager.test_mymanager) ... ok test_mymanager_context (test.test_multiprocessing_forkserver.test_manager.WithManagerTestMyManager.test_mymanager_context) ... ok test_mymanager_context_prestarted (test.test_multiprocessing_forkserver.test_manager.WithManagerTestMyManager.test_mymanager_context_prestarted) ... ok test_apply (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_apply) ... ok test_async (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_async) ... ok test_async_timeout (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_async_timeout) ... ok test_context (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_context) ... ok test_empty_iterable (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_empty_iterable) ... ok test_enter (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_enter) ... skipped 'test not applicable to manager' test_imap (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_imap) ... ok test_imap_handle_iterable_exception (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_imap_handle_iterable_exception) ... skipped 'test not appropriate for manager' test_imap_unordered (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_imap_unordered) ... ok test_imap_unordered_handle_iterable_exception (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_imap_unordered_handle_iterable_exception) ... skipped 'test not appropriate for manager' test_make_pool (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_make_pool) ... ok test_map (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_map) ... ok test_map_async (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_map_async) ... ok test_map_async_callbacks (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_map_async_callbacks) ... ok test_map_chunksize (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_map_chunksize) ... ok test_map_handle_iterable_exception (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_map_handle_iterable_exception) ... skipped 'test not appropriate for manager' test_map_no_failfast (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_map_no_failfast) ... ok test_map_unplicklable (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_map_unplicklable) ... ok test_release_task_refs (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_release_task_refs) ... ok test_resource_warning (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_resource_warning) ... skipped 'test not applicable to manager' test_starmap (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_starmap) ... ok test_starmap_async (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_starmap_async) ... ok test_terminate (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_terminate) ... ok test_traceback (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_traceback) ... ok test_wrapped_exception (test.test_multiprocessing_forkserver.test_manager.WithManagerTestPool.test_wrapped_exception) ... ok test_closed_queue_empty_exceptions (test.test_multiprocessing_forkserver.test_manager.WithManagerTestQueue.test_closed_queue_empty_exceptions) ... ok test_closed_queue_put_get_exceptions (test.test_multiprocessing_forkserver.test_manager.WithManagerTestQueue.test_closed_queue_put_get_exceptions) ... ok test_fork (test.test_multiprocessing_forkserver.test_manager.WithManagerTestQueue.test_fork) ... ok test_get (test.test_multiprocessing_forkserver.test_manager.WithManagerTestQueue.test_get) ... ok test_no_import_lock_contention (test.test_multiprocessing_forkserver.test_manager.WithManagerTestQueue.test_no_import_lock_contention) ... ok test_put (test.test_multiprocessing_forkserver.test_manager.WithManagerTestQueue.test_put) ... ok test_qsize (test.test_multiprocessing_forkserver.test_manager.WithManagerTestQueue.test_qsize) ... ok test_queue_feeder_donot_stop_onexc (test.test_multiprocessing_forkserver.test_manager.WithManagerTestQueue.test_queue_feeder_donot_stop_onexc) ... skipped 'test not appropriate for manager' test_queue_feeder_on_queue_feeder_error (test.test_multiprocessing_forkserver.test_manager.WithManagerTestQueue.test_queue_feeder_on_queue_feeder_error) ... skipped 'test not appropriate for manager' test_task_done (test.test_multiprocessing_forkserver.test_manager.WithManagerTestQueue.test_task_done) ... ok test_timeout (test.test_multiprocessing_forkserver.test_manager.WithManagerTestQueue.test_timeout) ... ok test_remote (test.test_multiprocessing_forkserver.test_manager.WithManagerTestRemoteManager.test_remote) ... FAIL test_bounded_semaphore (test.test_multiprocessing_forkserver.test_manager.WithManagerTestSemaphore.test_bounded_semaphore) ... ok test_semaphore (test.test_multiprocessing_forkserver.test_manager.WithManagerTestSemaphore.test_semaphore) ... ok test_timeout (test.test_multiprocessing_forkserver.test_manager.WithManagerTestSemaphore.test_timeout) ... skipped 'test not appropriate for manager' ====================================================================== FAIL: test_remote (test.test_multiprocessing_forkserver.test_manager.WithManagerTestRemoteManager.test_remote) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/_test_multiprocessing.py", line 3275, in test_remote self.assertRaises(Exception, queue.put, time.sleep) ^^^^^^^^^^^^ AssertionError: Exception not raised by put ---------------------------------------------------------------------- Ran 77 tests in 16.711s FAILED (failures=1, skipped=11) 0:00:16 load avg: 1.25 [1/4/1] test_multiprocessing_forkserver.test_manager failed (1 failure) 0:00:16 load avg: 1.25 [2/4/1] test_multiprocessing_forkserver.test_misc test_challengeresponse (test.test_multiprocessing_forkserver.test_misc.ChallengeResponseTest.test_challengeresponse) ... ok test__all__ (test.test_multiprocessing_forkserver.test_misc.MiscTestCase.test__all__) ... ok test_spawn_sys_executable_none_allows_import (test.test_multiprocessing_forkserver.test_misc.MiscTestCase.test_spawn_sys_executable_none_allows_import) ... skipped "start_method='forkserver', not 'spawn'; avoids redundant testing." test_answer_challenge_auth_failure (test.test_multiprocessing_forkserver.test_misc.OtherTest.test_answer_challenge_auth_failure) ... ok test_deliver_challenge_auth_failure (test.test_multiprocessing_forkserver.test_misc.OtherTest.test_deliver_challenge_auth_failure) ... ok test_semlock_subclass (test.test_multiprocessing_forkserver.test_misc.SemLockTests.test_semlock_subclass) ... ok test_closefd (test.test_multiprocessing_forkserver.test_misc.TestCloseFds.test_closefd) ... ok test_flags (test.test_multiprocessing_forkserver.test_misc.TestFlags.test_flags) ... ok test_lock (test.test_multiprocessing_forkserver.test_misc.TestForkAwareThreadLock.test_lock) ... ok test_ignore (test.test_multiprocessing_forkserver.test_misc.TestIgnoreEINTR.test_ignore) ... ok test_ignore_listener (test.test_multiprocessing_forkserver.test_misc.TestIgnoreEINTR.test_ignore_listener) ... ok test_manager_initializer (test.test_multiprocessing_forkserver.test_misc.TestInitializers.test_manager_initializer) ... ok test_pool_initializer (test.test_multiprocessing_forkserver.test_misc.TestInitializers.test_pool_initializer) ... ok test_only_run_in_spawn_testsuite (test.test_multiprocessing_forkserver.test_misc.TestInternalDecorators.test_only_run_in_spawn_testsuite) ... skipped 'only run in test_multiprocessing_spawn.' test_invalid_family (test.test_multiprocessing_forkserver.test_misc.TestInvalidFamily.test_invalid_family) ... ok test_invalid_family_win32 (test.test_multiprocessing_forkserver.test_misc.TestInvalidFamily.test_invalid_family_win32) ... skipped 'skipped on non-Windows platforms' test_invalid_handles (test.test_multiprocessing_forkserver.test_misc.TestInvalidHandle.test_invalid_handles) ... ok test_global_named_resource_spawn (test.test_multiprocessing_forkserver.test_misc.TestNamedResource.test_global_named_resource_spawn) ... skipped "start_method='forkserver', not 'spawn'; spawn specific test." test_noforkbomb (test.test_multiprocessing_forkserver.test_misc.TestNoForkBomb.test_noforkbomb) ... ok test_release_unused_processes (test.test_multiprocessing_forkserver.test_misc.TestPoolNotLeakOnFailure.test_release_unused_processes) ... ok test_resource_tracker (test.test_multiprocessing_forkserver.test_misc.TestResourceTracker.test_resource_tracker) ... ok test_resource_tracker_blocked_signals (test.test_multiprocessing_forkserver.test_misc.TestResourceTracker.test_resource_tracker_blocked_signals) ... ok test_resource_tracker_reused (test.test_multiprocessing_forkserver.test_misc.TestResourceTracker.test_resource_tracker_reused) ... ok test_resource_tracker_sigint (test.test_multiprocessing_forkserver.test_misc.TestResourceTracker.test_resource_tracker_sigint) ... ok test_resource_tracker_sigkill (test.test_multiprocessing_forkserver.test_misc.TestResourceTracker.test_resource_tracker_sigkill) ... ok test_resource_tracker_sigterm (test.test_multiprocessing_forkserver.test_misc.TestResourceTracker.test_resource_tracker_sigterm) ... ok test_too_long_name_resource (test.test_multiprocessing_forkserver.test_misc.TestResourceTracker.test_too_long_name_resource) ... ok test_close (test.test_multiprocessing_forkserver.test_misc.TestSimpleQueue.test_close) ... ok test_closed (test.test_multiprocessing_forkserver.test_misc.TestSimpleQueue.test_closed) ... skipped 'implementation detail specific to cpython' test_empty (test.test_multiprocessing_forkserver.test_misc.TestSimpleQueue.test_empty) ... ok test_empty_exceptions (test.test_multiprocessing_forkserver.test_misc.TestSimpleQueue.test_empty_exceptions) ... ok test_context (test.test_multiprocessing_forkserver.test_misc.TestStartMethod.test_context) ... ok test_context_check_module_types (test.test_multiprocessing_forkserver.test_misc.TestStartMethod.test_context_check_module_types) ... ok test_get_all (test.test_multiprocessing_forkserver.test_misc.TestStartMethod.test_get_all) ... ok test_mixed_startmethod (test.test_multiprocessing_forkserver.test_misc.TestStartMethod.test_mixed_startmethod) ... skipped "start_method='forkserver', not 'spawn'; avoids redundant testing." test_nested_startmethod (test.test_multiprocessing_forkserver.test_misc.TestStartMethod.test_nested_startmethod) ... ok test_preload_resources (test.test_multiprocessing_forkserver.test_misc.TestStartMethod.test_preload_resources) ... ok test_set_get (test.test_multiprocessing_forkserver.test_misc.TestStartMethod.test_set_get) ... ok test_flushing (test.test_multiprocessing_forkserver.test_misc.TestStdinBadfiledescriptor.test_flushing) ... ok test_pool_in_process (test.test_multiprocessing_forkserver.test_misc.TestStdinBadfiledescriptor.test_pool_in_process) ... ok test_queue_in_process (test.test_multiprocessing_forkserver.test_misc.TestStdinBadfiledescriptor.test_queue_in_process) ... ok test_array (test.test_multiprocessing_forkserver.test_misc.TestSyncManagerTypes.test_array) ... ok test_barrier (test.test_multiprocessing_forkserver.test_misc.TestSyncManagerTypes.test_barrier) ... ok test_bounded_semaphore (test.test_multiprocessing_forkserver.test_misc.TestSyncManagerTypes.test_bounded_semaphore) ... ok test_condition (test.test_multiprocessing_forkserver.test_misc.TestSyncManagerTypes.test_condition) ... ok test_dict (test.test_multiprocessing_forkserver.test_misc.TestSyncManagerTypes.test_dict) ... ok test_event (test.test_multiprocessing_forkserver.test_misc.TestSyncManagerTypes.test_event) ... ok test_joinable_queue (test.test_multiprocessing_forkserver.test_misc.TestSyncManagerTypes.test_joinable_queue) ... ok test_list (test.test_multiprocessing_forkserver.test_misc.TestSyncManagerTypes.test_list) ... ok test_lock (test.test_multiprocessing_forkserver.test_misc.TestSyncManagerTypes.test_lock) ... ok test_namespace (test.test_multiprocessing_forkserver.test_misc.TestSyncManagerTypes.test_namespace) ... ok test_pool (test.test_multiprocessing_forkserver.test_misc.TestSyncManagerTypes.test_pool) ... ok test_queue (test.test_multiprocessing_forkserver.test_misc.TestSyncManagerTypes.test_queue) ... ok test_rlock (test.test_multiprocessing_forkserver.test_misc.TestSyncManagerTypes.test_rlock) ... ok test_semaphore (test.test_multiprocessing_forkserver.test_misc.TestSyncManagerTypes.test_semaphore) ... ok test_value (test.test_multiprocessing_forkserver.test_misc.TestSyncManagerTypes.test_value) ... ok test_timeout (test.test_multiprocessing_forkserver.test_misc.TestTimeouts.test_timeout) ... ok test_neg_timeout (test.test_multiprocessing_forkserver.test_misc.TestWait.test_neg_timeout) ... ok test_wait (test.test_multiprocessing_forkserver.test_misc.TestWait.test_wait) ... ok test_wait_integer (test.test_multiprocessing_forkserver.test_misc.TestWait.test_wait_integer) ... skipped "resource 'walltime' is not enabled" test_wait_slow (test.test_multiprocessing_forkserver.test_misc.TestWait.test_wait_slow) ... ok test_wait_socket (test.test_multiprocessing_forkserver.test_misc.TestWait.test_wait_socket) ... ok test_wait_socket_slow (test.test_multiprocessing_forkserver.test_misc.TestWait.test_wait_socket_slow) ... ok test_wait_timeout (test.test_multiprocessing_forkserver.test_misc.TestWait.test_wait_timeout) ... skipped "resource 'walltime' is not enabled" test_import (test.test_multiprocessing_forkserver.test_misc._TestImportStar.test_import) ... ok ---------------------------------------------------------------------- Ran 65 tests in 15.739s OK (skipped=8) 0:00:32 load avg: 1.32 [2/4/1] test_multiprocessing_forkserver.test_misc passed 0:00:32 load avg: 1.32 [3/4/1] test_multiprocessing_forkserver.test_processes test_array (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestArray.test_array) ... ok test_array_from_size (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestArray.test_array_from_size) ... ok test_getobj_getlock_obj (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestArray.test_getobj_getlock_obj) ... ok test_rawarray (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestArray.test_rawarray) ... ok test_abort (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestBarrier.test_abort) Test that an abort will put the barrier in a broken state ... ok test_abort_and_reset (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestBarrier.test_abort_and_reset) Test that a barrier can be reset after being broken. ... ok test_action (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestBarrier.test_action) Test the 'action' callback ... ok test_barrier (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestBarrier.test_barrier) Test that a barrier is passed in lockstep ... ok test_barrier_10 (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestBarrier.test_barrier_10) Test that a barrier works for 10 consecutive runs ... ok test_default_timeout (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestBarrier.test_default_timeout) Test the barrier's default timeout ... ok test_reset (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestBarrier.test_reset) Test that a 'reset' on a barrier frees the waiting threads ... ok test_single_thread (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestBarrier.test_single_thread) ... ok test_thousand (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestBarrier.test_thousand) ... ok test_timeout (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestBarrier.test_timeout) Test wait(timeout) ... ok test_wait_return (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestBarrier.test_wait_return) test the return value from barrier.wait ... ok test_notify (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestCondition.test_notify) ... ok test_notify_all (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestCondition.test_notify_all) ... ok test_notify_n (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestCondition.test_notify_n) ... ok test_timeout (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestCondition.test_timeout) ... ok test_wait_result (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestCondition.test_wait_result) ... ok test_waitfor (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestCondition.test_waitfor) ... ok test_waitfor_timeout (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestCondition.test_waitfor_timeout) ... ok test_connection (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestConnection.test_connection) ... ok test_context (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestConnection.test_context) ... ok test_duplex_false (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestConnection.test_duplex_false) ... ok test_fd_transfer (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestConnection.test_fd_transfer) ... ok test_large_fd_transfer (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestConnection.test_large_fd_transfer) ... ok test_missing_fd_transfer (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestConnection.test_missing_fd_transfer) ... ok test_sendbytes (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestConnection.test_sendbytes) ... ok test_spawn_close (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestConnection.test_spawn_close) ... ok test_event (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestEvent.test_event) ... ok test_repr (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestEvent.test_repr) ... ok test_finalize (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestFinalize.test_finalize) ... ok test_thread_safety (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestFinalize.test_thread_safety) ... skipped "resource 'cpu' is not enabled" test_free_from_gc (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestHeap.test_free_from_gc) ... ERROR test_heap (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestHeap.test_heap) ... FAIL test_abstract_socket (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestListener.test_abstract_socket) ... ok test_context (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestListener.test_context) ... ok test_empty_authkey (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestListener.test_empty_authkey) ... ok test_multiple_bind (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestListener.test_multiple_bind) ... ok test_issue14725 (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestListenerClient.test_issue14725) ... ok test_issue16955 (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestListenerClient.test_issue16955) ... ok test_listener_client (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestListenerClient.test_listener_client) ... ok test_lock (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestLock.test_lock) ... ok test_lock_context (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestLock.test_lock_context) ... ok test_repr_lock (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestLock.test_repr_lock) ... ok test_repr_rlock (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestLock.test_repr_rlock) ... ok test_rlock (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestLock.test_rlock) ... ok test_enable_logging (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestLogging.test_enable_logging) ... ok test_filename (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestLogging.test_filename) ... ok test_level (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestLogging.test_level) ... ok test_rapid_restart (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestManagerRestart.test_rapid_restart) ... ok test_access (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPicklingConnections.test_access) ... ok test_pickling (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPicklingConnections.test_pickling) ... ok test_boundaries (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPoll.test_boundaries) ... ok test_dont_merge (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPoll.test_dont_merge) ... ok test_empty_string (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPoll.test_empty_string) ... ok test_strings (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPoll.test_strings) ... ok test_poll_eintr (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPollEintr.test_poll_eintr) ... ok test_apply (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_apply) ... ok test_async (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_async) ... ok test_async_timeout (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_async_timeout) ... ok test_context (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_context) ... ok test_empty_iterable (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_empty_iterable) ... ok test_enter (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_enter) ... ok test_imap (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_imap) ... ok test_imap_handle_iterable_exception (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_imap_handle_iterable_exception) ... ok test_imap_unordered (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_imap_unordered) ... ok test_imap_unordered_handle_iterable_exception (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_imap_unordered_handle_iterable_exception) ... ok test_make_pool (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_make_pool) ... ok test_map (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_map) ... ok test_map_async (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_map_async) ... ok test_map_async_callbacks (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_map_async_callbacks) ... ok test_map_chunksize (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_map_chunksize) ... ok test_map_handle_iterable_exception (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_map_handle_iterable_exception) ... ok test_map_no_failfast (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_map_no_failfast) ... ok test_map_unplicklable (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_map_unplicklable) ... ok test_release_task_refs (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_release_task_refs) ... ok test_resource_warning (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_resource_warning) ... ok test_starmap (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_starmap) ... ok test_starmap_async (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_starmap_async) ... ok test_terminate (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_terminate) ... ok test_traceback (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_traceback) ... ok test_wrapped_exception (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPool.test_wrapped_exception) ... ok test_async_error_callback (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPoolWorkerErrors.test_async_error_callback) ... ok test_unpickleable_result (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPoolWorkerErrors.test_unpickleable_result) ... ok test_pool_maxtasksperchild_invalid (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPoolWorkerLifetime.test_pool_maxtasksperchild_invalid) ... ok test_pool_worker_lifetime (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPoolWorkerLifetime.test_pool_worker_lifetime) ... ok test_pool_worker_lifetime_early_close (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPoolWorkerLifetime.test_pool_worker_lifetime_early_close) ... ok test_worker_finalization_via_atexit_handler_of_multiprocessing (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestPoolWorkerLifetime.test_worker_finalization_via_atexit_handler_of_multiprocessing) ... ok test_active_children (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_active_children) ... ok test_args_argument (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_args_argument) ... skipped "resource 'cpu' is not enabled" test_child_fd_inflation (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_child_fd_inflation) ... ok test_close (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_close) ... ok test_cpu_count (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_cpu_count) ... ok test_current (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_current) ... ok test_daemon_argument (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_daemon_argument) ... ok test_error_on_stdio_flush_1 (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_error_on_stdio_flush_1) ... ok test_error_on_stdio_flush_2 (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_error_on_stdio_flush_2) ... ok test_forkserver_sigint (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_forkserver_sigint) ... ok test_forkserver_sigkill (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_forkserver_sigkill) ... ok test_kill (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_kill) ... ok test_lose_target_ref (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_lose_target_ref) ... ok test_many_processes (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_many_processes) ... skipped "resource 'walltime' is not enabled" test_parent_process (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_parent_process) ... ok test_parent_process_attributes (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_parent_process_attributes) ... ok test_process (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_process) ... ok test_process_mainthread_native_id (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_process_mainthread_native_id) ... ok test_recursion (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_recursion) ... ok test_sentinel (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_sentinel) ... ok test_set_executable (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_set_executable) ... ok test_terminate (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_terminate) ... ok test_wait_for_threads (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_wait_for_threads) ... ok test_closed_queue_empty_exceptions (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestQueue.test_closed_queue_empty_exceptions) ... ok test_closed_queue_put_get_exceptions (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestQueue.test_closed_queue_put_get_exceptions) ... ok test_fork (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestQueue.test_fork) ... ok test_get (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestQueue.test_get) ... ok test_no_import_lock_contention (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestQueue.test_no_import_lock_contention) ... ok test_put (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestQueue.test_put) ... ok test_qsize (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestQueue.test_qsize) ... ok test_queue_feeder_donot_stop_onexc (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestQueue.test_queue_feeder_donot_stop_onexc) ... ok test_queue_feeder_on_queue_feeder_error (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestQueue.test_queue_feeder_on_queue_feeder_error) ... ok test_task_done (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestQueue.test_task_done) ... ok test_timeout (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestQueue.test_timeout) ... ok test_bounded_semaphore (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSemaphore.test_bounded_semaphore) ... ok test_semaphore (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSemaphore.test_semaphore) ... ok test_timeout (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSemaphore.test_timeout) ... ok test_copy (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSharedCTypes.test_copy) ... ok test_sharedctypes (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSharedCTypes.test_sharedctypes) ... ok test_synchronize (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSharedCTypes.test_synchronize) ... ok test_invalid_shared_memory_creation (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSharedMemory.test_invalid_shared_memory_creation) ... ok test_shared_memory_ShareableList_basics (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSharedMemory.test_shared_memory_ShareableList_basics) ... ok test_shared_memory_ShareableList_pickling (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSharedMemory.test_shared_memory_ShareableList_pickling) ... ok test_shared_memory_ShareableList_pickling_dead_object (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSharedMemory.test_shared_memory_ShareableList_pickling_dead_object) ... ok test_shared_memory_SharedMemoryManager_basics (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSharedMemory.test_shared_memory_SharedMemoryManager_basics) ... ok test_shared_memory_SharedMemoryManager_reuses_resource_tracker (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSharedMemory.test_shared_memory_SharedMemoryManager_reuses_resource_tracker) ... ok test_shared_memory_SharedMemoryServer_ignores_sigint (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSharedMemory.test_shared_memory_SharedMemoryServer_ignores_sigint) ... ok test_shared_memory_across_processes (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSharedMemory.test_shared_memory_across_processes) ... ok test_shared_memory_basics (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSharedMemory.test_shared_memory_basics) ... ok test_shared_memory_cleaned_after_process_termination (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSharedMemory.test_shared_memory_cleaned_after_process_termination) ... ok test_shared_memory_name_with_embedded_null (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSharedMemory.test_shared_memory_name_with_embedded_null) ... ok test_shared_memory_pickle_unpickle (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSharedMemory.test_shared_memory_pickle_unpickle) ... ok test_shared_memory_pickle_unpickle_dead_object (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSharedMemory.test_shared_memory_pickle_unpickle_dead_object) ... ok test_shared_memory_recreate (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSharedMemory.test_shared_memory_recreate) ... ok test_child_sys_path (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSpawnedSysPath.test_child_sys_path) ... ok test_forkserver_preload_imports_sys_path (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSpawnedSysPath.test_forkserver_preload_imports_sys_path) ... ok test_stderr_flush (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSubclassingProcess.test_stderr_flush) ... ok test_subclassing (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSubclassingProcess.test_subclassing) ... ok test_sys_exit (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestSubclassingProcess.test_sys_exit) ... ok test_getobj_getlock (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestValue.test_getobj_getlock) ... ok test_rawvalue (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestValue.test_rawvalue) ... ok test_value (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestValue.test_value) ... ok ====================================================================== ERROR: test_free_from_gc (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestHeap.test_free_from_gc) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/_test_multiprocessing.py", line 4016, in test_free_from_gc thresholds = gc.get_threshold() ^^^^^^^^^^^^^ AttributeError: module 'gc' has no attribute 'get_threshold' ====================================================================== FAIL: test_heap (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestHeap.test_heap) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/_test_multiprocessing.py", line 4001, in test_heap self.assertEqual(heap._n_frees, heap._n_mallocs) ^^^^^^^^^^^ AssertionError: 0 != 5000 ---------------------------------------------------------------------- Ran 152 tests in 39.251s FAILED (failures=1, errors=1, skipped=3) 0:01:12 load avg: 1.43 [3/4/2] test_multiprocessing_forkserver.test_processes failed (1 error, 1 failure) in 39.4 sec 0:01:12 load avg: 1.43 [4/4/2] test_multiprocessing_forkserver.test_threads test_abort (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestBarrier.test_abort) Test that an abort will put the barrier in a broken state ... ok test_abort_and_reset (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestBarrier.test_abort_and_reset) Test that a barrier can be reset after being broken. ... ok test_action (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestBarrier.test_action) Test the 'action' callback ... ok test_barrier (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestBarrier.test_barrier) Test that a barrier is passed in lockstep ... ok test_barrier_10 (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestBarrier.test_barrier_10) Test that a barrier works for 10 consecutive runs ... ok test_default_timeout (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestBarrier.test_default_timeout) Test the barrier's default timeout ... ok test_reset (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestBarrier.test_reset) Test that a 'reset' on a barrier frees the waiting threads ... ok test_single_thread (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestBarrier.test_single_thread) ... ok test_thousand (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestBarrier.test_thousand) ... ok test_timeout (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestBarrier.test_timeout) Test wait(timeout) ... ok test_wait_return (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestBarrier.test_wait_return) test the return value from barrier.wait ... ok test_notify (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestCondition.test_notify) ... ok test_notify_all (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestCondition.test_notify_all) ... ok test_notify_n (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestCondition.test_notify_n) ... ok test_timeout (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestCondition.test_timeout) ... ok test_wait_result (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestCondition.test_wait_result) ... ok test_waitfor (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestCondition.test_waitfor) ... ok test_waitfor_timeout (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestCondition.test_waitfor_timeout) ... ok test_connection (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestConnection.test_connection) ... ok test_context (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestConnection.test_context) ... ok test_duplex_false (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestConnection.test_duplex_false) ... ok test_fd_transfer (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestConnection.test_fd_transfer) ... skipped 'only makes sense with processes' test_large_fd_transfer (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestConnection.test_large_fd_transfer) ... skipped 'only makes sense with processes' test_missing_fd_transfer (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestConnection.test_missing_fd_transfer) ... skipped 'only makes sense with processes' test_sendbytes (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestConnection.test_sendbytes) ... skipped 'test not appropriate for threads' test_spawn_close (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestConnection.test_spawn_close) ... ok test_event (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestEvent.test_event) ... ok test_repr (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestEvent.test_repr) ... ok test_issue14725 (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestListenerClient.test_issue14725) ... ok test_issue16955 (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestListenerClient.test_issue16955) ... ok test_listener_client (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestListenerClient.test_listener_client) ... ok test_lock (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestLock.test_lock) ... ok test_lock_context (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestLock.test_lock_context) ... ok test_repr_lock (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestLock.test_repr_lock) ... skipped 'test not appropriate for threads' test_repr_rlock (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestLock.test_repr_rlock) ... skipped 'test not appropriate for threads' test_rlock (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestLock.test_rlock) ... ok test_rapid_restart (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestManagerRestart.test_rapid_restart) ... ok test_boundaries (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPoll.test_boundaries) ... ok test_dont_merge (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPoll.test_dont_merge) ... ok test_empty_string (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPoll.test_empty_string) ... ok test_strings (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPoll.test_strings) ... ok test_apply (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_apply) ... ok test_async (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_async) ... ok test_async_timeout (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_async_timeout) ... ok test_context (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_context) ... ok test_empty_iterable (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_empty_iterable) ... ok test_enter (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_enter) ... ok test_imap (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_imap) ... ok test_imap_handle_iterable_exception (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_imap_handle_iterable_exception) ... ok test_imap_unordered (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_imap_unordered) ... ok test_imap_unordered_handle_iterable_exception (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_imap_unordered_handle_iterable_exception) ... ok test_make_pool (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_make_pool) ... ok test_map (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_map) ... ok test_map_async (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_map_async) ... ok test_map_async_callbacks (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_map_async_callbacks) ... ok test_map_chunksize (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_map_chunksize) ... ok test_map_handle_iterable_exception (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_map_handle_iterable_exception) ... ok test_map_no_failfast (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_map_no_failfast) ... ok test_map_unplicklable (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_map_unplicklable) ... skipped 'test not appropriate for threads' test_release_task_refs (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_release_task_refs) ... ok test_resource_warning (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_resource_warning) ... ok test_starmap (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_starmap) ... ok test_starmap_async (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_starmap_async) ... ok test_terminate (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_terminate) ... ok test_traceback (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_traceback) ... ok test_wrapped_exception (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestPool.test_wrapped_exception) ... ok test_active_children (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_active_children) ... ok test_args_argument (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_args_argument) ... skipped "resource 'cpu' is not enabled" test_child_fd_inflation (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_child_fd_inflation) ... skipped 'test not appropriate for threads' test_close (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_close) ... skipped 'test not appropriate for threads' test_cpu_count (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_cpu_count) ... ok test_current (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_current) ... skipped 'test not appropriate for threads' test_daemon_argument (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_daemon_argument) ... skipped 'test not appropriate for threads' test_error_on_stdio_flush_1 (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_error_on_stdio_flush_1) ... ok test_error_on_stdio_flush_2 (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_error_on_stdio_flush_2) ... ok test_forkserver_sigint (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_forkserver_sigint) ... skipped 'test not appropriate for threads' test_forkserver_sigkill (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_forkserver_sigkill) ... skipped 'test not appropriate for threads' test_kill (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_kill) ... skipped 'test not appropriate for threads' test_lose_target_ref (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_lose_target_ref) ... ok test_many_processes (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_many_processes) ... skipped "resource 'walltime' is not enabled" test_parent_process (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_parent_process) ... skipped 'test not appropriate for threads' test_parent_process_attributes (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_parent_process_attributes) ... skipped 'test not appropriate for threads' test_process (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_process) ... ok test_process_mainthread_native_id (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_process_mainthread_native_id) ... skipped 'test not appropriate for threads' test_recursion (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_recursion) ... ok test_sentinel (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_sentinel) ... skipped 'test not appropriate for threads' test_set_executable (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_set_executable) ... skipped 'test not appropriate for threads' test_terminate (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_terminate) ... skipped 'test not appropriate for threads' test_wait_for_threads (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestProcess.test_wait_for_threads) ... skipped 'test not appropriate for threads' test_closed_queue_empty_exceptions (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestQueue.test_closed_queue_empty_exceptions) ... ok test_closed_queue_put_get_exceptions (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestQueue.test_closed_queue_put_get_exceptions) ... ok test_fork (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestQueue.test_fork) ... ok test_get (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestQueue.test_get) ... ok test_no_import_lock_contention (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestQueue.test_no_import_lock_contention) ... ok test_put (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestQueue.test_put) ... ok test_qsize (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestQueue.test_qsize) ... ok test_queue_feeder_donot_stop_onexc (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestQueue.test_queue_feeder_donot_stop_onexc) ... skipped 'test not appropriate for threads' test_queue_feeder_on_queue_feeder_error (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestQueue.test_queue_feeder_on_queue_feeder_error) ... skipped 'test not appropriate for threads' test_task_done (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestQueue.test_task_done) ... ok test_timeout (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestQueue.test_timeout) ... ok test_bounded_semaphore (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestSemaphore.test_bounded_semaphore) ... ok test_semaphore (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestSemaphore.test_semaphore) ... ok test_timeout (test.test_multiprocessing_forkserver.test_threads.WithThreadsTestSemaphore.test_timeout) ... skipped 'test not appropriate for threads' ---------------------------------------------------------------------- Ran 103 tests in 15.144s OK (skipped=26) 0:01:27 load avg: 1.45 [4/4/2] test_multiprocessing_forkserver.test_threads passed == Tests result: FAILURE == 2 tests failed: test_multiprocessing_forkserver.test_manager test_multiprocessing_forkserver.test_processes 2 tests OK. Total duration: 1 min 27 sec Total tests: run=397 failures=2 skipped=48 Total test files: run=4/4 failed=2 Result: FAILURE /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:320: UserWarning: resource_tracker: There appear to be 65 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d ' test test_multiprocessing_forkserver.test_manager failed /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:320: UserWarning: resource_tracker: There appear to be 40 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d ' Warning -- Dangling threads: {<Thread(QueueFeederThread, started daemon 140652082317056)>} /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:320: UserWarning: resource_tracker: There appear to be 138 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d ' /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/mp-1c_pc9de': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/mp-vspzcmk_': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) test test_multiprocessing_forkserver.test_processes failed /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:320: UserWarning: resource_tracker: There appear to be 2 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d ' /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:320: UserWarning: resource_tracker: There appear to be 15 leaked shared_memory objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d ' /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_606dfd05': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_a5aac1ee': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_9c5b33a2': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_30992016': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_e50da640': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_98362a19': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_8c3caba0': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_a115263d': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_5984812b': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_6fc2a660': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_b8df9444': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_d49a2d24': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_9ff0e213': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_de68d0f8': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_deaf9cb5': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1765136æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 3518244787 0:00:00 load avg: 1.45 Run 4 tests sequentially in a single process 0:00:00 load avg: 1.45 [1/4] test_multiprocessing_spawn.test_manager test_abort (test.test_multiprocessing_spawn.test_manager.WithManagerTestBarrier.test_abort) Test that an abort will put the barrier in a broken state ... ok test_abort_and_reset (test.test_multiprocessing_spawn.test_manager.WithManagerTestBarrier.test_abort_and_reset) Test that a barrier can be reset after being broken. ... ok test_action (test.test_multiprocessing_spawn.test_manager.WithManagerTestBarrier.test_action) Test the 'action' callback ... ok test_barrier (test.test_multiprocessing_spawn.test_manager.WithManagerTestBarrier.test_barrier) Test that a barrier is passed in lockstep ... ok test_barrier_10 (test.test_multiprocessing_spawn.test_manager.WithManagerTestBarrier.test_barrier_10) Test that a barrier works for 10 consecutive runs ... ok test_default_timeout (test.test_multiprocessing_spawn.test_manager.WithManagerTestBarrier.test_default_timeout) Test the barrier's default timeout ... ok test_reset (test.test_multiprocessing_spawn.test_manager.WithManagerTestBarrier.test_reset) Test that a 'reset' on a barrier frees the waiting threads ... ok test_single_thread (test.test_multiprocessing_spawn.test_manager.WithManagerTestBarrier.test_single_thread) ... ok test_thousand (test.test_multiprocessing_spawn.test_manager.WithManagerTestBarrier.test_thousand) ... skipped 'test not appropriate for manager' test_timeout (test.test_multiprocessing_spawn.test_manager.WithManagerTestBarrier.test_timeout) Test wait(timeout) ... ok test_wait_return (test.test_multiprocessing_spawn.test_manager.WithManagerTestBarrier.test_wait_return) test the return value from barrier.wait ... ok test_notify (test.test_multiprocessing_spawn.test_manager.WithManagerTestCondition.test_notify) ... ok test_notify_all (test.test_multiprocessing_spawn.test_manager.WithManagerTestCondition.test_notify_all) ... ok test_notify_n (test.test_multiprocessing_spawn.test_manager.WithManagerTestCondition.test_notify_n) ... ok test_timeout (test.test_multiprocessing_spawn.test_manager.WithManagerTestCondition.test_timeout) ... ok test_wait_result (test.test_multiprocessing_spawn.test_manager.WithManagerTestCondition.test_wait_result) ... ok test_waitfor (test.test_multiprocessing_spawn.test_manager.WithManagerTestCondition.test_waitfor) ... ok test_waitfor_timeout (test.test_multiprocessing_spawn.test_manager.WithManagerTestCondition.test_waitfor_timeout) ... ok test_dict (test.test_multiprocessing_spawn.test_manager.WithManagerTestContainers.test_dict) ... ok test_dict_iter (test.test_multiprocessing_spawn.test_manager.WithManagerTestContainers.test_dict_iter) ... ok test_dict_proxy_nested (test.test_multiprocessing_spawn.test_manager.WithManagerTestContainers.test_dict_proxy_nested) ... ok test_list (test.test_multiprocessing_spawn.test_manager.WithManagerTestContainers.test_list) ... ok test_list_iter (test.test_multiprocessing_spawn.test_manager.WithManagerTestContainers.test_list_iter) ... ok test_list_proxy_in_list (test.test_multiprocessing_spawn.test_manager.WithManagerTestContainers.test_list_proxy_in_list) ... ok test_namespace (test.test_multiprocessing_spawn.test_manager.WithManagerTestContainers.test_namespace) ... ok test_nested_queue (test.test_multiprocessing_spawn.test_manager.WithManagerTestContainers.test_nested_queue) ... ok test_event (test.test_multiprocessing_spawn.test_manager.WithManagerTestEvent.test_event) ... ok test_repr (test.test_multiprocessing_spawn.test_manager.WithManagerTestEvent.test_repr) ... ok test_lock (test.test_multiprocessing_spawn.test_manager.WithManagerTestLock.test_lock) ... ok test_lock_context (test.test_multiprocessing_spawn.test_manager.WithManagerTestLock.test_lock_context) ... ok test_repr_lock (test.test_multiprocessing_spawn.test_manager.WithManagerTestLock.test_repr_lock) ... skipped 'test not appropriate for manager' test_repr_rlock (test.test_multiprocessing_spawn.test_manager.WithManagerTestLock.test_repr_rlock) ... skipped 'test not appropriate for manager' test_rlock (test.test_multiprocessing_spawn.test_manager.WithManagerTestLock.test_rlock) ... ok test_rapid_restart (test.test_multiprocessing_spawn.test_manager.WithManagerTestManagerRestart.test_rapid_restart) ... ok test_mymanager (test.test_multiprocessing_spawn.test_manager.WithManagerTestMyManager.test_mymanager) ... ok test_mymanager_context (test.test_multiprocessing_spawn.test_manager.WithManagerTestMyManager.test_mymanager_context) ... ok test_mymanager_context_prestarted (test.test_multiprocessing_spawn.test_manager.WithManagerTestMyManager.test_mymanager_context_prestarted) ... ok test_apply (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_apply) ... ok test_async (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_async) ... ok test_async_timeout (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_async_timeout) ... ok test_context (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_context) ... ok test_empty_iterable (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_empty_iterable) ... ok test_enter (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_enter) ... skipped 'test not applicable to manager' test_imap (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_imap) ... ok test_imap_handle_iterable_exception (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_imap_handle_iterable_exception) ... skipped 'test not appropriate for manager' test_imap_unordered (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_imap_unordered) ... ok test_imap_unordered_handle_iterable_exception (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_imap_unordered_handle_iterable_exception) ... skipped 'test not appropriate for manager' test_make_pool (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_make_pool) ... ok test_map (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_map) ... ok test_map_async (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_map_async) ... ok test_map_async_callbacks (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_map_async_callbacks) ... ok test_map_chunksize (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_map_chunksize) ... ok test_map_handle_iterable_exception (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_map_handle_iterable_exception) ... skipped 'test not appropriate for manager' test_map_no_failfast (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_map_no_failfast) ... ok test_map_unplicklable (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_map_unplicklable) ... ok test_release_task_refs (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_release_task_refs) ... ok test_resource_warning (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_resource_warning) ... skipped 'test not applicable to manager' test_starmap (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_starmap) ... ok test_starmap_async (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_starmap_async) ... ok test_terminate (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_terminate) ... ok test_traceback (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_traceback) ... ok test_wrapped_exception (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool.test_wrapped_exception) ... ok test_closed_queue_empty_exceptions (test.test_multiprocessing_spawn.test_manager.WithManagerTestQueue.test_closed_queue_empty_exceptions) ... ok test_closed_queue_put_get_exceptions (test.test_multiprocessing_spawn.test_manager.WithManagerTestQueue.test_closed_queue_put_get_exceptions) ... ok test_fork (test.test_multiprocessing_spawn.test_manager.WithManagerTestQueue.test_fork) ... ok test_get (test.test_multiprocessing_spawn.test_manager.WithManagerTestQueue.test_get) ... ok test_no_import_lock_contention (test.test_multiprocessing_spawn.test_manager.WithManagerTestQueue.test_no_import_lock_contention) ... ok test_put (test.test_multiprocessing_spawn.test_manager.WithManagerTestQueue.test_put) ... ok test_qsize (test.test_multiprocessing_spawn.test_manager.WithManagerTestQueue.test_qsize) ... ok test_queue_feeder_donot_stop_onexc (test.test_multiprocessing_spawn.test_manager.WithManagerTestQueue.test_queue_feeder_donot_stop_onexc) ... skipped 'test not appropriate for manager' test_queue_feeder_on_queue_feeder_error (test.test_multiprocessing_spawn.test_manager.WithManagerTestQueue.test_queue_feeder_on_queue_feeder_error) ... skipped 'test not appropriate for manager' test_task_done (test.test_multiprocessing_spawn.test_manager.WithManagerTestQueue.test_task_done) ... ok test_timeout (test.test_multiprocessing_spawn.test_manager.WithManagerTestQueue.test_timeout) ... ok test_remote (test.test_multiprocessing_spawn.test_manager.WithManagerTestRemoteManager.test_remote) ... FAIL test_bounded_semaphore (test.test_multiprocessing_spawn.test_manager.WithManagerTestSemaphore.test_bounded_semaphore) ... ok test_semaphore (test.test_multiprocessing_spawn.test_manager.WithManagerTestSemaphore.test_semaphore) ... ok test_timeout (test.test_multiprocessing_spawn.test_manager.WithManagerTestSemaphore.test_timeout) ... skipped 'test not appropriate for manager' ====================================================================== FAIL: test_remote (test.test_multiprocessing_spawn.test_manager.WithManagerTestRemoteManager.test_remote) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/_test_multiprocessing.py", line 3275, in test_remote self.assertRaises(Exception, queue.put, time.sleep) ^^^^^^^^^^^^ AssertionError: Exception not raised by put ---------------------------------------------------------------------- Ran 77 tests in 21.186s FAILED (failures=1, skipped=11) 0:00:21 load avg: 1.90 [1/4/1] test_multiprocessing_spawn.test_manager failed (1 failure) 0:00:21 load avg: 1.90 [2/4/1] test_multiprocessing_spawn.test_misc test_challengeresponse (test.test_multiprocessing_spawn.test_misc.ChallengeResponseTest.test_challengeresponse) ... ok test__all__ (test.test_multiprocessing_spawn.test_misc.MiscTestCase.test__all__) ... ok test_spawn_sys_executable_none_allows_import (test.test_multiprocessing_spawn.test_misc.MiscTestCase.test_spawn_sys_executable_none_allows_import) ... ok test_answer_challenge_auth_failure (test.test_multiprocessing_spawn.test_misc.OtherTest.test_answer_challenge_auth_failure) ... ok test_deliver_challenge_auth_failure (test.test_multiprocessing_spawn.test_misc.OtherTest.test_deliver_challenge_auth_failure) ... ok test_semlock_subclass (test.test_multiprocessing_spawn.test_misc.SemLockTests.test_semlock_subclass) ... ok test_closefd (test.test_multiprocessing_spawn.test_misc.TestCloseFds.test_closefd) ... ok test_flags (test.test_multiprocessing_spawn.test_misc.TestFlags.test_flags) ... ok test_lock (test.test_multiprocessing_spawn.test_misc.TestForkAwareThreadLock.test_lock) ... ok test_ignore (test.test_multiprocessing_spawn.test_misc.TestIgnoreEINTR.test_ignore) ... ok test_ignore_listener (test.test_multiprocessing_spawn.test_misc.TestIgnoreEINTR.test_ignore_listener) ... ok test_manager_initializer (test.test_multiprocessing_spawn.test_misc.TestInitializers.test_manager_initializer) ... ok test_pool_initializer (test.test_multiprocessing_spawn.test_misc.TestInitializers.test_pool_initializer) ... ok test_only_run_in_spawn_testsuite (test.test_multiprocessing_spawn.test_misc.TestInternalDecorators.test_only_run_in_spawn_testsuite) ... ok test_invalid_family (test.test_multiprocessing_spawn.test_misc.TestInvalidFamily.test_invalid_family) ... ok test_invalid_family_win32 (test.test_multiprocessing_spawn.test_misc.TestInvalidFamily.test_invalid_family_win32) ... skipped 'skipped on non-Windows platforms' test_invalid_handles (test.test_multiprocessing_spawn.test_misc.TestInvalidHandle.test_invalid_handles) ... ok test_global_named_resource_spawn (test.test_multiprocessing_spawn.test_misc.TestNamedResource.test_global_named_resource_spawn) ... ok test_noforkbomb (test.test_multiprocessing_spawn.test_misc.TestNoForkBomb.test_noforkbomb) ... ok test_release_unused_processes (test.test_multiprocessing_spawn.test_misc.TestPoolNotLeakOnFailure.test_release_unused_processes) ... ok test_resource_tracker (test.test_multiprocessing_spawn.test_misc.TestResourceTracker.test_resource_tracker) ... ok test_resource_tracker_blocked_signals (test.test_multiprocessing_spawn.test_misc.TestResourceTracker.test_resource_tracker_blocked_signals) ... ok test_resource_tracker_reused (test.test_multiprocessing_spawn.test_misc.TestResourceTracker.test_resource_tracker_reused) ... ok test_resource_tracker_sigint (test.test_multiprocessing_spawn.test_misc.TestResourceTracker.test_resource_tracker_sigint) ... ok test_resource_tracker_sigkill (test.test_multiprocessing_spawn.test_misc.TestResourceTracker.test_resource_tracker_sigkill) ... ok test_resource_tracker_sigterm (test.test_multiprocessing_spawn.test_misc.TestResourceTracker.test_resource_tracker_sigterm) ... ok test_too_long_name_resource (test.test_multiprocessing_spawn.test_misc.TestResourceTracker.test_too_long_name_resource) ... ok test_close (test.test_multiprocessing_spawn.test_misc.TestSimpleQueue.test_close) ... ok test_closed (test.test_multiprocessing_spawn.test_misc.TestSimpleQueue.test_closed) ... skipped 'implementation detail specific to cpython' test_empty (test.test_multiprocessing_spawn.test_misc.TestSimpleQueue.test_empty) ... ok test_empty_exceptions (test.test_multiprocessing_spawn.test_misc.TestSimpleQueue.test_empty_exceptions) ... ok test_context (test.test_multiprocessing_spawn.test_misc.TestStartMethod.test_context) ... ok test_context_check_module_types (test.test_multiprocessing_spawn.test_misc.TestStartMethod.test_context_check_module_types) ... ok test_get_all (test.test_multiprocessing_spawn.test_misc.TestStartMethod.test_get_all) ... ok test_mixed_startmethod (test.test_multiprocessing_spawn.test_misc.TestStartMethod.test_mixed_startmethod) ... ok test_nested_startmethod (test.test_multiprocessing_spawn.test_misc.TestStartMethod.test_nested_startmethod) ... ok test_preload_resources (test.test_multiprocessing_spawn.test_misc.TestStartMethod.test_preload_resources) ... skipped "test only relevant for 'forkserver' method" test_set_get (test.test_multiprocessing_spawn.test_misc.TestStartMethod.test_set_get) ... ok test_flushing (test.test_multiprocessing_spawn.test_misc.TestStdinBadfiledescriptor.test_flushing) ... ok test_pool_in_process (test.test_multiprocessing_spawn.test_misc.TestStdinBadfiledescriptor.test_pool_in_process) ... ok test_queue_in_process (test.test_multiprocessing_spawn.test_misc.TestStdinBadfiledescriptor.test_queue_in_process) ... ok test_array (test.test_multiprocessing_spawn.test_misc.TestSyncManagerTypes.test_array) ... ok test_barrier (test.test_multiprocessing_spawn.test_misc.TestSyncManagerTypes.test_barrier) ... ok test_bounded_semaphore (test.test_multiprocessing_spawn.test_misc.TestSyncManagerTypes.test_bounded_semaphore) ... ok test_condition (test.test_multiprocessing_spawn.test_misc.TestSyncManagerTypes.test_condition) ... ok test_dict (test.test_multiprocessing_spawn.test_misc.TestSyncManagerTypes.test_dict) ... ok test_event (test.test_multiprocessing_spawn.test_misc.TestSyncManagerTypes.test_event) ... ok test_joinable_queue (test.test_multiprocessing_spawn.test_misc.TestSyncManagerTypes.test_joinable_queue) ... ok test_list (test.test_multiprocessing_spawn.test_misc.TestSyncManagerTypes.test_list) ... ok test_lock (test.test_multiprocessing_spawn.test_misc.TestSyncManagerTypes.test_lock) ... ok test_namespace (test.test_multiprocessing_spawn.test_misc.TestSyncManagerTypes.test_namespace) ... ok test_pool (test.test_multiprocessing_spawn.test_misc.TestSyncManagerTypes.test_pool) ... ok test_queue (test.test_multiprocessing_spawn.test_misc.TestSyncManagerTypes.test_queue) ... ok test_rlock (test.test_multiprocessing_spawn.test_misc.TestSyncManagerTypes.test_rlock) ... ok test_semaphore (test.test_multiprocessing_spawn.test_misc.TestSyncManagerTypes.test_semaphore) ... ok test_value (test.test_multiprocessing_spawn.test_misc.TestSyncManagerTypes.test_value) ... ok test_timeout (test.test_multiprocessing_spawn.test_misc.TestTimeouts.test_timeout) ... ok test_neg_timeout (test.test_multiprocessing_spawn.test_misc.TestWait.test_neg_timeout) ... ok test_wait (test.test_multiprocessing_spawn.test_misc.TestWait.test_wait) ... ok test_wait_integer (test.test_multiprocessing_spawn.test_misc.TestWait.test_wait_integer) ... skipped "resource 'walltime' is not enabled" test_wait_slow (test.test_multiprocessing_spawn.test_misc.TestWait.test_wait_slow) ... ok test_wait_socket (test.test_multiprocessing_spawn.test_misc.TestWait.test_wait_socket) ... ok test_wait_socket_slow (test.test_multiprocessing_spawn.test_misc.TestWait.test_wait_socket_slow) ... ok test_wait_timeout (test.test_multiprocessing_spawn.test_misc.TestWait.test_wait_timeout) ... skipped "resource 'walltime' is not enabled" test_import (test.test_multiprocessing_spawn.test_misc._TestImportStar.test_import) ... ok ---------------------------------------------------------------------- Ran 65 tests in 21.444s OK (skipped=5) 0:00:43 load avg: 1.78 [2/4/1] test_multiprocessing_spawn.test_misc passed 0:00:43 load avg: 1.78 [3/4/1] test_multiprocessing_spawn.test_processes test_array (test.test_multiprocessing_spawn.test_processes.WithProcessesTestArray.test_array) ... ok test_array_from_size (test.test_multiprocessing_spawn.test_processes.WithProcessesTestArray.test_array_from_size) ... ok test_getobj_getlock_obj (test.test_multiprocessing_spawn.test_processes.WithProcessesTestArray.test_getobj_getlock_obj) ... ok test_rawarray (test.test_multiprocessing_spawn.test_processes.WithProcessesTestArray.test_rawarray) ... ok test_abort (test.test_multiprocessing_spawn.test_processes.WithProcessesTestBarrier.test_abort) Test that an abort will put the barrier in a broken state ... ok test_abort_and_reset (test.test_multiprocessing_spawn.test_processes.WithProcessesTestBarrier.test_abort_and_reset) Test that a barrier can be reset after being broken. ... ok test_action (test.test_multiprocessing_spawn.test_processes.WithProcessesTestBarrier.test_action) Test the 'action' callback ... ok test_barrier (test.test_multiprocessing_spawn.test_processes.WithProcessesTestBarrier.test_barrier) Test that a barrier is passed in lockstep ... ok test_barrier_10 (test.test_multiprocessing_spawn.test_processes.WithProcessesTestBarrier.test_barrier_10) Test that a barrier works for 10 consecutive runs ... ok test_default_timeout (test.test_multiprocessing_spawn.test_processes.WithProcessesTestBarrier.test_default_timeout) Test the barrier's default timeout ... ok test_reset (test.test_multiprocessing_spawn.test_processes.WithProcessesTestBarrier.test_reset) Test that a 'reset' on a barrier frees the waiting threads ... ok test_single_thread (test.test_multiprocessing_spawn.test_processes.WithProcessesTestBarrier.test_single_thread) ... ok test_thousand (test.test_multiprocessing_spawn.test_processes.WithProcessesTestBarrier.test_thousand) ... ok test_timeout (test.test_multiprocessing_spawn.test_processes.WithProcessesTestBarrier.test_timeout) Test wait(timeout) ... ok test_wait_return (test.test_multiprocessing_spawn.test_processes.WithProcessesTestBarrier.test_wait_return) test the return value from barrier.wait ... ok test_notify (test.test_multiprocessing_spawn.test_processes.WithProcessesTestCondition.test_notify) ... ok test_notify_all (test.test_multiprocessing_spawn.test_processes.WithProcessesTestCondition.test_notify_all) ... ok test_notify_n (test.test_multiprocessing_spawn.test_processes.WithProcessesTestCondition.test_notify_n) ... ok test_timeout (test.test_multiprocessing_spawn.test_processes.WithProcessesTestCondition.test_timeout) ... ok test_wait_result (test.test_multiprocessing_spawn.test_processes.WithProcessesTestCondition.test_wait_result) ... ok test_waitfor (test.test_multiprocessing_spawn.test_processes.WithProcessesTestCondition.test_waitfor) ... ok test_waitfor_timeout (test.test_multiprocessing_spawn.test_processes.WithProcessesTestCondition.test_waitfor_timeout) ... ok test_connection (test.test_multiprocessing_spawn.test_processes.WithProcessesTestConnection.test_connection) ... ok test_context (test.test_multiprocessing_spawn.test_processes.WithProcessesTestConnection.test_context) ... ok test_duplex_false (test.test_multiprocessing_spawn.test_processes.WithProcessesTestConnection.test_duplex_false) ... ok test_fd_transfer (test.test_multiprocessing_spawn.test_processes.WithProcessesTestConnection.test_fd_transfer) ... ok test_large_fd_transfer (test.test_multiprocessing_spawn.test_processes.WithProcessesTestConnection.test_large_fd_transfer) ... ok test_missing_fd_transfer (test.test_multiprocessing_spawn.test_processes.WithProcessesTestConnection.test_missing_fd_transfer) ... ok test_sendbytes (test.test_multiprocessing_spawn.test_processes.WithProcessesTestConnection.test_sendbytes) ... ok test_spawn_close (test.test_multiprocessing_spawn.test_processes.WithProcessesTestConnection.test_spawn_close) ... ok test_event (test.test_multiprocessing_spawn.test_processes.WithProcessesTestEvent.test_event) ... ok test_repr (test.test_multiprocessing_spawn.test_processes.WithProcessesTestEvent.test_repr) ... ok test_finalize (test.test_multiprocessing_spawn.test_processes.WithProcessesTestFinalize.test_finalize) ... ok test_thread_safety (test.test_multiprocessing_spawn.test_processes.WithProcessesTestFinalize.test_thread_safety) ... skipped "resource 'cpu' is not enabled" test_free_from_gc (test.test_multiprocessing_spawn.test_processes.WithProcessesTestHeap.test_free_from_gc) ... ERROR test_heap (test.test_multiprocessing_spawn.test_processes.WithProcessesTestHeap.test_heap) ... FAIL test_abstract_socket (test.test_multiprocessing_spawn.test_processes.WithProcessesTestListener.test_abstract_socket) ... ok test_context (test.test_multiprocessing_spawn.test_processes.WithProcessesTestListener.test_context) ... ok test_empty_authkey (test.test_multiprocessing_spawn.test_processes.WithProcessesTestListener.test_empty_authkey) ... ok test_multiple_bind (test.test_multiprocessing_spawn.test_processes.WithProcessesTestListener.test_multiple_bind) ... ok test_issue14725 (test.test_multiprocessing_spawn.test_processes.WithProcessesTestListenerClient.test_issue14725) ... ok test_issue16955 (test.test_multiprocessing_spawn.test_processes.WithProcessesTestListenerClient.test_issue16955) ... ok test_listener_client (test.test_multiprocessing_spawn.test_processes.WithProcessesTestListenerClient.test_listener_client) ... ok test_lock (test.test_multiprocessing_spawn.test_processes.WithProcessesTestLock.test_lock) ... ok test_lock_context (test.test_multiprocessing_spawn.test_processes.WithProcessesTestLock.test_lock_context) ... ok test_repr_lock (test.test_multiprocessing_spawn.test_processes.WithProcessesTestLock.test_repr_lock) ... ok test_repr_rlock (test.test_multiprocessing_spawn.test_processes.WithProcessesTestLock.test_repr_rlock) ... ok test_rlock (test.test_multiprocessing_spawn.test_processes.WithProcessesTestLock.test_rlock) ... ok test_enable_logging (test.test_multiprocessing_spawn.test_processes.WithProcessesTestLogging.test_enable_logging) ... ok test_filename (test.test_multiprocessing_spawn.test_processes.WithProcessesTestLogging.test_filename) ... ok test_level (test.test_multiprocessing_spawn.test_processes.WithProcessesTestLogging.test_level) ... ok test_rapid_restart (test.test_multiprocessing_spawn.test_processes.WithProcessesTestManagerRestart.test_rapid_restart) ... ok test_access (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPicklingConnections.test_access) ... ok test_pickling (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPicklingConnections.test_pickling) ... ok test_boundaries (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPoll.test_boundaries) ... ok test_dont_merge (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPoll.test_dont_merge) ... ok test_empty_string (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPoll.test_empty_string) ... ok test_strings (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPoll.test_strings) ... ok test_poll_eintr (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPollEintr.test_poll_eintr) ... ok test_apply (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_apply) ... ok test_async (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_async) ... ok test_async_timeout (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_async_timeout) ... ok test_context (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_context) ... ok test_empty_iterable (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_empty_iterable) ... ok test_enter (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_enter) ... ok test_imap (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_imap) ... ok test_imap_handle_iterable_exception (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_imap_handle_iterable_exception) ... ok test_imap_unordered (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_imap_unordered) ... ok test_imap_unordered_handle_iterable_exception (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_imap_unordered_handle_iterable_exception) ... ok test_make_pool (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_make_pool) ... ok test_map (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_map) ... ok test_map_async (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_map_async) ... ok test_map_async_callbacks (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_map_async_callbacks) ... ok test_map_chunksize (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_map_chunksize) ... ok test_map_handle_iterable_exception (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_map_handle_iterable_exception) ... ok test_map_no_failfast (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_map_no_failfast) ... ok test_map_unplicklable (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_map_unplicklable) ... ok test_release_task_refs (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_release_task_refs) ... ok test_resource_warning (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_resource_warning) ... ok test_starmap (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_starmap) ... ok test_starmap_async (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_starmap_async) ... ok test_terminate (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_terminate) ... ok test_traceback (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_traceback) ... ok test_wrapped_exception (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_wrapped_exception) ... ok test_async_error_callback (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPoolWorkerErrors.test_async_error_callback) ... ok test_unpickleable_result (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPoolWorkerErrors.test_unpickleable_result) ... ok test_pool_maxtasksperchild_invalid (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPoolWorkerLifetime.test_pool_maxtasksperchild_invalid) ... ok test_pool_worker_lifetime (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPoolWorkerLifetime.test_pool_worker_lifetime) ... ok test_pool_worker_lifetime_early_close (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPoolWorkerLifetime.test_pool_worker_lifetime_early_close) ... ok test_worker_finalization_via_atexit_handler_of_multiprocessing (test.test_multiprocessing_spawn.test_processes.WithProcessesTestPoolWorkerLifetime.test_worker_finalization_via_atexit_handler_of_multiprocessing) ... ok test_active_children (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_active_children) ... ok test_args_argument (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_args_argument) ... skipped "resource 'cpu' is not enabled" test_child_fd_inflation (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_child_fd_inflation) ... ok test_close (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_close) ... ok test_cpu_count (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_cpu_count) ... ok test_current (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_current) ... ok test_daemon_argument (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_daemon_argument) ... ok test_error_on_stdio_flush_1 (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_error_on_stdio_flush_1) ... ok test_error_on_stdio_flush_2 (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_error_on_stdio_flush_2) ... ok test_forkserver_sigint (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_forkserver_sigint) ... skipped 'test not appropriate for spawn' test_forkserver_sigkill (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_forkserver_sigkill) ... skipped 'test not appropriate for spawn' test_kill (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_kill) ... ok test_lose_target_ref (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_lose_target_ref) ... ok test_many_processes (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_many_processes) ... skipped "resource 'walltime' is not enabled" test_parent_process (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_parent_process) ... ok test_parent_process_attributes (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_parent_process_attributes) ... ok test_process (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_process) ... ok test_process_mainthread_native_id (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_process_mainthread_native_id) ... ok test_recursion (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_recursion) ... ok test_sentinel (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_sentinel) ... ok test_set_executable (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_set_executable) ... ok test_terminate (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_terminate) ... ok test_wait_for_threads (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_wait_for_threads) ... ok test_closed_queue_empty_exceptions (test.test_multiprocessing_spawn.test_processes.WithProcessesTestQueue.test_closed_queue_empty_exceptions) ... ok test_closed_queue_put_get_exceptions (test.test_multiprocessing_spawn.test_processes.WithProcessesTestQueue.test_closed_queue_put_get_exceptions) ... ok test_fork (test.test_multiprocessing_spawn.test_processes.WithProcessesTestQueue.test_fork) ... ok test_get (test.test_multiprocessing_spawn.test_processes.WithProcessesTestQueue.test_get) ... ok test_no_import_lock_contention (test.test_multiprocessing_spawn.test_processes.WithProcessesTestQueue.test_no_import_lock_contention) ... ok test_put (test.test_multiprocessing_spawn.test_processes.WithProcessesTestQueue.test_put) ... ok test_qsize (test.test_multiprocessing_spawn.test_processes.WithProcessesTestQueue.test_qsize) ... ok test_queue_feeder_donot_stop_onexc (test.test_multiprocessing_spawn.test_processes.WithProcessesTestQueue.test_queue_feeder_donot_stop_onexc) ... ok test_queue_feeder_on_queue_feeder_error (test.test_multiprocessing_spawn.test_processes.WithProcessesTestQueue.test_queue_feeder_on_queue_feeder_error) ... ok test_task_done (test.test_multiprocessing_spawn.test_processes.WithProcessesTestQueue.test_task_done) ... ok test_timeout (test.test_multiprocessing_spawn.test_processes.WithProcessesTestQueue.test_timeout) ... ok test_bounded_semaphore (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSemaphore.test_bounded_semaphore) ... ok test_semaphore (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSemaphore.test_semaphore) ... ok test_timeout (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSemaphore.test_timeout) ... ok test_copy (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSharedCTypes.test_copy) ... ok test_sharedctypes (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSharedCTypes.test_sharedctypes) ... ok test_synchronize (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSharedCTypes.test_synchronize) ... ok test_invalid_shared_memory_creation (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSharedMemory.test_invalid_shared_memory_creation) ... ok test_shared_memory_ShareableList_basics (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSharedMemory.test_shared_memory_ShareableList_basics) ... ok test_shared_memory_ShareableList_pickling (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSharedMemory.test_shared_memory_ShareableList_pickling) ... ok test_shared_memory_ShareableList_pickling_dead_object (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSharedMemory.test_shared_memory_ShareableList_pickling_dead_object) ... ok test_shared_memory_SharedMemoryManager_basics (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSharedMemory.test_shared_memory_SharedMemoryManager_basics) ... ok test_shared_memory_SharedMemoryManager_reuses_resource_tracker (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSharedMemory.test_shared_memory_SharedMemoryManager_reuses_resource_tracker) ... ok test_shared_memory_SharedMemoryServer_ignores_sigint (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSharedMemory.test_shared_memory_SharedMemoryServer_ignores_sigint) ... ok test_shared_memory_across_processes (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSharedMemory.test_shared_memory_across_processes) ... ok test_shared_memory_basics (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSharedMemory.test_shared_memory_basics) ... ok test_shared_memory_cleaned_after_process_termination (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSharedMemory.test_shared_memory_cleaned_after_process_termination) ... ok test_shared_memory_name_with_embedded_null (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSharedMemory.test_shared_memory_name_with_embedded_null) ... ok test_shared_memory_pickle_unpickle (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSharedMemory.test_shared_memory_pickle_unpickle) ... ok test_shared_memory_pickle_unpickle_dead_object (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSharedMemory.test_shared_memory_pickle_unpickle_dead_object) ... ok test_shared_memory_recreate (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSharedMemory.test_shared_memory_recreate) ... ok test_child_sys_path (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSpawnedSysPath.test_child_sys_path) ... ok test_forkserver_preload_imports_sys_path (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSpawnedSysPath.test_forkserver_preload_imports_sys_path) ... skipped 'forkserver specific test.' test_stderr_flush (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSubclassingProcess.test_stderr_flush) ... ok test_subclassing (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSubclassingProcess.test_subclassing) ... ok test_sys_exit (test.test_multiprocessing_spawn.test_processes.WithProcessesTestSubclassingProcess.test_sys_exit) ... ok test_getobj_getlock (test.test_multiprocessing_spawn.test_processes.WithProcessesTestValue.test_getobj_getlock) ... ok test_rawvalue (test.test_multiprocessing_spawn.test_processes.WithProcessesTestValue.test_rawvalue) ... ok test_value (test.test_multiprocessing_spawn.test_processes.WithProcessesTestValue.test_value) ... ok ====================================================================== ERROR: test_free_from_gc (test.test_multiprocessing_spawn.test_processes.WithProcessesTestHeap.test_free_from_gc) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/_test_multiprocessing.py", line 4016, in test_free_from_gc thresholds = gc.get_threshold() ^^^^^^^^^^^^^ AttributeError: module 'gc' has no attribute 'get_threshold' ====================================================================== FAIL: test_heap (test.test_multiprocessing_spawn.test_processes.WithProcessesTestHeap.test_heap) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/_test_multiprocessing.py", line 4001, in test_heap self.assertEqual(heap._n_frees, heap._n_mallocs) ^^^^^^^^^^^ AssertionError: 0 != 5000 ---------------------------------------------------------------------- Ran 152 tests in 49.092s FAILED (failures=1, errors=1, skipped=6) 0:01:32 load avg: 2.14 [3/4/2] test_multiprocessing_spawn.test_processes failed (1 error, 1 failure) in 49.3 sec 0:01:32 load avg: 2.14 [4/4/2] test_multiprocessing_spawn.test_threads test_abort (test.test_multiprocessing_spawn.test_threads.WithThreadsTestBarrier.test_abort) Test that an abort will put the barrier in a broken state ... ok test_abort_and_reset (test.test_multiprocessing_spawn.test_threads.WithThreadsTestBarrier.test_abort_and_reset) Test that a barrier can be reset after being broken. ... ok test_action (test.test_multiprocessing_spawn.test_threads.WithThreadsTestBarrier.test_action) Test the 'action' callback ... ok test_barrier (test.test_multiprocessing_spawn.test_threads.WithThreadsTestBarrier.test_barrier) Test that a barrier is passed in lockstep ... ok test_barrier_10 (test.test_multiprocessing_spawn.test_threads.WithThreadsTestBarrier.test_barrier_10) Test that a barrier works for 10 consecutive runs ... ok test_default_timeout (test.test_multiprocessing_spawn.test_threads.WithThreadsTestBarrier.test_default_timeout) Test the barrier's default timeout ... ok test_reset (test.test_multiprocessing_spawn.test_threads.WithThreadsTestBarrier.test_reset) Test that a 'reset' on a barrier frees the waiting threads ... ok test_single_thread (test.test_multiprocessing_spawn.test_threads.WithThreadsTestBarrier.test_single_thread) ... ok test_thousand (test.test_multiprocessing_spawn.test_threads.WithThreadsTestBarrier.test_thousand) ... ok test_timeout (test.test_multiprocessing_spawn.test_threads.WithThreadsTestBarrier.test_timeout) Test wait(timeout) ... ok test_wait_return (test.test_multiprocessing_spawn.test_threads.WithThreadsTestBarrier.test_wait_return) test the return value from barrier.wait ... ok test_notify (test.test_multiprocessing_spawn.test_threads.WithThreadsTestCondition.test_notify) ... ok test_notify_all (test.test_multiprocessing_spawn.test_threads.WithThreadsTestCondition.test_notify_all) ... ok test_notify_n (test.test_multiprocessing_spawn.test_threads.WithThreadsTestCondition.test_notify_n) ... ok test_timeout (test.test_multiprocessing_spawn.test_threads.WithThreadsTestCondition.test_timeout) ... ok test_wait_result (test.test_multiprocessing_spawn.test_threads.WithThreadsTestCondition.test_wait_result) ... ok test_waitfor (test.test_multiprocessing_spawn.test_threads.WithThreadsTestCondition.test_waitfor) ... ok test_waitfor_timeout (test.test_multiprocessing_spawn.test_threads.WithThreadsTestCondition.test_waitfor_timeout) ... ok test_connection (test.test_multiprocessing_spawn.test_threads.WithThreadsTestConnection.test_connection) ... ok test_context (test.test_multiprocessing_spawn.test_threads.WithThreadsTestConnection.test_context) ... ok test_duplex_false (test.test_multiprocessing_spawn.test_threads.WithThreadsTestConnection.test_duplex_false) ... ok test_fd_transfer (test.test_multiprocessing_spawn.test_threads.WithThreadsTestConnection.test_fd_transfer) ... skipped 'only makes sense with processes' test_large_fd_transfer (test.test_multiprocessing_spawn.test_threads.WithThreadsTestConnection.test_large_fd_transfer) ... skipped 'only makes sense with processes' test_missing_fd_transfer (test.test_multiprocessing_spawn.test_threads.WithThreadsTestConnection.test_missing_fd_transfer) ... skipped 'only makes sense with processes' test_sendbytes (test.test_multiprocessing_spawn.test_threads.WithThreadsTestConnection.test_sendbytes) ... skipped 'test not appropriate for threads' test_spawn_close (test.test_multiprocessing_spawn.test_threads.WithThreadsTestConnection.test_spawn_close) ... ok test_event (test.test_multiprocessing_spawn.test_threads.WithThreadsTestEvent.test_event) ... ok test_repr (test.test_multiprocessing_spawn.test_threads.WithThreadsTestEvent.test_repr) ... ok test_issue14725 (test.test_multiprocessing_spawn.test_threads.WithThreadsTestListenerClient.test_issue14725) ... ok test_issue16955 (test.test_multiprocessing_spawn.test_threads.WithThreadsTestListenerClient.test_issue16955) ... ok test_listener_client (test.test_multiprocessing_spawn.test_threads.WithThreadsTestListenerClient.test_listener_client) ... ok test_lock (test.test_multiprocessing_spawn.test_threads.WithThreadsTestLock.test_lock) ... ok test_lock_context (test.test_multiprocessing_spawn.test_threads.WithThreadsTestLock.test_lock_context) ... ok test_repr_lock (test.test_multiprocessing_spawn.test_threads.WithThreadsTestLock.test_repr_lock) ... skipped 'test not appropriate for threads' test_repr_rlock (test.test_multiprocessing_spawn.test_threads.WithThreadsTestLock.test_repr_rlock) ... skipped 'test not appropriate for threads' test_rlock (test.test_multiprocessing_spawn.test_threads.WithThreadsTestLock.test_rlock) ... ok test_rapid_restart (test.test_multiprocessing_spawn.test_threads.WithThreadsTestManagerRestart.test_rapid_restart) ... ok test_boundaries (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPoll.test_boundaries) ... ok test_dont_merge (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPoll.test_dont_merge) ... ok test_empty_string (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPoll.test_empty_string) ... ok test_strings (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPoll.test_strings) ... ok test_apply (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_apply) ... ok test_async (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_async) ... ok test_async_timeout (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_async_timeout) ... ok test_context (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_context) ... ok test_empty_iterable (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_empty_iterable) ... ok test_enter (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_enter) ... ok test_imap (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_imap) ... ok test_imap_handle_iterable_exception (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_imap_handle_iterable_exception) ... ok test_imap_unordered (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_imap_unordered) ... ok test_imap_unordered_handle_iterable_exception (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_imap_unordered_handle_iterable_exception) ... ok test_make_pool (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_make_pool) ... ok test_map (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_map) ... ok test_map_async (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_map_async) ... ok test_map_async_callbacks (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_map_async_callbacks) ... ok test_map_chunksize (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_map_chunksize) ... ok test_map_handle_iterable_exception (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_map_handle_iterable_exception) ... ok test_map_no_failfast (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_map_no_failfast) ... ok test_map_unplicklable (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_map_unplicklable) ... skipped 'test not appropriate for threads' test_release_task_refs (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_release_task_refs) ... ok test_resource_warning (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_resource_warning) ... ok test_starmap (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_starmap) ... ok test_starmap_async (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_starmap_async) ... ok test_terminate (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_terminate) ... ok test_traceback (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_traceback) ... ok test_wrapped_exception (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_wrapped_exception) ... ok test_active_children (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_active_children) ... ok test_args_argument (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_args_argument) ... skipped "resource 'cpu' is not enabled" test_child_fd_inflation (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_child_fd_inflation) ... skipped 'test not appropriate for threads' test_close (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_close) ... skipped 'test not appropriate for threads' test_cpu_count (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_cpu_count) ... ok test_current (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_current) ... skipped 'test not appropriate for threads' test_daemon_argument (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_daemon_argument) ... skipped 'test not appropriate for threads' test_error_on_stdio_flush_1 (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_error_on_stdio_flush_1) ... ok test_error_on_stdio_flush_2 (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_error_on_stdio_flush_2) ... ok test_forkserver_sigint (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_forkserver_sigint) ... skipped 'test not appropriate for threads' test_forkserver_sigkill (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_forkserver_sigkill) ... skipped 'test not appropriate for threads' test_kill (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_kill) ... skipped 'test not appropriate for threads' test_lose_target_ref (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_lose_target_ref) ... ok test_many_processes (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_many_processes) ... skipped "resource 'walltime' is not enabled" test_parent_process (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_parent_process) ... skipped 'test not appropriate for threads' test_parent_process_attributes (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_parent_process_attributes) ... skipped 'test not appropriate for threads' test_process (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_process) ... ok test_process_mainthread_native_id (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_process_mainthread_native_id) ... skipped 'test not appropriate for threads' test_recursion (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_recursion) ... ok test_sentinel (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_sentinel) ... skipped 'test not appropriate for threads' test_set_executable (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_set_executable) ... skipped 'test not appropriate for threads' test_terminate (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_terminate) ... skipped 'test not appropriate for threads' test_wait_for_threads (test.test_multiprocessing_spawn.test_threads.WithThreadsTestProcess.test_wait_for_threads) ... skipped 'test not appropriate for threads' test_closed_queue_empty_exceptions (test.test_multiprocessing_spawn.test_threads.WithThreadsTestQueue.test_closed_queue_empty_exceptions) ... ok test_closed_queue_put_get_exceptions (test.test_multiprocessing_spawn.test_threads.WithThreadsTestQueue.test_closed_queue_put_get_exceptions) ... ok test_fork (test.test_multiprocessing_spawn.test_threads.WithThreadsTestQueue.test_fork) ... ok test_get (test.test_multiprocessing_spawn.test_threads.WithThreadsTestQueue.test_get) ... ok test_no_import_lock_contention (test.test_multiprocessing_spawn.test_threads.WithThreadsTestQueue.test_no_import_lock_contention) ... ok test_put (test.test_multiprocessing_spawn.test_threads.WithThreadsTestQueue.test_put) ... ok test_qsize (test.test_multiprocessing_spawn.test_threads.WithThreadsTestQueue.test_qsize) ... ok test_queue_feeder_donot_stop_onexc (test.test_multiprocessing_spawn.test_threads.WithThreadsTestQueue.test_queue_feeder_donot_stop_onexc) ... skipped 'test not appropriate for threads' test_queue_feeder_on_queue_feeder_error (test.test_multiprocessing_spawn.test_threads.WithThreadsTestQueue.test_queue_feeder_on_queue_feeder_error) ... skipped 'test not appropriate for threads' test_task_done (test.test_multiprocessing_spawn.test_threads.WithThreadsTestQueue.test_task_done) ... ok test_timeout (test.test_multiprocessing_spawn.test_threads.WithThreadsTestQueue.test_timeout) ... ok test_bounded_semaphore (test.test_multiprocessing_spawn.test_threads.WithThreadsTestSemaphore.test_bounded_semaphore) ... ok test_semaphore (test.test_multiprocessing_spawn.test_threads.WithThreadsTestSemaphore.test_semaphore) ... ok test_timeout (test.test_multiprocessing_spawn.test_threads.WithThreadsTestSemaphore.test_timeout) ... skipped 'test not appropriate for threads' ---------------------------------------------------------------------- Ran 103 tests in 15.126s OK (skipped=26) 0:01:47 load avg: 1.96 [4/4/2] test_multiprocessing_spawn.test_threads passed == Tests result: FAILURE == 2 tests failed: test_multiprocessing_spawn.test_manager test_multiprocessing_spawn.test_processes 2 tests OK. Total duration: 1 min 47 sec Total tests: run=397 failures=2 skipped=48 Total test files: run=4/4 failed=2 Result: FAILURE test test_multiprocessing_spawn.test_manager failed /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:320: UserWarning: resource_tracker: There appear to be 4 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d ' /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:320: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d ' /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/mp-6utca8to': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/mp-y6xgg_nq': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) test test_multiprocessing_spawn.test_processes failed /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:320: UserWarning: resource_tracker: There appear to be 15 leaked shared_memory objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d ' /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_6cfa1c09': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_f5048af8': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_cdc3ff7a': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_7896bd34': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_08a9d1ae': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_aab98d23': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_849b586c': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_37e4eec4': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_03fb7a28': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_86d09ddb': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_b0dcf989': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_ae9636ac': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_354cab57': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_e4bf6839': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/multiprocessing/resource_tracker.py:333: UserWarning: resource_tracker: '/psm_e16f15f9': [Errno 2] No such file or directory warnings.warn('resource_tracker: %r: %s' % (name, e)) _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1766795æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1980117760 0:00:00 load avg: 1.96 Run 1 test sequentially in a single process 0:00:00 load avg: 1.96 [1/1] test_pydoc.test_pydoc test__future__imports (test.test_pydoc.test_pydoc.PydocDocTest.test__future__imports) ... ok test_allmethods (test.test_pydoc.test_pydoc.PydocDocTest.test_allmethods) ... FAIL test_builtin_no_child (test.test_pydoc.test_pydoc.PydocDocTest.test_builtin_no_child) Tests help on builtin object which have no child classes. ... ok test_builtin_on_metaclasses (test.test_pydoc.test_pydoc.PydocDocTest.test_builtin_on_metaclasses) Tests help on metaclasses. ... ok test_builtin_with_child (test.test_pydoc.test_pydoc.PydocDocTest.test_builtin_with_child) Tests help on builtin object which have only child classes. ... ok test_builtin_with_grandchild (test.test_pydoc.test_pydoc.PydocDocTest.test_builtin_with_grandchild) Tests help on builtin classes which have grandchild classes. ... ok test_builtin_with_more_than_four_children (test.test_pydoc.test_pydoc.PydocDocTest.test_builtin_with_more_than_four_children) Tests help on builtin object which have more than four child classes. ... ok test_fail_help_cli (test.test_pydoc.test_pydoc.PydocDocTest.test_fail_help_cli) ... ok test_fail_help_output_redirect (test.test_pydoc.test_pydoc.PydocDocTest.test_fail_help_output_redirect) ... ok test_fail_showtopic (test.test_pydoc.test_pydoc.PydocDocTest.test_fail_showtopic) ... ok test_fail_showtopic_output_redirect (test.test_pydoc.test_pydoc.PydocDocTest.test_fail_showtopic_output_redirect) ... ok test_getpager_with_stdin_none (test.test_pydoc.test_pydoc.PydocDocTest.test_getpager_with_stdin_none) ... ok test_help_output_redirect (test.test_pydoc.test_pydoc.PydocDocTest.test_help_output_redirect) ... ok test_help_output_redirect_various_requests (test.test_pydoc.test_pydoc.PydocDocTest.test_help_output_redirect_various_requests) ... ok test_html_doc (test.test_pydoc.test_pydoc.PydocDocTest.test_html_doc) ... FAIL test_input_strip (test.test_pydoc.test_pydoc.PydocDocTest.test_input_strip) ... ok test_is_package_when_is_package (test.test_pydoc.test_pydoc.PydocDocTest.test_is_package_when_is_package) ... ok test_is_package_when_not_package (test.test_pydoc.test_pydoc.PydocDocTest.test_is_package_when_not_package) ... ok test_issue8225 (test.test_pydoc.test_pydoc.PydocDocTest.test_issue8225) ... ok test_lambda_with_return_and_params_annotation (test.test_pydoc.test_pydoc.PydocDocTest.test_lambda_with_return_and_params_annotation) ... ok test_lambda_with_return_annotation (test.test_pydoc.test_pydoc.PydocDocTest.test_lambda_with_return_annotation) ... ok test_lambda_without_return_annotation (test.test_pydoc.test_pydoc.PydocDocTest.test_lambda_without_return_annotation) ... ok test_method_aliases (test.test_pydoc.test_pydoc.PydocDocTest.test_method_aliases) ... ok test_mixed_case_module_names_are_lower_cased (test.test_pydoc.test_pydoc.PydocDocTest.test_mixed_case_module_names_are_lower_cased) ... ok test_namedtuple_fields (test.test_pydoc.test_pydoc.PydocDocTest.test_namedtuple_fields) ... ok test_namedtuple_public_underscore (test.test_pydoc.test_pydoc.PydocDocTest.test_namedtuple_public_underscore) ... ok test_non_str_name (test.test_pydoc.test_pydoc.PydocDocTest.test_non_str_name) ... ok test_not_ascii (test.test_pydoc.test_pydoc.PydocDocTest.test_not_ascii) ... ok test_not_here (test.test_pydoc.test_pydoc.PydocDocTest.test_not_here) ... ok test_showtopic (test.test_pydoc.test_pydoc.PydocDocTest.test_showtopic) ... ok test_showtopic_output_redirect (test.test_pydoc.test_pydoc.PydocDocTest.test_showtopic_output_redirect) ... ok test_source_synopsis (test.test_pydoc.test_pydoc.PydocDocTest.test_source_synopsis) ... ok test_splitdoc_with_description (test.test_pydoc.test_pydoc.PydocDocTest.test_splitdoc_with_description) ... ok test_stripid (test.test_pydoc.test_pydoc.PydocDocTest.test_stripid) ... ok test_synopsis (test.test_pydoc.test_pydoc.PydocDocTest.test_synopsis) ... ok test_synopsis_sourceless (test.test_pydoc.test_pydoc.PydocDocTest.test_synopsis_sourceless) ... ok test_synopsis_sourceless_empty_doc (test.test_pydoc.test_pydoc.PydocDocTest.test_synopsis_sourceless_empty_doc) ... ok test_text_doc (test.test_pydoc.test_pydoc.PydocDocTest.test_text_doc) ... ok test_text_enum_member_with_value_zero (test.test_pydoc.test_pydoc.PydocDocTest.test_text_enum_member_with_value_zero) ... ok test_html_doc_inherited_routines_in_class (test.test_pydoc.test_pydoc.PydocFodderTest.test_html_doc_inherited_routines_in_class) ... FAIL test_html_doc_routines_in_class (test.test_pydoc.test_pydoc.PydocFodderTest.test_html_doc_routines_in_class) ... FAIL test_html_doc_routines_in_module (test.test_pydoc.test_pydoc.PydocFodderTest.test_html_doc_routines_in_module) ... ok test_text_doc_inherited_routines_in_class (test.test_pydoc.test_pydoc.PydocFodderTest.test_text_doc_inherited_routines_in_class) ... FAIL test_text_doc_routines_in_class (test.test_pydoc.test_pydoc.PydocFodderTest.test_text_doc_routines_in_class) ... FAIL test_text_doc_routines_in_module (test.test_pydoc.test_pydoc.PydocFodderTest.test_text_doc_routines_in_module) ... ok test_apropos_empty_doc (test.test_pydoc.test_pydoc.PydocImportTest.test_apropos_empty_doc) ... ok test_apropos_with_bad_package (test.test_pydoc.test_pydoc.PydocImportTest.test_apropos_with_bad_package) ... ok test_apropos_with_unreadable_dir (test.test_pydoc.test_pydoc.PydocImportTest.test_apropos_with_unreadable_dir) ... ok test_badimport (test.test_pydoc.test_pydoc.PydocImportTest.test_badimport) ... ok test_importfile (test.test_pydoc.test_pydoc.PydocImportTest.test_importfile) ... ok test_modules (test.test_pydoc.test_pydoc.PydocImportTest.test_modules) ... skipped 'causes undesirable side-effects (#20128)' test_modules_search (test.test_pydoc.test_pydoc.PydocImportTest.test_modules_search) ... skipped 'causes undesirable side-effects (#20128)' test_modules_search_builtin (test.test_pydoc.test_pydoc.PydocImportTest.test_modules_search_builtin) ... skipped 'some buildbots are not cooperating (#20128)' test_url_search_package_error (test.test_pydoc.test_pydoc.PydocImportTest.test_url_search_package_error) ... ok test_server (test.test_pydoc.test_pydoc.PydocServerTest.test_server) ... ok test_content_type_err (test.test_pydoc.test_pydoc.PydocUrlHandlerTest.test_content_type_err) ... ok test_url_requests (test.test_pydoc.test_pydoc.PydocUrlHandlerTest.test_url_requests) ... ok test_DynamicClassAttribute (test.test_pydoc.test_pydoc.PydocWithMetaClasses.test_DynamicClassAttribute) ... ok test_buggy_dir (test.test_pydoc.test_pydoc.PydocWithMetaClasses.test_buggy_dir) ... ok test_resolve_false (test.test_pydoc.test_pydoc.PydocWithMetaClasses.test_resolve_false) ... ok test_virtualClassAttributeWithOneMeta (test.test_pydoc.test_pydoc.PydocWithMetaClasses.test_virtualClassAttributeWithOneMeta) ... ok test_virtualClassAttributeWithTwoMeta (test.test_pydoc.test_pydoc.PydocWithMetaClasses.test_virtualClassAttributeWithTwoMeta) ... ok test_async_annotation (test.test_pydoc.test_pydoc.TestDescriptions.test_async_annotation) ... ok test_async_generator_annotation (test.test_pydoc.test_pydoc.TestDescriptions.test_async_generator_annotation) ... ok test_bound_builtin_method (test.test_pydoc.test_pydoc.TestDescriptions.test_bound_builtin_method) ... ok test_bound_builtin_method_noargs (test.test_pydoc.test_pydoc.TestDescriptions.test_bound_builtin_method_noargs) ... ok test_bound_python_method (test.test_pydoc.test_pydoc.TestDescriptions.test_bound_python_method) ... ok test_builtin (test.test_pydoc.test_pydoc.TestDescriptions.test_builtin) ... ok test_class (test.test_pydoc.test_pydoc.TestDescriptions.test_class) ... ok test_classmethod (test.test_pydoc.test_pydoc.TestDescriptions.test_classmethod) ... ok test_custom_data_descriptor (test.test_pydoc.test_pydoc.TestDescriptions.test_custom_data_descriptor) ... ok test_custom_non_data_descriptor (test.test_pydoc.test_pydoc.TestDescriptions.test_custom_non_data_descriptor) ... ok test_dict_attr_descriptor (test.test_pydoc.test_pydoc.TestDescriptions.test_dict_attr_descriptor) ... ok test_field_order_for_named_tuples (test.test_pydoc.test_pydoc.TestDescriptions.test_field_order_for_named_tuples) ... ok test_generic_alias (test.test_pydoc.test_pydoc.TestDescriptions.test_generic_alias) ... ok test_getset_descriptor (test.test_pydoc.test_pydoc.TestDescriptions.test_getset_descriptor) ... ok test_html_for_https_links (test.test_pydoc.test_pydoc.TestDescriptions.test_html_for_https_links) ... ok test_member_descriptor (test.test_pydoc.test_pydoc.TestDescriptions.test_member_descriptor) ... ok test_module (test.test_pydoc.test_pydoc.TestDescriptions.test_module) ... ok test_module_level_callable (test.test_pydoc.test_pydoc.TestDescriptions.test_module_level_callable) ... ok test_module_none (test.test_pydoc.test_pydoc.TestDescriptions.test_module_none) ... ok test_namedtuple_field_descriptor (test.test_pydoc.test_pydoc.TestDescriptions.test_namedtuple_field_descriptor) ... ok test_property (test.test_pydoc.test_pydoc.TestDescriptions.test_property) ... ok test_slot_descriptor (test.test_pydoc.test_pydoc.TestDescriptions.test_slot_descriptor) ... ok test_special_form (test.test_pydoc.test_pydoc.TestDescriptions.test_special_form) ... ok test_staticmethod (test.test_pydoc.test_pydoc.TestDescriptions.test_staticmethod) ... ok test_structseq_member_descriptor (test.test_pydoc.test_pydoc.TestDescriptions.test_structseq_member_descriptor) ... ok test_typing_pydoc (test.test_pydoc.test_pydoc.TestDescriptions.test_typing_pydoc) ... ok test_unbound_builtin_method (test.test_pydoc.test_pydoc.TestDescriptions.test_unbound_builtin_method) ... FAIL test_unbound_builtin_method_noargs (test.test_pydoc.test_pydoc.TestDescriptions.test_unbound_builtin_method_noargs) ... FAIL test_unbound_python_method (test.test_pydoc.test_pydoc.TestDescriptions.test_unbound_python_method) ... ok test_union_type (test.test_pydoc.test_pydoc.TestDescriptions.test_union_type) ... FAIL test_keywords (test.test_pydoc.test_pydoc.TestHelper.test_keywords) ... ok test_sys_path_adjustment_adds_missing_curdir (test.test_pydoc.test_pydoc.TestInternalUtilities.test_sys_path_adjustment_adds_missing_curdir) ... ok test_sys_path_adjustment_protects_pydoc_dir (test.test_pydoc.test_pydoc.TestInternalUtilities.test_sys_path_adjustment_protects_pydoc_dir) ... ok test_sys_path_adjustment_removes_argv0_dir (test.test_pydoc.test_pydoc.TestInternalUtilities.test_sys_path_adjustment_removes_argv0_dir) ... ok test_sys_path_adjustment_when_curdir_already_included (test.test_pydoc.test_pydoc.TestInternalUtilities.test_sys_path_adjustment_when_curdir_already_included) ... ok ====================================================================== FAIL: test_allmethods (test.test_pydoc.test_pydoc.PydocDocTest.test_allmethods) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pydoc/test_pydoc.py", line 981, in test_allmethods self.assertDictEqual(methods, expected) ^^^^^^^^^^^^^^^ AssertionError: {'__delattr__': <function object.__delattr__ [1579 chars]b78>} != {'__new__': <staticmethod(<function object.__[1595 chars]b78>} {'__delattr__': <function object.__delattr__ at 0x00007f46efb06200>, '__dir__': <function object.__dir__ at 0x00007f46efc23da0>, '__eq__': <function object.__eq__ at 0x00007f46efafe2e0>, '__format__': <function object.__format__ at 0x00007f46efaefd20>, '__ge__': <function object.__gt__ at 0x00007f46efafe200>, '__getattribute__': <function object.__getattribute__ at 0x00007f46efb063c0>, '__getstate__': <function object.__getstate__ at 0x00007f46efc240a0>, '__gt__': <function object.__gt__ at 0x00007f46efafe200>, '__hash__': <function object.__hash__ at 0x00007f46efaef820>, '__init__': <function object.__init__ at 0x00007f46efafd8c0>, '__init_subclass__': <bound method object.__init_subclass__ of <class 'test.test_pydoc.test_pydoc.PydocDocTest.test_allmethods.<locals>.TestClass'>>, '__le__': <function object.__gt__ at 0x00007f46efafe200>, '__lt__': <function object.__gt__ at 0x00007f46efafe200>, '__ne__': <function object.__ne__ at 0x00007f46efafe040>, - '__new__': <function object.__new__ at 0x00007f46efbef7e0>, + '__new__': <staticmethod(<function object.__new__ at 0x00007f46efbef7e0>)>, ? ++++++++++++++ ++ '__reduce__': <function object.__reduce__ at 0x00007f46efc23f60>, '__reduce_ex__': <function object.__reduce_ex__ at 0x00007f46efc23e80>, '__repr__': <function object.__repr__ at 0x00007f46efaef720>, '__setattr__': <function object.__setattr__ at 0x00007f46efb062e0>, '__str__': <function object.__str__ at 0x00007f46efaef980>, '__subclasshook__': <bound method object.__subclasshook__ of <class 'test.test_pydoc.test_pydoc.PydocDocTest.test_allmethods.<locals>.TestClass'>>, 'method_returning_true': <function PydocDocTest.test_allmethods.<locals>.TestClass.method_returning_true at 0x00007f46e98e1b78>} ====================================================================== FAIL: test_html_doc (test.test_pydoc.test_pydoc.PydocDocTest.test_html_doc) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pydoc/test_pydoc.py", line 432, in test_html_doc self.assertEqual(text_lines, expected_lines) ^^^^^^^^^^^ AssertionError: Lists differ: ['tes[90 chars]s', 'builtins', 'types', 'typing', 'Classes', [1607 chars]ody'] != ['tes[90 chars]s', 'types', 'typing', 'Classes', 'builtins.ob[1595 chars]ody'] First differing element 3: 'builtins' 'types' First list contains 1 additional elements. First extra element 65: 'Nobody' ['test.test_pydoc.pydoc_mod (version 1.2.3.4)', 'This is a test module for test_pydoc', 'Modules', - 'builtins', 'types', 'typing', 'Classes', 'builtins.object', 'A', 'B', 'C', 'class A(builtins.object)', 'Hello and goodbye', 'Methods defined here:', '__init__()', 'Wow, I have no function!', '----------------------------------------------------------------------', 'Data descriptors defined here:', '__dict__', 'dictionary for instance variables', '__weakref__', 'list of weak references to the object', 'class B(builtins.object)', 'Data descriptors defined here:', '__dict__', 'dictionary for instance variables', '__weakref__', 'list of weak references to the object', '----------------------------------------------------------------------', 'Data and other attributes defined here:', "NO_MEANING = 'eggs'", "__annotations__ = {'NO_MEANING': <class 'str'>}", 'class C(builtins.object)', 'Methods defined here:', 'get_answer(self)', 'Return say_no()', 'is_it_true(self)', 'Return self.get_answer()', 'say_no(self)', '----------------------------------------------------------------------', 'Class methods defined here:', '__class_getitem__(item)', '----------------------------------------------------------------------', 'Data descriptors defined here:', '__dict__', 'dictionary for instance variables', '__weakref__', 'list of weak references to the object', 'Functions', 'doc_func()', "This function solves all of the world's problems:", 'hunger', 'lack of Python', 'war', 'nodoc_func()', 'Data', "__xyz__ = 'X, Y and Z'", 'c_alias = test.test_pydoc.pydoc_mod.C[int]', 'list_alias1 = typing.List[int]', 'list_alias2 = list[int]', 'type_union1 = typing.Union[int, str]', 'type_union2 = int | str', 'Author', 'Benjamin Peterson', 'Credits', 'Nobody'] ====================================================================== FAIL: test_html_doc_inherited_routines_in_class (test.test_pydoc.test_pydoc.PydocFodderTest.test_html_doc_inherited_routines_in_class) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pydoc/test_pydoc.py", line 1672, in test_html_doc_inherited_routines_in_class self.test_html_doc_routines_in_class(pydocfodder.D) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pydoc/test_pydoc.py", line 1655, in test_html_doc_routines_in_class self.assertIn('__repr__(self, /) from builtins.object', lines) ^^^^^^^^ AssertionError: '__repr__(self, /) from builtins.object' not found in ['Methods inherited from B:', 'ABC_method(self)', 'Method defined in A, B and C.', '', 'AB_method(self)', 'Method defined in A and B.', '', 'A_method_alias = A_method(self)', '', 'A_staticmethod(x, y) from test.test_pydoc.pydocfodder.A', 'A static method defined in A.', '', 'A_staticmethod_alias = A_staticmethod(x, y)', '', 'BC_method(self)', 'Method defined in B and C.', '', 'B_method(self)', 'Method defined in B.', '', 'B_method_alias = B_method(self)', '', '__repr__(self, /) from object', 'Return repr(self).', '', 'global_func(x, y) from test.test_pydoc.pydocfodder', 'Module global function', '', 'global_func2_alias = global_func2(x, y) from test.test_pydoc.pydocfodder', 'Module global function 2', '', 'global_func_alias = global_func(x, y)', '', 'object_repr = __repr__(self, /)', ''] ====================================================================== FAIL: test_html_doc_routines_in_class (test.test_pydoc.test_pydoc.PydocFodderTest.test_html_doc_routines_in_class) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pydoc/test_pydoc.py", line 1655, in test_html_doc_routines_in_class self.assertIn('__repr__(self, /) from builtins.object', lines) ^^^^^^^^ AssertionError: '__repr__(self, /) from builtins.object' not found in ['Methods defined here:', 'ABCD_method(self)', 'Method defined in A, B, C and D.', '', 'ABC_method(self)', 'Method defined in A, B and C.', '', 'ABD_method(self)', 'Method defined in A, B and D.', '', 'AB_method(self)', 'Method defined in A and B.', '', 'A_method_alias = A_method(self)', '', 'A_staticmethod(x, y) from test.test_pydoc.pydocfodder.A', 'A static method defined in A.', '', 'A_staticmethod_alias = A_staticmethod(x, y)', '', 'BCD_method(self)', 'Method defined in B, C and D.', '', 'BC_method(self)', 'Method defined in B and C.', '', 'BD_method(self)', 'Method defined in B and D.', '', 'B_method(self)', 'Method defined in B.', '', 'B_method_alias = B_method(self)', '', '__repr__(self, /) from object', 'Return repr(self).', '', 'global_func(x, y) from test.test_pydoc.pydocfodder', 'Module global function', '', 'global_func2_alias = global_func2(x, y) from test.test_pydoc.pydocfodder', 'Module global function 2', '', 'global_func_alias = global_func(x, y)', '', 'object_repr = __repr__(self, /)', ''] ====================================================================== FAIL: test_text_doc_inherited_routines_in_class (test.test_pydoc.test_pydoc.PydocFodderTest.test_text_doc_inherited_routines_in_class) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pydoc/test_pydoc.py", line 1669, in test_text_doc_inherited_routines_in_class self.test_text_doc_routines_in_class(pydocfodder.D) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pydoc/test_pydoc.py", line 1627, in test_text_doc_routines_in_class self.assertIn(' | __repr__(self, /) from builtins.object', lines) ^^^^^^^^ AssertionError: ' | __repr__(self, /) from builtins.object' not found in [' | Methods inherited from B:', ' |', ' | ABC_method(self)', ' | Method defined in A, B and C.', ' |', ' | AB_method(self)', ' | Method defined in A and B.', ' |', ' | A_method_alias = A_method(self)', ' |', ' | A_staticmethod(x, y) from test.test_pydoc.pydocfodder.A', ' | A static method defined in A.', ' |', ' | A_staticmethod_alias = A_staticmethod(x, y)', ' |', ' | BC_method(self)', ' | Method defined in B and C.', ' |', ' | B_method(self)', ' | Method defined in B.', ' |', ' | B_method_alias = B_method(self)', ' |', ' | __repr__(self, /) from object', ' | Return repr(self).', ' |', ' | global_func(x, y) from test.test_pydoc.pydocfodder', ' | Module global function', ' |', ' | global_func2_alias = global_func2(x, y) from test.test_pydoc.pydocfodder', ' | Module global function 2', ' |', ' | global_func_alias = global_func(x, y)', ' |', ' | object_repr = __repr__(self, /)', ' |'] ====================================================================== FAIL: test_text_doc_routines_in_class (test.test_pydoc.test_pydoc.PydocFodderTest.test_text_doc_routines_in_class) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pydoc/test_pydoc.py", line 1627, in test_text_doc_routines_in_class self.assertIn(' | __repr__(self, /) from builtins.object', lines) ^^^^^^^^ AssertionError: ' | __repr__(self, /) from builtins.object' not found in [' | Methods defined here:', ' |', ' | ABCD_method(self)', ' | Method defined in A, B, C and D.', ' |', ' | ABC_method(self)', ' | Method defined in A, B and C.', ' |', ' | ABD_method(self)', ' | Method defined in A, B and D.', ' |', ' | AB_method(self)', ' | Method defined in A and B.', ' |', ' | A_method_alias = A_method(self)', ' |', ' | A_staticmethod(x, y) from test.test_pydoc.pydocfodder.A', ' | A static method defined in A.', ' |', ' | A_staticmethod_alias = A_staticmethod(x, y)', ' |', ' | BCD_method(self)', ' | Method defined in B, C and D.', ' |', ' | BC_method(self)', ' | Method defined in B and C.', ' |', ' | BD_method(self)', ' | Method defined in B and D.', ' |', ' | B_method(self)', ' | Method defined in B.', ' |', ' | B_method_alias = B_method(self)', ' |', ' | __repr__(self, /) from object', ' | Return repr(self).', ' |', ' | global_func(x, y) from test.test_pydoc.pydocfodder', ' | Module global function', ' |', ' | global_func2_alias = global_func2(x, y) from test.test_pydoc.pydocfodder', ' | Module global function 2', ' |', ' | global_func_alias = global_func(x, y)', ' |', ' | object_repr = __repr__(self, /)', ' |'] ====================================================================== FAIL: test_unbound_builtin_method (test.test_pydoc.test_pydoc.TestDescriptions.test_unbound_builtin_method) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pydoc/test_pydoc.py", line 1356, in test_unbound_builtin_method self.assertEqual(self._get_summary_line(_pickle.Pickler.dump), ^^^^^^^^^^^ AssertionError: 'dump(self, obj, /)' != 'dump(self, obj, /) unbound _pickle.Pickler method' - dump(self, obj, /) + dump(self, obj, /) unbound _pickle.Pickler method ====================================================================== FAIL: test_unbound_builtin_method_noargs (test.test_pydoc.test_pydoc.TestDescriptions.test_unbound_builtin_method_noargs) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pydoc/test_pydoc.py", line 1394, in test_unbound_builtin_method_noargs self.assertEqual(self._get_summary_line(str.lower), ^^^^^^^^^^^ AssertionError: 'lower(self, /)' != 'lower(self, /) unbound builtins.str method' - lower(self, /) + lower(self, /) unbound builtins.str method ====================================================================== FAIL: test_union_type (test.test_pydoc.test_pydoc.TestDescriptions.test_union_type) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pydoc/test_pydoc.py", line 1292, in test_union_type self.assertIn('UnionType in module types object', doc) ^^^^^^^^ AssertionError: 'UnionType in module types object' not found in 'Python Library Documentation: UnionType in module _pypy_generic_alias object\n\nclass UnionType(builtins.object)\n | UnionType(args)\n |\n | Represent a PEP 604 union type\n |\n | E.g. for int | str\n |\n | Methods defined here:\n |\n | __eq__(self, other)\n | Return self==value.\n |\n | __getitem__(self, items)\n |\n | __hash__(self)\n | Return hash(self).\n |\n | __init__(self, args)\n | Initialize self. See help(type(self)) for accurate signature.\n |\n | __instancecheck__(self, instance)\n | __instancecheck__($obj, inst, /)\n | --\n |\n | __or__(self, other)\n | __or__($self, other, /)\n | --\n |\n | __repr__(self)\n | Return repr(self).\n |\n | __ror__(self, other)\n | __ror__($self, other, /)\n | --\n |\n | __subclasscheck__(self, other)\n | __subclasscheck__($obj, sub, /)\n | --\n |\n | ----------------------------------------------------------------------\n | Readonly properties defined here:\n |\n | __args__\n |\n | ----------------------------------------------------------------------\n | Data descriptors defined here:\n |\n | __parameters__\n |\n | __weakref__\n | list of weak references to the object\n |\n | ----------------------------------------------------------------------\n | Data and other attributes defined here:\n |\n | __iter__ = None\n' ---------------------------------------------------------------------- Ran 97 tests in 3.059s FAILED (failures=9, skipped=3) 0:00:03 load avg: 1.96 [1/1/1] test_pydoc.test_pydoc failed (9 failures) == Tests result: FAILURE == 1 test failed: test_pydoc.test_pydoc Total duration: 3.4 sec Total tests: run=97 failures=9 skipped=3 Total test files: run=1/1 failed=1 Result: FAILURE test test_pydoc.test_pydoc failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1766811æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 209679891 0:00:00 load avg: 1.96 Run 1 test sequentially in a single process 0:00:00 load avg: 1.96 [1/1] test_pyrepl 0:00:00 load avg: 1.96 [1/1/1] test_pyrepl failed (uncaught exception) == Tests result: FAILURE == 1 test failed: test_pyrepl Total duration: 257 ms Total tests: run=0 Total test files: run=1/1 failed=1 Result: FAILURE Failed to import test module: test.test_pyrepl.test_interact Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/loader.py", line 396, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/loader.py", line 339, in _get_module_from_name __import__(name) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pyrepl/test_interact.py", line 8, in <module> from test.support import force_not_colorized ImportError: cannot import name 'force_not_colorized' from 'test.support' (/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py) Failed to import test module: test.test_pyrepl.test_pyrepl Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/loader.py", line 396, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/loader.py", line 339, in _get_module_from_name __import__(name) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pyrepl/test_pyrepl.py", line 13, in <module> from test.support import force_not_colorized, is_pypy ImportError: cannot import name 'force_not_colorized' from 'test.support' (/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py) test test_pyrepl crashed -- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc _load_run_test(result, runtests) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 138, in _load_run_test regrtest_runner(result, test_func, runtests) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 91, in regrtest_runner test_result = test_func() ^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 135, in test_func return run_unittest(test_mod) ^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 35, in run_unittest raise Exception("errors while loading tests") Exception: errors while loading tests _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1766816æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1056179649 0:00:00 load avg: 1.96 Run 1 test sequentially in a single process 0:00:00 load avg: 1.96 [1/1] test_sqlite3 test_sqlite3: testing with SQLite version 3.47.2 0:00:01 load avg: 1.96 [1/1/1] test_sqlite3 failed (uncaught exception) == Tests result: FAILURE == 1 test failed: test_sqlite3 Total duration: 1.5 sec Total tests: run=0 Total test files: run=1/1 failed=1 Result: FAILURE Failed to import test module: test.test_sqlite3.test_transactions Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/loader.py", line 396, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/loader.py", line 339, in _get_module_from_name __import__(name) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sqlite3/test_transactions.py", line 367, in <module> class AutocommitAttribute(unittest.TestCase): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_sqlite3/test_transactions.py", line 369, in AutocommitAttribute legacy = sqlite.LEGACY_TRANSACTION_CONTROL ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/sqlite3/__init__.py", line 70, in __getattr__ raise AttributeError(f"module {__name__!r} has no attribute {name!r}") AttributeError: module 'sqlite3' has no attribute 'LEGACY_TRANSACTION_CONTROL' test test_sqlite3 crashed -- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc _load_run_test(result, runtests) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 138, in _load_run_test regrtest_runner(result, test_func, runtests) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 91, in regrtest_runner test_result = test_func() ^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 135, in test_func return run_unittest(test_mod) ^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/libregrtest/single.py", line 35, in run_unittest raise Exception("errors while loading tests") Exception: errors while loading tests _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1766826æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 389086676 0:00:00 load avg: 1.96 Run 1 test sequentially in a single process 0:00:00 load avg: 1.96 [1/1] test_unittest testAlmostEqual (test.test_unittest.test_assertions.TestLongMessage.testAlmostEqual) ... ok testAssertDictEqual (test.test_unittest.test_assertions.TestLongMessage.testAssertDictEqual) ... ok testAssertFalse (test.test_unittest.test_assertions.TestLongMessage.testAssertFalse) ... ok testAssertGreater (test.test_unittest.test_assertions.TestLongMessage.testAssertGreater) ... ok testAssertGreaterEqual (test.test_unittest.test_assertions.TestLongMessage.testAssertGreaterEqual) ... ok testAssertIn (test.test_unittest.test_assertions.TestLongMessage.testAssertIn) ... ok testAssertIs (test.test_unittest.test_assertions.TestLongMessage.testAssertIs) ... ok testAssertIsNone (test.test_unittest.test_assertions.TestLongMessage.testAssertIsNone) ... ok testAssertIsNot (test.test_unittest.test_assertions.TestLongMessage.testAssertIsNot) ... ok testAssertIsNotNone (test.test_unittest.test_assertions.TestLongMessage.testAssertIsNotNone) ... ok testAssertLess (test.test_unittest.test_assertions.TestLongMessage.testAssertLess) ... ok testAssertLessEqual (test.test_unittest.test_assertions.TestLongMessage.testAssertLessEqual) ... ok testAssertMultiLineEqual (test.test_unittest.test_assertions.TestLongMessage.testAssertMultiLineEqual) ... ok testAssertNotIn (test.test_unittest.test_assertions.TestLongMessage.testAssertNotIn) ... ok testAssertNotRegex (test.test_unittest.test_assertions.TestLongMessage.testAssertNotRegex) ... ok testAssertRaises (test.test_unittest.test_assertions.TestLongMessage.testAssertRaises) ... ok testAssertRaisesRegex (test.test_unittest.test_assertions.TestLongMessage.testAssertRaisesRegex) ... ok testAssertRegex (test.test_unittest.test_assertions.TestLongMessage.testAssertRegex) ... ok testAssertSequenceEqual (test.test_unittest.test_assertions.TestLongMessage.testAssertSequenceEqual) ... ok testAssertSetEqual (test.test_unittest.test_assertions.TestLongMessage.testAssertSetEqual) ... ok testAssertTrue (test.test_unittest.test_assertions.TestLongMessage.testAssertTrue) ... ok testAssertWarns (test.test_unittest.test_assertions.TestLongMessage.testAssertWarns) ... ok testAssertWarnsRegex (test.test_unittest.test_assertions.TestLongMessage.testAssertWarnsRegex) ... ok testDefault (test.test_unittest.test_assertions.TestLongMessage.testDefault) ... ok testNotAlmostEqual (test.test_unittest.test_assertions.TestLongMessage.testNotAlmostEqual) ... ok testNotEqual (test.test_unittest.test_assertions.TestLongMessage.testNotEqual) ... ok test_baseAssertEqual (test.test_unittest.test_assertions.TestLongMessage.test_baseAssertEqual) ... ok test_formatMessage_unicode_error (test.test_unittest.test_assertions.TestLongMessage.test_formatMessage_unicode_error) ... ok test_formatMsg (test.test_unittest.test_assertions.TestLongMessage.test_formatMsg) ... ok testAssertNotRegex (test.test_unittest.test_assertions.Test_Assertions.testAssertNotRegex) ... ok test_AlmostEqual (test.test_unittest.test_assertions.Test_Assertions.test_AlmostEqual) ... ok test_AmostEqualWithDelta (test.test_unittest.test_assertions.Test_Assertions.test_AmostEqualWithDelta) ... ok test_assertRaises (test.test_unittest.test_assertions.Test_Assertions.test_assertRaises) ... ok test_assertRaises_frames_survival (test.test_unittest.test_assertions.Test_Assertions.test_assertRaises_frames_survival) ... ok test_base_exception_from_async_method (test.test_unittest.test_async_case.TestAsyncCase.test_base_exception_from_async_method) ... ok test_cancellation_hanging_tasks (test.test_unittest.test_async_case.TestAsyncCase.test_cancellation_hanging_tasks) ... ok test_cleanups_interleave_order (test.test_unittest.test_async_case.TestAsyncCase.test_cleanups_interleave_order) ... ok test_debug_cleanup_same_loop (test.test_unittest.test_async_case.TestAsyncCase.test_debug_cleanup_same_loop) ... ok test_deprecation_of_return_val_from_test (test.test_unittest.test_async_case.TestAsyncCase.test_deprecation_of_return_val_from_test) ... ok test_enterAsyncContext (test.test_unittest.test_async_case.TestAsyncCase.test_enterAsyncContext) ... ok test_enterAsyncContext_arg_errors (test.test_unittest.test_async_case.TestAsyncCase.test_enterAsyncContext_arg_errors) ... ok test_exception_in_setup (test.test_unittest.test_async_case.TestAsyncCase.test_exception_in_setup) ... ok test_exception_in_tear_clean_up (test.test_unittest.test_async_case.TestAsyncCase.test_exception_in_tear_clean_up) ... ok test_exception_in_tear_down (test.test_unittest.test_async_case.TestAsyncCase.test_exception_in_tear_down) ... ok test_exception_in_test (test.test_unittest.test_async_case.TestAsyncCase.test_exception_in_test) ... ok test_full_cycle (test.test_unittest.test_async_case.TestAsyncCase.test_full_cycle) ... ok test_setup_get_event_loop (test.test_unittest.test_async_case.TestAsyncCase.test_setup_get_event_loop) ... ok testHandlerReplacedButCalled (test.test_unittest.test_break.TestBreak.testHandlerReplacedButCalled) ... ok testInstallHandler (test.test_unittest.test_break.TestBreak.testInstallHandler) ... ok testInterruptCaught (test.test_unittest.test_break.TestBreak.testInterruptCaught) ... ok testMainInstallsHandler (test.test_unittest.test_break.TestBreak.testMainInstallsHandler) ... ok testRegisterResult (test.test_unittest.test_break.TestBreak.testRegisterResult) ... ok testRemoveHandler (test.test_unittest.test_break.TestBreak.testRemoveHandler) ... ok testRemoveHandlerAsDecorator (test.test_unittest.test_break.TestBreak.testRemoveHandlerAsDecorator) ... ok testRemoveResult (test.test_unittest.test_break.TestBreak.testRemoveResult) ... ok testRunner (test.test_unittest.test_break.TestBreak.testRunner) ... ok testSecondInterrupt (test.test_unittest.test_break.TestBreak.testSecondInterrupt) ... ok testTwoResults (test.test_unittest.test_break.TestBreak.testTwoResults) ... ok testWeakReferences (test.test_unittest.test_break.TestBreak.testWeakReferences) ... ok testHandlerReplacedButCalled (test.test_unittest.test_break.TestBreakDefaultIntHandler.testHandlerReplacedButCalled) ... ok testInstallHandler (test.test_unittest.test_break.TestBreakDefaultIntHandler.testInstallHandler) ... ok testInterruptCaught (test.test_unittest.test_break.TestBreakDefaultIntHandler.testInterruptCaught) ... ok testMainInstallsHandler (test.test_unittest.test_break.TestBreakDefaultIntHandler.testMainInstallsHandler) ... ok testRegisterResult (test.test_unittest.test_break.TestBreakDefaultIntHandler.testRegisterResult) ... ok testRemoveHandler (test.test_unittest.test_break.TestBreakDefaultIntHandler.testRemoveHandler) ... ok testRemoveHandlerAsDecorator (test.test_unittest.test_break.TestBreakDefaultIntHandler.testRemoveHandlerAsDecorator) ... ok testRemoveResult (test.test_unittest.test_break.TestBreakDefaultIntHandler.testRemoveResult) ... ok testRunner (test.test_unittest.test_break.TestBreakDefaultIntHandler.testRunner) ... ok testSecondInterrupt (test.test_unittest.test_break.TestBreakDefaultIntHandler.testSecondInterrupt) ... ok testTwoResults (test.test_unittest.test_break.TestBreakDefaultIntHandler.testTwoResults) ... ok testWeakReferences (test.test_unittest.test_break.TestBreakDefaultIntHandler.testWeakReferences) ... ok testHandlerReplacedButCalled (test.test_unittest.test_break.TestBreakSignalDefault.testHandlerReplacedButCalled) ... ok testInstallHandler (test.test_unittest.test_break.TestBreakSignalDefault.testInstallHandler) ... ok testInterruptCaught (test.test_unittest.test_break.TestBreakSignalDefault.testInterruptCaught) ... ok testMainInstallsHandler (test.test_unittest.test_break.TestBreakSignalDefault.testMainInstallsHandler) ... ok testRegisterResult (test.test_unittest.test_break.TestBreakSignalDefault.testRegisterResult) ... ok testRemoveHandler (test.test_unittest.test_break.TestBreakSignalDefault.testRemoveHandler) ... ok testRemoveHandlerAsDecorator (test.test_unittest.test_break.TestBreakSignalDefault.testRemoveHandlerAsDecorator) ... ok testRemoveResult (test.test_unittest.test_break.TestBreakSignalDefault.testRemoveResult) ... ok testRunner (test.test_unittest.test_break.TestBreakSignalDefault.testRunner) ... ok testSecondInterrupt (test.test_unittest.test_break.TestBreakSignalDefault.testSecondInterrupt) ... ok testTwoResults (test.test_unittest.test_break.TestBreakSignalDefault.testTwoResults) ... ok testWeakReferences (test.test_unittest.test_break.TestBreakSignalDefault.testWeakReferences) ... ok testHandlerReplacedButCalled (test.test_unittest.test_break.TestBreakSignalIgnored.testHandlerReplacedButCalled) ... skipped 'test requires SIGINT to not be ignored' testInstallHandler (test.test_unittest.test_break.TestBreakSignalIgnored.testInstallHandler) ... ok testInterruptCaught (test.test_unittest.test_break.TestBreakSignalIgnored.testInterruptCaught) ... ok testMainInstallsHandler (test.test_unittest.test_break.TestBreakSignalIgnored.testMainInstallsHandler) ... ok testRegisterResult (test.test_unittest.test_break.TestBreakSignalIgnored.testRegisterResult) ... ok testRemoveHandler (test.test_unittest.test_break.TestBreakSignalIgnored.testRemoveHandler) ... ok testRemoveHandlerAsDecorator (test.test_unittest.test_break.TestBreakSignalIgnored.testRemoveHandlerAsDecorator) ... ok testRemoveResult (test.test_unittest.test_break.TestBreakSignalIgnored.testRemoveResult) ... ok testRunner (test.test_unittest.test_break.TestBreakSignalIgnored.testRunner) ... ok testSecondInterrupt (test.test_unittest.test_break.TestBreakSignalIgnored.testSecondInterrupt) ... skipped 'test requires SIGINT to not be ignored' testTwoResults (test.test_unittest.test_break.TestBreakSignalIgnored.testTwoResults) ... ok testWeakReferences (test.test_unittest.test_break.TestBreakSignalIgnored.testWeakReferences) ... ok testAddTypeEqualityFunc (test.test_unittest.test_case.Test_TestCase.testAddTypeEqualityFunc) ... ok testAssertCountEqual (test.test_unittest.test_case.Test_TestCase.testAssertCountEqual) ... ok testAssertDictEqualTruncates (test.test_unittest.test_case.Test_TestCase.testAssertDictEqualTruncates) ... ok testAssertEqual (test.test_unittest.test_case.Test_TestCase.testAssertEqual) ... ok testAssertEqualMultipleLinesMismatchedNewlinesTerminators (test.test_unittest.test_case.Test_TestCase.testAssertEqualMultipleLinesMismatchedNewlinesTerminators) Verifying format of diff output from assertEqual involving strings ... ok testAssertEqualMultipleLinesMissingNewlineTerminator (test.test_unittest.test_case.Test_TestCase.testAssertEqualMultipleLinesMissingNewlineTerminator) Verifying format of diff output from assertEqual involving strings ... ok testAssertEqualSingleLine (test.test_unittest.test_case.Test_TestCase.testAssertEqualSingleLine) ... ok testAssertEqual_diffThreshold (test.test_unittest.test_case.Test_TestCase.testAssertEqual_diffThreshold) ... ok testAssertEqual_shorten (test.test_unittest.test_case.Test_TestCase.testAssertEqual_shorten) ... ok testAssertEqualwithEmptyString (test.test_unittest.test_case.Test_TestCase.testAssertEqualwithEmptyString) Verify when there is an empty string involved, the diff output ... ok testAssertIn (test.test_unittest.test_case.Test_TestCase.testAssertIn) ... ok testAssertIs (test.test_unittest.test_case.Test_TestCase.testAssertIs) ... ok testAssertIsInstance (test.test_unittest.test_case.Test_TestCase.testAssertIsInstance) ... ok testAssertIsNone (test.test_unittest.test_case.Test_TestCase.testAssertIsNone) ... ok testAssertIsNot (test.test_unittest.test_case.Test_TestCase.testAssertIsNot) ... ok testAssertLogsDefaults (test.test_unittest.test_case.Test_TestCase.testAssertLogsDefaults) ... ok testAssertLogsFailureLevelTooHigh (test.test_unittest.test_case.Test_TestCase.testAssertLogsFailureLevelTooHigh) ... ok testAssertLogsFailureLevelTooHigh_FilterInRootLogger (test.test_unittest.test_case.Test_TestCase.testAssertLogsFailureLevelTooHigh_FilterInRootLogger) ... ok testAssertLogsFailureMismatchingLogger (test.test_unittest.test_case.Test_TestCase.testAssertLogsFailureMismatchingLogger) ... ok testAssertLogsFailureNoLogs (test.test_unittest.test_case.Test_TestCase.testAssertLogsFailureNoLogs) ... ok testAssertLogsPerLevel (test.test_unittest.test_case.Test_TestCase.testAssertLogsPerLevel) ... ok testAssertLogsPerLogger (test.test_unittest.test_case.Test_TestCase.testAssertLogsPerLogger) ... ok testAssertLogsTwoMatchingMessages (test.test_unittest.test_case.Test_TestCase.testAssertLogsTwoMatchingMessages) ... ok testAssertLogsUnexpectedException (test.test_unittest.test_case.Test_TestCase.testAssertLogsUnexpectedException) ... ok testAssertMultiLineEqual (test.test_unittest.test_case.Test_TestCase.testAssertMultiLineEqual) ... ok testAssertMultiLineEqualTruncates (test.test_unittest.test_case.Test_TestCase.testAssertMultiLineEqualTruncates) ... ok testAssertNoLogsDefault (test.test_unittest.test_case.Test_TestCase.testAssertNoLogsDefault) ... ok testAssertNoLogsFailureFoundLogs (test.test_unittest.test_case.Test_TestCase.testAssertNoLogsFailureFoundLogs) ... ok testAssertNoLogsFailurePerLevel (test.test_unittest.test_case.Test_TestCase.testAssertNoLogsFailurePerLevel) ... ok testAssertNoLogsFailurePerLogger (test.test_unittest.test_case.Test_TestCase.testAssertNoLogsFailurePerLogger) ... ok testAssertNoLogsPerLevel (test.test_unittest.test_case.Test_TestCase.testAssertNoLogsPerLevel) ... ok testAssertNoLogsPerLogger (test.test_unittest.test_case.Test_TestCase.testAssertNoLogsPerLogger) ... ok testAssertNoLogsUnexpectedException (test.test_unittest.test_case.Test_TestCase.testAssertNoLogsUnexpectedException) ... ok testAssertNoLogsYieldsNone (test.test_unittest.test_case.Test_TestCase.testAssertNoLogsYieldsNone) ... ok testAssertNotIsInstance (test.test_unittest.test_case.Test_TestCase.testAssertNotIsInstance) ... ok testAssertNotRaisesRegex (test.test_unittest.test_case.Test_TestCase.testAssertNotRaisesRegex) ... ok testAssertRaisesCallable (test.test_unittest.test_case.Test_TestCase.testAssertRaisesCallable) ... ok testAssertRaisesContext (test.test_unittest.test_case.Test_TestCase.testAssertRaisesContext) ... ok testAssertRaisesExcValue (test.test_unittest.test_case.Test_TestCase.testAssertRaisesExcValue) ... ok testAssertRaisesNoExceptionType (test.test_unittest.test_case.Test_TestCase.testAssertRaisesNoExceptionType) ... ok testAssertRaisesRefcount (test.test_unittest.test_case.Test_TestCase.testAssertRaisesRefcount) ... skipped 'implementation detail specific to cpython' testAssertRaisesRegex (test.test_unittest.test_case.Test_TestCase.testAssertRaisesRegex) ... ok testAssertRaisesRegexInvalidRegex (test.test_unittest.test_case.Test_TestCase.testAssertRaisesRegexInvalidRegex) ... ok testAssertRaisesRegexMismatch (test.test_unittest.test_case.Test_TestCase.testAssertRaisesRegexMismatch) ... ok testAssertRaisesRegexNoExceptionType (test.test_unittest.test_case.Test_TestCase.testAssertRaisesRegexNoExceptionType) ... ok testAssertRegex (test.test_unittest.test_case.Test_TestCase.testAssertRegex) ... ok testAssertSequenceEqualMaxDiff (test.test_unittest.test_case.Test_TestCase.testAssertSequenceEqualMaxDiff) ... ok testAssertSetEqual (test.test_unittest.test_case.Test_TestCase.testAssertSetEqual) ... ok testAssertWarnsCallable (test.test_unittest.test_case.Test_TestCase.testAssertWarnsCallable) ... ok testAssertWarnsContext (test.test_unittest.test_case.Test_TestCase.testAssertWarnsContext) ... ok testAssertWarnsModifySysModules (test.test_unittest.test_case.Test_TestCase.testAssertWarnsModifySysModules) ... ok testAssertWarnsNoExceptionType (test.test_unittest.test_case.Test_TestCase.testAssertWarnsNoExceptionType) ... ok testAssertWarnsRegexCallable (test.test_unittest.test_case.Test_TestCase.testAssertWarnsRegexCallable) ... ok testAssertWarnsRegexContext (test.test_unittest.test_case.Test_TestCase.testAssertWarnsRegexContext) ... ok testAssertWarnsRegexInvalidRegex (test.test_unittest.test_case.Test_TestCase.testAssertWarnsRegexInvalidRegex) ... ok testAssertWarnsRegexNoExceptionType (test.test_unittest.test_case.Test_TestCase.testAssertWarnsRegexNoExceptionType) ... ok testDeepcopy (test.test_unittest.test_case.Test_TestCase.testDeepcopy) ... ok testDeprecatedFailMethods (test.test_unittest.test_case.Test_TestCase.testDeprecatedFailMethods) Test that the deprecated fail* methods get removed in 3.12 ... ok testEquality (test.test_unittest.test_case.Test_TestCase.testEquality) ... ok testEqualityBytesWarning (test.test_unittest.test_case.Test_TestCase.testEqualityBytesWarning) ... ok testInequality (test.test_unittest.test_case.Test_TestCase.testInequality) ... ok testKeyboardInterrupt (test.test_unittest.test_case.Test_TestCase.testKeyboardInterrupt) ... ok testNoCycles (test.test_unittest.test_case.Test_TestCase.testNoCycles) ... skipped 'implementation detail specific to cpython' testPickle (test.test_unittest.test_case.Test_TestCase.testPickle) ... ok testShortDescriptionWhitespaceTrimming (test.test_unittest.test_case.Test_TestCase.testShortDescriptionWhitespaceTrimming) Tests shortDescription() whitespace is trimmed, so that the first ... ok testShortDescriptionWithMultiLineDocstring (test.test_unittest.test_case.Test_TestCase.testShortDescriptionWithMultiLineDocstring) Tests shortDescription() for a method with a longer docstring. ... ok testShortDescriptionWithOneLineDocstring (test.test_unittest.test_case.Test_TestCase.testShortDescriptionWithOneLineDocstring) Tests shortDescription() for a method with a docstring. ... ok testShortDescriptionWithoutDocstring (test.test_unittest.test_case.Test_TestCase.testShortDescriptionWithoutDocstring) ... ok testSkippingEverywhere (test.test_unittest.test_case.Test_TestCase.testSkippingEverywhere) ... ok testSystemExit (test.test_unittest.test_case.Test_TestCase.testSystemExit) ... ok testTruncateMessage (test.test_unittest.test_case.Test_TestCase.testTruncateMessage) ... ok test_call__invoking_an_instance_delegates_to_run (test.test_unittest.test_case.Test_TestCase.test_call__invoking_an_instance_delegates_to_run) ... ok test_countTestCases (test.test_unittest.test_case.Test_TestCase.test_countTestCases) ... ok test_defaultTestResult (test.test_unittest.test_case.Test_TestCase.test_defaultTestResult) ... ok test_deprecation_of_return_val_from_test (test.test_unittest.test_case.Test_TestCase.test_deprecation_of_return_val_from_test) ... ok test_eq (test.test_unittest.test_case.Test_TestCase.test_eq) ... ok test_failureException__default (test.test_unittest.test_case.Test_TestCase.test_failureException__default) ... ok test_failureException__subclassing__explicit_raise (test.test_unittest.test_case.Test_TestCase.test_failureException__subclassing__explicit_raise) ... ok test_failureException__subclassing__implicit_raise (test.test_unittest.test_case.Test_TestCase.test_failureException__subclassing__implicit_raise) ... ok test_hash (test.test_unittest.test_case.Test_TestCase.test_hash) ... ok test_id (test.test_unittest.test_case.Test_TestCase.test_id) ... ok test_init__no_test_name (test.test_unittest.test_case.Test_TestCase.test_init__no_test_name) ... ok test_init__test_name__invalid (test.test_unittest.test_case.Test_TestCase.test_init__test_name__invalid) ... ok test_init__test_name__valid (test.test_unittest.test_case.Test_TestCase.test_init__test_name__valid) ... ok test_ne (test.test_unittest.test_case.Test_TestCase.test_ne) ... ok test_no_exception_leak (test.test_unittest.test_case.Test_TestCase.test_no_exception_leak) ... ok test_run__returns_given_result (test.test_unittest.test_case.Test_TestCase.test_run__returns_given_result) ... ok test_run__uses_defaultTestResult (test.test_unittest.test_case.Test_TestCase.test_run__uses_defaultTestResult) ... ok test_run_call_order__error_in_setUp (test.test_unittest.test_case.Test_TestCase.test_run_call_order__error_in_setUp) ... ok test_run_call_order__error_in_setUp_default_result (test.test_unittest.test_case.Test_TestCase.test_run_call_order__error_in_setUp_default_result) ... ok test_run_call_order__error_in_tearDown (test.test_unittest.test_case.Test_TestCase.test_run_call_order__error_in_tearDown) ... ok test_run_call_order__error_in_tearDown_default_result (test.test_unittest.test_case.Test_TestCase.test_run_call_order__error_in_tearDown_default_result) ... ok test_run_call_order__error_in_test (test.test_unittest.test_case.Test_TestCase.test_run_call_order__error_in_test) ... ok test_run_call_order__error_in_test_default_result (test.test_unittest.test_case.Test_TestCase.test_run_call_order__error_in_test_default_result) ... ok test_run_call_order__failure_in_test (test.test_unittest.test_case.Test_TestCase.test_run_call_order__failure_in_test) ... ok test_run_call_order__failure_in_test_default_result (test.test_unittest.test_case.Test_TestCase.test_run_call_order__failure_in_test_default_result) ... ok test_run_call_order__subtests (test.test_unittest.test_case.Test_TestCase.test_run_call_order__subtests) ... ok test_run_call_order__subtests_failfast (test.test_unittest.test_case.Test_TestCase.test_run_call_order__subtests_failfast) ... ok test_run_call_order__subtests_legacy (test.test_unittest.test_case.Test_TestCase.test_run_call_order__subtests_legacy) ... ok test_run_call_order__subtests_success (test.test_unittest.test_case.Test_TestCase.test_run_call_order__subtests_success) ... ok test_run_call_order__subtests_success_legacy (test.test_unittest.test_case.Test_TestCase.test_run_call_order__subtests_success_legacy) ... ok test_run_call_order_default_result (test.test_unittest.test_case.Test_TestCase.test_run_call_order_default_result) ... ok test_setUp (test.test_unittest.test_case.Test_TestCase.test_setUp) ... ok test_subtests_debug (test.test_unittest.test_case.Test_TestCase.test_subtests_debug) ... ok test_subtests_failfast (test.test_unittest.test_case.Test_TestCase.test_subtests_failfast) ... ok test_tearDown (test.test_unittest.test_case.Test_TestCase.test_tearDown) ... ok test_command_line_handling_discover_by_default (test.test_unittest.test_discovery.TestDiscovery.test_command_line_handling_discover_by_default) ... ok test_command_line_handling_discover_by_default_with_options (test.test_unittest.test_discovery.TestDiscovery.test_command_line_handling_discover_by_default_with_options) ... ok test_command_line_handling_do_discovery_calls_loader (test.test_unittest.test_discovery.TestDiscovery.test_command_line_handling_do_discovery_calls_loader) ... ok test_command_line_handling_do_discovery_too_many_arguments (test.test_unittest.test_discovery.TestDiscovery.test_command_line_handling_do_discovery_too_many_arguments) ... ok test_command_line_handling_do_discovery_uses_default_loader (test.test_unittest.test_discovery.TestDiscovery.test_command_line_handling_do_discovery_uses_default_loader) ... ok test_command_line_handling_parseArgs (test.test_unittest.test_discovery.TestDiscovery.test_command_line_handling_parseArgs) ... ok test_detect_module_clash (test.test_unittest.test_discovery.TestDiscovery.test_detect_module_clash) ... ok test_discover (test.test_unittest.test_discovery.TestDiscovery.test_discover) ... ok test_discover_should_not_persist_top_level_dir_between_calls (test.test_unittest.test_discovery.TestDiscovery.test_discover_should_not_persist_top_level_dir_between_calls) ... ok test_discover_start_dir_is_package_calls_package_load_tests (test.test_unittest.test_discovery.TestDiscovery.test_discover_start_dir_is_package_calls_package_load_tests) ... ok test_discover_with_init_module_that_raises_SkipTest_on_import (test.test_unittest.test_discovery.TestDiscovery.test_discover_with_init_module_that_raises_SkipTest_on_import) ... ok test_discover_with_init_modules_that_fail_to_import (test.test_unittest.test_discovery.TestDiscovery.test_discover_with_init_modules_that_fail_to_import) ... ok test_discover_with_module_that_raises_SkipTest_on_import (test.test_unittest.test_discovery.TestDiscovery.test_discover_with_module_that_raises_SkipTest_on_import) ... ok test_discover_with_modules_that_fail_to_import (test.test_unittest.test_discovery.TestDiscovery.test_discover_with_modules_that_fail_to_import) ... ok test_discovery_failed_discovery (test.test_unittest.test_discovery.TestDiscovery.test_discovery_failed_discovery) ... ok test_discovery_from_dotted_path (test.test_unittest.test_discovery.TestDiscovery.test_discovery_from_dotted_path) ... ok test_discovery_from_dotted_path_builtin_modules (test.test_unittest.test_discovery.TestDiscovery.test_discovery_from_dotted_path_builtin_modules) ... ok test_find_tests (test.test_unittest.test_discovery.TestDiscovery.test_find_tests) ... ok test_find_tests_customize_via_package_pattern (test.test_unittest.test_discovery.TestDiscovery.test_find_tests_customize_via_package_pattern) ... ok test_find_tests_default_calls_package_load_tests (test.test_unittest.test_discovery.TestDiscovery.test_find_tests_default_calls_package_load_tests) ... ok test_find_tests_socket (test.test_unittest.test_discovery.TestDiscovery.test_find_tests_socket) ... ok test_find_tests_with_package (test.test_unittest.test_discovery.TestDiscovery.test_find_tests_with_package) ... ok test_get_name_from_path (test.test_unittest.test_discovery.TestDiscovery.test_get_name_from_path) ... ok test_module_symlink_ok (test.test_unittest.test_discovery.TestDiscovery.test_module_symlink_ok) ... ok test_countTestCases (test.test_unittest.test_functiontestcase.Test_FunctionTestCase.test_countTestCases) ... ok test_id (test.test_unittest.test_functiontestcase.Test_FunctionTestCase.test_id) ... ok test_run_call_order__error_in_setUp (test.test_unittest.test_functiontestcase.Test_FunctionTestCase.test_run_call_order__error_in_setUp) ... ok test_run_call_order__error_in_tearDown (test.test_unittest.test_functiontestcase.Test_FunctionTestCase.test_run_call_order__error_in_tearDown) ... ok test_run_call_order__error_in_test (test.test_unittest.test_functiontestcase.Test_FunctionTestCase.test_run_call_order__error_in_test) ... ok test_run_call_order__failure_in_test (test.test_unittest.test_functiontestcase.Test_FunctionTestCase.test_run_call_order__failure_in_test) ... ok test_shortDescription__no_docstring (test.test_unittest.test_functiontestcase.Test_FunctionTestCase.test_shortDescription__no_docstring) ... ok test_shortDescription__singleline_docstring (test.test_unittest.test_functiontestcase.Test_FunctionTestCase.test_shortDescription__singleline_docstring) ... ok test_findTestCases (test.test_unittest.test_loader.TestObsoleteFunctions.test_findTestCases) ... ok test_getTestCaseNames (test.test_unittest.test_loader.TestObsoleteFunctions.test_getTestCaseNames) ... ok test_makeSuite (test.test_unittest.test_loader.TestObsoleteFunctions.test_makeSuite) ... ok test___init__ (test.test_unittest.test_loader.Test_TestLoader.test___init__) ... ok test_getTestCaseNames (test.test_unittest.test_loader.Test_TestLoader.test_getTestCaseNames) ... ok test_getTestCaseNames__inheritance (test.test_unittest.test_loader.Test_TestLoader.test_getTestCaseNames__inheritance) ... ok test_getTestCaseNames__no_tests (test.test_unittest.test_loader.Test_TestLoader.test_getTestCaseNames__no_tests) ... ok test_getTestCaseNames__not_a_TestCase (test.test_unittest.test_loader.Test_TestLoader.test_getTestCaseNames__not_a_TestCase) ... ok test_getTestCaseNames__testNamePatterns (test.test_unittest.test_loader.Test_TestLoader.test_getTestCaseNames__testNamePatterns) ... ok test_getTestCaseNames__testNamePatterns__attribute_access_regression (test.test_unittest.test_loader.Test_TestLoader.test_getTestCaseNames__testNamePatterns__attribute_access_regression) ... ok test_loadTestsFromModule__TestCase_subclass (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromModule__TestCase_subclass) ... ok test_loadTestsFromModule__TestCase_subclass_internals (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromModule__TestCase_subclass_internals) ... ok test_loadTestsFromModule__faulty_load_tests (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromModule__faulty_load_tests) ... ok test_loadTestsFromModule__load_tests (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromModule__load_tests) ... ok test_loadTestsFromModule__no_TestCase_instances (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromModule__no_TestCase_instances) ... ok test_loadTestsFromModule__no_TestCase_tests (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromModule__no_TestCase_tests) ... ok test_loadTestsFromModule__not_a_module (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromModule__not_a_module) ... ok test_loadTestsFromModule__pattern (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromModule__pattern) ... ok test_loadTestsFromName__callable__TestCase_instance (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromName__callable__TestCase_instance) ... ok test_loadTestsFromName__callable__TestCase_instance_ProperSuiteClass (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromName__callable__TestCase_instance_ProperSuiteClass) ... ok test_loadTestsFromName__callable__TestSuite (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromName__callable__TestSuite) ... ok test_loadTestsFromName__callable__wrong_type (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromName__callable__wrong_type) ... ok test_loadTestsFromName__empty_name (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromName__empty_name) ... ok test_loadTestsFromName__function_with_different_name_than_method (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromName__function_with_different_name_than_method) ... ok test_loadTestsFromName__malformed_name (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromName__malformed_name) ... ok test_loadTestsFromName__module_not_loaded (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromName__module_not_loaded) ... ok test_loadTestsFromName__relative_TestCase_subclass (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromName__relative_TestCase_subclass) ... ok test_loadTestsFromName__relative_TestSuite (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromName__relative_TestSuite) ... ok test_loadTestsFromName__relative_bad_object (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromName__relative_bad_object) ... ok test_loadTestsFromName__relative_empty_name (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromName__relative_empty_name) ... ok test_loadTestsFromName__relative_invalid_testmethod (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromName__relative_invalid_testmethod) ... ok test_loadTestsFromName__relative_malformed_name (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromName__relative_malformed_name) ... ok test_loadTestsFromName__relative_not_a_module (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromName__relative_not_a_module) ... ok test_loadTestsFromName__relative_testmethod (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromName__relative_testmethod) ... ok test_loadTestsFromName__relative_testmethod_ProperSuiteClass (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromName__relative_testmethod_ProperSuiteClass) ... ok test_loadTestsFromName__relative_unknown_name (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromName__relative_unknown_name) ... ok test_loadTestsFromName__unknown_attr_name_on_module (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromName__unknown_attr_name_on_module) ... ok test_loadTestsFromName__unknown_attr_name_on_package (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromName__unknown_attr_name_on_package) ... ok test_loadTestsFromName__unknown_module_name (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromName__unknown_module_name) ... ok test_loadTestsFromNames__callable__TestCase_instance (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromNames__callable__TestCase_instance) ... ok test_loadTestsFromNames__callable__TestSuite (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromNames__callable__TestSuite) ... ok test_loadTestsFromNames__callable__call_staticmethod (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromNames__callable__call_staticmethod) ... ok test_loadTestsFromNames__callable__wrong_type (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromNames__callable__wrong_type) ... ok test_loadTestsFromNames__empty_name (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromNames__empty_name) ... ok test_loadTestsFromNames__empty_name_list (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromNames__empty_name_list) ... ok test_loadTestsFromNames__malformed_name (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromNames__malformed_name) ... ok test_loadTestsFromNames__module_not_loaded (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromNames__module_not_loaded) ... ok test_loadTestsFromNames__relative_TestCase_subclass (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromNames__relative_TestCase_subclass) ... ok test_loadTestsFromNames__relative_TestSuite (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromNames__relative_TestSuite) ... ok test_loadTestsFromNames__relative_bad_object (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromNames__relative_bad_object) ... ok test_loadTestsFromNames__relative_empty_name (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromNames__relative_empty_name) ... ok test_loadTestsFromNames__relative_empty_name_list (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromNames__relative_empty_name_list) ... ok test_loadTestsFromNames__relative_invalid_testmethod (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromNames__relative_invalid_testmethod) ... ok test_loadTestsFromNames__relative_malformed_name (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromNames__relative_malformed_name) ... ok test_loadTestsFromNames__relative_not_a_module (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromNames__relative_not_a_module) ... ok test_loadTestsFromNames__relative_testmethod (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromNames__relative_testmethod) ... ok test_loadTestsFromNames__unknown_attr_name (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromNames__unknown_attr_name) ... ok test_loadTestsFromNames__unknown_module_name (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromNames__unknown_module_name) ... ok test_loadTestsFromNames__unknown_name_relative_1 (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromNames__unknown_name_relative_1) ... ok test_loadTestsFromNames__unknown_name_relative_2 (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromNames__unknown_name_relative_2) ... ok test_loadTestsFromTestCase (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromTestCase) ... ok test_loadTestsFromTestCase__TestSuite_subclass (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromTestCase__TestSuite_subclass) ... ok test_loadTestsFromTestCase__default_method_name (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromTestCase__default_method_name) ... ok test_loadTestsFromTestCase__from_FunctionTestCase (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromTestCase__from_FunctionTestCase) ... ok test_loadTestsFromTestCase__from_TestCase (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromTestCase__from_TestCase) ... ok test_loadTestsFromTestCase__no_matches (test.test_unittest.test_loader.Test_TestLoader.test_loadTestsFromTestCase__no_matches) ... ok test_partial_functions (test.test_unittest.test_loader.Test_TestLoader.test_partial_functions) ... ok test_sortTestMethodsUsing__None (test.test_unittest.test_loader.Test_TestLoader.test_sortTestMethodsUsing__None) ... ok test_sortTestMethodsUsing__default_value (test.test_unittest.test_loader.Test_TestLoader.test_sortTestMethodsUsing__default_value) ... ok test_sortTestMethodsUsing__getTestCaseNames (test.test_unittest.test_loader.Test_TestLoader.test_sortTestMethodsUsing__getTestCaseNames) ... ok test_sortTestMethodsUsing__loadTestsFromModule (test.test_unittest.test_loader.Test_TestLoader.test_sortTestMethodsUsing__loadTestsFromModule) ... ok test_sortTestMethodsUsing__loadTestsFromName (test.test_unittest.test_loader.Test_TestLoader.test_sortTestMethodsUsing__loadTestsFromName) ... ok test_sortTestMethodsUsing__loadTestsFromNames (test.test_unittest.test_loader.Test_TestLoader.test_sortTestMethodsUsing__loadTestsFromNames) ... ok test_sortTestMethodsUsing__loadTestsFromTestCase (test.test_unittest.test_loader.Test_TestLoader.test_sortTestMethodsUsing__loadTestsFromTestCase) ... ok test_suiteClass__default_value (test.test_unittest.test_loader.Test_TestLoader.test_suiteClass__default_value) ... ok test_suiteClass__loadTestsFromModule (test.test_unittest.test_loader.Test_TestLoader.test_suiteClass__loadTestsFromModule) ... ok test_suiteClass__loadTestsFromName (test.test_unittest.test_loader.Test_TestLoader.test_suiteClass__loadTestsFromName) ... ok test_suiteClass__loadTestsFromNames (test.test_unittest.test_loader.Test_TestLoader.test_suiteClass__loadTestsFromNames) ... ok test_suiteClass__loadTestsFromTestCase (test.test_unittest.test_loader.Test_TestLoader.test_suiteClass__loadTestsFromTestCase) ... ok test_testMethodPrefix__default_value (test.test_unittest.test_loader.Test_TestLoader.test_testMethodPrefix__default_value) ... ok test_testMethodPrefix__loadTestsFromModule (test.test_unittest.test_loader.Test_TestLoader.test_testMethodPrefix__loadTestsFromModule) ... ok test_testMethodPrefix__loadTestsFromName (test.test_unittest.test_loader.Test_TestLoader.test_testMethodPrefix__loadTestsFromName) ... ok test_testMethodPrefix__loadTestsFromNames (test.test_unittest.test_loader.Test_TestLoader.test_testMethodPrefix__loadTestsFromNames) ... ok test_testMethodPrefix__loadTestsFromTestCase (test.test_unittest.test_loader.Test_TestLoader.test_testMethodPrefix__loadTestsFromTestCase) ... ok testBufferCatchFailfast (test.test_unittest.test_program.TestCommandLineArgs.testBufferCatchFailfast) ... ok testCatchBreakInstallsHandler (test.test_unittest.test_program.TestCommandLineArgs.testCatchBreakInstallsHandler) ... ok testParseArgsAbsolutePathsThatCanBeConverted (test.test_unittest.test_program.TestCommandLineArgs.testParseArgsAbsolutePathsThatCanBeConverted) ... ok testParseArgsAbsolutePathsThatCannotBeConverted (test.test_unittest.test_program.TestCommandLineArgs.testParseArgsAbsolutePathsThatCannotBeConverted) ... ok testParseArgsFileNames (test.test_unittest.test_program.TestCommandLineArgs.testParseArgsFileNames) ... ok testParseArgsFilePaths (test.test_unittest.test_program.TestCommandLineArgs.testParseArgsFilePaths) ... ok testParseArgsNonExistentFiles (test.test_unittest.test_program.TestCommandLineArgs.testParseArgsNonExistentFiles) ... ok testParseArgsSelectedTestNames (test.test_unittest.test_program.TestCommandLineArgs.testParseArgsSelectedTestNames) ... ok testRunTestsOldRunnerClass (test.test_unittest.test_program.TestCommandLineArgs.testRunTestsOldRunnerClass) ... ok testRunTestsRunnerClass (test.test_unittest.test_program.TestCommandLineArgs.testRunTestsRunnerClass) ... ok testRunTestsRunnerInstance (test.test_unittest.test_program.TestCommandLineArgs.testRunTestsRunnerInstance) ... ok testSelectedTestNamesFunctionalTest (test.test_unittest.test_program.TestCommandLineArgs.testSelectedTestNamesFunctionalTest) ... ok testVerbosity (test.test_unittest.test_program.TestCommandLineArgs.testVerbosity) ... ok testWarning (test.test_unittest.test_program.TestCommandLineArgs.testWarning) Test the warnings argument ... ok test_locals (test.test_unittest.test_program.TestCommandLineArgs.test_locals) ... ok testNoExit (test.test_unittest.test_program.Test_TestProgram.testNoExit) ... ok test_Exit (test.test_unittest.test_program.Test_TestProgram.test_Exit) ... ok test_ExitAsDefault (test.test_unittest.test_program.Test_TestProgram.test_ExitAsDefault) ... ok test_ExitEmptySuite (test.test_unittest.test_program.Test_TestProgram.test_ExitEmptySuite) ... ok test_ExitSkippedSuite (test.test_unittest.test_program.Test_TestProgram.test_ExitSkippedSuite) ... ok test_NonExit (test.test_unittest.test_program.Test_TestProgram.test_NonExit) ... ok test_defaultTest_with_iterable (test.test_unittest.test_program.Test_TestProgram.test_defaultTest_with_iterable) ... ok test_defaultTest_with_string (test.test_unittest.test_program.Test_TestProgram.test_defaultTest_with_string) ... ok test_discovery_from_dotted_path (test.test_unittest.test_program.Test_TestProgram.test_discovery_from_dotted_path) ... ok testBufferDoClassCleanups (test.test_unittest.test_result.TestOutputBuffering.testBufferDoClassCleanups) ... ok testBufferDoCleanups (test.test_unittest.test_result.TestOutputBuffering.testBufferDoCleanups) ... ok testBufferDoModuleCleanups (test.test_unittest.test_result.TestOutputBuffering.testBufferDoModuleCleanups) ... ok testBufferOutputAddErrorOrFailure (test.test_unittest.test_result.TestOutputBuffering.testBufferOutputAddErrorOrFailure) ... ok testBufferOutputOff (test.test_unittest.test_result.TestOutputBuffering.testBufferOutputOff) ... ok testBufferOutputStartTestAddSuccess (test.test_unittest.test_result.TestOutputBuffering.testBufferOutputStartTestAddSuccess) ... ok testBufferSetUp (test.test_unittest.test_result.TestOutputBuffering.testBufferSetUp) ... ok testBufferSetUpModule (test.test_unittest.test_result.TestOutputBuffering.testBufferSetUpModule) ... ok testBufferSetUpModule_DoModuleCleanups (test.test_unittest.test_result.TestOutputBuffering.testBufferSetUpModule_DoModuleCleanups) ... ok testBufferSetUp_DoCleanups (test.test_unittest.test_result.TestOutputBuffering.testBufferSetUp_DoCleanups) ... ok testBufferSetupClass (test.test_unittest.test_result.TestOutputBuffering.testBufferSetupClass) ... ok testBufferSetupClass_DoClassCleanups (test.test_unittest.test_result.TestOutputBuffering.testBufferSetupClass_DoClassCleanups) ... ok testBufferTearDown (test.test_unittest.test_result.TestOutputBuffering.testBufferTearDown) ... ok testBufferTearDownClass (test.test_unittest.test_result.TestOutputBuffering.testBufferTearDownClass) ... ok testBufferTearDownClass_DoClassCleanups (test.test_unittest.test_result.TestOutputBuffering.testBufferTearDownClass_DoClassCleanups) ... ok testBufferTearDownModule (test.test_unittest.test_result.TestOutputBuffering.testBufferTearDownModule) ... ok testBufferTearDownModule_DoModuleCleanups (test.test_unittest.test_result.TestOutputBuffering.testBufferTearDownModule_DoModuleCleanups) ... ok testBufferTearDown_DoCleanups (test.test_unittest.test_result.TestOutputBuffering.testBufferTearDown_DoCleanups) ... ok testOldResultWithRunner (test.test_unittest.test_result.Test_OldTestResult.testOldResultWithRunner) ... ok testOldTestResult (test.test_unittest.test_result.Test_OldTestResult.testOldTestResult) ... ok testOldTestResultClass (test.test_unittest.test_result.Test_OldTestResult.testOldTestResultClass) ... ok testOldTestTesultSetup (test.test_unittest.test_result.Test_OldTestResult.testOldTestTesultSetup) ... ok testFailFast (test.test_unittest.test_result.Test_TestResult.testFailFast) ... ok testFailFastSetByRunner (test.test_unittest.test_result.Test_TestResult.testFailFastSetByRunner) ... ok testStackFrameTrimming (test.test_unittest.test_result.Test_TestResult.testStackFrameTrimming) ... ok test_addError (test.test_unittest.test_result.Test_TestResult.test_addError) ... ok test_addError_locals (test.test_unittest.test_result.Test_TestResult.test_addError_locals) ... ok test_addFailure (test.test_unittest.test_result.Test_TestResult.test_addFailure) ... ok test_addFailure_filter_traceback_frames (test.test_unittest.test_result.Test_TestResult.test_addFailure_filter_traceback_frames) ... ok test_addFailure_filter_traceback_frames_chained_exception_cycle (test.test_unittest.test_result.Test_TestResult.test_addFailure_filter_traceback_frames_chained_exception_cycle) ... ok test_addFailure_filter_traceback_frames_chained_exception_self_loop (test.test_unittest.test_result.Test_TestResult.test_addFailure_filter_traceback_frames_chained_exception_self_loop) ... ok test_addFailure_filter_traceback_frames_context (test.test_unittest.test_result.Test_TestResult.test_addFailure_filter_traceback_frames_context) ... ok test_addSubTest (test.test_unittest.test_result.Test_TestResult.test_addSubTest) ... ok test_addSuccess (test.test_unittest.test_result.Test_TestResult.test_addSuccess) ... ok test_init (test.test_unittest.test_result.Test_TestResult.test_init) ... ok test_startTest (test.test_unittest.test_result.Test_TestResult.test_startTest) ... ok test_startTestRun_stopTestRun (test.test_unittest.test_result.Test_TestResult.test_startTestRun_stopTestRun) ... ok test_stop (test.test_unittest.test_result.Test_TestResult.test_stop) ... ok test_stopTest (test.test_unittest.test_result.Test_TestResult.test_stopTest) ... ok testDotsOutput (test.test_unittest.test_result.Test_TextTestResult.testDotsOutput) ... ok testDotsOutputSubTestMixed (test.test_unittest.test_result.Test_TextTestResult.testDotsOutputSubTestMixed) ... ok testDotsOutputSubTestSuccess (test.test_unittest.test_result.Test_TextTestResult.testDotsOutputSubTestSuccess) ... ok testDotsOutputTearDownFail (test.test_unittest.test_result.Test_TextTestResult.testDotsOutputTearDownFail) ... ok testGetDescriptionWithMultiLineDocstring (test.test_unittest.test_result.Test_TextTestResult.testGetDescriptionWithMultiLineDocstring) Tests getDescription() for a method with a longer docstring. ... ok testGetDescriptionWithOneLineDocstring (test.test_unittest.test_result.Test_TextTestResult.testGetDescriptionWithOneLineDocstring) Tests getDescription() for a method with a docstring. ... ok testGetDescriptionWithoutDocstring (test.test_unittest.test_result.Test_TextTestResult.testGetDescriptionWithoutDocstring) ... ok testGetDuplicatedNestedSubTestDescriptionWithoutDocstring (test.test_unittest.test_result.Test_TextTestResult.testGetDuplicatedNestedSubTestDescriptionWithoutDocstring) ... ok testGetNestedSubTestDescriptionWithoutDocstring (test.test_unittest.test_result.Test_TextTestResult.testGetNestedSubTestDescriptionWithoutDocstring) ... ok testGetSubTestDescriptionForFalseValues (test.test_unittest.test_result.Test_TextTestResult.testGetSubTestDescriptionForFalseValues) ... ok testGetSubTestDescriptionWithMultiLineDocstring (test.test_unittest.test_result.Test_TextTestResult.testGetSubTestDescriptionWithMultiLineDocstring) Tests getDescription() for a method with a longer docstring. ... ok testGetSubTestDescriptionWithOneLineDocstring (test.test_unittest.test_result.Test_TextTestResult.testGetSubTestDescriptionWithOneLineDocstring) Tests getDescription() for a method with a docstring. ... ok testGetSubTestDescriptionWithoutDocstring (test.test_unittest.test_result.Test_TextTestResult.testGetSubTestDescriptionWithoutDocstring) ... ok testGetSubTestDescriptionWithoutDocstringAndParams (test.test_unittest.test_result.Test_TextTestResult.testGetSubTestDescriptionWithoutDocstringAndParams) ... ok testLongOutput (test.test_unittest.test_result.Test_TextTestResult.testLongOutput) ... ok testLongOutputSubTestMixed (test.test_unittest.test_result.Test_TextTestResult.testLongOutputSubTestMixed) ... ok testLongOutputSubTestSuccess (test.test_unittest.test_result.Test_TextTestResult.testLongOutputSubTestSuccess) ... ok testLongOutputTearDownFail (test.test_unittest.test_result.Test_TextTestResult.testLongOutputTearDownFail) ... ok test_addClassCleanUp (test.test_unittest.test_runner.TestClassCleanup.test_addClassCleanUp) ... ok test_debug_executes_classCleanUp (test.test_unittest.test_runner.TestClassCleanup.test_debug_executes_classCleanUp) ... ok test_debug_executes_classCleanUp_when_teardown_exception (test.test_unittest.test_runner.TestClassCleanup.test_debug_executes_classCleanUp_when_teardown_exception) ... ok test_doClassCleanups_with_errors_addClassCleanUp (test.test_unittest.test_runner.TestClassCleanup.test_doClassCleanups_with_errors_addClassCleanUp) ... ok test_enterClassContext (test.test_unittest.test_runner.TestClassCleanup.test_enterClassContext) ... ok test_enterClassContext_arg_errors (test.test_unittest.test_runner.TestClassCleanup.test_enterClassContext_arg_errors) ... ok test_run_class_cleanUp (test.test_unittest.test_runner.TestClassCleanup.test_run_class_cleanUp) ... ok test_run_class_cleanUp_without_tearDownClass (test.test_unittest.test_runner.TestClassCleanup.test_run_class_cleanUp_without_tearDownClass) ... ok test_run_empty_suite_error_message (test.test_unittest.test_runner.TestClassCleanup.test_run_empty_suite_error_message) ... ok test_run_nested_test (test.test_unittest.test_runner.TestClassCleanup.test_run_nested_test) ... ok test_run_with_errors_addClassCleanUp (test.test_unittest.test_runner.TestClassCleanup.test_run_with_errors_addClassCleanUp) ... ok test_with_errors_addCleanUp (test.test_unittest.test_runner.TestClassCleanup.test_with_errors_addCleanUp) ... ok test_with_errors_in_addClassCleanup_and_setUps (test.test_unittest.test_runner.TestClassCleanup.test_with_errors_in_addClassCleanup_and_setUps) ... ok test_with_errors_in_tearDownClass (test.test_unittest.test_runner.TestClassCleanup.test_with_errors_in_tearDownClass) ... ok testCleanUp (test.test_unittest.test_runner.TestCleanUp.testCleanUp) ... ok testCleanUpWithErrors (test.test_unittest.test_runner.TestCleanUp.testCleanUpWithErrors) ... ok testCleanupInRun (test.test_unittest.test_runner.TestCleanUp.testCleanupInRun) ... ok testTestCaseDebugExecutesCleanups (test.test_unittest.test_runner.TestCleanUp.testTestCaseDebugExecutesCleanups) ... ok test_enterContext (test.test_unittest.test_runner.TestCleanUp.test_enterContext) ... ok test_enterContext_arg_errors (test.test_unittest.test_runner.TestCleanUp.test_enterContext_arg_errors) ... ok test_addClassCleanup_arg_errors (test.test_unittest.test_runner.TestModuleCleanUp.test_addClassCleanup_arg_errors) ... ok test_addCleanup_arg_errors (test.test_unittest.test_runner.TestModuleCleanUp.test_addCleanup_arg_errors) ... ok test_addModuleCleanup_arg_errors (test.test_unittest.test_runner.TestModuleCleanUp.test_addModuleCleanup_arg_errors) ... ok test_add_and_do_ModuleCleanup (test.test_unittest.test_runner.TestModuleCleanUp.test_add_and_do_ModuleCleanup) ... ok test_debug_module_cleanUp_when_teardown_exception (test.test_unittest.test_runner.TestModuleCleanUp.test_debug_module_cleanUp_when_teardown_exception) ... ok test_debug_module_executes_cleanUp (test.test_unittest.test_runner.TestModuleCleanUp.test_debug_module_executes_cleanUp) ... ok test_doModuleCleanup_with_errors_in_addModuleCleanup (test.test_unittest.test_runner.TestModuleCleanUp.test_doModuleCleanup_with_errors_in_addModuleCleanup) ... ok test_enterModuleContext (test.test_unittest.test_runner.TestModuleCleanUp.test_enterModuleContext) ... ok test_enterModuleContext_arg_errors (test.test_unittest.test_runner.TestModuleCleanUp.test_enterModuleContext_arg_errors) ... ok test_module_cleanUp_with_multiple_classes (test.test_unittest.test_runner.TestModuleCleanUp.test_module_cleanUp_with_multiple_classes) ... ok test_run_module_cleanUp (test.test_unittest.test_runner.TestModuleCleanUp.test_run_module_cleanUp) ... ok test_run_module_cleanUp_when_teardown_exception (test.test_unittest.test_runner.TestModuleCleanUp.test_run_module_cleanUp_when_teardown_exception) ... ok test_run_module_cleanUp_without_teardown (test.test_unittest.test_runner.TestModuleCleanUp.test_run_module_cleanUp_without_teardown) ... ok test_run_multiple_module_cleanUp (test.test_unittest.test_runner.TestModuleCleanUp.test_run_multiple_module_cleanUp) ... ok test_with_errors_in_addClassCleanup (test.test_unittest.test_runner.TestModuleCleanUp.test_with_errors_in_addClassCleanup) ... ok test_with_errors_in_addCleanup (test.test_unittest.test_runner.TestModuleCleanUp.test_with_errors_in_addCleanup) ... ok test_with_errors_in_addModuleCleanup_and_setUps (test.test_unittest.test_runner.TestModuleCleanUp.test_with_errors_in_addModuleCleanup_and_setUps) ... ok testBufferAndFailfast (test.test_unittest.test_runner.Test_TextTestRunner.testBufferAndFailfast) ... ok testRunnerRegistersResult (test.test_unittest.test_runner.Test_TextTestRunner.testRunnerRegistersResult) ... ok testSpecifiedStreamUsed (test.test_unittest.test_runner.Test_TextTestRunner.testSpecifiedStreamUsed) ... ok testStdErrLookedUpAtInstantiationTime (test.test_unittest.test_runner.Test_TextTestRunner.testStdErrLookedUpAtInstantiationTime) ... ok test_durations (test.test_unittest.test_runner.Test_TextTestRunner.test_durations) ... ok test_init (test.test_unittest.test_runner.Test_TextTestRunner.test_init) ... ok test_locals (test.test_unittest.test_runner.Test_TextTestRunner.test_locals) ... ok test_multiple_inheritance (test.test_unittest.test_runner.Test_TextTestRunner.test_multiple_inheritance) ... ok test_pickle_unpickle (test.test_unittest.test_runner.Test_TextTestRunner.test_pickle_unpickle) ... ok test_resultclass (test.test_unittest.test_runner.Test_TextTestRunner.test_resultclass) ... ok test_startTestRun_stopTestRun_called (test.test_unittest.test_runner.Test_TextTestRunner.test_startTestRun_stopTestRun_called) ... ok test_warnings (test.test_unittest.test_runner.Test_TextTestRunner.test_warnings) Check that warnings argument of TextTestRunner correctly affects the ... ok test_works_with_result_without_startTestRun_stopTestRun (test.test_unittest.test_runner.Test_TextTestRunner.test_works_with_result_without_startTestRun_stopTestRun) ... ok test_class_not_setup_or_torndown_when_skipped (test.test_unittest.test_setups.TestSetups.test_class_not_setup_or_torndown_when_skipped) ... ok test_class_not_torndown_when_setup_fails (test.test_unittest.test_setups.TestSetups.test_class_not_torndown_when_setup_fails) ... ok test_error_in_setup_module (test.test_unittest.test_setups.TestSetups.test_error_in_setup_module) ... ok test_error_in_setupclass (test.test_unittest.test_setups.TestSetups.test_error_in_setupclass) ... ok test_error_in_teardown_class (test.test_unittest.test_setups.TestSetups.test_error_in_teardown_class) ... ok test_error_in_teardown_module (test.test_unittest.test_setups.TestSetups.test_error_in_teardown_module) ... ok test_setup_class (test.test_unittest.test_setups.TestSetups.test_setup_class) ... ok test_setup_module (test.test_unittest.test_setups.TestSetups.test_setup_module) ... ok test_setup_teardown_order_with_pathological_suite (test.test_unittest.test_setups.TestSetups.test_setup_teardown_order_with_pathological_suite) ... ok test_skiptest_in_setupclass (test.test_unittest.test_setups.TestSetups.test_skiptest_in_setupclass) ... ok test_skiptest_in_setupmodule (test.test_unittest.test_setups.TestSetups.test_skiptest_in_setupmodule) ... ok test_suite_debug_executes_setups_and_teardowns (test.test_unittest.test_setups.TestSetups.test_suite_debug_executes_setups_and_teardowns) ... ok test_suite_debug_propagates_exceptions (test.test_unittest.test_setups.TestSetups.test_suite_debug_propagates_exceptions) ... ok test_teardown_class (test.test_unittest.test_setups.TestSetups.test_teardown_class) ... ok test_teardown_class_two_classes (test.test_unittest.test_setups.TestSetups.test_teardown_class_two_classes) ... ok test_teardown_module (test.test_unittest.test_setups.TestSetups.test_teardown_module) ... ok test_testcase_with_missing_module (test.test_unittest.test_setups.TestSetups.test_testcase_with_missing_module) ... ok test_debug_skipping (test.test_unittest.test_skipping.Test_TestSkipping.test_debug_skipping) ... ok test_debug_skipping_class (test.test_unittest.test_skipping.Test_TestSkipping.test_debug_skipping_class) ... ok test_debug_skipping_subtests (test.test_unittest.test_skipping.Test_TestSkipping.test_debug_skipping_subtests) ... ok test_decorated_skip (test.test_unittest.test_skipping.Test_TestSkipping.test_decorated_skip) ... ok test_expected_failure (test.test_unittest.test_skipping.Test_TestSkipping.test_expected_failure) ... ok test_expected_failure_and_fail_in_cleanup (test.test_unittest.test_skipping.Test_TestSkipping.test_expected_failure_and_fail_in_cleanup) ... ok test_expected_failure_and_skip_in_cleanup (test.test_unittest.test_skipping.Test_TestSkipping.test_expected_failure_and_skip_in_cleanup) ... ok test_expected_failure_subtests (test.test_unittest.test_skipping.Test_TestSkipping.test_expected_failure_subtests) ... ok test_expected_failure_with_wrapped_class (test.test_unittest.test_skipping.Test_TestSkipping.test_expected_failure_with_wrapped_class) ... ok test_expected_failure_with_wrapped_subclass (test.test_unittest.test_skipping.Test_TestSkipping.test_expected_failure_with_wrapped_subclass) ... ok test_failure_and_skip_in_cleanup (test.test_unittest.test_skipping.Test_TestSkipping.test_failure_and_skip_in_cleanup) ... ok test_skip_class (test.test_unittest.test_skipping.Test_TestSkipping.test_skip_class) ... ok test_skip_doesnt_run_setup (test.test_unittest.test_skipping.Test_TestSkipping.test_skip_doesnt_run_setup) ... ok test_skip_in_cleanup (test.test_unittest.test_skipping.Test_TestSkipping.test_skip_in_cleanup) ... ok test_skip_in_setup (test.test_unittest.test_skipping.Test_TestSkipping.test_skip_in_setup) ... ok test_skip_non_unittest_class (test.test_unittest.test_skipping.Test_TestSkipping.test_skip_non_unittest_class) ... ok test_skip_without_reason (test.test_unittest.test_skipping.Test_TestSkipping.test_skip_without_reason) ... ok test_skipping (test.test_unittest.test_skipping.Test_TestSkipping.test_skipping) ... ok test_skipping_and_fail_in_cleanup (test.test_unittest.test_skipping.Test_TestSkipping.test_skipping_and_fail_in_cleanup) ... ok test_skipping_decorators (test.test_unittest.test_skipping.Test_TestSkipping.test_skipping_decorators) ... ok test_skipping_subtests (test.test_unittest.test_skipping.Test_TestSkipping.test_skipping_subtests) ... ok test_unexpected_success (test.test_unittest.test_skipping.Test_TestSkipping.test_unexpected_success) ... ok test_unexpected_success_and_fail_in_cleanup (test.test_unittest.test_skipping.Test_TestSkipping.test_unexpected_success_and_fail_in_cleanup) ... ok test_unexpected_success_and_skip_in_cleanup (test.test_unittest.test_skipping.Test_TestSkipping.test_unexpected_success_and_skip_in_cleanup) ... ok test_unexpected_success_subtests (test.test_unittest.test_skipping.Test_TestSkipping.test_unexpected_success_subtests) ... ok test_addTest__TestCase (test.test_unittest.test_suite.Test_TestSuite.test_addTest__TestCase) ... ok test_addTest__TestSuite (test.test_unittest.test_suite.Test_TestSuite.test_addTest__TestSuite) ... ok test_addTest__casesuiteclass (test.test_unittest.test_suite.Test_TestSuite.test_addTest__casesuiteclass) ... ok test_addTest__noncallable (test.test_unittest.test_suite.Test_TestSuite.test_addTest__noncallable) ... ok test_addTest__noniterable (test.test_unittest.test_suite.Test_TestSuite.test_addTest__noniterable) ... ok test_addTests (test.test_unittest.test_suite.Test_TestSuite.test_addTests) ... ok test_addTests__string (test.test_unittest.test_suite.Test_TestSuite.test_addTests__string) ... ok test_basetestsuite (test.test_unittest.test_suite.Test_TestSuite.test_basetestsuite) ... ok test_countTestCases_nested (test.test_unittest.test_suite.Test_TestSuite.test_countTestCases_nested) ... ok test_countTestCases_simple (test.test_unittest.test_suite.Test_TestSuite.test_countTestCases_simple) ... ok test_countTestCases_zero_nested (test.test_unittest.test_suite.Test_TestSuite.test_countTestCases_zero_nested) ... ok test_countTestCases_zero_simple (test.test_unittest.test_suite.Test_TestSuite.test_countTestCases_zero_simple) ... ok test_eq (test.test_unittest.test_suite.Test_TestSuite.test_eq) ... ok test_function_in_suite (test.test_unittest.test_suite.Test_TestSuite.test_function_in_suite) ... ok test_garbage_collect_test_after_run_BaseTestSuite (test.test_unittest.test_suite.Test_TestSuite.test_garbage_collect_test_after_run_BaseTestSuite) ... ok test_garbage_collect_test_after_run_TestSuite (test.test_unittest.test_suite.Test_TestSuite.test_garbage_collect_test_after_run_TestSuite) ... ok test_init__TestSuite_instances_in_tests (test.test_unittest.test_suite.Test_TestSuite.test_init__TestSuite_instances_in_tests) ... ok test_init__empty_tests (test.test_unittest.test_suite.Test_TestSuite.test_init__empty_tests) ... ok test_init__tests_from_any_iterable (test.test_unittest.test_suite.Test_TestSuite.test_init__tests_from_any_iterable) ... ok test_init__tests_optional (test.test_unittest.test_suite.Test_TestSuite.test_init__tests_optional) ... ok test_iter (test.test_unittest.test_suite.Test_TestSuite.test_iter) ... ok test_ne (test.test_unittest.test_suite.Test_TestSuite.test_ne) ... ok test_overriding_call (test.test_unittest.test_suite.Test_TestSuite.test_overriding_call) ... ok test_remove_test_at_index (test.test_unittest.test_suite.Test_TestSuite.test_remove_test_at_index) ... ok test_remove_test_at_index_not_indexable (test.test_unittest.test_suite.Test_TestSuite.test_remove_test_at_index_not_indexable) ... ok test_run (test.test_unittest.test_suite.Test_TestSuite.test_run) ... ok test_run__empty_suite (test.test_unittest.test_suite.Test_TestSuite.test_run__empty_suite) ... ok test_run__requires_result (test.test_unittest.test_suite.Test_TestSuite.test_run__requires_result) ... ok test_safe_repr (test.test_unittest.test_util.TestUtil.test_safe_repr) ... ok test_sorted_list_difference (test.test_unittest.test_util.TestUtil.test_sorted_list_difference) ... ok test_unorderable_list_difference (test.test_unittest.test_util.TestUtil.test_unorderable_list_difference) ... ok test_add_return_value (test.test_unittest.testmock.testasync.AsyncArguments.test_add_return_value) ... ok test_add_side_effect_coroutine (test.test_unittest.testmock.testasync.AsyncArguments.test_add_side_effect_coroutine) ... ok test_add_side_effect_exception (test.test_unittest.testmock.testasync.AsyncArguments.test_add_side_effect_exception) ... ok test_add_side_effect_exception_iterable (test.test_unittest.testmock.testasync.AsyncArguments.test_add_side_effect_exception_iterable) ... ok test_add_side_effect_iterable (test.test_unittest.testmock.testasync.AsyncArguments.test_add_side_effect_iterable) ... ok test_add_side_effect_normal_function (test.test_unittest.testmock.testasync.AsyncArguments.test_add_side_effect_normal_function) ... ok test_await_args_list_order (test.test_unittest.testmock.testasync.AsyncArguments.test_await_args_list_order) ... ok test_return_value_AsyncMock (test.test_unittest.testmock.testasync.AsyncArguments.test_return_value_AsyncMock) ... ok test_return_value_awaitable (test.test_unittest.testmock.testasync.AsyncArguments.test_return_value_awaitable) ... ok test_side_effect_awaitable_values (test.test_unittest.testmock.testasync.AsyncArguments.test_side_effect_awaitable_values) ... ok test_side_effect_is_AsyncMock (test.test_unittest.testmock.testasync.AsyncArguments.test_side_effect_is_AsyncMock) ... ok test_wraps_coroutine (test.test_unittest.testmock.testasync.AsyncArguments.test_wraps_coroutine) ... ok test_wraps_normal_function (test.test_unittest.testmock.testasync.AsyncArguments.test_wraps_normal_function) ... ok test_create_autospec (test.test_unittest.testmock.testasync.AsyncAutospecTest.test_create_autospec) ... ok test_create_autospec_instance (test.test_unittest.testmock.testasync.AsyncAutospecTest.test_create_autospec_instance) ... ok test_is_AsyncMock_patch (test.test_unittest.testmock.testasync.AsyncAutospecTest.test_is_AsyncMock_patch) ... ok test_patch_with_autospec (test.test_unittest.testmock.testasync.AsyncAutospecTest.test_patch_with_autospec) ... ok test_context_manager_raise_exception_by_default (test.test_unittest.testmock.testasync.AsyncContextManagerTest.test_context_manager_raise_exception_by_default) ... ok test_mock_customize_async_context_manager (test.test_unittest.testmock.testasync.AsyncContextManagerTest.test_mock_customize_async_context_manager) ... ok test_mock_customize_async_context_manager_with_coroutine (test.test_unittest.testmock.testasync.AsyncContextManagerTest.test_mock_customize_async_context_manager_with_coroutine) ... ok test_mock_supports_async_context_manager (test.test_unittest.testmock.testasync.AsyncContextManagerTest.test_mock_supports_async_context_manager) ... ok test_set_return_value_of_aenter (test.test_unittest.testmock.testasync.AsyncContextManagerTest.test_set_return_value_of_aenter) ... ok test_aiter_set_return_value (test.test_unittest.testmock.testasync.AsyncIteratorTest.test_aiter_set_return_value) ... ok test_mock_aiter_and_anext_asyncmock (test.test_unittest.testmock.testasync.AsyncIteratorTest.test_mock_aiter_and_anext_asyncmock) ... ok test_mock_async_for (test.test_unittest.testmock.testasync.AsyncIteratorTest.test_mock_async_for) ... ok test_async_magic_methods_return_async_mocks (test.test_unittest.testmock.testasync.AsyncMagicMethods.test_async_magic_methods_return_async_mocks) ... ok test_asyncmock_has_sync_magic_methods (test.test_unittest.testmock.testasync.AsyncMagicMethods.test_asyncmock_has_sync_magic_methods) ... ok test_magic_methods_are_async_functions (test.test_unittest.testmock.testasync.AsyncMagicMethods.test_magic_methods_are_async_functions) ... ok test_magicmock_has_async_magic_methods (test.test_unittest.testmock.testasync.AsyncMagicMethods.test_magicmock_has_async_magic_methods) ... ok test_sync_magic_methods_return_magic_mocks (test.test_unittest.testmock.testasync.AsyncMagicMethods.test_sync_magic_methods_return_magic_mocks) ... ok test_assert_any_wait (test.test_unittest.testmock.testasync.AsyncMockAssert.test_assert_any_wait) ... ok test_assert_awaited (test.test_unittest.testmock.testasync.AsyncMockAssert.test_assert_awaited) ... ok test_assert_awaited_but_not_called (test.test_unittest.testmock.testasync.AsyncMockAssert.test_assert_awaited_but_not_called) ... ok test_assert_awaited_once (test.test_unittest.testmock.testasync.AsyncMockAssert.test_assert_awaited_once) ... ok test_assert_awaited_once_with (test.test_unittest.testmock.testasync.AsyncMockAssert.test_assert_awaited_once_with) ... ok test_assert_awaited_with (test.test_unittest.testmock.testasync.AsyncMockAssert.test_assert_awaited_with) ... ok test_assert_called_and_awaited_at_same_time (test.test_unittest.testmock.testasync.AsyncMockAssert.test_assert_called_and_awaited_at_same_time) ... ok test_assert_called_but_not_awaited (test.test_unittest.testmock.testasync.AsyncMockAssert.test_assert_called_but_not_awaited) ... ok test_assert_called_once_and_awaited_twice (test.test_unittest.testmock.testasync.AsyncMockAssert.test_assert_called_once_and_awaited_twice) ... ok test_assert_called_then_awaited (test.test_unittest.testmock.testasync.AsyncMockAssert.test_assert_called_then_awaited) ... ok test_assert_called_twice_and_awaited_once (test.test_unittest.testmock.testasync.AsyncMockAssert.test_assert_called_twice_and_awaited_once) ... ok test_assert_has_awaits_no_order (test.test_unittest.testmock.testasync.AsyncMockAssert.test_assert_has_awaits_no_order) ... ok test_assert_has_awaits_not_matching_spec_error (test.test_unittest.testmock.testasync.AsyncMockAssert.test_assert_has_awaits_not_matching_spec_error) ... ok test_assert_has_awaits_ordered (test.test_unittest.testmock.testasync.AsyncMockAssert.test_assert_has_awaits_ordered) ... ok test_assert_has_calls_not_awaits (test.test_unittest.testmock.testasync.AsyncMockAssert.test_assert_has_calls_not_awaits) ... ok test_assert_has_mock_calls_on_async_mock_no_spec (test.test_unittest.testmock.testasync.AsyncMockAssert.test_assert_has_mock_calls_on_async_mock_no_spec) ... ok test_assert_has_mock_calls_on_async_mock_with_spec (test.test_unittest.testmock.testasync.AsyncMockAssert.test_assert_has_mock_calls_on_async_mock_with_spec) ... ok test_assert_not_awaited (test.test_unittest.testmock.testasync.AsyncMockAssert.test_assert_not_awaited) ... ok test_async_arg_lists (test.test_unittest.testmock.testasync.AsyncMockAssert.test_async_arg_lists) ... ok test_async_method_calls_recorded (test.test_unittest.testmock.testasync.AsyncMockAssert.test_async_method_calls_recorded) ... ok test_awaits_asserts_with_any (test.test_unittest.testmock.testasync.AsyncMockAssert.test_awaits_asserts_with_any) ... ok test_awaits_asserts_with_spec_and_any (test.test_unittest.testmock.testasync.AsyncMockAssert.test_awaits_asserts_with_spec_and_any) ... ok test_future_isfuture (test.test_unittest.testmock.testasync.AsyncMockTest.test_future_isfuture) ... ok test_isawaitable (test.test_unittest.testmock.testasync.AsyncMockTest.test_isawaitable) ... ok test_iscoroutinefunction_default (test.test_unittest.testmock.testasync.AsyncMockTest.test_iscoroutinefunction_default) ... ok test_iscoroutinefunction_function (test.test_unittest.testmock.testasync.AsyncMockTest.test_iscoroutinefunction_function) ... ok test_iscoroutinefunction_normal_function (test.test_unittest.testmock.testasync.AsyncMockTest.test_iscoroutinefunction_normal_function) ... ok test_async_def_cm (test.test_unittest.testmock.testasync.AsyncPatchCMTest.test_async_def_cm) ... ok test_is_AsyncMock_cm (test.test_unittest.testmock.testasync.AsyncPatchCMTest.test_is_AsyncMock_cm) ... ok test_is_async_cm (test.test_unittest.testmock.testasync.AsyncPatchCMTest.test_is_async_cm) ... ok test_is_async_function_cm (test.test_unittest.testmock.testasync.AsyncPatchCMTest.test_is_async_function_cm) ... ok test_patch_dict_async_def (test.test_unittest.testmock.testasync.AsyncPatchCMTest.test_patch_dict_async_def) ... ok test_patch_dict_async_def_context (test.test_unittest.testmock.testasync.AsyncPatchCMTest.test_patch_dict_async_def_context) ... ok test_async_def_patch (test.test_unittest.testmock.testasync.AsyncPatchDecoratorTest.test_async_def_patch) ... ok test_is_AsyncMock_patch (test.test_unittest.testmock.testasync.AsyncPatchDecoratorTest.test_is_AsyncMock_patch) ... ok test_is_AsyncMock_patch_classmethod (test.test_unittest.testmock.testasync.AsyncPatchDecoratorTest.test_is_AsyncMock_patch_classmethod) ... ok test_is_AsyncMock_patch_staticmethod (test.test_unittest.testmock.testasync.AsyncPatchDecoratorTest.test_is_AsyncMock_patch_staticmethod) ... ok test_is_async_patch (test.test_unittest.testmock.testasync.AsyncPatchDecoratorTest.test_is_async_patch) ... ok test_is_coroutine_function_patch (test.test_unittest.testmock.testasync.AsyncPatchDecoratorTest.test_is_coroutine_function_patch) ... ok test_is_AsyncMock_patch (test.test_unittest.testmock.testasync.AsyncSpecSetTest.test_is_AsyncMock_patch) ... ok test_is_async_AsyncMock (test.test_unittest.testmock.testasync.AsyncSpecSetTest.test_is_async_AsyncMock) ... ok test_is_child_AsyncMock (test.test_unittest.testmock.testasync.AsyncSpecSetTest.test_is_child_AsyncMock) ... ok test_magicmock_lambda_spec (test.test_unittest.testmock.testasync.AsyncSpecSetTest.test_magicmock_lambda_spec) ... ok test_spec_as_normal_kw_AsyncMock (test.test_unittest.testmock.testasync.AsyncSpecTest.test_spec_as_normal_kw_AsyncMock) ... ok test_spec_as_normal_positional_AsyncMock (test.test_unittest.testmock.testasync.AsyncSpecTest.test_spec_as_normal_positional_AsyncMock) ... ok test_spec_async_attributes (test.test_unittest.testmock.testasync.AsyncSpecTest.test_spec_async_attributes) ... ok test_spec_async_attributes_instance (test.test_unittest.testmock.testasync.AsyncSpecTest.test_spec_async_attributes_instance) ... ok test_spec_async_mock (test.test_unittest.testmock.testasync.AsyncSpecTest.test_spec_async_mock) ... ok test_spec_mock_type_kw (test.test_unittest.testmock.testasync.AsyncSpecTest.test_spec_mock_type_kw) ... ok test_spec_mock_type_positional (test.test_unittest.testmock.testasync.AsyncSpecTest.test_spec_mock_type_positional) ... ok test_spec_normal_methods_on_class (test.test_unittest.testmock.testasync.AsyncSpecTest.test_spec_normal_methods_on_class) ... ok test_spec_normal_methods_on_class_with_mock (test.test_unittest.testmock.testasync.AsyncSpecTest.test_spec_normal_methods_on_class_with_mock) ... ok test_spec_normal_methods_on_class_with_mock_seal (test.test_unittest.testmock.testasync.AsyncSpecTest.test_spec_normal_methods_on_class_with_mock_seal) ... ok test_spec_parent_not_async_attribute_is (test.test_unittest.testmock.testasync.AsyncSpecTest.test_spec_parent_not_async_attribute_is) ... ok test_target_async_spec_not (test.test_unittest.testmock.testasync.AsyncSpecTest.test_target_async_spec_not) ... ok test_target_not_async_spec_is (test.test_unittest.testmock.testasync.AsyncSpecTest.test_target_not_async_spec_is) ... ok test_attributes (test.test_unittest.testmock.testcallable.TestCallable.test_attributes) ... ok test_create_autospec (test.test_unittest.testmock.testcallable.TestCallable.test_create_autospec) ... ok test_create_autospec_instance (test.test_unittest.testmock.testcallable.TestCallable.test_create_autospec_instance) ... ok test_hierarchy (test.test_unittest.testmock.testcallable.TestCallable.test_hierarchy) ... ok test_non_callable (test.test_unittest.testmock.testcallable.TestCallable.test_non_callable) ... ok test_patch_spec (test.test_unittest.testmock.testcallable.TestCallable.test_patch_spec) ... ok test_patch_spec_callable_class (test.test_unittest.testmock.testcallable.TestCallable.test_patch_spec_callable_class) ... ok test_patch_spec_instance (test.test_unittest.testmock.testcallable.TestCallable.test_patch_spec_instance) ... ok test_patch_spec_set (test.test_unittest.testmock.testcallable.TestCallable.test_patch_spec_set) ... ok test_patch_spec_set_instance (test.test_unittest.testmock.testcallable.TestCallable.test_patch_spec_set_instance) ... ok test_subclasses (test.test_unittest.testmock.testcallable.TestCallable.test_subclasses) ... ok test_any (test.test_unittest.testmock.testhelpers.AnyTest.test_any) ... ok test_any_and_datetime (test.test_unittest.testmock.testhelpers.AnyTest.test_any_and_datetime) ... ok test_any_and_spec_set (test.test_unittest.testmock.testhelpers.AnyTest.test_any_and_spec_set) ... ok test_any_mock_calls_comparison_order (test.test_unittest.testmock.testhelpers.AnyTest.test_any_mock_calls_comparison_order) ... ok test_any_no_spec (test.test_unittest.testmock.testhelpers.AnyTest.test_any_no_spec) ... ok test_repr (test.test_unittest.testmock.testhelpers.AnyTest.test_repr) ... ok test_attribute_call (test.test_unittest.testmock.testhelpers.CallTest.test_attribute_call) ... ok test_call (test.test_unittest.testmock.testhelpers.CallTest.test_call) ... ok test_call_any (test.test_unittest.testmock.testhelpers.CallTest.test_call_any) ... ok test_call_list (test.test_unittest.testmock.testhelpers.CallTest.test_call_list) ... ok test_call_ne (test.test_unittest.testmock.testhelpers.CallTest.test_call_ne) ... ok test_call_non_tuples (test.test_unittest.testmock.testhelpers.CallTest.test_call_non_tuples) ... ok test_call_with_args (test.test_unittest.testmock.testhelpers.CallTest.test_call_with_args) ... ok test_call_with_args_call_empty_name (test.test_unittest.testmock.testhelpers.CallTest.test_call_with_args_call_empty_name) ... ok test_call_with_call (test.test_unittest.testmock.testhelpers.CallTest.test_call_with_call) ... ok test_call_with_kwargs (test.test_unittest.testmock.testhelpers.CallTest.test_call_with_kwargs) ... ok test_call_with_name (test.test_unittest.testmock.testhelpers.CallTest.test_call_with_name) ... ok test_dunder_call (test.test_unittest.testmock.testhelpers.CallTest.test_dunder_call) ... ok test_empty__Call (test.test_unittest.testmock.testhelpers.CallTest.test_empty__Call) ... ok test_extended_call (test.test_unittest.testmock.testhelpers.CallTest.test_extended_call) ... ok test_extended_not_equal (test.test_unittest.testmock.testhelpers.CallTest.test_extended_not_equal) ... ok test_named_call_with_args (test.test_unittest.testmock.testhelpers.CallTest.test_named_call_with_args) ... ok test_named_call_with_kwargs (test.test_unittest.testmock.testhelpers.CallTest.test_named_call_with_kwargs) ... ok test_named_empty_call (test.test_unittest.testmock.testhelpers.CallTest.test_named_empty_call) ... ok test_nested_calls_not_equal (test.test_unittest.testmock.testhelpers.CallTest.test_nested_calls_not_equal) ... ok test_repr (test.test_unittest.testmock.testhelpers.CallTest.test_repr) ... ok test_two_args_call (test.test_unittest.testmock.testhelpers.CallTest.test_two_args_call) ... ok test_attributes (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_attributes) ... ok test_autospec_data_descriptor (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_autospec_data_descriptor) ... ok test_autospec_functions_with_self_in_odd_place (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_autospec_functions_with_self_in_odd_place) ... ok test_autospec_getattr_partial_function (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_autospec_getattr_partial_function) ... ok test_autospec_on_bound_builtin_function (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_autospec_on_bound_builtin_function) ... ERROR test_autospec_reset_mock (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_autospec_reset_mock) ... ok test_autospec_signature_classmethod (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_autospec_signature_classmethod) ... ok test_autospec_signature_staticmethod (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_autospec_signature_staticmethod) ... ok test_basic (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_basic) ... ok test_builtin_functions_types (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_builtin_functions_types) ... ok test_builtins (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_builtins) ... ok test_class_with_no_init (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_class_with_no_init) ... ok test_create_autospec_keyword_arguments (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_create_autospec_keyword_arguments) ... ok test_create_autospec_keyword_only_arguments (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_create_autospec_keyword_only_arguments) ... ok test_create_autospec_none (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_create_autospec_none) ... ok test_create_autospec_return_value (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_create_autospec_return_value) ... ok test_descriptors (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_descriptors) ... ok test_function (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_function) ... ok test_function_as_instance_attribute (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_function_as_instance_attribute) ... ok test_inherit (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_inherit) ... ok test_magic_methods (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_magic_methods) ... ok test_method_calls (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_method_calls) ... ok test_mocking_unbound_methods (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_mocking_unbound_methods) ... ok test_recursive (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_recursive) ... ok test_signature_callable (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_signature_callable) ... ok test_signature_class (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_signature_class) ... ok test_signature_noncallable (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_signature_noncallable) ... ok test_skip_attributeerrors (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_skip_attributeerrors) ... ok test_spec_as_list (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_spec_as_list) ... ok test_spec_function_assert_any_call (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_spec_function_assert_any_call) ... ok test_spec_function_assert_has_calls (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_spec_function_assert_has_calls) ... ok test_spec_function_no_name (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_spec_function_no_name) ... ok test_spec_function_reset_mock (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_spec_function_reset_mock) ... ok test_spec_has_descriptor_returning_function (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_spec_has_descriptor_returning_function) ... ok test_spec_has_function_not_in_bases (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_spec_has_function_not_in_bases) ... ok test_spec_inheritance_for_classes (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_spec_inheritance_for_classes) ... ok test_spec_inspect_signature (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_spec_inspect_signature) ... ok test_spec_inspect_signature_annotations (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_spec_inspect_signature_annotations) ... ok test_spec_set (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_spec_set) ... ok test_args_list_contains_call_list (test.test_unittest.testmock.testhelpers.TestCallList.test_args_list_contains_call_list) ... ok test_call_list_str (test.test_unittest.testmock.testhelpers.TestCallList.test_call_list_str) ... ok test_propertymock (test.test_unittest.testmock.testhelpers.TestCallList.test_propertymock) ... ok test_propertymock_attach (test.test_unittest.testmock.testhelpers.TestCallList.test_propertymock_attach) ... ok test_propertymock_bare (test.test_unittest.testmock.testhelpers.TestCallList.test_propertymock_bare) ... ok test_propertymock_returnvalue (test.test_unittest.testmock.testhelpers.TestCallList.test_propertymock_returnvalue) ... ok test_propertymock_side_effect (test.test_unittest.testmock.testhelpers.TestCallList.test_propertymock_side_effect) ... ok test_call_magic_method (test.test_unittest.testmock.testhelpers.TestCallablePredicate.test_call_magic_method) ... ok test_classmethod (test.test_unittest.testmock.testhelpers.TestCallablePredicate.test_classmethod) ... ok test_non_callable_classmethod (test.test_unittest.testmock.testhelpers.TestCallablePredicate.test_non_callable_classmethod) ... ok test_non_callable_staticmethod (test.test_unittest.testmock.testhelpers.TestCallablePredicate.test_non_callable_staticmethod) ... ok test_staticmethod (test.test_unittest.testmock.testhelpers.TestCallablePredicate.test_staticmethod) ... ok test_type (test.test_unittest.testmock.testhelpers.TestCallablePredicate.test_type) ... ok test_asyncmock_defaults (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_asyncmock_defaults) ... ok test_attributes_and_return_value (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_attributes_and_return_value) ... ok test_bound_methods (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_bound_methods) ... ok test_changing_magic_set_in_initialization (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_changing_magic_set_in_initialization) ... ok test_comparison (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_comparison) ... ok test_deleting_magic_methods (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_deleting_magic_methods) ... ok test_descriptor_from_class (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_descriptor_from_class) ... ok test_dict_methods (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_dict_methods) ... ok test_dir (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_dir) ... ok test_division (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_division) ... ok test_divmod_and_rdivmod (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_divmod_and_rdivmod) ... ok test_equality (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_equality) ... ok test_hash (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_hash) ... ok test_iterable_as_iter_return_value (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_iterable_as_iter_return_value) ... ok test_len_contains_iter (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_len_contains_iter) ... ok test_magic_in_initialization (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_magic_in_initialization) ... ok test_magic_method_reset_mock (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_magic_method_reset_mock) ... ok test_magic_method_type (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_magic_method_type) ... ok test_magic_method_wrapping (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_magic_method_wrapping) ... ok test_magic_methods_and_spec (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_magic_methods_and_spec) ... ok test_magic_methods_and_spec_set (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_magic_methods_and_spec_set) ... ok test_magic_methods_are_magic_mocks (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_magic_methods_are_magic_mocks) ... ok test_magic_methods_fspath (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_magic_methods_fspath) ... ok test_magic_methods_isolated_between_mocks (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_magic_methods_isolated_between_mocks) ... ok test_magic_mock_does_not_reset_magic_returns (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_magic_mock_does_not_reset_magic_returns) ... ok test_magic_mock_equality (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_magic_mock_equality) ... ok test_magic_mock_resets_manual_mocks (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_magic_mock_resets_manual_mocks) ... ok test_magic_mock_resets_manual_mocks_empty_iter (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_magic_mock_resets_manual_mocks_empty_iter) ... ok test_magicmock (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_magicmock) ... FAIL test_magicmock_defaults (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_magicmock_defaults) ... ok test_magicmock_del (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_magicmock_del) ... ok test_matmul (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_matmul) ... ok test_nonzero (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_nonzero) ... ok test_numeric (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_numeric) ... ok test_repr (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_repr) ... ok test_setting_unsupported_magic_method (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_setting_unsupported_magic_method) ... ok test_str (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_str) ... ok test__name__ (test.test_unittest.testmock.testmock.MockTest.test__name__) ... ok test_adding_child_mock (test.test_unittest.testmock.testmock.MockTest.test_adding_child_mock) ... ok test_adding_return_value_mock (test.test_unittest.testmock.testmock.MockTest.test_adding_return_value_mock) ... ok test_all (test.test_unittest.testmock.testmock.MockTest.test_all) ... ok test_arg_lists (test.test_unittest.testmock.testmock.MockTest.test_arg_lists) ... ok test_assert_any_call (test.test_unittest.testmock.testmock.MockTest.test_assert_any_call) ... ok test_assert_any_call_with_function_spec (test.test_unittest.testmock.testmock.MockTest.test_assert_any_call_with_function_spec) ... ok test_assert_called (test.test_unittest.testmock.testmock.MockTest.test_assert_called) ... ok test_assert_called_exception_message (test.test_unittest.testmock.testmock.MockTest.test_assert_called_exception_message) ... ok test_assert_called_once (test.test_unittest.testmock.testmock.MockTest.test_assert_called_once) ... ok test_assert_called_once_message (test.test_unittest.testmock.testmock.MockTest.test_assert_called_once_message) ... ok test_assert_called_once_message_not_called (test.test_unittest.testmock.testmock.MockTest.test_assert_called_once_message_not_called) ... ok test_assert_called_once_with (test.test_unittest.testmock.testmock.MockTest.test_assert_called_once_with) ... ok test_assert_called_once_with_call_list (test.test_unittest.testmock.testmock.MockTest.test_assert_called_once_with_call_list) ... ok test_assert_called_once_with_function_spec (test.test_unittest.testmock.testmock.MockTest.test_assert_called_once_with_function_spec) ... ok test_assert_called_once_with_message (test.test_unittest.testmock.testmock.MockTest.test_assert_called_once_with_message) ... ok test_assert_called_with (test.test_unittest.testmock.testmock.MockTest.test_assert_called_with) ... ok test_assert_called_with_any (test.test_unittest.testmock.testmock.MockTest.test_assert_called_with_any) ... ok test_assert_called_with_failure_message (test.test_unittest.testmock.testmock.MockTest.test_assert_called_with_failure_message) ... ok test_assert_called_with_function_spec (test.test_unittest.testmock.testmock.MockTest.test_assert_called_with_function_spec) ... ok test_assert_called_with_message (test.test_unittest.testmock.testmock.MockTest.test_assert_called_with_message) ... ok test_assert_called_with_method_spec (test.test_unittest.testmock.testmock.MockTest.test_assert_called_with_method_spec) ... ok test_assert_has_calls (test.test_unittest.testmock.testmock.MockTest.test_assert_has_calls) ... ok test_assert_has_calls_any_order (test.test_unittest.testmock.testmock.MockTest.test_assert_has_calls_any_order) ... ok test_assert_has_calls_nested_spec (test.test_unittest.testmock.testmock.MockTest.test_assert_has_calls_nested_spec) ... ok test_assert_has_calls_nested_without_spec (test.test_unittest.testmock.testmock.MockTest.test_assert_has_calls_nested_without_spec) ... ok test_assert_has_calls_not_matching_spec_error (test.test_unittest.testmock.testmock.MockTest.test_assert_has_calls_not_matching_spec_error) ... ok test_assert_has_calls_with_function_spec (test.test_unittest.testmock.testmock.MockTest.test_assert_has_calls_with_function_spec) ... ok test_assert_not_called (test.test_unittest.testmock.testmock.MockTest.test_assert_not_called) ... ok test_assert_not_called_message (test.test_unittest.testmock.testmock.MockTest.test_assert_not_called_message) ... ok test_attach_mock (test.test_unittest.testmock.testmock.MockTest.test_attach_mock) ... ok test_attach_mock_patch_autospec (test.test_unittest.testmock.testmock.MockTest.test_attach_mock_patch_autospec) ... ok test_attach_mock_patch_autospec_signature (test.test_unittest.testmock.testmock.MockTest.test_attach_mock_patch_autospec_signature) ... ok test_attach_mock_return_value (test.test_unittest.testmock.testmock.MockTest.test_attach_mock_return_value) ... ok test_attribute_access_returns_mocks (test.test_unittest.testmock.testmock.MockTest.test_attribute_access_returns_mocks) ... ok test_attribute_deletion (test.test_unittest.testmock.testmock.MockTest.test_attribute_deletion) ... ok test_attributes_have_name_and_parent_set (test.test_unittest.testmock.testmock.MockTest.test_attributes_have_name_and_parent_set) ... ok test_autospec_mock (test.test_unittest.testmock.testmock.MockTest.test_autospec_mock) ... ok test_autospec_side_effect (test.test_unittest.testmock.testmock.MockTest.test_autospec_side_effect) ... ok test_autospec_side_effect_exception (test.test_unittest.testmock.testmock.MockTest.test_autospec_side_effect_exception) ... ok test_baseexceptional_side_effect (test.test_unittest.testmock.testmock.MockTest.test_baseexceptional_side_effect) ... ok test_bool_not_called_when_passing_spec_arg (test.test_unittest.testmock.testmock.MockTest.test_bool_not_called_when_passing_spec_arg) ... ok test_call (test.test_unittest.testmock.testmock.MockTest.test_call) ... ok test_call_args_comparison (test.test_unittest.testmock.testmock.MockTest.test_call_args_comparison) ... ok test_call_args_two_tuple (test.test_unittest.testmock.testmock.MockTest.test_call_args_two_tuple) ... ok test_calls_equal_with_any (test.test_unittest.testmock.testmock.MockTest.test_calls_equal_with_any) ... ok test_change_return_value_via_delegate (test.test_unittest.testmock.testmock.MockTest.test_change_return_value_via_delegate) ... ok test_change_side_effect_via_delegate (test.test_unittest.testmock.testmock.MockTest.test_change_side_effect_via_delegate) ... ok test_child_mock_call_equal (test.test_unittest.testmock.testmock.MockTest.test_child_mock_call_equal) ... ok test_class_assignable (test.test_unittest.testmock.testmock.MockTest.test_class_assignable) ... ok test_configure_mock (test.test_unittest.testmock.testmock.MockTest.test_configure_mock) ... ok test_constructor (test.test_unittest.testmock.testmock.MockTest.test_constructor) ... ok test_copy (test.test_unittest.testmock.testmock.MockTest.test_copy) ... ok test_create_autospec_classmethod_and_staticmethod (test.test_unittest.testmock.testmock.MockTest.test_create_autospec_classmethod_and_staticmethod) ... ok test_create_autospec_correctly_handles_name (test.test_unittest.testmock.testmock.MockTest.test_create_autospec_correctly_handles_name) ... ok test_create_autospec_instance_wraps_class (test.test_unittest.testmock.testmock.MockTest.test_create_autospec_instance_wraps_class) Autospec a class instance with wraps & test if the call is passed ... ok test_create_autospec_should_be_configurable_by_kwargs (test.test_unittest.testmock.testmock.MockTest.test_create_autospec_should_be_configurable_by_kwargs) If kwargs are given to configure mock, the function must configure ... ok test_create_autospec_with_name (test.test_unittest.testmock.testmock.MockTest.test_create_autospec_with_name) ... ok test_create_autospec_wraps_class (test.test_unittest.testmock.testmock.MockTest.test_create_autospec_wraps_class) Autospec a class with wraps & test if the call is passed to the ... ok test_create_autospec_wraps_function_type (test.test_unittest.testmock.testmock.MockTest.test_create_autospec_wraps_function_type) Autospec a function or a method with wraps & test if the call is ... ok test_customize_wrapped_object_with_return_value (test.test_unittest.testmock.testmock.MockTest.test_customize_wrapped_object_with_return_value) ... ok test_customize_wrapped_object_with_return_value_and_side_effect (test.test_unittest.testmock.testmock.MockTest.test_customize_wrapped_object_with_return_value_and_side_effect) ... ok test_customize_wrapped_object_with_return_value_and_side_effect2 (test.test_unittest.testmock.testmock.MockTest.test_customize_wrapped_object_with_return_value_and_side_effect2) ... ok test_customize_wrapped_object_with_return_value_and_side_effect_default (test.test_unittest.testmock.testmock.MockTest.test_customize_wrapped_object_with_return_value_and_side_effect_default) ... ok test_customize_wrapped_object_with_side_effect_exception (test.test_unittest.testmock.testmock.MockTest.test_customize_wrapped_object_with_side_effect_exception) ... ok test_customize_wrapped_object_with_side_effect_function (test.test_unittest.testmock.testmock.MockTest.test_customize_wrapped_object_with_side_effect_function) ... ok test_customize_wrapped_object_with_side_effect_iterable (test.test_unittest.testmock.testmock.MockTest.test_customize_wrapped_object_with_side_effect_iterable) ... ok test_customize_wrapped_object_with_side_effect_iterable_with_default (test.test_unittest.testmock.testmock.MockTest.test_customize_wrapped_object_with_side_effect_iterable_with_default) ... ok test_dir (test.test_unittest.testmock.testmock.MockTest.test_dir) ... ok test_dir_does_not_include_deleted_attributes (test.test_unittest.testmock.testmock.MockTest.test_dir_does_not_include_deleted_attributes) ... ok test_dir_from_spec (test.test_unittest.testmock.testmock.MockTest.test_dir_from_spec) ... ok test_exceptional_side_effect (test.test_unittest.testmock.testmock.MockTest.test_exceptional_side_effect) ... ok test_explicit_return_value_even_if_mock_wraps_object (test.test_unittest.testmock.testmock.MockTest.test_explicit_return_value_even_if_mock_wraps_object) If the mock has an explicit return_value set then calls are not ... ok test_filter_dir (test.test_unittest.testmock.testmock.MockTest.test_filter_dir) ... ok test_from_spec (test.test_unittest.testmock.testmock.MockTest.test_from_spec) ... ok test_isinstance_under_settrace (test.test_unittest.testmock.testmock.MockTest.test_isinstance_under_settrace) ... ok test_magic_method_wraps_class (test.test_unittest.testmock.testmock.MockTest.test_magic_method_wraps_class) ... ok test_magic_method_wraps_dict (test.test_unittest.testmock.testmock.MockTest.test_magic_method_wraps_dict) ... ok test_magic_methods_mock_calls (test.test_unittest.testmock.testmock.MockTest.test_magic_methods_mock_calls) ... ok test_manager_mock (test.test_unittest.testmock.testmock.MockTest.test_manager_mock) ... ok test_method_calls_compare_easily (test.test_unittest.testmock.testmock.MockTest.test_method_calls_compare_easily) ... ok test_method_calls_recorded (test.test_unittest.testmock.testmock.MockTest.test_method_calls_recorded) ... ok test_misspelled_arguments (test.test_unittest.testmock.testmock.MockTest.test_misspelled_arguments) ... ok test_mock_add_spec (test.test_unittest.testmock.testmock.MockTest.test_mock_add_spec) ... ok test_mock_add_spec_magic_methods (test.test_unittest.testmock.testmock.MockTest.test_mock_add_spec_magic_methods) ... ok test_mock_call_not_equal_leaf (test.test_unittest.testmock.testmock.MockTest.test_mock_call_not_equal_leaf) ... ok test_mock_call_not_equal_non_leaf (test.test_unittest.testmock.testmock.MockTest.test_mock_call_not_equal_non_leaf) ... ok test_mock_call_not_equal_non_leaf_attr (test.test_unittest.testmock.testmock.MockTest.test_mock_call_not_equal_non_leaf_attr) ... ok test_mock_call_not_equal_non_leaf_call_versus_attr (test.test_unittest.testmock.testmock.MockTest.test_mock_call_not_equal_non_leaf_call_versus_attr) ... ok test_mock_call_not_equal_non_leaf_params_different (test.test_unittest.testmock.testmock.MockTest.test_mock_call_not_equal_non_leaf_params_different) ... ok test_mock_call_repr (test.test_unittest.testmock.testmock.MockTest.test_mock_call_repr) ... ok test_mock_call_repr_loop (test.test_unittest.testmock.testmock.MockTest.test_mock_call_repr_loop) ... ok test_mock_calls (test.test_unittest.testmock.testmock.MockTest.test_mock_calls) ... ok test_mock_calls_contains (test.test_unittest.testmock.testmock.MockTest.test_mock_calls_contains) ... ok test_mock_calls_create_autospec (test.test_unittest.testmock.testmock.MockTest.test_mock_calls_create_autospec) ... ok test_mock_does_not_raise_on_repeated_attribute_deletion (test.test_unittest.testmock.testmock.MockTest.test_mock_does_not_raise_on_repeated_attribute_deletion) ... ok test_mock_open_after_eof (test.test_unittest.testmock.testmock.MockTest.test_mock_open_after_eof) ... ok test_mock_open_alter_readline (test.test_unittest.testmock.testmock.MockTest.test_mock_open_alter_readline) ... ok test_mock_open_dunder_iter_issue (test.test_unittest.testmock.testmock.MockTest.test_mock_open_dunder_iter_issue) ... ok test_mock_open_next_with_readline_with_return_value (test.test_unittest.testmock.testmock.MockTest.test_mock_open_next_with_readline_with_return_value) ... ok test_mock_open_reuse_issue_21750 (test.test_unittest.testmock.testmock.MockTest.test_mock_open_reuse_issue_21750) ... ok test_mock_open_using_next (test.test_unittest.testmock.testmock.MockTest.test_mock_open_using_next) ... ok test_mock_open_write (test.test_unittest.testmock.testmock.MockTest.test_mock_open_write) ... ok test_mock_parents (test.test_unittest.testmock.testmock.MockTest.test_mock_parents) ... ok test_mock_raises_when_deleting_nonexistent_attribute (test.test_unittest.testmock.testmock.MockTest.test_mock_raises_when_deleting_nonexistent_attribute) ... ok test_mock_safe_with_spec (test.test_unittest.testmock.testmock.MockTest.test_mock_safe_with_spec) ... ok test_mock_unsafe (test.test_unittest.testmock.testmock.MockTest.test_mock_unsafe) ... ok test_name_attribute_of_call (test.test_unittest.testmock.testmock.MockTest.test_name_attribute_of_call) ... ok test_only_allowed_methods_exist (test.test_unittest.testmock.testmock.MockTest.test_only_allowed_methods_exist) ... ok test_ordered_call_signature (test.test_unittest.testmock.testmock.MockTest.test_ordered_call_signature) ... ok test_override_tuple_methods (test.test_unittest.testmock.testmock.MockTest.test_override_tuple_methods) ... ok test_parent_attribute_of_call (test.test_unittest.testmock.testmock.MockTest.test_parent_attribute_of_call) ... ok test_parent_propagation_with_autospec_attach_mock (test.test_unittest.testmock.testmock.MockTest.test_parent_propagation_with_autospec_attach_mock) ... ok test_parent_propagation_with_create_autospec (test.test_unittest.testmock.testmock.MockTest.test_parent_propagation_with_create_autospec) ... ok test_repr (test.test_unittest.testmock.testmock.MockTest.test_repr) ... ok test_repr_with_spec (test.test_unittest.testmock.testmock.MockTest.test_repr_with_spec) ... ok test_reset_mock (test.test_unittest.testmock.testmock.MockTest.test_reset_mock) ... ok test_reset_mock_does_not_raise_on_attr_deletion (test.test_unittest.testmock.testmock.MockTest.test_reset_mock_does_not_raise_on_attr_deletion) ... ok test_reset_mock_on_mock_open_issue_18622 (test.test_unittest.testmock.testmock.MockTest.test_reset_mock_on_mock_open_issue_18622) ... ok test_reset_mock_recursion (test.test_unittest.testmock.testmock.MockTest.test_reset_mock_recursion) ... ok test_reset_return (test.test_unittest.testmock.testmock.MockTest.test_reset_return) ... ok test_reset_return_sideeffect (test.test_unittest.testmock.testmock.MockTest.test_reset_return_sideeffect) ... ok test_reset_return_with_children (test.test_unittest.testmock.testmock.MockTest.test_reset_return_with_children) ... ok test_reset_return_with_children_side_effect (test.test_unittest.testmock.testmock.MockTest.test_reset_return_with_children_side_effect) ... ok test_reset_sideeffect (test.test_unittest.testmock.testmock.MockTest.test_reset_sideeffect) ... ok test_return_value_in_constructor (test.test_unittest.testmock.testmock.MockTest.test_return_value_in_constructor) ... ok test_setting_attribute_with_spec_set (test.test_unittest.testmock.testmock.MockTest.test_setting_attribute_with_spec_set) ... ok test_setting_call (test.test_unittest.testmock.testmock.MockTest.test_setting_call) ... ok test_side_effect (test.test_unittest.testmock.testmock.MockTest.test_side_effect) ... ok test_side_effect_iterator (test.test_unittest.testmock.testmock.MockTest.test_side_effect_iterator) ... ok test_side_effect_iterator_default (test.test_unittest.testmock.testmock.MockTest.test_side_effect_iterator_default) ... ok test_side_effect_iterator_exceptions (test.test_unittest.testmock.testmock.MockTest.test_side_effect_iterator_exceptions) ... ok test_side_effect_setting_iterator (test.test_unittest.testmock.testmock.MockTest.test_side_effect_setting_iterator) ... ok test_spec_class (test.test_unittest.testmock.testmock.MockTest.test_spec_class) ... ok test_spec_class_no_object_base (test.test_unittest.testmock.testmock.MockTest.test_spec_class_no_object_base) ... ok test_spec_list_subclass (test.test_unittest.testmock.testmock.MockTest.test_spec_list_subclass) ... ok test_subclass_with_properties (test.test_unittest.testmock.testmock.MockTest.test_subclass_with_properties) ... ok test_subclassing (test.test_unittest.testmock.testmock.MockTest.test_subclassing) ... ok test_wraps_attributes (test.test_unittest.testmock.testmock.MockTest.test_wraps_attributes) ... ok test_wraps_call_with_nondefault_return_value (test.test_unittest.testmock.testmock.MockTest.test_wraps_call_with_nondefault_return_value) ... ok test_wraps_calls (test.test_unittest.testmock.testmock.MockTest.test_wraps_calls) ... ok test_wraps_prevents_automatic_creation_of_mocks (test.test_unittest.testmock.testmock.MockTest.test_wraps_prevents_automatic_creation_of_mocks) ... ok test_autospec (test.test_unittest.testmock.testpatch.PatchTest.test_autospec) ... ok test_autospec_classmethod (test.test_unittest.testmock.testpatch.PatchTest.test_autospec_classmethod) ... ok test_autospec_classmethod_signature (test.test_unittest.testmock.testpatch.PatchTest.test_autospec_classmethod_signature) ... ok test_autospec_function (test.test_unittest.testmock.testpatch.PatchTest.test_autospec_function) ... ok test_autospec_inherits (test.test_unittest.testmock.testpatch.PatchTest.test_autospec_inherits) ... ok test_autospec_keywords (test.test_unittest.testmock.testpatch.PatchTest.test_autospec_keywords) ... ok test_autospec_name (test.test_unittest.testmock.testpatch.PatchTest.test_autospec_name) ... ok test_autospec_staticmethod (test.test_unittest.testmock.testpatch.PatchTest.test_autospec_staticmethod) ... ok test_autospec_staticmethod_signature (test.test_unittest.testmock.testpatch.PatchTest.test_autospec_staticmethod_signature) ... ok test_autospec_with_new (test.test_unittest.testmock.testpatch.PatchTest.test_autospec_with_new) ... ok test_autospec_with_object (test.test_unittest.testmock.testpatch.PatchTest.test_autospec_with_object) ... ok test_callable_spec_as_list (test.test_unittest.testmock.testpatch.PatchTest.test_callable_spec_as_list) ... ok test_cant_set_kwargs_when_passing_a_mock (test.test_unittest.testmock.testpatch.PatchTest.test_cant_set_kwargs_when_passing_a_mock) ... ok test_create_and_specs (test.test_unittest.testmock.testpatch.PatchTest.test_create_and_specs) ... ok test_dotted_but_module_not_loaded (test.test_unittest.testmock.testpatch.PatchTest.test_dotted_but_module_not_loaded) ... ok test_exit_idempotent (test.test_unittest.testmock.testpatch.PatchTest.test_exit_idempotent) ... ok test_falsey_spec (test.test_unittest.testmock.testpatch.PatchTest.test_falsey_spec) ... ok test_get_only_proxy (test.test_unittest.testmock.testpatch.PatchTest.test_get_only_proxy) ... ok test_get_set_delete_proxy (test.test_unittest.testmock.testpatch.PatchTest.test_get_set_delete_proxy) ... ok test_invalid_target (test.test_unittest.testmock.testpatch.PatchTest.test_invalid_target) ... ok test_mock_calls_with_patch (test.test_unittest.testmock.testpatch.PatchTest.test_mock_calls_with_patch) ... ok test_multiple_patchobject (test.test_unittest.testmock.testpatch.PatchTest.test_multiple_patchobject) ... ok test_multiple_specs (test.test_unittest.testmock.testpatch.PatchTest.test_multiple_specs) ... ok test_name_preserved (test.test_unittest.testmock.testpatch.PatchTest.test_name_preserved) ... ok test_name_resolution_import_rebinding (test.test_unittest.testmock.testpatch.PatchTest.test_name_resolution_import_rebinding) ... ok test_name_resolution_import_rebinding2 (test.test_unittest.testmock.testpatch.PatchTest.test_name_resolution_import_rebinding2) ... ok test_nested_patch_failure (test.test_unittest.testmock.testpatch.PatchTest.test_nested_patch_failure) ... ok test_nested_patch_with_spec_as_list (test.test_unittest.testmock.testpatch.PatchTest.test_nested_patch_with_spec_as_list) ... ok test_new_callable_class_decorating (test.test_unittest.testmock.testpatch.PatchTest.test_new_callable_class_decorating) ... ok test_new_callable_create (test.test_unittest.testmock.testpatch.PatchTest.test_new_callable_create) ... ok test_new_callable_failure (test.test_unittest.testmock.testpatch.PatchTest.test_new_callable_failure) ... ok test_new_callable_incompatible_with_autospec (test.test_unittest.testmock.testpatch.PatchTest.test_new_callable_incompatible_with_autospec) ... ok test_new_callable_incompatible_with_new (test.test_unittest.testmock.testpatch.PatchTest.test_new_callable_incompatible_with_new) ... ok test_new_callable_inherit_for_mocks (test.test_unittest.testmock.testpatch.PatchTest.test_new_callable_inherit_for_mocks) ... ok test_new_callable_inherit_non_mock (test.test_unittest.testmock.testpatch.PatchTest.test_new_callable_inherit_non_mock) ... ok test_new_callable_keyword_arguments (test.test_unittest.testmock.testpatch.PatchTest.test_new_callable_keyword_arguments) ... ok test_new_callable_patch (test.test_unittest.testmock.testpatch.PatchTest.test_new_callable_patch) ... ok test_new_callable_patch_object (test.test_unittest.testmock.testpatch.PatchTest.test_new_callable_patch_object) ... ok test_new_callable_spec (test.test_unittest.testmock.testpatch.PatchTest.test_new_callable_spec) ... ok test_not_callable_spec_as_list (test.test_unittest.testmock.testpatch.PatchTest.test_not_callable_spec_as_list) ... ok test_object_lookup_is_quite_lazy (test.test_unittest.testmock.testpatch.PatchTest.test_object_lookup_is_quite_lazy) ... ok test_patch (test.test_unittest.testmock.testpatch.PatchTest.test_patch) ... ok test_patch_and_patch_dict_stopall (test.test_unittest.testmock.testpatch.PatchTest.test_patch_and_patch_dict_stopall) ... ok test_patch_builtins_without_create (test.test_unittest.testmock.testpatch.PatchTest.test_patch_builtins_without_create) ... ok test_patch_class_acts_with_spec_is_inherited (test.test_unittest.testmock.testpatch.PatchTest.test_patch_class_acts_with_spec_is_inherited) ... ok test_patch_class_attribute (test.test_unittest.testmock.testpatch.PatchTest.test_patch_class_attribute) ... ok test_patch_class_decorator (test.test_unittest.testmock.testpatch.PatchTest.test_patch_class_decorator) ... ok test_patch_dict (test.test_unittest.testmock.testpatch.PatchTest.test_patch_dict) ... ok test_patch_dict_as_context_manager (test.test_unittest.testmock.testpatch.PatchTest.test_patch_dict_as_context_manager) ... ok test_patch_dict_class_decorator (test.test_unittest.testmock.testpatch.PatchTest.test_patch_dict_class_decorator) ... ok test_patch_dict_decorator_resolution (test.test_unittest.testmock.testpatch.PatchTest.test_patch_dict_decorator_resolution) ... ok test_patch_dict_keyword_args (test.test_unittest.testmock.testpatch.PatchTest.test_patch_dict_keyword_args) ... ok test_patch_dict_start_stop (test.test_unittest.testmock.testpatch.PatchTest.test_patch_dict_start_stop) ... ok test_patch_dict_stop_without_start (test.test_unittest.testmock.testpatch.PatchTest.test_patch_dict_stop_without_start) ... ok test_patch_dict_stopall (test.test_unittest.testmock.testpatch.PatchTest.test_patch_dict_stopall) ... ok test_patch_dict_test_prefix (test.test_unittest.testmock.testpatch.PatchTest.test_patch_dict_test_prefix) ... ok test_patch_dict_with_clear (test.test_unittest.testmock.testpatch.PatchTest.test_patch_dict_with_clear) ... ok test_patch_dict_with_container_object (test.test_unittest.testmock.testpatch.PatchTest.test_patch_dict_with_container_object) ... ok test_patch_dict_with_container_object_and_clear (test.test_unittest.testmock.testpatch.PatchTest.test_patch_dict_with_container_object_and_clear) ... ok test_patch_dict_with_string (test.test_unittest.testmock.testpatch.PatchTest.test_patch_dict_with_string) ... ok test_patch_imports_lazily (test.test_unittest.testmock.testpatch.PatchTest.test_patch_imports_lazily) ... ok test_patch_keyword_args (test.test_unittest.testmock.testpatch.PatchTest.test_patch_keyword_args) ... ok test_patch_local (test.test_unittest.testmock.testpatch.PatchTest.test_patch_local) ... ok test_patch_multiple (test.test_unittest.testmock.testpatch.PatchTest.test_patch_multiple) ... ok test_patch_multiple_create (test.test_unittest.testmock.testpatch.PatchTest.test_patch_multiple_create) ... ok test_patch_multiple_create_mocks (test.test_unittest.testmock.testpatch.PatchTest.test_patch_multiple_create_mocks) ... ok test_patch_multiple_create_mocks_different_order (test.test_unittest.testmock.testpatch.PatchTest.test_patch_multiple_create_mocks_different_order) ... ok test_patch_multiple_create_mocks_patcher (test.test_unittest.testmock.testpatch.PatchTest.test_patch_multiple_create_mocks_patcher) ... ok test_patch_multiple_decorating_class (test.test_unittest.testmock.testpatch.PatchTest.test_patch_multiple_decorating_class) ... ok test_patch_multiple_failure (test.test_unittest.testmock.testpatch.PatchTest.test_patch_multiple_failure) ... ok test_patch_multiple_new_callable (test.test_unittest.testmock.testpatch.PatchTest.test_patch_multiple_new_callable) ... ok test_patch_multiple_new_callable_failure (test.test_unittest.testmock.testpatch.PatchTest.test_patch_multiple_new_callable_failure) ... ok test_patch_multiple_no_kwargs (test.test_unittest.testmock.testpatch.PatchTest.test_patch_multiple_no_kwargs) ... ok test_patch_multiple_spec_set (test.test_unittest.testmock.testpatch.PatchTest.test_patch_multiple_spec_set) ... ok test_patch_multiple_stacked_decorators (test.test_unittest.testmock.testpatch.PatchTest.test_patch_multiple_stacked_decorators) ... ok test_patch_multiple_string_subclasses (test.test_unittest.testmock.testpatch.PatchTest.test_patch_multiple_string_subclasses) ... ok test_patch_nested_autospec_repr (test.test_unittest.testmock.testpatch.PatchTest.test_patch_nested_autospec_repr) ... ok test_patch_object_keyword_args (test.test_unittest.testmock.testpatch.PatchTest.test_patch_object_keyword_args) ... ok test_patch_object_with_spec_as_boolean (test.test_unittest.testmock.testpatch.PatchTest.test_patch_object_with_spec_as_boolean) ... ok test_patch_orderdict (test.test_unittest.testmock.testpatch.PatchTest.test_patch_orderdict) ... ok test_patch_propagates_exc_on_exit (test.test_unittest.testmock.testpatch.PatchTest.test_patch_propagates_exc_on_exit) ... ok test_patch_proxy_object (test.test_unittest.testmock.testpatch.PatchTest.test_patch_proxy_object) ... ok test_patch_slots (test.test_unittest.testmock.testpatch.PatchTest.test_patch_slots) ... ok test_patch_spec_set (test.test_unittest.testmock.testpatch.PatchTest.test_patch_spec_set) ... ok test_patch_start_stop (test.test_unittest.testmock.testpatch.PatchTest.test_patch_start_stop) ... ok test_patch_stopall (test.test_unittest.testmock.testpatch.PatchTest.test_patch_stopall) ... ok test_patch_test_prefix (test.test_unittest.testmock.testpatch.PatchTest.test_patch_test_prefix) ... ok test_patch_with_create_mocks_non_existent_attributes (test.test_unittest.testmock.testpatch.PatchTest.test_patch_with_create_mocks_non_existent_attributes) ... ok test_patch_with_exception (test.test_unittest.testmock.testpatch.PatchTest.test_patch_with_exception) ... ok test_patch_with_spec (test.test_unittest.testmock.testpatch.PatchTest.test_patch_with_spec) ... ok test_patch_with_spec_as_boolean (test.test_unittest.testmock.testpatch.PatchTest.test_patch_with_spec_as_boolean) ... ok test_patch_with_spec_as_list (test.test_unittest.testmock.testpatch.PatchTest.test_patch_with_spec_as_list) ... ok test_patch_with_spec_mock_repr (test.test_unittest.testmock.testpatch.PatchTest.test_patch_with_spec_mock_repr) ... ok test_patch_with_static_methods (test.test_unittest.testmock.testpatch.PatchTest.test_patch_with_static_methods) ... ok test_patch_wont_create_by_default (test.test_unittest.testmock.testpatch.PatchTest.test_patch_wont_create_by_default) ... ok test_patchobject_class_decorator (test.test_unittest.testmock.testpatch.PatchTest.test_patchobject_class_decorator) ... ok test_patchobject_start_stop (test.test_unittest.testmock.testpatch.PatchTest.test_patchobject_start_stop) ... ok test_patchobject_twice (test.test_unittest.testmock.testpatch.PatchTest.test_patchobject_twice) ... ok test_patchobject_with_create_mocks_non_existent_attributes (test.test_unittest.testmock.testpatch.PatchTest.test_patchobject_with_create_mocks_non_existent_attributes) ... ok test_patchobject_with_default_mock (test.test_unittest.testmock.testpatch.PatchTest.test_patchobject_with_default_mock) ... ok test_patchobject_with_none (test.test_unittest.testmock.testpatch.PatchTest.test_patchobject_with_none) ... ok test_patchobject_with_spec (test.test_unittest.testmock.testpatch.PatchTest.test_patchobject_with_spec) ... ok test_patchobject_with_spec_as_list (test.test_unittest.testmock.testpatch.PatchTest.test_patchobject_with_spec_as_list) ... ok test_patchobject_with_string_as_target (test.test_unittest.testmock.testpatch.PatchTest.test_patchobject_with_string_as_target) ... ok test_patchobject_wont_create_by_default (test.test_unittest.testmock.testpatch.PatchTest.test_patchobject_wont_create_by_default) ... ok test_property_setters (test.test_unittest.testmock.testpatch.PatchTest.test_property_setters) ... ok test_second_enter_failure (test.test_unittest.testmock.testpatch.PatchTest.test_second_enter_failure) ... ok test_second_start_after_stop (test.test_unittest.testmock.testpatch.PatchTest.test_second_start_after_stop) ... ok test_second_start_failure (test.test_unittest.testmock.testpatch.PatchTest.test_second_start_failure) ... ok test_single_patchobject (test.test_unittest.testmock.testpatch.PatchTest.test_single_patchobject) ... ok test_spec_set_inherit (test.test_unittest.testmock.testpatch.PatchTest.test_spec_set_inherit) ... ok test_spec_set_true (test.test_unittest.testmock.testpatch.PatchTest.test_spec_set_true) ... ok test_special_attrs (test.test_unittest.testmock.testpatch.PatchTest.test_special_attrs) ... ok test_specs_false_instead_of_none (test.test_unittest.testmock.testpatch.PatchTest.test_specs_false_instead_of_none) ... ok test_stop_idempotent (test.test_unittest.testmock.testpatch.PatchTest.test_stop_idempotent) ... ok test_stop_without_start (test.test_unittest.testmock.testpatch.PatchTest.test_stop_without_start) ... ok test_stopall_lifo (test.test_unittest.testmock.testpatch.PatchTest.test_stopall_lifo) ... ok test_tracebacks (test.test_unittest.testmock.testpatch.PatchTest.test_tracebacks) ... ok test_attribute_chain_is_maintained (test.test_unittest.testmock.testsealable.TestSealable.test_attribute_chain_is_maintained) ... ok test_attributes_return_more_mocks_by_default (test.test_unittest.testmock.testsealable.TestSealable.test_attributes_return_more_mocks_by_default) ... ok test_call_chain_is_maintained (test.test_unittest.testmock.testsealable.TestSealable.test_call_chain_is_maintained) ... ok test_call_on_defined_sealed_mock_succeeds (test.test_unittest.testmock.testsealable.TestSealable.test_call_on_defined_sealed_mock_succeeds) ... ok test_call_on_sealed_mock_fails (test.test_unittest.testmock.testsealable.TestSealable.test_call_on_sealed_mock_fails) ... ok test_existing_attributes_allowed_after_seal (test.test_unittest.testmock.testsealable.TestSealable.test_existing_attributes_allowed_after_seal) ... ok test_existing_attributes_can_be_set_on_seal (test.test_unittest.testmock.testsealable.TestSealable.test_existing_attributes_can_be_set_on_seal) ... ok test_initialized_attributes_allowed_after_seal (test.test_unittest.testmock.testsealable.TestSealable.test_initialized_attributes_allowed_after_seal) ... ok test_integration_with_spec_att_definition (test.test_unittest.testmock.testsealable.TestSealable.test_integration_with_spec_att_definition) You are not restricted when using mock with spec ... ok test_integration_with_spec_method_definition (test.test_unittest.testmock.testsealable.TestSealable.test_integration_with_spec_method_definition) You need to define the methods, even if they are in the spec ... ok test_integration_with_spec_method_definition_respects_spec (test.test_unittest.testmock.testsealable.TestSealable.test_integration_with_spec_method_definition_respects_spec) You cannot define methods out of the spec ... ok test_new_attributes_cannot_be_accessed_on_seal (test.test_unittest.testmock.testsealable.TestSealable.test_new_attributes_cannot_be_accessed_on_seal) ... ok test_new_attributes_cannot_be_set_on_child_of_seal (test.test_unittest.testmock.testsealable.TestSealable.test_new_attributes_cannot_be_set_on_child_of_seal) ... ok test_new_attributes_cannot_be_set_on_seal (test.test_unittest.testmock.testsealable.TestSealable.test_new_attributes_cannot_be_set_on_seal) ... ok test_seal_with_autospec (test.test_unittest.testmock.testsealable.TestSealable.test_seal_with_autospec) ... ok test_sealed_exception_has_attribute_name (test.test_unittest.testmock.testsealable.TestSealable.test_sealed_exception_has_attribute_name) ... ok test_seals_dont_recurse_on_manual_attributes (test.test_unittest.testmock.testsealable.TestSealable.test_seals_dont_recurse_on_manual_attributes) ... ok test_seals_recurse_on_added_attributes (test.test_unittest.testmock.testsealable.TestSealable.test_seals_recurse_on_added_attributes) ... ok test_seals_recurse_on_magic_methods (test.test_unittest.testmock.testsealable.TestSealable.test_seals_recurse_on_magic_methods) ... ok testBases (test.test_unittest.testmock.testsentinel.SentinelTest.testBases) ... ok testCopy (test.test_unittest.testmock.testsentinel.SentinelTest.testCopy) ... ok testDEFAULT (test.test_unittest.testmock.testsentinel.SentinelTest.testDEFAULT) ... ok testPickle (test.test_unittest.testmock.testsentinel.SentinelTest.testPickle) ... ok testSentinelName (test.test_unittest.testmock.testsentinel.SentinelTest.testSentinelName) ... ok testSentinels (test.test_unittest.testmock.testsentinel.SentinelTest.testSentinels) ... ok test_dunder_iter_data (test.test_unittest.testmock.testwith.TestMockOpen.test_dunder_iter_data) ... ok test_explicit_mock (test.test_unittest.testmock.testwith.TestMockOpen.test_explicit_mock) ... ok test_interleaved_reads (test.test_unittest.testmock.testwith.TestMockOpen.test_interleaved_reads) ... ok test_mock_open (test.test_unittest.testmock.testwith.TestMockOpen.test_mock_open) ... ok test_mock_open_context_manager (test.test_unittest.testmock.testwith.TestMockOpen.test_mock_open_context_manager) ... ok test_mock_open_context_manager_multiple_times (test.test_unittest.testmock.testwith.TestMockOpen.test_mock_open_context_manager_multiple_times) ... ok test_mock_open_read_with_argument (test.test_unittest.testmock.testwith.TestMockOpen.test_mock_open_read_with_argument) ... ok test_next_data (test.test_unittest.testmock.testwith.TestMockOpen.test_next_data) ... ok test_overriding_return_values (test.test_unittest.testmock.testwith.TestMockOpen.test_overriding_return_values) ... ok test_read_bytes (test.test_unittest.testmock.testwith.TestMockOpen.test_read_bytes) ... ok test_read_data (test.test_unittest.testmock.testwith.TestMockOpen.test_read_data) ... ok test_readline_bytes (test.test_unittest.testmock.testwith.TestMockOpen.test_readline_bytes) ... ok test_readline_data (test.test_unittest.testmock.testwith.TestMockOpen.test_readline_data) ... ok test_readlines_bytes (test.test_unittest.testmock.testwith.TestMockOpen.test_readlines_bytes) ... ok test_readlines_data (test.test_unittest.testmock.testwith.TestMockOpen.test_readlines_data) ... ok testContextManagerMocking (test.test_unittest.testmock.testwith.WithTest.testContextManagerMocking) ... ok test_context_manager_with_magic_mock (test.test_unittest.testmock.testwith.WithTest.test_context_manager_with_magic_mock) ... ok test_dict_context_manager (test.test_unittest.testmock.testwith.WithTest.test_dict_context_manager) ... ok test_double_patch_instance_method (test.test_unittest.testmock.testwith.WithTest.test_double_patch_instance_method) ... ok test_patch_object_with_statement (test.test_unittest.testmock.testwith.WithTest.test_patch_object_with_statement) ... ok test_with_statement (test.test_unittest.testmock.testwith.WithTest.test_with_statement) ... ok test_with_statement_as (test.test_unittest.testmock.testwith.WithTest.test_with_statement_as) ... ok test_with_statement_exception (test.test_unittest.testmock.testwith.WithTest.test_with_statement_exception) ... ok test_with_statement_imbricated (test.test_unittest.testmock.testwith.WithTest.test_with_statement_imbricated) ... ok test_with_statement_nested (test.test_unittest.testmock.testwith.WithTest.test_with_statement_nested) ... ok test_with_statement_same_attribute (test.test_unittest.testmock.testwith.WithTest.test_with_statement_same_attribute) ... ok test_with_statement_specified (test.test_unittest.testmock.testwith.WithTest.test_with_statement_specified) ... ok ====================================================================== ERROR: test_autospec_on_bound_builtin_function (test.test_unittest.testmock.testhelpers.SpecSignatureTest.test_autospec_on_bound_builtin_function) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_unittest/testmock/testhelpers.py", line 938, in test_autospec_on_bound_builtin_function mocked(4, 5, 6) File "<string>", line 2, in ctime File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/unittest/mock.py", line 192, in checksig sig.bind(*args, **kwargs) File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/inspect.py", line 3384, in bind return self._bind(args, kwargs) ^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/inspect.py", line 3303, in _bind raise TypeError('too many positional arguments') from None TypeError: too many positional arguments ====================================================================== FAIL: test_magicmock (test.test_unittest.testmock.testmagicmethods.TestMockingMagicMethods.test_magicmock) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_unittest/testmock/testmagicmethods.py", line 259, in test_magicmock self.assertTrue(hasattr(mock, entry)) ^^^^^^^^^^ AssertionError: False is not true ---------------------------------------------------------------------- Ran 1046 tests in 7.110s FAILED (failures=1, errors=1, skipped=4) 0:00:07 load avg: 1.97 [1/1/1] test_unittest failed (1 error, 1 failure) == Tests result: FAILURE == 1 test failed: test_unittest Total duration: 7.7 sec Total tests: run=1,046 failures=1 skipped=4 Total test files: run=1/1 failed=1 Result: FAILURE test test_unittest failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1766844æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1233289002 0:00:00 load avg: 1.97 Run 1 test sequentially in a single process 0:00:00 load avg: 1.97 [1/1] test_warnings test_issue_8766 (test.test_warnings.BootstrapTest.test_issue_8766) ... ok test_catch_warnings_defaults (test.test_warnings.CCatchWarningTests.test_catch_warnings_defaults) ... ok test_catch_warnings_recording (test.test_warnings.CCatchWarningTests.test_catch_warnings_recording) ... ok test_catch_warnings_reentry_guard (test.test_warnings.CCatchWarningTests.test_catch_warnings_reentry_guard) ... ok test_catch_warnings_restore (test.test_warnings.CCatchWarningTests.test_catch_warnings_restore) ... ok test_check_warnings (test.test_warnings.CCatchWarningTests.test_check_warnings) ... ok test_record_override_showwarning_before (test.test_warnings.CCatchWarningTests.test_record_override_showwarning_before) ... ok test_record_override_showwarning_inside (test.test_warnings.CCatchWarningTests.test_record_override_showwarning_inside) ... ok test_comma_separated_warnings (test.test_warnings.CEnvironmentVariableTests.test_comma_separated_warnings) ... ok test_conflicting_envvar_and_command_line (test.test_warnings.CEnvironmentVariableTests.test_conflicting_envvar_and_command_line) ... ok test_default_filter_configuration (test.test_warnings.CEnvironmentVariableTests.test_default_filter_configuration) ... ok test_envvar_and_command_line (test.test_warnings.CEnvironmentVariableTests.test_envvar_and_command_line) ... ok test_nonascii (test.test_warnings.CEnvironmentVariableTests.test_nonascii) ... ok test_single_warning (test.test_warnings.CEnvironmentVariableTests.test_single_warning) ... ok test_always (test.test_warnings.CFilterTests.test_always) ... ok test_always_after_default (test.test_warnings.CFilterTests.test_always_after_default) ... ok test_append_duplicate (test.test_warnings.CFilterTests.test_append_duplicate) ... ok test_catchwarnings_with_simplefilter_error (test.test_warnings.CFilterTests.test_catchwarnings_with_simplefilter_error) ... ok test_catchwarnings_with_simplefilter_ignore (test.test_warnings.CFilterTests.test_catchwarnings_with_simplefilter_ignore) ... ok test_default (test.test_warnings.CFilterTests.test_default) ... ok test_error (test.test_warnings.CFilterTests.test_error) ... ok test_error_after_default (test.test_warnings.CFilterTests.test_error_after_default) ... ok test_filterwarnings (test.test_warnings.CFilterTests.test_filterwarnings) ... ok test_filterwarnings_duplicate_filters (test.test_warnings.CFilterTests.test_filterwarnings_duplicate_filters) ... ok test_ignore (test.test_warnings.CFilterTests.test_ignore) ... ok test_ignore_after_default (test.test_warnings.CFilterTests.test_ignore_after_default) ... ok test_inheritance (test.test_warnings.CFilterTests.test_inheritance) ... ok test_message_matching (test.test_warnings.CFilterTests.test_message_matching) ... ok test_module (test.test_warnings.CFilterTests.test_module) ... ok test_module_globals (test.test_warnings.CFilterTests.test_module_globals) ... ok test_mutate_filter_list (test.test_warnings.CFilterTests.test_mutate_filter_list) ... ok test_once (test.test_warnings.CFilterTests.test_once) ... ok test_ordering (test.test_warnings.CFilterTests.test_ordering) ... ok test_simplefilter_duplicate_filters (test.test_warnings.CFilterTests.test_simplefilter_duplicate_filters) ... ok test_module_all_attribute (test.test_warnings.CPublicAPITests.test_module_all_attribute) ... ok test_import_from_module (test.test_warnings.CWCmdLineTests.test_import_from_module) ... ok test_improper_input (test.test_warnings.CWCmdLineTests.test_improper_input) ... ok test_accelerated (test.test_warnings.CWarnTests.test_accelerated) ... FAIL test_bad_str (test.test_warnings.CWarnTests.test_bad_str) ... ok test_exec_filename (test.test_warnings.CWarnTests.test_exec_filename) ... ok test_filename (test.test_warnings.CWarnTests.test_filename) ... ok test_gh86298_loader_and_spec_loader_disagree (test.test_warnings.CWarnTests.test_gh86298_loader_and_spec_loader_disagree) ... FAIL test_gh86298_loader_is_none_and_no_spec (test.test_warnings.CWarnTests.test_gh86298_loader_is_none_and_no_spec) ... ok test_gh86298_loader_is_none_and_spec_is_none (test.test_warnings.CWarnTests.test_gh86298_loader_is_none_and_spec_is_none) ... FAIL test_gh86298_loader_is_none_and_spec_loader_is_none (test.test_warnings.CWarnTests.test_gh86298_loader_is_none_and_spec_loader_is_none) ... FAIL test_gh86298_no_loader_and_no_spec (test.test_warnings.CWarnTests.test_gh86298_no_loader_and_no_spec) ... ok test_gh86298_no_loader_and_no_spec_loader (test.test_warnings.CWarnTests.test_gh86298_no_loader_and_no_spec_loader) ... FAIL test_gh86298_no_loader_and_spec_is_none (test.test_warnings.CWarnTests.test_gh86298_no_loader_and_spec_is_none) ... FAIL test_gh86298_no_loader_with_spec_loader_okay (test.test_warnings.CWarnTests.test_gh86298_no_loader_with_spec_loader_okay) ... ok test_gh86298_no_spec (test.test_warnings.CWarnTests.test_gh86298_no_spec) ... FAIL test_gh86298_no_spec_loader (test.test_warnings.CWarnTests.test_gh86298_no_spec_loader) ... FAIL test_gh86298_spec_is_none (test.test_warnings.CWarnTests.test_gh86298_spec_is_none) ... FAIL test_message (test.test_warnings.CWarnTests.test_message) ... ok test_skip_file_prefixes (test.test_warnings.CWarnTests.test_skip_file_prefixes) ... ERROR test_skip_file_prefixes_type_errors (test.test_warnings.CWarnTests.test_skip_file_prefixes_type_errors) ... ok test_stacklevel (test.test_warnings.CWarnTests.test_stacklevel) ... ok test_stacklevel_import (test.test_warnings.CWarnTests.test_stacklevel_import) ... ok test_warn_explicit_non_ascii_filename (test.test_warnings.CWarnTests.test_warn_explicit_non_ascii_filename) ... ok test_warn_explicit_type_errors (test.test_warnings.CWarnTests.test_warn_explicit_type_errors) ... ok test_warn_nonstandard_types (test.test_warnings.CWarnTests.test_warn_nonstandard_types) ... ok test_warning_classes (test.test_warnings.CWarnTests.test_warning_classes) ... ok test_formatwarning (test.test_warnings.CWarningsDisplayTests.test_formatwarning) ... ok test_formatwarning_override (test.test_warnings.CWarningsDisplayTests.test_formatwarning_override) ... ok test_showwarning (test.test_warnings.CWarningsDisplayTests.test_showwarning) ... ok test_finalization (test.test_warnings.FinalizationTest.test_finalization) ... FAIL test_late_resource_warning (test.test_warnings.FinalizationTest.test_late_resource_warning) ... FAIL test_catch_warnings_defaults (test.test_warnings.PyCatchWarningTests.test_catch_warnings_defaults) ... ok test_catch_warnings_recording (test.test_warnings.PyCatchWarningTests.test_catch_warnings_recording) ... ok test_catch_warnings_reentry_guard (test.test_warnings.PyCatchWarningTests.test_catch_warnings_reentry_guard) ... ok test_catch_warnings_restore (test.test_warnings.PyCatchWarningTests.test_catch_warnings_restore) ... ok test_check_warnings (test.test_warnings.PyCatchWarningTests.test_check_warnings) ... ok test_record_override_showwarning_before (test.test_warnings.PyCatchWarningTests.test_record_override_showwarning_before) ... ok test_record_override_showwarning_inside (test.test_warnings.PyCatchWarningTests.test_record_override_showwarning_inside) ... ok test_comma_separated_warnings (test.test_warnings.PyEnvironmentVariableTests.test_comma_separated_warnings) ... ok test_conflicting_envvar_and_command_line (test.test_warnings.PyEnvironmentVariableTests.test_conflicting_envvar_and_command_line) ... ok test_default_filter_configuration (test.test_warnings.PyEnvironmentVariableTests.test_default_filter_configuration) ... ok test_envvar_and_command_line (test.test_warnings.PyEnvironmentVariableTests.test_envvar_and_command_line) ... ok test_nonascii (test.test_warnings.PyEnvironmentVariableTests.test_nonascii) ... ok test_single_warning (test.test_warnings.PyEnvironmentVariableTests.test_single_warning) ... ok test_always (test.test_warnings.PyFilterTests.test_always) ... ok test_always_after_default (test.test_warnings.PyFilterTests.test_always_after_default) ... ok test_append_duplicate (test.test_warnings.PyFilterTests.test_append_duplicate) ... ok test_catchwarnings_with_simplefilter_error (test.test_warnings.PyFilterTests.test_catchwarnings_with_simplefilter_error) ... ok test_catchwarnings_with_simplefilter_ignore (test.test_warnings.PyFilterTests.test_catchwarnings_with_simplefilter_ignore) ... ok test_default (test.test_warnings.PyFilterTests.test_default) ... ok test_error (test.test_warnings.PyFilterTests.test_error) ... ok test_error_after_default (test.test_warnings.PyFilterTests.test_error_after_default) ... ok test_filterwarnings (test.test_warnings.PyFilterTests.test_filterwarnings) ... ok test_filterwarnings_duplicate_filters (test.test_warnings.PyFilterTests.test_filterwarnings_duplicate_filters) ... ok test_ignore (test.test_warnings.PyFilterTests.test_ignore) ... ok test_ignore_after_default (test.test_warnings.PyFilterTests.test_ignore_after_default) ... ok test_inheritance (test.test_warnings.PyFilterTests.test_inheritance) ... ok test_message_matching (test.test_warnings.PyFilterTests.test_message_matching) ... ok test_module (test.test_warnings.PyFilterTests.test_module) ... ok test_module_globals (test.test_warnings.PyFilterTests.test_module_globals) ... ok test_mutate_filter_list (test.test_warnings.PyFilterTests.test_mutate_filter_list) ... ok test_once (test.test_warnings.PyFilterTests.test_once) ... ok test_ordering (test.test_warnings.PyFilterTests.test_ordering) ... ok test_simplefilter_duplicate_filters (test.test_warnings.PyFilterTests.test_simplefilter_duplicate_filters) ... ok test_module_all_attribute (test.test_warnings.PyPublicAPITests.test_module_all_attribute) ... ok test_import_from_module (test.test_warnings.PyWCmdLineTests.test_import_from_module) ... ok test_improper_input (test.test_warnings.PyWCmdLineTests.test_improper_input) ... ok test_improper_option (test.test_warnings.PyWCmdLineTests.test_improper_option) ... ok test_warnings_bootstrap (test.test_warnings.PyWCmdLineTests.test_warnings_bootstrap) ... ok test_bad_str (test.test_warnings.PyWarnTests.test_bad_str) ... ok test_exec_filename (test.test_warnings.PyWarnTests.test_exec_filename) ... ok test_filename (test.test_warnings.PyWarnTests.test_filename) ... ok test_gh86298_loader_and_spec_loader_disagree (test.test_warnings.PyWarnTests.test_gh86298_loader_and_spec_loader_disagree) ... ok test_gh86298_loader_is_none_and_no_spec (test.test_warnings.PyWarnTests.test_gh86298_loader_is_none_and_no_spec) ... ok test_gh86298_loader_is_none_and_spec_is_none (test.test_warnings.PyWarnTests.test_gh86298_loader_is_none_and_spec_is_none) ... ok test_gh86298_loader_is_none_and_spec_loader_is_none (test.test_warnings.PyWarnTests.test_gh86298_loader_is_none_and_spec_loader_is_none) ... ok test_gh86298_no_loader_and_no_spec (test.test_warnings.PyWarnTests.test_gh86298_no_loader_and_no_spec) ... ok test_gh86298_no_loader_and_no_spec_loader (test.test_warnings.PyWarnTests.test_gh86298_no_loader_and_no_spec_loader) ... ok test_gh86298_no_loader_and_spec_is_none (test.test_warnings.PyWarnTests.test_gh86298_no_loader_and_spec_is_none) ... ok test_gh86298_no_loader_with_spec_loader_okay (test.test_warnings.PyWarnTests.test_gh86298_no_loader_with_spec_loader_okay) ... ok test_gh86298_no_spec (test.test_warnings.PyWarnTests.test_gh86298_no_spec) ... ok test_gh86298_no_spec_loader (test.test_warnings.PyWarnTests.test_gh86298_no_spec_loader) ... ok test_gh86298_spec_is_none (test.test_warnings.PyWarnTests.test_gh86298_spec_is_none) ... ok test_message (test.test_warnings.PyWarnTests.test_message) ... ok test_pure_python (test.test_warnings.PyWarnTests.test_pure_python) ... ok test_skip_file_prefixes (test.test_warnings.PyWarnTests.test_skip_file_prefixes) ... ok test_skip_file_prefixes_type_errors (test.test_warnings.PyWarnTests.test_skip_file_prefixes_type_errors) ... ok test_stacklevel (test.test_warnings.PyWarnTests.test_stacklevel) ... ok test_stacklevel_import (test.test_warnings.PyWarnTests.test_stacklevel_import) ... ok test_warn_explicit_non_ascii_filename (test.test_warnings.PyWarnTests.test_warn_explicit_non_ascii_filename) ... ok test_warn_explicit_type_errors (test.test_warnings.PyWarnTests.test_warn_explicit_type_errors) ... ok test_warn_nonstandard_types (test.test_warnings.PyWarnTests.test_warn_nonstandard_types) ... ok test_warning_classes (test.test_warnings.PyWarnTests.test_warning_classes) ... ok test_formatwarning (test.test_warnings.PyWarningsDisplayTests.test_formatwarning) ... ok test_formatwarning_override (test.test_warnings.PyWarningsDisplayTests.test_formatwarning_override) ... ok test_showwarning (test.test_warnings.PyWarningsDisplayTests.test_showwarning) ... ok test_tracemalloc (test.test_warnings.PyWarningsDisplayTests.test_tracemalloc) ... FAIL test_RuntimeError (test.test_warnings._DeprecatedTest.test_RuntimeError) ... ok test_warning (test.test_warnings._DeprecatedTest.test_warning) ... ok test_default_action (test.test_warnings._WarningsTests.test_default_action) ... ok test_filename_none (test.test_warnings._WarningsTests.test_filename_none) ... ok test_filter (test.test_warnings._WarningsTests.test_filter) ... ok test_issue31285 (test.test_warnings._WarningsTests.test_issue31285) ... ok test_issue31411 (test.test_warnings._WarningsTests.test_issue31411) ... skipped 'implementation detail specific to cpython' test_issue31416 (test.test_warnings._WarningsTests.test_issue31416) ... skipped 'implementation detail specific to cpython' test_issue31566 (test.test_warnings._WarningsTests.test_issue31566) ... skipped 'implementation detail specific to cpython' test_onceregistry (test.test_warnings._WarningsTests.test_onceregistry) ... ok test_show_warning_output (test.test_warnings._WarningsTests.test_show_warning_output) ... ok test_showwarning_missing (test.test_warnings._WarningsTests.test_showwarning_missing) ... ok test_showwarning_not_callable (test.test_warnings._WarningsTests.test_showwarning_not_callable) ... ok test_showwarnmsg_missing (test.test_warnings._WarningsTests.test_showwarnmsg_missing) ... ok test_stderr_none (test.test_warnings._WarningsTests.test_stderr_none) ... ok ====================================================================== ERROR: test_skip_file_prefixes (test.test_warnings.CWarnTests.test_skip_file_prefixes) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/__init__.py", line 489, in test_skip_file_prefixes package_helper.inner_api( ^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/data/package_helper.py", line 8, in inner_api warnings_module.warn( ^^^^ TypeError: warn() takes no keyword arguments ====================================================================== FAIL: test_accelerated (test.test_warnings.CWarnTests.test_accelerated) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/__init__.py", line 713, in test_accelerated self.assertFalse(hasattr(self.module.warn, '__code__')) ^^^^^^^^^^^ AssertionError: True is not false ====================================================================== FAIL: test_gh86298_loader_and_spec_loader_disagree (test.test_warnings.CWarnTests.test_gh86298_loader_and_spec_loader_disagree) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/__init__.py", line 691, in test_gh86298_loader_and_spec_loader_disagree self.check_module_globals_deprecated( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/__init__.py", line 646, in check_module_globals_deprecated self.assertEqual(len(w), 2) ^^^^^^^^^^^ AssertionError: 1 != 2 ====================================================================== FAIL: test_gh86298_loader_is_none_and_spec_is_none (test.test_warnings.CWarnTests.test_gh86298_loader_is_none_and_spec_is_none) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/__init__.py", line 664, in test_gh86298_loader_is_none_and_spec_is_none self.check_module_globals_error( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/__init__.py", line 631, in check_module_globals_error with self.assertRaisesRegex(errtype, re.escape(errmsg)): AssertionError: ValueError not raised ====================================================================== FAIL: test_gh86298_loader_is_none_and_spec_loader_is_none (test.test_warnings.CWarnTests.test_gh86298_loader_is_none_and_spec_loader_is_none) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/__init__.py", line 669, in test_gh86298_loader_is_none_and_spec_loader_is_none self.check_module_globals_error( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/__init__.py", line 631, in check_module_globals_error with self.assertRaisesRegex(errtype, re.escape(errmsg)): AssertionError: ValueError not raised ====================================================================== FAIL: test_gh86298_no_loader_and_no_spec_loader (test.test_warnings.CWarnTests.test_gh86298_no_loader_and_no_spec_loader) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/__init__.py", line 697, in test_gh86298_no_loader_and_no_spec_loader self.check_module_globals_error( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/__init__.py", line 631, in check_module_globals_error with self.assertRaisesRegex(errtype, re.escape(errmsg)): AssertionError: AttributeError not raised ====================================================================== FAIL: test_gh86298_no_loader_and_spec_is_none (test.test_warnings.CWarnTests.test_gh86298_no_loader_and_spec_is_none) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/__init__.py", line 659, in test_gh86298_no_loader_and_spec_is_none self.check_module_globals_error( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/__init__.py", line 631, in check_module_globals_error with self.assertRaisesRegex(errtype, re.escape(errmsg)): AssertionError: ValueError not raised ====================================================================== FAIL: test_gh86298_no_spec (test.test_warnings.CWarnTests.test_gh86298_no_spec) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/__init__.py", line 675, in test_gh86298_no_spec self.check_module_globals_deprecated( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/__init__.py", line 646, in check_module_globals_deprecated self.assertEqual(len(w), 2) ^^^^^^^^^^^ AssertionError: 1 != 2 ====================================================================== FAIL: test_gh86298_no_spec_loader (test.test_warnings.CWarnTests.test_gh86298_no_spec_loader) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/__init__.py", line 685, in test_gh86298_no_spec_loader self.check_module_globals_deprecated( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/__init__.py", line 646, in check_module_globals_deprecated self.assertEqual(len(w), 2) ^^^^^^^^^^^ AssertionError: 1 != 2 ====================================================================== FAIL: test_gh86298_spec_is_none (test.test_warnings.CWarnTests.test_gh86298_spec_is_none) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/__init__.py", line 680, in test_gh86298_spec_is_none self.check_module_globals_deprecated( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/__init__.py", line 646, in check_module_globals_deprecated self.assertEqual(len(w), 2) ^^^^^^^^^^^ AssertionError: 1 != 2 ====================================================================== FAIL: test_finalization (test.test_warnings.FinalizationTest.test_finalization) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/__init__.py", line 1457, in test_finalization self.assertEqual(err.decode().rstrip(), ^^^^^^^^^^^ AssertionError: '' != '<string>:7: UserWarning: test' + <string>:7: UserWarning: test ====================================================================== FAIL: test_late_resource_warning (test.test_warnings.FinalizationTest.test_late_resource_warning) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/__init__.py", line 1470, in test_late_resource_warning self.assertTrue(err.startswith(expected), ascii(err)) ^^^^^^^^^^ AssertionError: False is not true : b'' ====================================================================== FAIL: test_tracemalloc (test.test_warnings.PyWarningsDisplayTests.test_tracemalloc) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/__init__.py", line 1132, in test_tracemalloc self.assertEqual(stderr, expected) ^^^^^^^^^^^ AssertionError: '' != '/tmp/pytest/test_python_worker_1766844æ/@[141 chars]back' + /tmp/pytest/test_python_worker_1766844æ/@test_1766844_tmpæ:5: ResourceWarning: unclosed file <...> + f = None + ResourceWarning: Enable tracemalloc to get the object allocation traceback ---------------------------------------------------------------------- Ran 147 tests in 0.744s FAILED (failures=12, errors=1, skipped=3) 0:00:00 load avg: 1.97 [1/1/1] test_warnings failed (1 error, 12 failures) == Tests result: FAILURE == 1 test failed: test_warnings Total duration: 858 ms Total tests: run=147 failures=12 skipped=3 Total test files: run=1/1 failed=1 Result: FAILURE test test_warnings failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1766870æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 1435363862 0:00:00 load avg: 1.97 Run 1 test sequentially in a single process 0:00:00 load avg: 1.97 [1/1] test_zipfile test.test_zipfile._path.test_complexity (unittest.loader.ModuleSkipped.test.test_zipfile._path.test_complexity) ... skipped 'Unable to import big_o' test_backslash_not_separator (test.test_zipfile._path.test_path.TestPath.test_backslash_not_separator) In a zip file, backslashes are not separators. ... ok test_dir_parent (test.test_zipfile._path.test_path.TestPath.test_dir_parent) ... ok test_encoding_warnings (test.test_zipfile._path.test_path.TestPath.test_encoding_warnings) EncodingWarning must blame the read_text and open calls. ... skipped 'Requires warn_default_encoding' test_eq_hash (test.test_zipfile._path.test_path.TestPath.test_eq_hash) ... ok test_extract_orig_with_implied_dirs (test.test_zipfile._path.test_path.TestPath.test_extract_orig_with_implied_dirs) A zip file wrapped in a Path should extract even with implied dirs. ... ok test_filename (test.test_zipfile._path.test_path.TestPath.test_filename) ... ok test_getinfo_missing (test.test_zipfile._path.test_path.TestPath.test_getinfo_missing) Validate behavior of getinfo on original zipfile after wrapping. ... ok test_glob_chars (test.test_zipfile._path.test_path.TestPath.test_glob_chars) ... ok test_glob_dirs (test.test_zipfile._path.test_path.TestPath.test_glob_dirs) ... ok test_glob_does_not_overmatch_dot (test.test_zipfile._path.test_path.TestPath.test_glob_does_not_overmatch_dot) ... ok test_glob_empty (test.test_zipfile._path.test_path.TestPath.test_glob_empty) ... ok test_glob_recursive (test.test_zipfile._path.test_path.TestPath.test_glob_recursive) ... ok test_glob_single_char (test.test_zipfile._path.test_path.TestPath.test_glob_single_char) ... ok test_glob_subdir (test.test_zipfile._path.test_path.TestPath.test_glob_subdir) ... ok test_glob_subdirs (test.test_zipfile._path.test_path.TestPath.test_glob_subdirs) ... ok test_inheritance (test.test_zipfile._path.test_path.TestPath.test_inheritance) ... ok test_interface (test.test_zipfile._path.test_path.TestPath.test_interface) ... ok test_is_file_missing (test.test_zipfile._path.test_path.TestPath.test_is_file_missing) ... ok test_is_symlink (test.test_zipfile._path.test_path.TestPath.test_is_symlink) See python/cpython#82102 for symlink support beyond this object. ... ok test_iterdir_and_types (test.test_zipfile._path.test_path.TestPath.test_iterdir_and_types) ... ok test_iterdir_on_file (test.test_zipfile._path.test_path.TestPath.test_iterdir_on_file) ... ok test_joinpath (test.test_zipfile._path.test_path.TestPath.test_joinpath) ... ok test_joinpath_constant_time (test.test_zipfile._path.test_path.TestPath.test_joinpath_constant_time) Ensure joinpath on items in zipfile is linear time. ... ok test_joinpath_multiple (test.test_zipfile._path.test_path.TestPath.test_joinpath_multiple) ... ok test_malformed_paths (test.test_zipfile._path.test_path.TestPath.test_malformed_paths) Path should handle malformed paths gracefully. ... ok test_match_and_glob (test.test_zipfile._path.test_path.TestPath.test_match_and_glob) ... ok test_missing_dir_parent (test.test_zipfile._path.test_path.TestPath.test_missing_dir_parent) ... ok test_mutability (test.test_zipfile._path.test_path.TestPath.test_mutability) If the underlying zipfile is changed, the Path object should ... ok test_open (test.test_zipfile._path.test_path.TestPath.test_open) ... ok test_open_binary_invalid_args (test.test_zipfile._path.test_path.TestPath.test_open_binary_invalid_args) ... ok test_open_encoding_errors (test.test_zipfile._path.test_path.TestPath.test_open_encoding_errors) ... ok test_open_encoding_utf16 (test.test_zipfile._path.test_path.TestPath.test_open_encoding_utf16) ... ok test_open_extant_directory (test.test_zipfile._path.test_path.TestPath.test_open_extant_directory) Attempting to open a directory raises IsADirectoryError. ... ok test_open_missing_directory (test.test_zipfile._path.test_path.TestPath.test_open_missing_directory) Attempting to open a missing directory raises FileNotFoundError. ... ok test_open_write (test.test_zipfile._path.test_path.TestPath.test_open_write) If the zipfile is open for write, it should be possible to ... ok test_parent (test.test_zipfile._path.test_path.TestPath.test_parent) ... ok test_pathlike_construction (test.test_zipfile._path.test_path.TestPath.test_pathlike_construction) zipfile.Path should be constructable from a path-like object ... ok test_pickle (test.test_zipfile._path.test_path.TestPath.test_pickle) ... ok test_read (test.test_zipfile._path.test_path.TestPath.test_read) ... ok test_read_does_not_close (test.test_zipfile._path.test_path.TestPath.test_read_does_not_close) ... ok test_relative_to (test.test_zipfile._path.test_path.TestPath.test_relative_to) ... ok test_root_name (test.test_zipfile._path.test_path.TestPath.test_root_name) The name of the root should be the name of the zipfile ... ok test_root_parent (test.test_zipfile._path.test_path.TestPath.test_root_parent) ... ok test_root_unnamed (test.test_zipfile._path.test_path.TestPath.test_root_unnamed) It is an error to attempt to get the name ... ok test_stem (test.test_zipfile._path.test_path.TestPath.test_stem) The final path component, without its suffix ... ok test_subclass (test.test_zipfile._path.test_path.TestPath.test_subclass) ... ok test_subdir_is_dir (test.test_zipfile._path.test_path.TestPath.test_subdir_is_dir) ... ok test_suffix (test.test_zipfile._path.test_path.TestPath.test_suffix) The suffix of the root should be the suffix of the zipfile. ... ok test_suffix_no_filename (test.test_zipfile._path.test_path.TestPath.test_suffix_no_filename) ... ok test_suffixes (test.test_zipfile._path.test_path.TestPath.test_suffixes) The suffix of the root should be the suffix of the zipfile. ... ok test_traverse_pathlike (test.test_zipfile._path.test_path.TestPath.test_traverse_pathlike) ... ok test_traverse_truediv (test.test_zipfile._path.test_path.TestPath.test_traverse_truediv) ... ok test_unsupported_names (test.test_zipfile._path.test_path.TestPath.test_unsupported_names) Path segments with special characters are readable. ... ok test_read_with_bad_crc (test.test_zipfile.test_core.Bzip2BadCrcTests.test_read_with_bad_crc) Tests that files with bad CRCs raise a BadZipFile exception when read. ... ok test_testzip_with_bad_crc (test.test_zipfile.test_core.Bzip2BadCrcTests.test_testzip_with_bad_crc) Tests that files with bad CRCs return their name from testzip. ... ok test_basic (test.test_zipfile.test_core.Bzip2TestZip64InSmallFiles.test_basic) ... ok test_too_many_files (test.test_zipfile.test_core.Bzip2TestZip64InSmallFiles.test_too_many_files) ... ok test_too_many_files_append (test.test_zipfile.test_core.Bzip2TestZip64InSmallFiles.test_too_many_files_append) ... ok test_open (test.test_zipfile.test_core.Bzip2TestsWithRandomBinaryFiles.test_open) ... ok test_random_open (test.test_zipfile.test_core.Bzip2TestsWithRandomBinaryFiles.test_random_open) ... ok test_read (test.test_zipfile.test_core.Bzip2TestsWithRandomBinaryFiles.test_read) ... ok test_basic (test.test_zipfile.test_core.Bzip2TestsWithSourceFile.test_basic) ... ok test_compresslevel_basic (test.test_zipfile.test_core.Bzip2TestsWithSourceFile.test_compresslevel_basic) ... ok test_iterlines (test.test_zipfile.test_core.Bzip2TestsWithSourceFile.test_iterlines) ... ok test_low_compression (test.test_zipfile.test_core.Bzip2TestsWithSourceFile.test_low_compression) Check for cases where compressed data is larger than original. ... ok test_open (test.test_zipfile.test_core.Bzip2TestsWithSourceFile.test_open) ... ok test_open_with_pathlike (test.test_zipfile.test_core.Bzip2TestsWithSourceFile.test_open_with_pathlike) ... ok test_per_file_compresslevel (test.test_zipfile.test_core.Bzip2TestsWithSourceFile.test_per_file_compresslevel) Check that files within a Zip archive can have different ... ok test_random_open (test.test_zipfile.test_core.Bzip2TestsWithSourceFile.test_random_open) ... ok test_read1 (test.test_zipfile.test_core.Bzip2TestsWithSourceFile.test_read1) ... ok test_read1_10 (test.test_zipfile.test_core.Bzip2TestsWithSourceFile.test_read1_10) ... ok test_read_return_size (test.test_zipfile.test_core.Bzip2TestsWithSourceFile.test_read_return_size) ... ok test_readline (test.test_zipfile.test_core.Bzip2TestsWithSourceFile.test_readline) ... ok test_readline_read (test.test_zipfile.test_core.Bzip2TestsWithSourceFile.test_readline_read) ... ok test_readlines (test.test_zipfile.test_core.Bzip2TestsWithSourceFile.test_readlines) ... ok test_repr (test.test_zipfile.test_core.Bzip2TestsWithSourceFile.test_repr) ... ok test_truncated_zipfile (test.test_zipfile.test_core.Bzip2TestsWithSourceFile.test_truncated_zipfile) ... ok test_writestr_compression (test.test_zipfile.test_core.Bzip2TestsWithSourceFile.test_writestr_compression) ... ok test_writestr_compresslevel (test.test_zipfile.test_core.Bzip2TestsWithSourceFile.test_writestr_compresslevel) ... ok test_writing_errors (test.test_zipfile.test_core.Bzip2TestsWithSourceFile.test_writing_errors) ... ok test_zipextfile_attrs (test.test_zipfile.test_core.Bzip2TestsWithSourceFile.test_zipextfile_attrs) ... ok test_close_after_close (test.test_zipfile.test_core.Bzip2WriterTests.test_close_after_close) ... ok test_issue44439 (test.test_zipfile.test_core.Bzip2WriterTests.test_issue44439) ... ok test_write_after_close (test.test_zipfile.test_core.Bzip2WriterTests.test_write_after_close) ... ok test_zipwritefile_attrs (test.test_zipfile.test_core.Bzip2WriterTests.test_zipwritefile_attrs) ... ok test_bad_use (test.test_zipfile.test_core.CommandLineTest.test_bad_use) ... ok test_create_command (test.test_zipfile.test_core.CommandLineTest.test_create_command) ... ok test_extract_command (test.test_zipfile.test_core.CommandLineTest.test_extract_command) ... ok test_list_command (test.test_zipfile.test_core.CommandLineTest.test_list_command) ... ok test_test_command (test.test_zipfile.test_core.CommandLineTest.test_test_command) ... ok test_bad_password (test.test_zipfile.test_core.DecryptionTests.test_bad_password) ... ok test_good_password (test.test_zipfile.test_core.DecryptionTests.test_good_password) ... ok test_no_password (test.test_zipfile.test_core.DecryptionTests.test_no_password) ... ok test_seek_tell (test.test_zipfile.test_core.DecryptionTests.test_seek_tell) ... ok test_unicode_password (test.test_zipfile.test_core.DecryptionTests.test_unicode_password) ... ok test_read_with_bad_crc (test.test_zipfile.test_core.DeflateBadCrcTests.test_read_with_bad_crc) Tests that files with bad CRCs raise a BadZipFile exception when read. ... ok test_testzip_with_bad_crc (test.test_zipfile.test_core.DeflateBadCrcTests.test_testzip_with_bad_crc) Tests that files with bad CRCs return their name from testzip. ... ok test_basic (test.test_zipfile.test_core.DeflateTestZip64InSmallFiles.test_basic) ... ok test_too_many_files (test.test_zipfile.test_core.DeflateTestZip64InSmallFiles.test_too_many_files) ... ok test_too_many_files_append (test.test_zipfile.test_core.DeflateTestZip64InSmallFiles.test_too_many_files_append) ... ok test_open (test.test_zipfile.test_core.DeflateTestsWithRandomBinaryFiles.test_open) ... ok test_random_open (test.test_zipfile.test_core.DeflateTestsWithRandomBinaryFiles.test_random_open) ... ok test_read (test.test_zipfile.test_core.DeflateTestsWithRandomBinaryFiles.test_read) ... ok test_basic (test.test_zipfile.test_core.DeflateTestsWithSourceFile.test_basic) ... ok test_compresslevel_basic (test.test_zipfile.test_core.DeflateTestsWithSourceFile.test_compresslevel_basic) ... ok test_iterlines (test.test_zipfile.test_core.DeflateTestsWithSourceFile.test_iterlines) ... ok test_low_compression (test.test_zipfile.test_core.DeflateTestsWithSourceFile.test_low_compression) Check for cases where compressed data is larger than original. ... ok test_open (test.test_zipfile.test_core.DeflateTestsWithSourceFile.test_open) ... ok test_open_with_pathlike (test.test_zipfile.test_core.DeflateTestsWithSourceFile.test_open_with_pathlike) ... ok test_per_file_compression (test.test_zipfile.test_core.DeflateTestsWithSourceFile.test_per_file_compression) Check that files within a Zip archive can have different ... ok test_per_file_compresslevel (test.test_zipfile.test_core.DeflateTestsWithSourceFile.test_per_file_compresslevel) Check that files within a Zip archive can have different ... ok test_random_open (test.test_zipfile.test_core.DeflateTestsWithSourceFile.test_random_open) ... ok test_read1 (test.test_zipfile.test_core.DeflateTestsWithSourceFile.test_read1) ... ok test_read1_10 (test.test_zipfile.test_core.DeflateTestsWithSourceFile.test_read1_10) ... ok test_read_return_size (test.test_zipfile.test_core.DeflateTestsWithSourceFile.test_read_return_size) ... ok test_readline (test.test_zipfile.test_core.DeflateTestsWithSourceFile.test_readline) ... ok test_readline_read (test.test_zipfile.test_core.DeflateTestsWithSourceFile.test_readline_read) ... ok test_readlines (test.test_zipfile.test_core.DeflateTestsWithSourceFile.test_readlines) ... ok test_repr (test.test_zipfile.test_core.DeflateTestsWithSourceFile.test_repr) ... ok test_truncated_zipfile (test.test_zipfile.test_core.DeflateTestsWithSourceFile.test_truncated_zipfile) ... ok test_writestr_compression (test.test_zipfile.test_core.DeflateTestsWithSourceFile.test_writestr_compression) ... ok test_writestr_compresslevel (test.test_zipfile.test_core.DeflateTestsWithSourceFile.test_writestr_compresslevel) ... ok test_writing_errors (test.test_zipfile.test_core.DeflateTestsWithSourceFile.test_writing_errors) ... ok test_zipextfile_attrs (test.test_zipfile.test_core.DeflateTestsWithSourceFile.test_zipextfile_attrs) ... ok test_close_after_close (test.test_zipfile.test_core.DeflateWriterTests.test_close_after_close) ... ok test_issue44439 (test.test_zipfile.test_core.DeflateWriterTests.test_issue44439) ... ok test_write_after_close (test.test_zipfile.test_core.DeflateWriterTests.test_write_after_close) ... ok test_zipwritefile_attrs (test.test_zipfile.test_core.DeflateWriterTests.test_zipwritefile_attrs) ... ok test_cli_with_metadata_encoding (test.test_zipfile.test_core.EncodedMetadataTests.test_cli_with_metadata_encoding) ... ok test_cli_with_metadata_encoding_extract (test.test_zipfile.test_core.EncodedMetadataTests.test_cli_with_metadata_encoding_extract) ... ok test_read_after_append (test.test_zipfile.test_core.EncodedMetadataTests.test_read_after_append) ... ok test_read_with_incorrect_metadata_encoding (test.test_zipfile.test_core.EncodedMetadataTests.test_read_with_incorrect_metadata_encoding) ... ok test_read_with_metadata_encoding (test.test_zipfile.test_core.EncodedMetadataTests.test_read_with_metadata_encoding) ... ok test_read_with_unsuitable_metadata_encoding (test.test_zipfile.test_core.EncodedMetadataTests.test_read_with_unsuitable_metadata_encoding) ... ok test_read_without_metadata_encoding (test.test_zipfile.test_core.EncodedMetadataTests.test_read_without_metadata_encoding) ... ok test_write_with_metadata_encoding (test.test_zipfile.test_core.EncodedMetadataTests.test_write_with_metadata_encoding) ... ok test_extract (test.test_zipfile.test_core.ExtractTests.test_extract) ... ok test_extract_all (test.test_zipfile.test_core.ExtractTests.test_extract_all) ... ok test_extract_all_with_target (test.test_zipfile.test_core.ExtractTests.test_extract_all_with_target) ... ok test_extract_all_with_target_pathlike (test.test_zipfile.test_core.ExtractTests.test_extract_all_with_target_pathlike) ... ok test_extract_hackers_arcnames_common_cases (test.test_zipfile.test_core.ExtractTests.test_extract_hackers_arcnames_common_cases) ... ok test_extract_hackers_arcnames_posix_only (test.test_zipfile.test_core.ExtractTests.test_extract_hackers_arcnames_posix_only) ... ok test_extract_hackers_arcnames_windows_only (test.test_zipfile.test_core.ExtractTests.test_extract_hackers_arcnames_windows_only) Test combination of path fixing and windows name sanitization. ... skipped 'Requires \\ as path separator.' test_extract_with_target (test.test_zipfile.test_core.ExtractTests.test_extract_with_target) ... ok test_extract_with_target_pathlike (test.test_zipfile.test_core.ExtractTests.test_extract_with_target_pathlike) ... ok test_sanitize_windows_name (test.test_zipfile.test_core.ExtractTests.test_sanitize_windows_name) ... ok test_read_with_bad_crc (test.test_zipfile.test_core.LzmaBadCrcTests.test_read_with_bad_crc) Tests that files with bad CRCs raise a BadZipFile exception when read. ... ok test_testzip_with_bad_crc (test.test_zipfile.test_core.LzmaBadCrcTests.test_testzip_with_bad_crc) Tests that files with bad CRCs return their name from testzip. ... ok test_basic (test.test_zipfile.test_core.LzmaTestZip64InSmallFiles.test_basic) ... ok test_too_many_files (test.test_zipfile.test_core.LzmaTestZip64InSmallFiles.test_too_many_files) ... ok test_too_many_files_append (test.test_zipfile.test_core.LzmaTestZip64InSmallFiles.test_too_many_files_append) ... ok test_open (test.test_zipfile.test_core.LzmaTestsWithRandomBinaryFiles.test_open) ... ok test_random_open (test.test_zipfile.test_core.LzmaTestsWithRandomBinaryFiles.test_random_open) ... ok test_read (test.test_zipfile.test_core.LzmaTestsWithRandomBinaryFiles.test_read) ... ok test_basic (test.test_zipfile.test_core.LzmaTestsWithSourceFile.test_basic) ... ok test_compresslevel_basic (test.test_zipfile.test_core.LzmaTestsWithSourceFile.test_compresslevel_basic) ... ok test_iterlines (test.test_zipfile.test_core.LzmaTestsWithSourceFile.test_iterlines) ... ok test_low_compression (test.test_zipfile.test_core.LzmaTestsWithSourceFile.test_low_compression) Check for cases where compressed data is larger than original. ... ok test_open (test.test_zipfile.test_core.LzmaTestsWithSourceFile.test_open) ... ok test_open_with_pathlike (test.test_zipfile.test_core.LzmaTestsWithSourceFile.test_open_with_pathlike) ... ok test_per_file_compresslevel (test.test_zipfile.test_core.LzmaTestsWithSourceFile.test_per_file_compresslevel) Check that files within a Zip archive can have different ... ok test_random_open (test.test_zipfile.test_core.LzmaTestsWithSourceFile.test_random_open) ... ok test_read1 (test.test_zipfile.test_core.LzmaTestsWithSourceFile.test_read1) ... ok test_read1_10 (test.test_zipfile.test_core.LzmaTestsWithSourceFile.test_read1_10) ... ok test_read_return_size (test.test_zipfile.test_core.LzmaTestsWithSourceFile.test_read_return_size) ... ok test_readline (test.test_zipfile.test_core.LzmaTestsWithSourceFile.test_readline) ... ok test_readline_read (test.test_zipfile.test_core.LzmaTestsWithSourceFile.test_readline_read) ... ok test_readlines (test.test_zipfile.test_core.LzmaTestsWithSourceFile.test_readlines) ... ok test_repr (test.test_zipfile.test_core.LzmaTestsWithSourceFile.test_repr) ... ok test_truncated_zipfile (test.test_zipfile.test_core.LzmaTestsWithSourceFile.test_truncated_zipfile) ... ok test_writestr_compression (test.test_zipfile.test_core.LzmaTestsWithSourceFile.test_writestr_compression) ... ok test_writestr_compresslevel (test.test_zipfile.test_core.LzmaTestsWithSourceFile.test_writestr_compresslevel) ... ok test_writing_errors (test.test_zipfile.test_core.LzmaTestsWithSourceFile.test_writing_errors) ... ok test_zipextfile_attrs (test.test_zipfile.test_core.LzmaTestsWithSourceFile.test_zipextfile_attrs) ... ok test_close_after_close (test.test_zipfile.test_core.LzmaWriterTests.test_close_after_close) ... ok test_issue44439 (test.test_zipfile.test_core.LzmaWriterTests.test_issue44439) ... ok test_write_after_close (test.test_zipfile.test_core.LzmaWriterTests.test_write_after_close) ... ok test_zipwritefile_attrs (test.test_zipfile.test_core.LzmaWriterTests.test_zipwritefile_attrs) ... ok test_bad_compression_mode (test.test_zipfile.test_core.OtherTests.test_bad_compression_mode) Check that bad compression methods passed to ZipFile.open are ... ok test_bad_constructor_mode (test.test_zipfile.test_core.OtherTests.test_bad_constructor_mode) Check that bad modes passed to ZipFile constructor are caught. ... ok test_bad_open_mode (test.test_zipfile.test_core.OtherTests.test_bad_open_mode) Check that bad modes passed to ZipFile.open are caught. ... ok test_change_comment_in_empty_archive (test.test_zipfile.test_core.OtherTests.test_change_comment_in_empty_archive) ... ok test_change_comment_in_nonempty_archive (test.test_zipfile.test_core.OtherTests.test_change_comment_in_nonempty_archive) ... ok test_close (test.test_zipfile.test_core.OtherTests.test_close) Check that the zipfile is closed after the 'with' block. ... ok test_close_erroneous_file (test.test_zipfile.test_core.OtherTests.test_close_erroneous_file) ... ok test_close_on_exception (test.test_zipfile.test_core.OtherTests.test_close_on_exception) Check that the zipfile is closed if an exception is raised in the ... ok test_closed_zip_raises_ValueError (test.test_zipfile.test_core.OtherTests.test_closed_zip_raises_ValueError) Verify that testzip() doesn't swallow inappropriate exceptions. ... ok test_comments (test.test_zipfile.test_core.OtherTests.test_comments) Check that comments on the archive are handled properly. ... ok test_create_empty_zipinfo_default_attributes (test.test_zipfile.test_core.OtherTests.test_create_empty_zipinfo_default_attributes) Ensure all required attributes are set. ... ok test_create_empty_zipinfo_repr (test.test_zipfile.test_core.OtherTests.test_create_empty_zipinfo_repr) Before bpo-26185, repr() on empty ZipInfo object was failing. ... ok test_create_non_existent_file_for_append (test.test_zipfile.test_core.OtherTests.test_create_non_existent_file_for_append) ... ok test_create_zipinfo_before_1980 (test.test_zipfile.test_core.OtherTests.test_create_zipinfo_before_1980) ... ok test_damaged_zipfile (test.test_zipfile.test_core.OtherTests.test_damaged_zipfile) Check that zipfiles with missing bytes at the end raise BadZipFile. ... ok test_decompress_without_3rd_party_library (test.test_zipfile.test_core.OtherTests.test_decompress_without_3rd_party_library) ... ok test_empty_file_raises_BadZipFile (test.test_zipfile.test_core.OtherTests.test_empty_file_raises_BadZipFile) ... ok test_empty_zipfile (test.test_zipfile.test_core.OtherTests.test_empty_zipfile) ... ok test_exclusive_create_zip_file (test.test_zipfile.test_core.OtherTests.test_exclusive_create_zip_file) Test exclusive creating a new zipfile. ... ok test_full_overlap_different_names (test.test_zipfile.test_core.OtherTests.test_full_overlap_different_names) ... ok test_full_overlap_different_names2 (test.test_zipfile.test_core.OtherTests.test_full_overlap_different_names2) ... ERROR test_full_overlap_same_name (test.test_zipfile.test_core.OtherTests.test_full_overlap_same_name) ... ERROR test_is_zip_erroneous_file (test.test_zipfile.test_core.OtherTests.test_is_zip_erroneous_file) Check that is_zipfile() correctly identifies non-zip files. ... ok test_is_zip_valid_file (test.test_zipfile.test_core.OtherTests.test_is_zip_valid_file) Check that is_zipfile() correctly identifies zip files. ... ok test_negative_central_directory_offset_raises_BadZipFile (test.test_zipfile.test_core.OtherTests.test_negative_central_directory_offset_raises_BadZipFile) ... ok test_non_existent_file_raises_OSError (test.test_zipfile.test_core.OtherTests.test_non_existent_file_raises_OSError) ... ok test_null_byte_in_filename (test.test_zipfile.test_core.OtherTests.test_null_byte_in_filename) Check that a filename containing a null byte is properly ... ok test_open_conflicting_handles (test.test_zipfile.test_core.OtherTests.test_open_conflicting_handles) ... ok test_open_empty_file (test.test_zipfile.test_core.OtherTests.test_open_empty_file) ... ok test_open_non_existent_item (test.test_zipfile.test_core.OtherTests.test_open_non_existent_item) Check that attempting to call open() for an item that doesn't ... ok test_open_via_zip_info (test.test_zipfile.test_core.OtherTests.test_open_via_zip_info) ... ok test_overlap_with_archive_comment (test.test_zipfile.test_core.OtherTests.test_overlap_with_archive_comment) ... ok test_overlap_with_central_dir (test.test_zipfile.test_core.OtherTests.test_overlap_with_central_dir) ... ok test_quoted_overlap (test.test_zipfile.test_core.OtherTests.test_quoted_overlap) ... ok test_read0 (test.test_zipfile.test_core.OtherTests.test_read0) Check that calling read(0) on a ZipExtFile object returns an empty ... ok test_read_after_seek (test.test_zipfile.test_core.OtherTests.test_read_after_seek) ... ok test_read_after_write_unicode_filenames (test.test_zipfile.test_core.OtherTests.test_read_after_write_unicode_filenames) ... ok test_read_unicode_filenames (test.test_zipfile.test_core.OtherTests.test_read_unicode_filenames) ... ok test_read_zipfile_containing_unicode_path_extra_field (test.test_zipfile.test_core.OtherTests.test_read_zipfile_containing_unicode_path_extra_field) ... ok test_read_zipfile_error (test.test_zipfile.test_core.OtherTests.test_read_zipfile_error) ... ok test_read_zipfile_warning (test.test_zipfile.test_core.OtherTests.test_read_zipfile_warning) ... ok test_seek_tell (test.test_zipfile.test_core.OtherTests.test_seek_tell) ... ok test_struct_sizes (test.test_zipfile.test_core.OtherTests.test_struct_sizes) Check that ZIP internal structure sizes are calculated correctly. ... ok test_uncompressed_interleaved_seek_read (test.test_zipfile.test_core.OtherTests.test_uncompressed_interleaved_seek_read) ... ok test_unicode_comment (test.test_zipfile.test_core.OtherTests.test_unicode_comment) ... ok test_unsupported_compression (test.test_zipfile.test_core.OtherTests.test_unsupported_compression) ... ok test_unsupported_version (test.test_zipfile.test_core.OtherTests.test_unsupported_version) ... ok test_write_unicode_filenames (test.test_zipfile.test_core.OtherTests.test_write_unicode_filenames) ... ok test_writestr_extended_local_header_issue1202 (test.test_zipfile.test_core.OtherTests.test_writestr_extended_local_header_issue1202) ... ok test_zipfile_with_short_extra_field (test.test_zipfile.test_core.OtherTests.test_zipfile_with_short_extra_field) If an extra field in the header is less than 4 bytes, skip it. ... ok test_overwrite_broken_dir_symlink_as_dir (test.test_zipfile.test_core.OverwriteTests.test_overwrite_broken_dir_symlink_as_dir) ... ok test_overwrite_broken_dir_symlink_as_implicit_dir (test.test_zipfile.test_core.OverwriteTests.test_overwrite_broken_dir_symlink_as_implicit_dir) ... ok test_overwrite_broken_file_symlink_as_file (test.test_zipfile.test_core.OverwriteTests.test_overwrite_broken_file_symlink_as_file) ... ok test_overwrite_dir_as_dir (test.test_zipfile.test_core.OverwriteTests.test_overwrite_dir_as_dir) ... ok test_overwrite_dir_as_file (test.test_zipfile.test_core.OverwriteTests.test_overwrite_dir_as_file) ... ok test_overwrite_dir_as_implicit_dir (test.test_zipfile.test_core.OverwriteTests.test_overwrite_dir_as_implicit_dir) ... ok test_overwrite_dir_symlink_as_dir (test.test_zipfile.test_core.OverwriteTests.test_overwrite_dir_symlink_as_dir) ... ok test_overwrite_dir_symlink_as_implicit_dir (test.test_zipfile.test_core.OverwriteTests.test_overwrite_dir_symlink_as_implicit_dir) ... ok test_overwrite_file_as_dir (test.test_zipfile.test_core.OverwriteTests.test_overwrite_file_as_dir) ... ok test_overwrite_file_as_file (test.test_zipfile.test_core.OverwriteTests.test_overwrite_file_as_file) ... ok test_overwrite_file_as_implicit_dir (test.test_zipfile.test_core.OverwriteTests.test_overwrite_file_as_implicit_dir) ... ok test_overwrite_file_symlink_as_file (test.test_zipfile.test_core.OverwriteTests.test_overwrite_file_symlink_as_file) ... ok test_write_filtered_python_package (test.test_zipfile.test_core.PyZipFileTests.test_write_filtered_python_package) ... File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_super.py", line 115 global __class__ ^^^^^^^^^^^^^^^^ SyntaxError: 'global __class__' inside a class statement is not implemented in PyPy FAIL test_write_non_pyfile (test.test_zipfile.test_core.PyZipFileTests.test_write_non_pyfile) ... ok test_write_pathlike (test.test_zipfile.test_core.PyZipFileTests.test_write_pathlike) ... ok test_write_pyfile (test.test_zipfile.test_core.PyZipFileTests.test_write_pyfile) ... ok test_write_pyfile_bad_syntax (test.test_zipfile.test_core.PyZipFileTests.test_write_pyfile_bad_syntax) ... ok test_write_python_directory (test.test_zipfile.test_core.PyZipFileTests.test_write_python_directory) ... ok test_write_python_directory_filtered (test.test_zipfile.test_core.PyZipFileTests.test_write_python_directory_filtered) ... ok test_write_python_package (test.test_zipfile.test_core.PyZipFileTests.test_write_python_package) ... ok test_write_with_optimization (test.test_zipfile.test_core.PyZipFileTests.test_write_with_optimization) ... ok test_read_with_bad_crc (test.test_zipfile.test_core.StoredBadCrcTests.test_read_with_bad_crc) Tests that files with bad CRCs raise a BadZipFile exception when read. ... ok test_testzip_with_bad_crc (test.test_zipfile.test_core.StoredBadCrcTests.test_testzip_with_bad_crc) Tests that files with bad CRCs return their name from testzip. ... ok test_absolute_arcnames (test.test_zipfile.test_core.StoredTestZip64InSmallFiles.test_absolute_arcnames) ... ok test_append (test.test_zipfile.test_core.StoredTestZip64InSmallFiles.test_append) ... ok test_bad_zip64_end_of_central_dir (test.test_zipfile.test_core.StoredTestZip64InSmallFiles.test_bad_zip64_end_of_central_dir) ... ok test_bad_zip64_extra (test.test_zipfile.test_core.StoredTestZip64InSmallFiles.test_bad_zip64_extra) Missing zip64 extra records raises an exception. ... ok test_basic (test.test_zipfile.test_core.StoredTestZip64InSmallFiles.test_basic) ... ok test_force_zip64 (test.test_zipfile.test_core.StoredTestZip64InSmallFiles.test_force_zip64) Test that forcing zip64 extensions correctly notes this in the zip file ... ok test_generated_valid_zip64_extra (test.test_zipfile.test_core.StoredTestZip64InSmallFiles.test_generated_valid_zip64_extra) ... ok test_large_file_exception (test.test_zipfile.test_core.StoredTestZip64InSmallFiles.test_large_file_exception) ... ok test_too_many_files (test.test_zipfile.test_core.StoredTestZip64InSmallFiles.test_too_many_files) ... ok test_too_many_files_append (test.test_zipfile.test_core.StoredTestZip64InSmallFiles.test_too_many_files_append) ... ok test_unseekable_zip_known_filesize (test.test_zipfile.test_core.StoredTestZip64InSmallFiles.test_unseekable_zip_known_filesize) Test that creating a zip without seeking will use zip64 extensions if the file size is provided up-front ... ok test_unseekable_zip_unknown_filesize (test.test_zipfile.test_core.StoredTestZip64InSmallFiles.test_unseekable_zip_unknown_filesize) Test that creating a zip with/without seeking will raise a RuntimeError if zip64 was required but not used ... ok test_zip64_end_of_central_dir_record_not_found (test.test_zipfile.test_core.StoredTestZip64InSmallFiles.test_zip64_end_of_central_dir_record_not_found) ... ok test_zip64_extensible_data (test.test_zipfile.test_core.StoredTestZip64InSmallFiles.test_zip64_extensible_data) ... ok test_zip64_required_not_allowed_fail (test.test_zipfile.test_core.StoredTestZip64InSmallFiles.test_zip64_required_not_allowed_fail) Test that trying to add a large file to a zip that doesn't allow zip64 extensions fails on add ... ok test_open (test.test_zipfile.test_core.StoredTestsWithRandomBinaryFiles.test_open) ... ok test_random_open (test.test_zipfile.test_core.StoredTestsWithRandomBinaryFiles.test_random_open) ... ok test_read (test.test_zipfile.test_core.StoredTestsWithRandomBinaryFiles.test_read) ... ok test_absolute_arcnames (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_absolute_arcnames) ... ok test_add_file_after_2107 (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_add_file_after_2107) ... ok test_add_file_before_1980 (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_add_file_before_1980) ... ok test_append_to_concatenated_zip_file (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_append_to_concatenated_zip_file) ... ok test_append_to_non_zip_file (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_append_to_non_zip_file) Test appending to an existing file that is not a zipfile. ... ok test_append_to_zip_file (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_append_to_zip_file) Test appending to an existing zipfile. ... ok test_basic (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_basic) ... ok test_compresslevel_basic (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_compresslevel_basic) ... ok test_ignores_newline_at_end (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_ignores_newline_at_end) ... ok test_ignores_stuff_appended_past_comments (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_ignores_stuff_appended_past_comments) ... ok test_io_on_closed_zipextfile (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_io_on_closed_zipextfile) ... ok test_iterlines (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_iterlines) ... ok test_open (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_open) ... ok test_open_with_pathlike (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_open_with_pathlike) ... ok test_per_file_compresslevel (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_per_file_compresslevel) Check that files within a Zip archive can have different ... ok test_random_open (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_random_open) ... ok test_read1 (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_read1) ... ok test_read1_10 (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_read1_10) ... ok test_read_concatenated_zip_file (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_read_concatenated_zip_file) ... ok test_read_return_size (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_read_return_size) ... ok test_readline (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_readline) ... ok test_readline_read (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_readline_read) ... ok test_readlines (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_readlines) ... ok test_repr (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_repr) ... ok test_truncated_zipfile (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_truncated_zipfile) ... ok test_write_default_name (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_write_default_name) Check that calling ZipFile.write without arcname specified ... ok test_write_to_readonly (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_write_to_readonly) Check that trying to call write() on a readonly ZipFile object ... ok test_writestr_compression (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_writestr_compression) ... ok test_writestr_compresslevel (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_writestr_compresslevel) ... ok test_writestr_permissions (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_writestr_permissions) ... ok test_writing_errors (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_writing_errors) ... ok test_zipextfile_attrs (test.test_zipfile.test_core.StoredTestsWithSourceFile.test_zipextfile_attrs) ... ok test_close_after_close (test.test_zipfile.test_core.StoredWriterTests.test_close_after_close) ... ok test_issue44439 (test.test_zipfile.test_core.StoredWriterTests.test_issue44439) ... ok test_write_after_close (test.test_zipfile.test_core.StoredWriterTests.test_write_after_close) ... ok test_zipwritefile_attrs (test.test_zipfile.test_core.StoredWriterTests.test_zipwritefile_attrs) ... ok test_stored_seek_and_read (test.test_zipfile.test_core.StoredZipExtFileRandomReadTest.test_stored_seek_and_read) ... ok test_multiples (test.test_zipfile.test_core.StripExtraTests.test_multiples) ... ok test_no_data (test.test_zipfile.test_core.StripExtraTests.test_no_data) ... ok test_too_short (test.test_zipfile.test_core.StripExtraTests.test_too_short) ... ok test_with_data (test.test_zipfile.test_core.StripExtraTests.test_with_data) ... ok test_execute_zip2 (test.test_zipfile.test_core.TestExecutablePrependedZip.test_execute_zip2) ... ok test_execute_zip64 (test.test_zipfile.test_core.TestExecutablePrependedZip.test_execute_zip64) ... ok test_read_zip64_with_exe_prepended (test.test_zipfile.test_core.TestExecutablePrependedZip.test_read_zip64_with_exe_prepended) ... ok test_read_zip_with_exe_prepended (test.test_zipfile.test_core.TestExecutablePrependedZip.test_read_zip_with_exe_prepended) ... ok test_bug_6050 (test.test_zipfile.test_core.TestWithDirectory.test_bug_6050) ... ok test_create_directory_with_write (test.test_zipfile.test_core.TestWithDirectory.test_create_directory_with_write) ... ok test_extract_dir (test.test_zipfile.test_core.TestWithDirectory.test_extract_dir) ... ok test_extract_dir_backslash (test.test_zipfile.test_core.TestWithDirectory.test_extract_dir_backslash) ... ok test_mkdir (test.test_zipfile.test_core.TestWithDirectory.test_mkdir) ... ok test_root_folder_in_zipfile (test.test_zipfile.test_core.TestWithDirectory.test_root_folder_in_zipfile) gh-112795: Some tools or self constructed codes will add '/' folder to ... ok test_write_dir (test.test_zipfile.test_core.TestWithDirectory.test_write_dir) ... ok test_writestr_dir (test.test_zipfile.test_core.TestWithDirectory.test_writestr_dir) ... ok test_different_file (test.test_zipfile.test_core.TestsWithMultipleOpens.test_different_file) ... ok test_interleaved (test.test_zipfile.test_core.TestsWithMultipleOpens.test_interleaved) ... ok test_many_opens (test.test_zipfile.test_core.TestsWithMultipleOpens.test_many_opens) ... ok test_read_after_close (test.test_zipfile.test_core.TestsWithMultipleOpens.test_read_after_close) ... ok test_read_after_write (test.test_zipfile.test_core.TestsWithMultipleOpens.test_read_after_write) ... ok test_same_file (test.test_zipfile.test_core.TestsWithMultipleOpens.test_same_file) ... ok test_write_after_read (test.test_zipfile.test_core.TestsWithMultipleOpens.test_write_after_read) ... ok test_write_while_reading (test.test_zipfile.test_core.TestsWithMultipleOpens.test_write_while_reading) ... ok test_open_write (test.test_zipfile.test_core.UnseekableTests.test_open_write) ... ok test_write (test.test_zipfile.test_core.UnseekableTests.test_write) ... ok test_writestr (test.test_zipfile.test_core.UnseekableTests.test_writestr) ... ok test_from_dir (test.test_zipfile.test_core.ZipInfoTests.test_from_dir) ... ok test_from_file (test.test_zipfile.test_core.ZipInfoTests.test_from_file) ... ok test_from_file_bytes (test.test_zipfile.test_core.ZipInfoTests.test_from_file_bytes) ... ok test_from_file_fileno (test.test_zipfile.test_core.ZipInfoTests.test_from_file_fileno) ... ok test_from_file_pathlike (test.test_zipfile.test_core.ZipInfoTests.test_from_file_pathlike) ... ok ====================================================================== ERROR: test_full_overlap_different_names2 (test.test_zipfile.test_core.OtherTests.test_full_overlap_different_names2) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_zipfile/test_core.py", line 2481, in test_full_overlap_different_names2 self.assertEqual(len(zipf.read('a')), 1033) ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/zipfile/__init__.py", line 1584, in read with self.open(name, "r", pwd) as fp: ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/zipfile/__init__.py", line 1671, in open warnings.warn( ^^^^ TypeError: warn() takes no keyword arguments ====================================================================== ERROR: test_full_overlap_same_name (test.test_zipfile.test_core.OtherTests.test_full_overlap_same_name) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_zipfile/test_core.py", line 2510, in test_full_overlap_same_name self.assertEqual(len(zipf.read(zipf.infolist()[0])), 1033) ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/zipfile/__init__.py", line 1584, in read with self.open(name, "r", pwd) as fp: ^^^^ File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/zipfile/__init__.py", line 1671, in open warnings.warn( ^^^^ TypeError: warn() takes no keyword arguments ====================================================================== FAIL: test_write_filtered_python_package (test.test_zipfile.test_core.PyZipFileTests.test_write_filtered_python_package) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_zipfile/test_core.py", line 1503, in test_write_filtered_python_package self.assertTrue('SyntaxError' not in reportStr) ^^^^^^^^^^ AssertionError: False is not true ---------------------------------------------------------------------- Ran 339 tests in 12.114s FAILED (failures=1, errors=2, skipped=3) 0:00:12 load avg: 1.98 [1/1/1] test_zipfile failed (2 errors, 1 failure) == Tests result: FAILURE == 1 test failed: test_zipfile Total duration: 12.4 sec Total tests: run=339 failures=1 skipped=3 Total test files: run=1/1 failed=1 Result: FAILURE test test_zipfile failed _______________________________________ _______________________________________ == PyPy 3.12.13 (3c8c6172848f, Jul 23 2026, 04:08:44) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] == Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian == Python build: release with_assert == cwd: /tmp/pytest/test_python_worker_1766889æ == CPU count: 4 == encodings: locale=UTF-8 FS=utf-8 == resources (3): curses,gui,network Using random seed: 2245555472 0:00:00 load avg: 1.98 Run 1 test sequentially in a single process 0:00:00 load avg: 1.98 [1/1] test_zoneinfo test_clear_cache (test.test_zoneinfo.test_zoneinfo.CCallingConventionTest.test_clear_cache) ... ok test_from_file (test.test_zoneinfo.test_zoneinfo.CCallingConventionTest.test_from_file) ... ok test_bad_keys (test.test_zoneinfo.test_zoneinfo.CTZDataTests.test_bad_keys) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_bad_keys_paths (test.test_zoneinfo.test_zoneinfo.CTZDataTests.test_bad_keys_paths) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_bad_zones (test.test_zoneinfo.test_zoneinfo.CTZDataTests.test_bad_zones) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_folds_and_gaps (test.test_zoneinfo.test_zoneinfo.CTZDataTests.test_folds_and_gaps) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_folds_from_utc (test.test_zoneinfo.test_zoneinfo.CTZDataTests.test_folds_from_utc) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_fromutc_errors (test.test_zoneinfo.test_zoneinfo.CTZDataTests.test_fromutc_errors) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_key_attribute (test.test_zoneinfo.test_zoneinfo.CTZDataTests.test_key_attribute) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_repr (test.test_zoneinfo.test_zoneinfo.CTZDataTests.test_repr) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_str (test.test_zoneinfo.test_zoneinfo.CTZDataTests.test_str) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_time_fixed_offset (test.test_zoneinfo.test_zoneinfo.CTZDataTests.test_time_fixed_offset) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_time_variable_offset (test.test_zoneinfo.test_zoneinfo.CTZDataTests.test_time_variable_offset) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_unambiguous (test.test_zoneinfo.test_zoneinfo.CTZDataTests.test_unambiguous) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_utc (test.test_zoneinfo.test_zoneinfo.CTZDataTests.test_utc) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_extreme_tzstr (test.test_zoneinfo.test_zoneinfo.CTZStrTest.test_extreme_tzstr) ... ok test_invalid_tzstr (test.test_zoneinfo.test_zoneinfo.CTZStrTest.test_invalid_tzstr) ... ok test_tzstr_from_utc (test.test_zoneinfo.test_zoneinfo.CTZStrTest.test_tzstr_from_utc) ... ok test_tzstr_localized (test.test_zoneinfo.test_zoneinfo.CTZStrTest.test_tzstr_localized) ... ok test_available_timezones (test.test_zoneinfo.test_zoneinfo.CTestModule.test_available_timezones) ... ok test_available_timezones_weirdzone (test.test_zoneinfo.test_zoneinfo.CTestModule.test_available_timezones_weirdzone) ... ok test_dir_contains_all (test.test_zoneinfo.test_zoneinfo.CTestModule.test_dir_contains_all) dir(self.module) should at least contain everything in __all__. ... ok test_dir_unique (test.test_zoneinfo.test_zoneinfo.CTestModule.test_dir_unique) Test that there are no duplicates in dir(self.module) ... ok test_exclude_posixrules (test.test_zoneinfo.test_zoneinfo.CTestModule.test_exclude_posixrules) ... ok test_folder_exclusions (test.test_zoneinfo.test_zoneinfo.CTestModule.test_folder_exclusions) ... ok test_getattr_error (test.test_zoneinfo.test_zoneinfo.CTestModule.test_getattr_error) ... ok test_env_variable (test.test_zoneinfo.test_zoneinfo.CTzPathTest.test_env_variable) Tests that the environment variable works with reset_tzpath. ... ok test_env_variable_relative_paths (test.test_zoneinfo.test_zoneinfo.CTzPathTest.test_env_variable_relative_paths) ... ok test_env_variable_relative_paths_warning_location (test.test_zoneinfo.test_zoneinfo.CTzPathTest.test_env_variable_relative_paths_warning_location) ... ok test_reset_tzpath_kwarg (test.test_zoneinfo.test_zoneinfo.CTzPathTest.test_reset_tzpath_kwarg) ... ok test_reset_tzpath_relative_paths (test.test_zoneinfo.test_zoneinfo.CTzPathTest.test_reset_tzpath_relative_paths) ... ok test_tzpath_attribute (test.test_zoneinfo.test_zoneinfo.CTzPathTest.test_tzpath_attribute) ... ok test_tzpath_type_error (test.test_zoneinfo.test_zoneinfo.CTzPathTest.test_tzpath_type_error) ... ok test_empty_zone (test.test_zoneinfo.test_zoneinfo.CWeirdZoneTest.test_empty_zone) ... ok test_fixed_offset_phantom_transition (test.test_zoneinfo.test_zoneinfo.CWeirdZoneTest.test_fixed_offset_phantom_transition) ... ok test_no_tz_str (test.test_zoneinfo.test_zoneinfo.CWeirdZoneTest.test_no_tz_str) ... ok test_one_transition (test.test_zoneinfo.test_zoneinfo.CWeirdZoneTest.test_one_transition) ... ok test_one_zone_dst (test.test_zoneinfo.test_zoneinfo.CWeirdZoneTest.test_one_zone_dst) ... ok test_tz_before_only (test.test_zoneinfo.test_zoneinfo.CWeirdZoneTest.test_tz_before_only) ... ok test_zone_very_large_timestamp (test.test_zoneinfo.test_zoneinfo.CWeirdZoneTest.test_zone_very_large_timestamp) Test when a transition is in the far past or future. ... ok test_cache (test.test_zoneinfo.test_zoneinfo_property.CZoneInfoCacheTest.test_cache) ... ok test_no_cache (test.test_zoneinfo.test_zoneinfo_property.CZoneInfoCacheTest.test_no_cache) ... ok test_bad_keys (test.test_zoneinfo.test_zoneinfo.CZoneInfoDatetimeSubclassTest.test_bad_keys) ... ok test_bad_keys_paths (test.test_zoneinfo.test_zoneinfo.CZoneInfoDatetimeSubclassTest.test_bad_keys_paths) ... ok test_bad_zones (test.test_zoneinfo.test_zoneinfo.CZoneInfoDatetimeSubclassTest.test_bad_zones) ... ok test_fold_mutate (test.test_zoneinfo.test_zoneinfo.CZoneInfoDatetimeSubclassTest.test_fold_mutate) Test that fold isn't mutated when no change is necessary. ... ok test_folds_and_gaps (test.test_zoneinfo.test_zoneinfo.CZoneInfoDatetimeSubclassTest.test_folds_and_gaps) ... ok test_folds_from_utc (test.test_zoneinfo.test_zoneinfo.CZoneInfoDatetimeSubclassTest.test_folds_from_utc) ... ok test_fromutc_errors (test.test_zoneinfo.test_zoneinfo.CZoneInfoDatetimeSubclassTest.test_fromutc_errors) ... ok test_key_attribute (test.test_zoneinfo.test_zoneinfo.CZoneInfoDatetimeSubclassTest.test_key_attribute) ... ok test_repr (test.test_zoneinfo.test_zoneinfo.CZoneInfoDatetimeSubclassTest.test_repr) ... ok test_signatures (test.test_zoneinfo.test_zoneinfo.CZoneInfoDatetimeSubclassTest.test_signatures) Ensure that C module has valid method signatures. ... ok test_str (test.test_zoneinfo.test_zoneinfo.CZoneInfoDatetimeSubclassTest.test_str) ... ok test_time_fixed_offset (test.test_zoneinfo.test_zoneinfo.CZoneInfoDatetimeSubclassTest.test_time_fixed_offset) ... ok test_time_variable_offset (test.test_zoneinfo.test_zoneinfo.CZoneInfoDatetimeSubclassTest.test_time_variable_offset) ... ok test_unambiguous (test.test_zoneinfo.test_zoneinfo.CZoneInfoDatetimeSubclassTest.test_unambiguous) ... ok test_utc (test.test_zoneinfo.test_zoneinfo.CZoneInfoDatetimeSubclassTest.test_utc) ... ok test_pickle_unpickle_cache (test.test_zoneinfo.test_zoneinfo_property.CZoneInfoPickleTest.test_pickle_unpickle_cache) ... ok test_pickle_unpickle_cache_multiple_rounds (test.test_zoneinfo.test_zoneinfo_property.CZoneInfoPickleTest.test_pickle_unpickle_cache_multiple_rounds) Test that pickle/unpickle is idempotent. ... ok test_pickle_unpickle_no_cache (test.test_zoneinfo.test_zoneinfo_property.CZoneInfoPickleTest.test_pickle_unpickle_no_cache) ... ok test_pickle_unpickle_no_cache_multiple_rounds (test.test_zoneinfo.test_zoneinfo_property.CZoneInfoPickleTest.test_pickle_unpickle_no_cache_multiple_rounds) Test that pickle/unpickle is idempotent. ... ok test_bad_keys (test.test_zoneinfo.test_zoneinfo.CZoneInfoSubclassTest.test_bad_keys) ... ok test_bad_keys_paths (test.test_zoneinfo.test_zoneinfo.CZoneInfoSubclassTest.test_bad_keys_paths) ... ok test_bad_zones (test.test_zoneinfo.test_zoneinfo.CZoneInfoSubclassTest.test_bad_zones) ... ok test_folds_and_gaps (test.test_zoneinfo.test_zoneinfo.CZoneInfoSubclassTest.test_folds_and_gaps) ... ok test_folds_from_utc (test.test_zoneinfo.test_zoneinfo.CZoneInfoSubclassTest.test_folds_from_utc) ... ok test_fromutc_errors (test.test_zoneinfo.test_zoneinfo.CZoneInfoSubclassTest.test_fromutc_errors) ... ok test_key_attribute (test.test_zoneinfo.test_zoneinfo.CZoneInfoSubclassTest.test_key_attribute) ... ok test_repr (test.test_zoneinfo.test_zoneinfo.CZoneInfoSubclassTest.test_repr) ... ok test_str (test.test_zoneinfo.test_zoneinfo.CZoneInfoSubclassTest.test_str) ... ok test_subclass_own_cache (test.test_zoneinfo.test_zoneinfo.CZoneInfoSubclassTest.test_subclass_own_cache) ... ok test_time_fixed_offset (test.test_zoneinfo.test_zoneinfo.CZoneInfoSubclassTest.test_time_fixed_offset) ... ok test_time_variable_offset (test.test_zoneinfo.test_zoneinfo.CZoneInfoSubclassTest.test_time_variable_offset) ... ok test_unambiguous (test.test_zoneinfo.test_zoneinfo.CZoneInfoSubclassTest.test_unambiguous) ... ok test_utc (test.test_zoneinfo.test_zoneinfo.CZoneInfoSubclassTest.test_utc) ... ok test_key (test.test_zoneinfo.test_zoneinfo_property.CZoneInfoTest.test_key) ... ok test_str (test.test_zoneinfo.test_zoneinfo_property.CZoneInfoTest.test_str) ... ok test_utc (test.test_zoneinfo.test_zoneinfo_property.CZoneInfoTest.test_utc) ... ok test_bad_keys (test.test_zoneinfo.test_zoneinfo.CZoneInfoV1Test.test_bad_keys) ... ok test_bad_keys_paths (test.test_zoneinfo.test_zoneinfo.CZoneInfoV1Test.test_bad_keys_paths) ... ok test_bad_zones (test.test_zoneinfo.test_zoneinfo.CZoneInfoV1Test.test_bad_zones) ... ok test_folds_and_gaps (test.test_zoneinfo.test_zoneinfo.CZoneInfoV1Test.test_folds_and_gaps) ... ok test_folds_from_utc (test.test_zoneinfo.test_zoneinfo.CZoneInfoV1Test.test_folds_from_utc) ... ok test_fromutc_errors (test.test_zoneinfo.test_zoneinfo.CZoneInfoV1Test.test_fromutc_errors) ... ok test_key_attribute (test.test_zoneinfo.test_zoneinfo.CZoneInfoV1Test.test_key_attribute) ... ok test_repr (test.test_zoneinfo.test_zoneinfo.CZoneInfoV1Test.test_repr) ... ok test_str (test.test_zoneinfo.test_zoneinfo.CZoneInfoV1Test.test_str) ... ok test_time_fixed_offset (test.test_zoneinfo.test_zoneinfo.CZoneInfoV1Test.test_time_fixed_offset) ... ok test_time_variable_offset (test.test_zoneinfo.test_zoneinfo.CZoneInfoV1Test.test_time_variable_offset) ... ok test_unambiguous (test.test_zoneinfo.test_zoneinfo.CZoneInfoV1Test.test_unambiguous) ... ok test_utc (test.test_zoneinfo.test_zoneinfo.CZoneInfoV1Test.test_utc) ... ok test_clear_cache (test.test_zoneinfo.test_zoneinfo.CallingConventionTest.test_clear_cache) ... ok test_from_file (test.test_zoneinfo.test_zoneinfo.CallingConventionTest.test_from_file) ... ok test_cache_location (test.test_zoneinfo.test_zoneinfo.ExtensionBuiltTest.test_cache_location) ... FAIL test_gc_tracked (test.test_zoneinfo.test_zoneinfo.ExtensionBuiltTest.test_gc_tracked) ... ERROR test_cross_module_pickle (test.test_zoneinfo.test_zoneinfo_property.PythonCConsistencyTest.test_cross_module_pickle) ... ok test_same_from_utc (test.test_zoneinfo.test_zoneinfo_property.PythonCConsistencyTest.test_same_from_utc) ... ok test_same_offsets_and_names (test.test_zoneinfo.test_zoneinfo_property.PythonCConsistencyTest.test_same_offsets_and_names) ... ok test_same_str (test.test_zoneinfo.test_zoneinfo_property.PythonCConsistencyTest.test_same_str) ... ok test_same_to_utc (test.test_zoneinfo.test_zoneinfo_property.PythonCConsistencyTest.test_same_to_utc) ... ok test_bad_keys (test.test_zoneinfo.test_zoneinfo.TZDataTests.test_bad_keys) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_bad_keys_paths (test.test_zoneinfo.test_zoneinfo.TZDataTests.test_bad_keys_paths) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_bad_zones (test.test_zoneinfo.test_zoneinfo.TZDataTests.test_bad_zones) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_folds_and_gaps (test.test_zoneinfo.test_zoneinfo.TZDataTests.test_folds_and_gaps) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_folds_from_utc (test.test_zoneinfo.test_zoneinfo.TZDataTests.test_folds_from_utc) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_fromutc_errors (test.test_zoneinfo.test_zoneinfo.TZDataTests.test_fromutc_errors) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_key_attribute (test.test_zoneinfo.test_zoneinfo.TZDataTests.test_key_attribute) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_repr (test.test_zoneinfo.test_zoneinfo.TZDataTests.test_repr) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_str (test.test_zoneinfo.test_zoneinfo.TZDataTests.test_str) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_time_fixed_offset (test.test_zoneinfo.test_zoneinfo.TZDataTests.test_time_fixed_offset) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_time_variable_offset (test.test_zoneinfo.test_zoneinfo.TZDataTests.test_time_variable_offset) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_unambiguous (test.test_zoneinfo.test_zoneinfo.TZDataTests.test_unambiguous) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_utc (test.test_zoneinfo.test_zoneinfo.TZDataTests.test_utc) ... skipped 'Skipping tzdata-specific tests: tzdata not installed' test_extreme_tzstr (test.test_zoneinfo.test_zoneinfo.TZStrTest.test_extreme_tzstr) ... ok test_invalid_tzstr (test.test_zoneinfo.test_zoneinfo.TZStrTest.test_invalid_tzstr) ... ok test_tzstr_from_utc (test.test_zoneinfo.test_zoneinfo.TZStrTest.test_tzstr_from_utc) ... ok test_tzstr_localized (test.test_zoneinfo.test_zoneinfo.TZStrTest.test_tzstr_localized) ... ok test_available_timezones (test.test_zoneinfo.test_zoneinfo.TestModule.test_available_timezones) ... ok test_available_timezones_weirdzone (test.test_zoneinfo.test_zoneinfo.TestModule.test_available_timezones_weirdzone) ... ok test_dir_contains_all (test.test_zoneinfo.test_zoneinfo.TestModule.test_dir_contains_all) dir(self.module) should at least contain everything in __all__. ... ok test_dir_unique (test.test_zoneinfo.test_zoneinfo.TestModule.test_dir_unique) Test that there are no duplicates in dir(self.module) ... ok test_exclude_posixrules (test.test_zoneinfo.test_zoneinfo.TestModule.test_exclude_posixrules) ... ok test_folder_exclusions (test.test_zoneinfo.test_zoneinfo.TestModule.test_folder_exclusions) ... ok test_getattr_error (test.test_zoneinfo.test_zoneinfo.TestModule.test_getattr_error) ... ok test_env_variable (test.test_zoneinfo.test_zoneinfo.TzPathTest.test_env_variable) Tests that the environment variable works with reset_tzpath. ... ok test_env_variable_relative_paths (test.test_zoneinfo.test_zoneinfo.TzPathTest.test_env_variable_relative_paths) ... ok test_env_variable_relative_paths_warning_location (test.test_zoneinfo.test_zoneinfo.TzPathTest.test_env_variable_relative_paths_warning_location) ... ok test_reset_tzpath_kwarg (test.test_zoneinfo.test_zoneinfo.TzPathTest.test_reset_tzpath_kwarg) ... ok test_reset_tzpath_relative_paths (test.test_zoneinfo.test_zoneinfo.TzPathTest.test_reset_tzpath_relative_paths) ... ok test_tzpath_attribute (test.test_zoneinfo.test_zoneinfo.TzPathTest.test_tzpath_attribute) ... ok test_tzpath_type_error (test.test_zoneinfo.test_zoneinfo.TzPathTest.test_tzpath_type_error) ... ok test_empty_zone (test.test_zoneinfo.test_zoneinfo.WeirdZoneTest.test_empty_zone) ... ok test_fixed_offset_phantom_transition (test.test_zoneinfo.test_zoneinfo.WeirdZoneTest.test_fixed_offset_phantom_transition) ... ok test_no_tz_str (test.test_zoneinfo.test_zoneinfo.WeirdZoneTest.test_no_tz_str) ... ok test_one_transition (test.test_zoneinfo.test_zoneinfo.WeirdZoneTest.test_one_transition) ... ok test_one_zone_dst (test.test_zoneinfo.test_zoneinfo.WeirdZoneTest.test_one_zone_dst) ... ok test_tz_before_only (test.test_zoneinfo.test_zoneinfo.WeirdZoneTest.test_tz_before_only) ... ok test_zone_very_large_timestamp (test.test_zoneinfo.test_zoneinfo.WeirdZoneTest.test_zone_very_large_timestamp) Test when a transition is in the far past or future. ... ok test_cache (test.test_zoneinfo.test_zoneinfo_property.ZoneInfoCacheTest.test_cache) ... ok test_no_cache (test.test_zoneinfo.test_zoneinfo_property.ZoneInfoCacheTest.test_no_cache) ... ok test_bad_keys (test.test_zoneinfo.test_zoneinfo.ZoneInfoDatetimeSubclassTest.test_bad_keys) ... ok test_bad_keys_paths (test.test_zoneinfo.test_zoneinfo.ZoneInfoDatetimeSubclassTest.test_bad_keys_paths) ... ok test_bad_zones (test.test_zoneinfo.test_zoneinfo.ZoneInfoDatetimeSubclassTest.test_bad_zones) ... ok test_folds_and_gaps (test.test_zoneinfo.test_zoneinfo.ZoneInfoDatetimeSubclassTest.test_folds_and_gaps) ... ok test_folds_from_utc (test.test_zoneinfo.test_zoneinfo.ZoneInfoDatetimeSubclassTest.test_folds_from_utc) ... ok test_fromutc_errors (test.test_zoneinfo.test_zoneinfo.ZoneInfoDatetimeSubclassTest.test_fromutc_errors) ... ok test_key_attribute (test.test_zoneinfo.test_zoneinfo.ZoneInfoDatetimeSubclassTest.test_key_attribute) ... ok test_repr (test.test_zoneinfo.test_zoneinfo.ZoneInfoDatetimeSubclassTest.test_repr) ... ok test_str (test.test_zoneinfo.test_zoneinfo.ZoneInfoDatetimeSubclassTest.test_str) ... ok test_time_fixed_offset (test.test_zoneinfo.test_zoneinfo.ZoneInfoDatetimeSubclassTest.test_time_fixed_offset) ... ok test_time_variable_offset (test.test_zoneinfo.test_zoneinfo.ZoneInfoDatetimeSubclassTest.test_time_variable_offset) ... ok test_unambiguous (test.test_zoneinfo.test_zoneinfo.ZoneInfoDatetimeSubclassTest.test_unambiguous) ... ok test_utc (test.test_zoneinfo.test_zoneinfo.ZoneInfoDatetimeSubclassTest.test_utc) ... ok test_pickle_unpickle_cache (test.test_zoneinfo.test_zoneinfo_property.ZoneInfoPickleTest.test_pickle_unpickle_cache) ... ok test_pickle_unpickle_cache_multiple_rounds (test.test_zoneinfo.test_zoneinfo_property.ZoneInfoPickleTest.test_pickle_unpickle_cache_multiple_rounds) Test that pickle/unpickle is idempotent. ... ok test_pickle_unpickle_no_cache (test.test_zoneinfo.test_zoneinfo_property.ZoneInfoPickleTest.test_pickle_unpickle_no_cache) ... ok test_pickle_unpickle_no_cache_multiple_rounds (test.test_zoneinfo.test_zoneinfo_property.ZoneInfoPickleTest.test_pickle_unpickle_no_cache_multiple_rounds) Test that pickle/unpickle is idempotent. ... ok test_bad_keys (test.test_zoneinfo.test_zoneinfo.ZoneInfoSubclassTest.test_bad_keys) ... ok test_bad_keys_paths (test.test_zoneinfo.test_zoneinfo.ZoneInfoSubclassTest.test_bad_keys_paths) ... ok test_bad_zones (test.test_zoneinfo.test_zoneinfo.ZoneInfoSubclassTest.test_bad_zones) ... ok test_folds_and_gaps (test.test_zoneinfo.test_zoneinfo.ZoneInfoSubclassTest.test_folds_and_gaps) ... ok test_folds_from_utc (test.test_zoneinfo.test_zoneinfo.ZoneInfoSubclassTest.test_folds_from_utc) ... ok test_fromutc_errors (test.test_zoneinfo.test_zoneinfo.ZoneInfoSubclassTest.test_fromutc_errors) ... ok test_key_attribute (test.test_zoneinfo.test_zoneinfo.ZoneInfoSubclassTest.test_key_attribute) ... ok test_repr (test.test_zoneinfo.test_zoneinfo.ZoneInfoSubclassTest.test_repr) ... ok test_str (test.test_zoneinfo.test_zoneinfo.ZoneInfoSubclassTest.test_str) ... ok test_subclass_own_cache (test.test_zoneinfo.test_zoneinfo.ZoneInfoSubclassTest.test_subclass_own_cache) ... ok test_time_fixed_offset (test.test_zoneinfo.test_zoneinfo.ZoneInfoSubclassTest.test_time_fixed_offset) ... ok test_time_variable_offset (test.test_zoneinfo.test_zoneinfo.ZoneInfoSubclassTest.test_time_variable_offset) ... ok test_unambiguous (test.test_zoneinfo.test_zoneinfo.ZoneInfoSubclassTest.test_unambiguous) ... ok test_utc (test.test_zoneinfo.test_zoneinfo.ZoneInfoSubclassTest.test_utc) ... ok test_key (test.test_zoneinfo.test_zoneinfo_property.ZoneInfoTest.test_key) ... ok test_str (test.test_zoneinfo.test_zoneinfo_property.ZoneInfoTest.test_str) ... ok test_utc (test.test_zoneinfo.test_zoneinfo_property.ZoneInfoTest.test_utc) ... ok test_bad_keys (test.test_zoneinfo.test_zoneinfo.ZoneInfoV1Test.test_bad_keys) ... ok test_bad_keys_paths (test.test_zoneinfo.test_zoneinfo.ZoneInfoV1Test.test_bad_keys_paths) ... ok test_bad_zones (test.test_zoneinfo.test_zoneinfo.ZoneInfoV1Test.test_bad_zones) ... ok test_folds_and_gaps (test.test_zoneinfo.test_zoneinfo.ZoneInfoV1Test.test_folds_and_gaps) ... ok test_folds_from_utc (test.test_zoneinfo.test_zoneinfo.ZoneInfoV1Test.test_folds_from_utc) ... ok test_fromutc_errors (test.test_zoneinfo.test_zoneinfo.ZoneInfoV1Test.test_fromutc_errors) ... ok test_key_attribute (test.test_zoneinfo.test_zoneinfo.ZoneInfoV1Test.test_key_attribute) ... ok test_repr (test.test_zoneinfo.test_zoneinfo.ZoneInfoV1Test.test_repr) ... ok test_str (test.test_zoneinfo.test_zoneinfo.ZoneInfoV1Test.test_str) ... ok test_time_fixed_offset (test.test_zoneinfo.test_zoneinfo.ZoneInfoV1Test.test_time_fixed_offset) ... ok test_time_variable_offset (test.test_zoneinfo.test_zoneinfo.ZoneInfoV1Test.test_time_variable_offset) ... ok test_unambiguous (test.test_zoneinfo.test_zoneinfo.ZoneInfoV1Test.test_unambiguous) ... ok test_utc (test.test_zoneinfo.test_zoneinfo.ZoneInfoV1Test.test_utc) ... ok ====================================================================== ERROR: test_gc_tracked (test.test_zoneinfo.test_zoneinfo.ExtensionBuiltTest.test_gc_tracked) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_zoneinfo/test_zoneinfo.py", line 1936, in test_gc_tracked self.assertTrue(gc.is_tracked(py_zoneinfo.ZoneInfo)) ^^^^^^^^^^ AttributeError: module 'gc' has no attribute 'is_tracked' ====================================================================== FAIL: test_cache_location (test.test_zoneinfo.test_zoneinfo.ExtensionBuiltTest.test_cache_location) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_zoneinfo/test_zoneinfo.py", line 1930, in test_cache_location self.assertFalse(hasattr(c_zoneinfo.ZoneInfo, "_weak_cache")) ^^^^^^^^^^^ AssertionError: True is not false ---------------------------------------------------------------------- Ran 187 tests in 1.049s FAILED (failures=1, errors=1, skipped=26) 0:00:01 load avg: 1.98 [1/1/1] test_zoneinfo failed (1 error, 1 failure) == Tests result: FAILURE == 1 test failed: test_zoneinfo Total duration: 1.3 sec Total tests: run=187 failures=1 skipped=26 Total test files: run=1/1 failed=1 Result: FAILURE test test_zoneinfo failed =========================== short test summary info ============================ SKIP [4] /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/conftest.py:629: CPython internal details SKIP [7] /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/conftest.py:629: implementation detail SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/conftest.py:629: needs low level audio SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/conftest.py:629: requires audio SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/conftest.py:629: demands too many resources SKIP [1] /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/conftest.py:629: needs ctypes.pythonapi SKIP [3] /build_dir/pypy-c-jit-linux-x86-64/build/lib-python/conftest.py:629: needs display ========================== slowest 10 test durations =========================== 1324.02s call lib-python/3/test/test_threading.py::unmodified 107.78s call lib-python/3/test/test_multiprocessing_spawn::unmodified 104.23s call lib-python/3/test/test_asyncio::unmodified 93.60s call lib-python/3/test/test_concurrent_futures::unmodified 87.78s call lib-python/3/test/test_multiprocessing_forkserver::unmodified 59.87s call lib-python/3/test/test_multiprocessing_fork::unmodified 58.15s call lib-python/3/test/test_subprocess.py::unmodified 42.89s call lib-python/3/test/test_ssl.py::unmodified 42.44s call lib-python/3/test/test_socket.py::unmodified 22.65s call lib-python/3/test/test_regrtest.py::unmodified ============ 151 failed, 271 passed, 18 skipped in 2490.59 seconds ============= program finished with exit code 1 elapsedTime=2491.019621