python testrunner/lib_python_tests.py
in dir /buildbot/slave/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=manylinux_2_28_x86_64
AUDITWHEEL_POLICY=manylinux_2_28
DEVTOOLSET_ROOTPATH=/opt/rh/gcc-toolset-14/root
HGDEMANDIMPORT=disable
HOME=/buildbot/slave
HOSTNAME=d67408748fba
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_ALL=en_US.UTF-8
LD_LIBRARY_PATH=/usr/local/lib:/opt/rh/gcc-toolset-14/root/usr/lib64:/opt/rh/gcc-toolset-14/root/usr/lib:/opt/rh/gcc-toolset-14/root/usr/lib64/dyninst:/opt/rh/gcc-toolset-14/root/usr/lib/dyninst
OLDPWD=/buildbot/slave
PATH=/tmp/venv/bin:/opt/clang/bin:/opt/rh/gcc-toolset-14/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/pypy2.7-v7.3.22-linux64/bin
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
PS1=(venv)
PWD=/buildbot/slave/pypy-c-jit-linux-x86-64/build
PYPY_LOCALBASE=/usr/local
PYPY_MAKE_PORTABLE=1
SETUPTOOLS_USE_DISTUTILS=stdlib
SHLVL=0
SSL_CERT_FILE=/opt/_internal/certs.pem
TERM=xterm
TMPDIR=/tmp/pytest
VIRTUAL_ENV=/tmp/venv
container=podman
using PTY: False
/tmp/venv/site-packages/hypothesis/extra/pytestplugin.py:61: HypothesisWarning:
You are using Pytest version 2.9.2. Hypothesis tests work with any test
runner, but our Pytest plugin requires Pytest 4.3 or newer.
Note that the Pytest developers no longer support this version either!
Disabling the Hypothesis pytest plugin...
warnings.warn(PYTEST_TOO_OLD_MESSAGE % (pytest.__version__,), HypothesisWarning)
============================= test session starts ==============================
platform linux2 -- Python 2.7.18[pypy-7.3.22-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
rootdir: /buildbot/slave/pypy-c-jit-linux-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.57.1
collected 440 items
lib-python/3/test/test___all__.py .
lib-python/3/test/test__locale.py .
lib-python/3/test/test__opcode.py .
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 .
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 .
lib-python/3/test/test_atexit.py .
lib-python/3/test/test_audioop.py .
lib-python/3/test/test_audit.py .
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 .
lib-python/3/test/test_binop.py .
lib-python/3/test/test_bisect.py .
lib-python/3/test/test_bool.py .
lib-python/3/test/test_buffer.py .
lib-python/3/test/test_bufio.py .
lib-python/3/test/test_builtin.py .
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 .
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 .
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 .
lib-python/3/test/test_code.py .
lib-python/3/test/test_code_module.py F
lib-python/3/test/test_codeccallbacks.py .
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 .
lib-python/3/test/test_codeop.py .
lib-python/3/test/test_collections.py .
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 .
lib-python/3/test/test_compiler_codegen.py .
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 .
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 .
lib-python/3/test/test_curses.py .
lib-python/3/test/test_datetime.py .
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 .
lib-python/3/test/test_descr.py .
lib-python/3/test/test_descrtut.py .
lib-python/3/test/test_devpoll.py .
lib-python/3/test/test_dict.py .
lib-python/3/test/test_dict_version.py s
lib-python/3/test/test_dictcomps.py .
lib-python/3/test/test_dictviews.py .
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 .
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 .
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 .
lib-python/3/test/test_faulthandler.py .
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 .
lib-python/3/test/test_float.py .
lib-python/3/test/test_flufl.py .
lib-python/3/test/test_fnmatch.py .
lib-python/3/test/test_fork1.py .
lib-python/3/test/test_format.py .
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 .
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 .
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 .
lib-python/3/test/test_glob.py .
lib-python/3/test/test_global.py .
lib-python/3/test/test_grammar.py .
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 .
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 .
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 .
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 .
lib-python/3/test/test_iterlen.py .
lib-python/3/test/test_itertools.py .
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 .
lib-python/3/test/test_listcomps.py .
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 .
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 .
lib-python/3/test/test_math.py .
lib-python/3/test/test_math_property.py .
lib-python/3/test/test_memoryio.py F
lib-python/3/test/test_memoryview.py .
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 .
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 .
lib-python/3/test/test_os.py .
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 .
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 .
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 .
lib-python/3/test/test_profile.py .
lib-python/3/test/test_property.py .
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 .
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 F
lib-python/3/test/test_regrtest.py .
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 .
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 .
lib-python/3/test/test_selectors.py .
lib-python/3/test/test_set.py .
lib-python/3/test/test_setcomps.py .
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 .
lib-python/3/test/test_site.py .
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 .
lib-python/3/test/test_socketserver.py .
lib-python/3/test/test_sort.py .
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 .
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 .
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 .
lib-python/3/test/test_support.py .
lib-python/3/test/test_symtable.py s
lib-python/3/test/test_syntax.py .
lib-python/3/test/test_sys.py .
lib-python/3/test/test_sys_setprofile.py F
lib-python/3/test/test_sys_settrace.py .
lib-python/3/test/test_sysconfig.py .
lib-python/3/test/test_sysconfig_pypy.py .
lib-python/3/test/test_syslog.py .
lib-python/3/test/test_tabnanny.py .
lib-python/3/test/test_tarfile.py .
lib-python/3/test/test_tcl.py .
lib-python/3/test/test_telnetlib.py .
lib-python/3/test/test_tempfile.py F
lib-python/3/test/test_termios.py .
lib-python/3/test/test_textwrap.py .
lib-python/3/test/test_thread.py .
lib-python/3/test/test_threadedtempfile.py .
lib-python/3/test/test_threading.py .
lib-python/3/test/test_threading_local.py .
lib-python/3/test/test_threadsignals.py .
lib-python/3/test/test_time.py .
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 .
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 .
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 .
lib-python/3/test/test_typechecks.py .
lib-python/3/test/test_types.py F
lib-python/3/test/test_typing.py .
lib-python/3/test/test_ucn.py .
lib-python/3/test/test_unary.py .
lib-python/3/test/test_unicode.py .
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 .
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 .
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 .
lib-python/3/test/test_weakset.py .
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 .
lib-python/3/test/test_xml_etree_c.py .
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 .
lib-python/3/test/test_cext .
lib-python/3/test/test_concurrent_futures .
lib-python/3/test/test_cppext .
lib-python/3/test/test_ctypes .
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 .
lib-python/3/test/test_gdb .
lib-python/3/test/test_import .
lib-python/3/test/test_importlib .
lib-python/3/test/test_inspect .
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 .
lib-python/3/test/test_multiprocessing_forkserver .
lib-python/3/test/test_multiprocessing_spawn .
lib-python/3/test/test_peg_generator .
lib-python/3/test/test_pydoc .
lib-python/3/test/test_pyrepl .
lib-python/3/test/test_sqlite3 .
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 .
lib-python/3/test/test_warnings F
lib-python/3/test/test_zipfile .
lib-python/3/test/test_zoneinfo .
=================================== FAILURES ===================================
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2550424æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 3778119436
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_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) ... skipped 'implementation detail specific to cpython'
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) ... skipped 'resizing semantics of CPython rely on refcounting'
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) ... skipped 'implementation detail specific to cpython'
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
======================================================================
FAIL: test_mod (test.test_bytes.ByteArrayTest.test_mod)
----------------------------------------------------------------------
TypeError: %c requires int or single byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/buildbot/slave/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: "%c requires an integer in range\(256\) or a single byte" does not match "%c requires int or single byte"
======================================================================
FAIL: test_mod (test.test_bytes.BytesTest.test_mod)
----------------------------------------------------------------------
TypeError: %c requires int or single byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/buildbot/slave/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: "%c requires an integer in range\(256\) or a single byte" does not match "%c requires int or single byte"
----------------------------------------------------------------------
Ran 292 tests in 1.335s
FAILED (failures=2, skipped=9)
0:00:01 load avg: 0.98 [1/1/1] test_bytes failed (2 failures)
== Tests result: FAILURE ==
1 test failed:
test_bytes
Total duration: 1.5 sec
Total tests: run=292 failures=2 skipped=9
Total test files: run=1/1 failed=1
Result: FAILURE
/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_bytes.py:1925: SyntaxWarning: invalid octal escape sequence '\200'
(b"\xaa\x00\000\200", "\xaa\x00\000\200"),
test test_bytes failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2550575æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 689562259
0:00:00 load avg: 0.99 Run 1 test sequentially in a single process
0:00:00 load avg: 0.99 [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) ...
test_pythonmalloc (test.test_cmd_line.CmdLineTest.test_pythonmalloc) (env_var=None, name='malloc') ... FAIL
test_pythonmalloc (test.test_cmd_line.CmdLineTest.test_pythonmalloc) (env_var='debug', name='malloc_debug') ... FAIL
test_pythonmalloc (test.test_cmd_line.CmdLineTest.test_pythonmalloc) (env_var='malloc', name='malloc') ... FAIL
test_pythonmalloc (test.test_cmd_line.CmdLineTest.test_pythonmalloc) (env_var='malloc_debug', name='malloc_debug') ... FAIL
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
======================================================================
FAIL: test_hash_randomization (test.test_cmd_line.CmdLineTest.test_hash_randomization)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/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 "/buildbot/slave/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_pythonmalloc (test.test_cmd_line.CmdLineTest.test_pythonmalloc) (env_var=None, name='malloc')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cmd_line.py", line 834, in test_pythonmalloc
self.check_pythonmalloc(env_var, name)
^^^^^^^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cmd_line.py", line 807, in check_pythonmalloc
self.assertEqual(proc.stdout.rstrip(), name)
^^^^^^^^^^^
AssertionError: 'Traceback (most recent call last):\n Fil[112 chars]me\'' != 'malloc'
+ malloc
- Traceback (most recent call last):
- File "<string>", line 1, in <module>
- AttributeError: module '_testcapi' has no attribute 'pymem_getallocatorsname'
======================================================================
FAIL: test_pythonmalloc (test.test_cmd_line.CmdLineTest.test_pythonmalloc) (env_var='debug', name='malloc_debug')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cmd_line.py", line 834, in test_pythonmalloc
self.check_pythonmalloc(env_var, name)
^^^^^^^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cmd_line.py", line 807, in check_pythonmalloc
self.assertEqual(proc.stdout.rstrip(), name)
^^^^^^^^^^^
AssertionError: 'Traceback (most recent call last):\n Fil[112 chars]me\'' != 'malloc_debug'
+ malloc_debug
- Traceback (most recent call last):
- File "<string>", line 1, in <module>
- AttributeError: module '_testcapi' has no attribute 'pymem_getallocatorsname'
======================================================================
FAIL: test_pythonmalloc (test.test_cmd_line.CmdLineTest.test_pythonmalloc) (env_var='malloc', name='malloc')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cmd_line.py", line 834, in test_pythonmalloc
self.check_pythonmalloc(env_var, name)
^^^^^^^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cmd_line.py", line 807, in check_pythonmalloc
self.assertEqual(proc.stdout.rstrip(), name)
^^^^^^^^^^^
AssertionError: 'Traceback (most recent call last):\n Fil[112 chars]me\'' != 'malloc'
+ malloc
- Traceback (most recent call last):
- File "<string>", line 1, in <module>
- AttributeError: module '_testcapi' has no attribute 'pymem_getallocatorsname'
======================================================================
FAIL: test_pythonmalloc (test.test_cmd_line.CmdLineTest.test_pythonmalloc) (env_var='malloc_debug', name='malloc_debug')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cmd_line.py", line 834, in test_pythonmalloc
self.check_pythonmalloc(env_var, name)
^^^^^^^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cmd_line.py", line 807, in check_pythonmalloc
self.assertEqual(proc.stdout.rstrip(), name)
^^^^^^^^^^^
AssertionError: 'Traceback (most recent call last):\n Fil[112 chars]me\'' != 'malloc_debug'
+ malloc_debug
- Traceback (most recent call last):
- File "<string>", line 1, in <module>
- AttributeError: module '_testcapi' has no attribute 'pymem_getallocatorsname'
======================================================================
FAIL: test_ignore_PYTHONHASHSEED (test.test_cmd_line.IgnoreEnvironmentTest.test_ignore_PYTHONHASHSEED)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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: ['/buildbot/slave/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.607s
FAILED (failures=7, skipped=11)
0:00:03 load avg: 0.99 [1/1/1] test_cmd_line failed (7 failures)
== Tests result: FAILURE ==
1 test failed:
test_cmd_line
Total duration: 3.7 sec
Total tests: run=55 failures=7 skipped=11
Total test files: run=1/1 failed=1
Result: FAILURE
test test_cmd_line failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2550751æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 637100439
0:00:00 load avg: 0.99 Run 1 test sequentially in a single process
0:00:00 load avg: 0.99 [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) ... ok
test_console_stderr (test.test_code_module.TestInteractiveConsole.test_console_stderr) ... ok
test_context_tb (test.test_code_module.TestInteractiveConsole.test_context_tb) ... ok
test_exit_msg (test.test_code_module.TestInteractiveConsole.test_exit_msg) ... ok
test_indentation_error (test.test_code_module.TestInteractiveConsole.test_indentation_error) ... ok
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) ... ok
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) ... ok
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) ... ok
test_unicode_error (test.test_code_module.TestInteractiveConsole.test_unicode_error) ... ok
======================================================================
FAIL: test_sysexcepthook_crashing_doesnt_close_repl (test.test_code_module.TestInteractiveConsole.test_sysexcepthook_crashing_doesnt_close_repl)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/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 "/buildbot/slave/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.082s
FAILED (failures=2)
0:00:00 load avg: 0.99 [1/1/1] test_code_module failed (2 failures)
== Tests result: FAILURE ==
1 test failed:
test_code_module
Total duration: 243 ms
Total tests: run=16 failures=2
Total test files: run=1/1 failed=1
Result: FAILURE
test test_code_module failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2550841æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 3395426655
0:00:00 load avg: 0.99 Run 1 test sequentially in a single process
0:00:00 load avg: 0.99 [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) ... ok
test_func_kwargs (test.test_compile.TestExpressionStackSize.test_func_kwargs) ... ok
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) ... ok
test_meth_kwargs (test.test_compile.TestExpressionStackSize.test_meth_kwargs) ... ok
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) ... ok
test_complex_single_line_expression (test.test_compile.TestSourcePositions.test_complex_single_line_expression) ... ok
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) ... ok
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) ... ok
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) ... ok
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) ... ok
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) ... ok
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) ... ok
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) ... ok
test_false_while_loop (test.test_compile.TestSpecifics.test_false_while_loop) ... ok
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) ... ok
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) ... ok
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) ... ok
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) ... ok
test_lineno_of_backward_jump (test.test_compile.TestSpecifics.test_lineno_of_backward_jump) ... ok
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
======================================================================
FAIL: test_matchcase_or (test.test_compile.TestSourcePositions.test_matchcase_or)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1714, in test_matchcase_or
self.assertOpcodeSourcePositionIs(compiled_code, 'MATCH_CLASS',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1386, 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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1650, in test_matchcase_sequence_wildcard
self.assertOpcodeSourcePositionIs(compiled_code, 'UNPACK_EX',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1383, in assertOpcodeSourcePositionIs
self.assertEqual(position[0], line)
^^^^^^^^^^^
AssertionError: None != 2
======================================================================
FAIL: test_multiline_assert (test.test_compile.TestSourcePositions.test_multiline_assert)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1470, in test_multiline_assert
self.assertOpcodeSourcePositionIs(compiled_code, 'CALL',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1389, 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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1618, in test_multiline_async_dict_comprehension
self.assertOpcodeSourcePositionIs(compiled_code, 'MAP_ADD',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1389, 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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1506, in test_multiline_async_generator_expression
self.assertOpcodeSourcePositionIs(compiled_code, 'YIELD_VALUE',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1389, 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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1542, in test_multiline_async_list_comprehension
self.assertOpcodeSourcePositionIs(compiled_code, 'LIST_APPEND',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1389, 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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1580, in test_multiline_async_set_comprehension
self.assertOpcodeSourcePositionIs(compiled_code, 'SET_ADD',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1389, 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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1442, in test_multiline_boolean_expression
self.assertOpcodeSourcePositionIs(compiled_code, 'POP_JUMP_IF_TRUE',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1384, 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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1598, in test_multiline_dict_comprehension
self.assertOpcodeSourcePositionIs(compiled_code, 'MAP_ADD',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1389, in assertOpcodeSourcePositionIs
self.fail(f"Opcode {opcode} not found in code")
^^^^
AssertionError: Opcode MAP_ADD not found in code
======================================================================
FAIL: test_multiline_generator_expression (test.test_compile.TestSourcePositions.test_multiline_generator_expression)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1487, in test_multiline_generator_expression
self.assertOpcodeSourcePositionIs(compiled_code, 'YIELD_VALUE',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1384, 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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1522, in test_multiline_list_comprehension
self.assertOpcodeSourcePositionIs(compiled_code, 'LIST_APPEND',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1389, 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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1560, in test_multiline_set_comprehension
self.assertOpcodeSourcePositionIs(compiled_code, 'SET_ADD',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1389, 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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1960, in test_return_in_with_positions
self.assertEqual(start_line, end_line)
^^^^^^^^^^^
AssertionError: 1950 != 1955
======================================================================
FAIL: test_line_number_genexp (test.test_compile.TestSpecifics.test_line_number_genexp)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py", line 1114, 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]
----------------------------------------------------------------------
Ran 151 tests in 1.008s
FAILED (failures=14, skipped=13)
0:00:01 load avg: 0.99 [1/1/1] test_compile failed (14 failures)
== Tests result: FAILURE ==
1 test failed:
test_compile
Total duration: 1.1 sec
Total tests: run=151 failures=14 skipped=13
Total test files: run=1/1 failed=1
Result: FAILURE
test test_compile failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2551019æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 1800238897
0:00:00 load avg: 1.07 Run 1 test sequentially in a single process
0:00:00 load avg: 1.07 [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) ... ok
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)
----------------------------------------------------------------------
TypeError: complex number expected, got 'str'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_complex.py", line 419, in test_constructor
self.assertRaisesRegex(TypeError,
^^^^^^^^^^^^^^^^^
AssertionError: "second arg can't be a string" does not match "complex number expected, got 'str'"
----------------------------------------------------------------------
Ran 35 tests in 0.215s
FAILED (failures=1)
0:00:00 load avg: 1.07 [1/1/1] test_complex failed (1 failure)
== Tests result: FAILURE ==
1 test failed:
test_complex
Total duration: 321 ms
Total tests: run=35 failures=1
Total test files: run=1/1 failed=1
Result: FAILURE
test test_complex failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2551034æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 887999622
0:00:00 load avg: 1.07 Run 1 test sequentially in a single process
0:00:00 load avg: 1.07 [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)
----------------------------------------------------------------------
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 "/buildbot/slave/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 "/buildbot/slave/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)
----------------------------------------------------------------------
TypeError: ContextVar.__init__() missing 1 required positional argument: 'name'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/buildbot/slave/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.309s
FAILED (failures=3, skipped=23)
0:00:00 load avg: 1.07 [1/1/1] test_context failed (3 failures)
== Tests result: FAILURE ==
1 test failed:
test_context
Total duration: 397 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.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2551075æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 3443554601
0:00:00 load avg: 1.07 Run 1 test sequentially in a single process
0:00:00 load avg: 1.07 [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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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.549s
FAILED (failures=2, errors=1, skipped=3)
0:00:00 load avg: 1.07 [1/1/1] test_coroutines failed (1 error, 2 failures)
== Tests result: FAILURE ==
1 test failed:
test_coroutines
Total duration: 683 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.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2551084æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 392007107
0:00:00 load avg: 1.07 Run 1 test sequentially in a single process
0:00:00 load avg: 1.07 [1/1] test_cprofile
test_bad_counter_during_dealloc (test.test_cprofile.CProfileTest.test_bad_counter_during_dealloc) ... skipped 'implementation detail specific to cpython'
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 0x00007f0dc7194578>, 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 0x00007f0dc7194578>, 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 0x00007f0dc7194578>, 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 0x00007f0dc7194578>, 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 0x00007f0dc79ecf98>, 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 0x00007f0dc79ecf98>, 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 0x00007f0dc79ecf98>, 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 0x00007f0dc79ecf98>, method='_creturn_callback') ... ERROR
test_evil_external_timer (test.test_cprofile.CProfileTest.test_evil_external_timer) ... skipped 'implementation detail specific to cpython'
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) ... FAIL
test_profile_enable_disable (test.test_cprofile.CProfileTest.test_profile_enable_disable) ... FAIL
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_crash_with_not_enough_args (test.test_cprofile.CProfileTest.test_crash_with_not_enough_args) (profile=<_lsprof.Profiler object at 0x00007f0dc7194578>, method='_pystart_callback')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 47, 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 0x00007f0dc7194578>, method='_pyreturn_callback')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 47, 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 0x00007f0dc7194578>, method='_ccall_callback')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 47, 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 0x00007f0dc7194578>, method='_creturn_callback')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 47, 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 0x00007f0dc79ecf98>, method='_pystart_callback')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 47, 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 0x00007f0dc79ecf98>, method='_pyreturn_callback')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 47, 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 0x00007f0dc79ecf98>, method='_ccall_callback')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 47, 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 0x00007f0dc79ecf98>, method='_creturn_callback')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 47, in test_crash_with_not_enough_args
method_obj = getattr(profile, method)
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Profile' object has no attribute '_creturn_callback'
======================================================================
FAIL: test_profile_as_context_manager (test.test_cprofile.CProfileTest.test_profile_as_context_manager)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 116, in test_profile_as_context_manager
self.assertEqual(
^^^^^^^^^^^
AssertionError: None != 'cProfile'
======================================================================
FAIL: test_profile_enable_disable (test.test_cprofile.CProfileTest.test_profile_enable_disable)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 97, in test_profile_enable_disable
self.assertEqual(
^^^^^^^^^^^
AssertionError: None != 'cProfile'
======================================================================
FAIL: test_second_profiler (test.test_cprofile.CProfileTest.test_second_profiler)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 126, 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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_cprofile.py", line 146, in test_throw
self.assertEqual(cc, 2)
^^^^^^^^^^^
AssertionError: 1 != 2
----------------------------------------------------------------------
Ran 20 tests in 0.695s
FAILED (failures=4, errors=8, skipped=2)
0:00:00 load avg: 1.07 [1/1/1] test_cprofile failed (8 errors, 4 failures)
== Tests result: FAILURE ==
1 test failed:
test_cprofile
Total duration: 792 ms
Total tests: run=20 failures=4 skipped=2
Total test files: run=1/1 failed=1
Result: FAILURE
test test_cprofile failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2551300æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 631503551
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_eof
test_EOFS (test.test_eof.EOFTestCase.test_EOFS) ... ok
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) ... ok
test_line_continuation_EOF (test.test_eof.EOFTestCase.test_line_continuation_EOF)
A continuation at the end of input must be an error; bpo2180. ... ok
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_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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_eof.py", line 139, 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 end of file (EOF) in multi-line statement']
First differing element 0:
' ^'
' \\'
- [' ^', 'SyntaxError: unexpected end of file (EOF) in multi-line statement']
? ^^
+ [' \\', 'SyntaxError: unexpected end of file (EOF) in multi-line statement']
? ^^
----------------------------------------------------------------------
Ran 6 tests in 0.280s
FAILED (failures=1)
0:00:00 load avg: 0.97 [1/1/1] test_eof failed (1 failure)
== Tests result: FAILURE ==
1 test failed:
test_eof
Total duration: 373 ms
Total tests: run=6 failures=1
Total test files: run=1/1 failed=1
Result: FAILURE
test test_eof failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2551326æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 718232992
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_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 "/buildbot/slave/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)
----------------------------------------------------------------------
TypeError: BaseExceptionGroup.__new__() missing 1 required positional argument: 'exceptions'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/buildbot/slave/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.046s
FAILED (failures=1, errors=1)
0:00:00 load avg: 0.97 [1/1/1] test_exception_group failed (1 error, 1 failure)
== Tests result: FAILURE ==
1 test failed:
test_exception_group
Total duration: 126 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.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2551526æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 654676264
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_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 "/buildbot/slave/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.71 [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.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2551531æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 527433396
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_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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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: ['/buildbot/slave/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(\'/buildbot/slave/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.120s
FAILED (failures=1, errors=1, skipped=3)
0:00:00 load avg: 0.71 [1/1/1] test_frame failed (1 error, 1 failure)
== Tests result: FAILURE ==
1 test failed:
test_frame
Total duration: 210 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.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2551653æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 2060397672
0:00:00 load avg: 0.76 Run 1 test sequentially in a single process
0:00:00 load avg: 0.76 [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 "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/functools.py", line 60, 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 "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/functools.py", line 60, in update_wrapper
setattr(wrapper, attr, value)
TypeError: __annotations__ must be a dict
----------------------------------------------------------------------
Ran 268 tests in 0.426s
FAILED (errors=2, skipped=98)
0:00:00 load avg: 0.78 [1/1/1] test_functools failed (2 errors)
== Tests result: FAILURE ==
1 test failed:
test_functools
Total duration: 640 ms
Total tests: run=268 skipped=98
Total test files: run=1/1 failed=1
Result: FAILURE
test test_functools failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2551684æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 1376348267
0:00:00 load avg: 0.78 Run 1 test sequentially in a single process
0:00:00 load avg: 0.78 [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) ... ok
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) ... skipped 'no gc.threshold'
test_issue103488 (test.test_generators.GeneratorTest.test_issue103488) ... ok
test_name (test.test_generators.GeneratorTest.test_name) ... ok
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 ... ok
email (test.test_generators.__test__)
Doctest: test.test_generators.__test__.email ... ok
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 ... ok
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
======================================================================
FAIL: test_gen_3_arg_deprecation_warning (test.test_generators.ExceptionTest.test_gen_3_arg_deprecation_warning)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_generators.py", line 411, in test_gen_3_arg_deprecation_warning
with self.assertWarns(DeprecationWarning):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: DeprecationWarning not triggered
----------------------------------------------------------------------
Ran 41 tests in 0.191s
FAILED (failures=1, skipped=1)
0:00:00 load avg: 0.78 [1/1/1] test_generators failed (1 failure)
== Tests result: FAILURE ==
1 test failed:
test_generators
Total duration: 305 ms
Total tests: run=41 failures=1 skipped=1
Total test files: run=1/1 failed=1
Result: FAILURE
test test_generators failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2551689æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 3605940394
0:00:00 load avg: 0.78 Run 1 test sequentially in a single process
0:00:00 load avg: 0.78 [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) ... ok
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 "/buildbot/slave/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 "/buildbot/slave/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'>)
----------------------------------------------------------------------
Ran 31 tests in 0.068s
FAILED (errors=2)
0:00:00 load avg: 0.78 [1/1/1] test_genericalias failed (2 errors)
== Tests result: FAILURE ==
1 test failed:
test_genericalias
Total duration: 245 ms
Total tests: run=31
Total test files: run=1/1 failed=1
Result: FAILURE
test test_genericalias failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2552186æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 1053613056
0:00:00 load avg: 0.66 Run 1 test sequentially in a single process
0:00:00 load avg: 0.66 [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.008872308999999967 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) ... skipped 'implementation detail specific to cpython'
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.01224678400000001 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.008765980999999978 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) ... skipped 'implementation detail specific to cpython'
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) ... ok
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
======================================================================
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 "/buildbot/slave/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.012214485000000053 not less than or equal to 0.008714147000000005
----------------------------------------------------------------------
Ran 45 tests in 0.147s
FAILED (failures=1, skipped=9)
0:00:00 load avg: 0.66 [1/1/1] test_int failed (1 failure)
== Tests result: FAILURE ==
1 test failed:
test_int
Total duration: 328 ms
Total tests: run=45 failures=1 skipped=9
Total test files: run=1/1 failed=1
Result: FAILURE
test test_int failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2552350æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 2804753919
0:00:00 load avg: 0.59 Run 1 test sequentially in a single process
0:00:00 load avg: 0.59 [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 "/buildbot/slave/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 "/buildbot/slave/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 13.965s
FAILED (failures=2, skipped=4)
0:00:14 load avg: 0.53 [1/1/1] test_logging failed (2 failures)
== Tests result: FAILURE ==
1 test failed:
test_logging
Total duration: 14.2 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.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2552564æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 3180547251
0:00:00 load avg: 0.53 Run 1 test sequentially in a single process
0:00:00 load avg: 0.53 [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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_lzma.py", line 385, in test_uninitialized_LZMADecompressor_crash
decompress(bytes()), b'')
^^^^^^^^^^
File "/buildbot/slave/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.500s
FAILED (errors=1, skipped=1)
0:00:00 load avg: 0.53 [1/1/1] test_lzma failed (1 error)
== Tests result: FAILURE ==
1 test failed:
test_lzma
Total duration: 597 ms
Total tests: run=121 skipped=1
Total test files: run=1/1 failed=1
Result: FAILURE
test test_lzma failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2552616æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 3817083288
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_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) ... ERROR
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
======================================================================
ERROR: test_getbuffer (test.test_memoryio.CBytesIOTest.test_getbuffer)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_memoryio.py", line 464, in test_getbuffer
memio.truncate()
^^^^^^^^
BufferError: Existing exports of data: object cannot be re-sized
----------------------------------------------------------------------
Ran 170 tests in 0.089s
FAILED (errors=1, skipped=5)
0:00:00 load avg: 0.68 [1/1/1] test_memoryio failed (1 error)
== Tests result: FAILURE ==
1 test failed:
test_memoryio
Total duration: 177 ms
Total tests: run=170 skipped=5
Total test files: run=1/1 failed=1
Result: FAILURE
test test_memoryio failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2552651æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 1423735484
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_monitoring
test_async_for (test.test_monitoring.ExceptionMonitoringTest.test_async_for) ... ok
test_explicit_reraise (test.test_monitoring.ExceptionMonitoringTest.test_explicit_reraise) ... ok
test_explicit_reraise_named (test.test_monitoring.ExceptionMonitoringTest.test_explicit_reraise_named) ... ok
test_implicit_reraise (test.test_monitoring.ExceptionMonitoringTest.test_implicit_reraise) ... ok
test_implicit_reraise_named (test.test_monitoring.ExceptionMonitoringTest.test_implicit_reraise_named) ... ok
test_implicit_stop_iteration (test.test_monitoring.ExceptionMonitoringTest.test_implicit_stop_iteration) ... ok
test_simple_try_except (test.test_monitoring.ExceptionMonitoringTest.test_simple_try_except) ... ok
test_throw (test.test_monitoring.ExceptionMonitoringTest.test_throw) ... ok
test_try_finally (test.test_monitoring.ExceptionMonitoringTest.test_try_finally) ... ok
test_branch (test.test_monitoring.LineMonitoringTest.test_branch) ... ok
test_linear (test.test_monitoring.LineMonitoringTest.test_linear) ... ok
test_lines_loop (test.test_monitoring.LineMonitoringTest.test_lines_loop) ... ok
test_lines_single (test.test_monitoring.LineMonitoringTest.test_lines_single) ... ok
test_lines_two (test.test_monitoring.LineMonitoringTest.test_lines_two) ... ok
test_try_except (test.test_monitoring.LineMonitoringTest.test_try_except) ... ok
test_has_objects (test.test_monitoring.MonitoringBasicTest.test_has_objects) ... ok
test_tool (test.test_monitoring.MonitoringBasicTest.test_tool) ... ok
test_c_return_count (test.test_monitoring.MonitoringCountTest.test_c_return_count) ... ok
test_call_count (test.test_monitoring.MonitoringCountTest.test_call_count) ... ok
test_resume_count (test.test_monitoring.MonitoringCountTest.test_resume_count) ... ok
test_return_count (test.test_monitoring.MonitoringCountTest.test_return_count) ... ok
test_start_count (test.test_monitoring.MonitoringCountTest.test_start_count) ... ok
test_caught (test.test_monitoring.MonitoringEventsTest.test_caught) ... ok
test_just_call (test.test_monitoring.MonitoringEventsTest.test_just_call) ... ok
test_just_pass (test.test_monitoring.MonitoringEventsTest.test_just_pass) ... ok
test_just_raise (test.test_monitoring.MonitoringEventsTest.test_just_raise) ... ok
test_nested_call (test.test_monitoring.MonitoringEventsTest.test_nested_call) ... ok
test_disable (test.test_monitoring.MontoringDisableAndRestartTest.test_disable) ... ok
test_restart (test.test_monitoring.MontoringDisableAndRestartTest.test_restart) ... ok
test_three_same (test.test_monitoring.MultipleMonitorsTest.test_three_same) ... ok
test_two_different (test.test_monitoring.MultipleMonitorsTest.test_two_different) ... ok
test_two_same (test.test_monitoring.MultipleMonitorsTest.test_two_same) ... ok
test_two_with_disable (test.test_monitoring.MultipleMonitorsTest.test_two_with_disable) ... ok
test_with_instruction_event (test.test_monitoring.MultipleMonitorsTest.test_with_instruction_event)
Test that the second tool can set events with instruction events set by the first tool. ... ok
test_balanced (test.test_monitoring.SimulateProfileTest.test_balanced) ... skipped "PyPy: list.append etc. expose as method/function, not builtin_function_or_method (cpython_differences.rst 'method-types'), so PY_CALLABLES misclassifies them as Python calls"
test_frame_stack (test.test_monitoring.SimulateProfileTest.test_frame_stack) ... skipped "PyPy: list.append etc. expose as method/function, not builtin_function_or_method (cpython_differences.rst 'method-types'), so PY_CALLABLES misclassifies them as Python calls"
test_except_star (test.test_monitoring.TestBranchAndJumpEvents.test_except_star) ... ok
test_loop (test.test_monitoring.TestBranchAndJumpEvents.test_loop) ... ok
test_disable_illegal_events (test.test_monitoring.TestDisable.test_disable_illegal_events) ... ok
test_disable_legal_events (test.test_monitoring.TestDisable.test_disable_legal_events) ... ok
test_call_then_instruction (test.test_monitoring.TestInstallIncrementally.test_call_then_instruction) ... ok
test_instruction_then_call (test.test_monitoring.TestInstallIncrementally.test_instruction_then_call) ... ok
test_instruction_then_line (test.test_monitoring.TestInstallIncrementally.test_instruction_then_line) ... FAIL
test_line_then_instruction (test.test_monitoring.TestInstallIncrementally.test_line_then_instruction) ... FAIL
test_c_call (test.test_monitoring.TestLineAndInstructionEvents.test_c_call) ... FAIL
test_simple (test.test_monitoring.TestLineAndInstructionEvents.test_simple) ... FAIL
test_try_except (test.test_monitoring.TestLineAndInstructionEvents.test_try_except) ... FAIL
test_with_restart (test.test_monitoring.TestLineAndInstructionEvents.test_with_restart) ... FAIL
test_attr (test.test_monitoring.TestLoadSuperAttr.test_attr) ... skipped 'PyPy: no LOAD_SUPER_ATTR opcode, super() compiles via plain CALL'
test_method_call (test.test_monitoring.TestLoadSuperAttr.test_method_call) ... skipped 'PyPy: no LOAD_SUPER_ATTR opcode, super() compiles via plain CALL'
test_method_call_error (test.test_monitoring.TestLoadSuperAttr.test_method_call_error) ... skipped 'PyPy: no LOAD_SUPER_ATTR opcode, super() compiles via plain CALL'
test_vs_other_type_call (test.test_monitoring.TestLoadSuperAttr.test_vs_other_type_call) ... skipped 'PyPy: no LOAD_SUPER_ATTR opcode, super() compiles via plain CALL'
test_c_call (test.test_monitoring.TestLocalEvents.test_c_call) ... ok
test_set_non_local_event (test.test_monitoring.TestLocalEvents.test_set_non_local_event) ... ok
test_simple (test.test_monitoring.TestLocalEvents.test_simple) ... ok
test_try_except (test.test_monitoring.TestLocalEvents.test_try_except) ... ok
test_c_call (test.test_monitoring.TestManyEvents.test_c_call) ... ok
test_simple (test.test_monitoring.TestManyEvents.test_simple) ... ok
test_try_except (test.test_monitoring.TestManyEvents.test_try_except) ... ok
test_105162 (test.test_monitoring.TestRegressions.test_105162) ... ok
test_108390 (test.test_monitoring.TestRegressions.test_108390) ... ok
test_call_function_ex (test.test_monitoring.TestRegressions.test_call_function_ex) ... ok
test_gh108976 (test.test_monitoring.TestRegressions.test_gh108976) ... ok
test_global (test.test_monitoring.TestSetGetEvents.test_global) ... ok
test_local (test.test_monitoring.TestSetGetEvents.test_local) ... ok
test_get_local_events_uninitialized (test.test_monitoring.TestUninitialized.test_get_local_events_uninitialized) ... ok
======================================================================
FAIL: test_instruction_then_line (test.test_monitoring.TestInstallIncrementally.test_instruction_then_line)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 1305, in test_instruction_then_line
self.check_events(self.func1,
^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 1282, in check_events
self.assertIn(line, event_list)
^^^^^^^^
AssertionError: ('instruction', 'func1', 6) not found in [('instruction', 'check_events', 90), ('instruction', 'check_events', 92), ('instruction', 'check_events', 66), ('instruction', 'check_events', 68), ('instruction', 'check_events', 70), ('instruction', 'check_events', 72), ('instruction', 'check_events', 74), ('instruction', 'check_events', 76), ('instruction', 'check_events', 78), ('instruction', 'check_events', 80), ('instruction', 'check_events', 82), ('instruction', 'check_events', 84), ('instruction', 'check_events', 86), ('instruction', '__init__', 0), ('instruction', '__init__', 2), ('instruction', '__init__', 4), ('instruction', '__init__', 6), ('instruction', 'check_events', 88), ('instruction', '_test_audit_hook', 0), ('instruction', 'check_events', 90), ('instruction', 'check_events', 92), ('line', 'check_events', 8), ('instruction', 'check_events', 66), ('line', 'check_events', 10), ('instruction', 'check_events', 94), ('instruction', 'check_events', 96), ('line', 'func1', 2), ('instruction', 'func1', 0), ('instruction', 'func1', 2), ('instruction', 'func1', 4), ('instruction', 'check_events', 98), ('line', 'check_events', 11), ('instruction', 'check_events', 100), ('instruction', 'check_events', 102), ('instruction', 'check_events', 104), ('instruction', 'check_events', 106), ('instruction', 'check_events', 108), ('instruction', 'check_events', 110)]
======================================================================
FAIL: test_line_then_instruction (test.test_monitoring.TestInstallIncrementally.test_line_then_instruction)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 1300, in test_line_then_instruction
self.check_events(self.func1,
^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 1282, in check_events
self.assertIn(line, event_list)
^^^^^^^^
AssertionError: ('instruction', 'func1', 6) not found in [('line', 'check_events', 8), ('line', 'check_events', 9), ('line', '__init__', 1), ('line', '_test_audit_hook', 1), ('instruction', 'check_events', 90), ('instruction', 'check_events', 92), ('line', 'check_events', 8), ('instruction', 'check_events', 66), ('line', 'check_events', 10), ('instruction', 'check_events', 94), ('instruction', 'check_events', 96), ('line', 'func1', 2), ('instruction', 'func1', 0), ('instruction', 'func1', 2), ('instruction', 'func1', 4), ('instruction', 'check_events', 98), ('line', 'check_events', 11), ('instruction', 'check_events', 100), ('instruction', 'check_events', 102), ('instruction', 'check_events', 104), ('instruction', 'check_events', 106), ('instruction', 'check_events', 108), ('instruction', 'check_events', 110)]
======================================================================
FAIL: test_c_call (test.test_monitoring.TestLineAndInstructionEvents.test_c_call)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 1159, in test_c_call
self.check_events(func2, recorders = LINE_AND_INSTRUCTION_RECORDERS, expected = expected)
^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 744, in check_events
self.assertEqual(events, expected)
^^^^^^^^^^^
AssertionError: Lists differ: [('li[379 chars] 18), ('line', 'get_events', 11)] != [('li[379 chars] 18), ('instruction', 'func2', 20), ('line', 'get_events', 11)]
First differing element 14:
('line', 'get_events', 11)
('instruction', 'func2', 20)
Second list contains 1 additional elements.
First extra element 15:
('line', 'get_events', 11)
[('line', 'get_events', 10),
('line', 'func2', 1),
('instruction', 'func2', 0),
('instruction', 'func2', 2),
('line', 'func2', 2),
('instruction', 'func2', 4),
('instruction', 'func2', 6),
('instruction', 'func2', 8),
('instruction', 'func2', 10),
('instruction', 'func2', 12),
('line', 'func2', 3),
('instruction', 'func2', 14),
('instruction', 'func2', 16),
('instruction', 'func2', 18),
+ ('instruction', 'func2', 20),
('line', 'get_events', 11)]
======================================================================
FAIL: test_simple (test.test_monitoring.TestLineAndInstructionEvents.test_simple)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 1114, in test_simple
self.check_events(func1, recorders = LINE_AND_INSTRUCTION_RECORDERS, expected = expected)
^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 744, in check_events
self.assertEqual(events, expected)
^^^^^^^^^^^
AssertionError: Lists differ: [('li[289 chars] 12), ('line', 'get_events', 11)] != [('li[289 chars] 12), ('instruction', 'func1', 14), ('line', 'get_events', 11)]
First differing element 11:
('line', 'get_events', 11)
('instruction', 'func1', 14)
Second list contains 1 additional elements.
First extra element 12:
('line', 'get_events', 11)
[('line', 'get_events', 10),
('line', 'func1', 1),
('instruction', 'func1', 0),
('instruction', 'func1', 2),
('line', 'func1', 2),
('instruction', 'func1', 4),
('instruction', 'func1', 6),
('line', 'func1', 3),
('instruction', 'func1', 8),
('instruction', 'func1', 10),
('instruction', 'func1', 12),
+ ('instruction', 'func1', 14),
('line', 'get_events', 11)]
======================================================================
FAIL: test_try_except (test.test_monitoring.TestLineAndInstructionEvents.test_try_except)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 1220, in test_try_except
self.check_events(func3, recorders = LINE_AND_INSTRUCTION_RECORDERS, expected = expected)
^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 744, in check_events
self.assertEqual(events, expected)
^^^^^^^^^^^
AssertionError: Lists differ: [('li[565 chars] 34), ('line', 'get_events', 11)] != [('li[565 chars] 34), ('instruction', 'func3', 36), ('line', 'get_events', 11)]
First differing element 21:
('line', 'get_events', 11)
('instruction', 'func3', 36)
Second list contains 1 additional elements.
First extra element 22:
('line', 'get_events', 11)
[('line', 'get_events', 10),
('line', 'func3', 1),
('instruction', 'func3', 0),
('line', 'func3', 2),
('instruction', 'func3', 2),
('instruction', 'func3', 4),
('line', 'func3', 3),
('instruction', 'func3', 6),
('instruction', 'func3', 8),
('instruction', 'func3', 10),
('line', 'func3', 4),
('instruction', 'func3', 12),
('line', 'func3', 5),
('instruction', 'func3', 14),
('instruction', 'func3', 16),
('instruction', 'func3', 18),
('instruction', 'func3', 20),
('line', 'func3', 6),
('instruction', 'func3', 30),
('instruction', 'func3', 32),
('instruction', 'func3', 34),
+ ('instruction', 'func3', 36),
('line', 'get_events', 11)]
======================================================================
FAIL: test_with_restart (test.test_monitoring.TestLineAndInstructionEvents.test_with_restart)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 1259, in test_with_restart
self.check_events(func1, recorders = LINE_AND_INSTRUCTION_RECORDERS, expected = expected)
^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_monitoring.py", line 744, in check_events
self.assertEqual(events, expected)
^^^^^^^^^^^
AssertionError: Lists differ: [('li[289 chars] 12), ('line', 'get_events', 11)] != [('li[289 chars] 12), ('instruction', 'func1', 14), ('line', 'get_events', 11)]
First differing element 11:
('line', 'get_events', 11)
('instruction', 'func1', 14)
Second list contains 1 additional elements.
First extra element 12:
('line', 'get_events', 11)
[('line', 'get_events', 10),
('line', 'func1', 1),
('instruction', 'func1', 0),
('instruction', 'func1', 2),
('line', 'func1', 2),
('instruction', 'func1', 4),
('instruction', 'func1', 6),
('line', 'func1', 3),
('instruction', 'func1', 8),
('instruction', 'func1', 10),
('instruction', 'func1', 12),
+ ('instruction', 'func1', 14),
('line', 'get_events', 11)]
----------------------------------------------------------------------
Ran 66 tests in 0.022s
FAILED (failures=6, skipped=6)
0:00:00 load avg: 0.71 [1/1/1] test_monitoring failed (6 failures)
== Tests result: FAILURE ==
1 test failed:
test_monitoring
Total duration: 182 ms
Total tests: run=66 failures=6 skipped=6
Total test files: run=1/1 failed=1
Result: FAILURE
[('line', 'get_events', 10), ('line', 'func2', 1), ('instruction', 'func2', 0), ('instruction', 'func2', 2), ('line', 'func2', 2), ('instruction', 'func2', 4), ('instruction', 'func2', 6), ('instruction', 'func2', 8), ('instruction', 'func2', 10), ('instruction', 'func2', 12), ('line', 'func2', 3), ('instruction', 'func2', 14), ('instruction', 'func2', 16), ('instruction', 'func2', 18), ('line', 'get_events', 11)]
[('line', 'get_events', 10), ('line', 'func1', 1), ('instruction', 'func1', 0), ('instruction', 'func1', 2), ('line', 'func1', 2), ('instruction', 'func1', 4), ('instruction', 'func1', 6), ('line', 'func1', 3), ('instruction', 'func1', 8), ('instruction', 'func1', 10), ('instruction', 'func1', 12), ('line', 'get_events', 11)]
[('line', 'get_events', 10), ('line', 'func3', 1), ('instruction', 'func3', 0), ('line', 'func3', 2), ('instruction', 'func3', 2), ('instruction', 'func3', 4), ('line', 'func3', 3), ('instruction', 'func3', 6), ('instruction', 'func3', 8), ('instruction', 'func3', 10), ('line', 'func3', 4), ('instruction', 'func3', 12), ('line', 'func3', 5), ('instruction', 'func3', 14), ('instruction', 'func3', 16), ('instruction', 'func3', 18), ('instruction', 'func3', 20), ('line', 'func3', 6), ('instruction', 'func3', 30), ('instruction', 'func3', 32), ('instruction', 'func3', 34), ('line', 'get_events', 11)]
[('line', 'get_events', 10), ('line', 'func1', 1), ('instruction', 'func1', 0), ('instruction', 'func1', 2), ('line', 'func1', 2), ('instruction', 'func1', 4), ('instruction', 'func1', 6), ('line', 'func1', 3), ('instruction', 'func1', 8), ('instruction', 'func1', 10), ('instruction', 'func1', 12), ('line', 'get_events', 11)]
test test_monitoring failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2553239æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 324130575
0:00:00 load avg: 1.05 Run 1 test sequentially in a single process
0:00:00 load avg: 1.05 [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 ... ok
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 "/buildbot/slave/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_2553239æ/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 "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pdb.py", line 1984, in test_pdb_frame_refleak
----------------------------------------------------------------------
File "/buildbot/slave/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_gh_101517 (test.test_pdb)
Doctest: test.test_pdb.test_pdb_issue_gh_101517
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pdb.py", line 1922, in test_pdb_issue_gh_101517
----------------------------------------------------------------------
File "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_pdb.py", line 1943, in test_pdb_issue_gh_108976
----------------------------------------------------------------------
File "/buildbot/slave/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 4.993s
FAILED (failures=4)
0:00:05 load avg: 1.04 [1/1/1] test_pdb failed (4 failures)
== Tests result: FAILURE ==
1 test failed:
test_pdb
Total duration: 5.2 sec
Total tests: run=88 failures=4
Total test files: run=1/1 failed=1
Result: FAILURE
test test_pdb failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2553289æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 3770288552
0:00:00 load avg: 1.04 Run 1 test sequentially in a single process
0:00:00 load avg: 1.04 [1/1] test_peepholer
test_conditional_jump_backward_const_condition (test.test_peepholer.DirectCfgOptimizerTests.test_conditional_jump_backward_const_condition) ... skipped '_testinternalcapi required'
test_conditional_jump_backward_non_const_condition (test.test_peepholer.DirectCfgOptimizerTests.test_conditional_jump_backward_non_const_condition) ... skipped '_testinternalcapi required'
test_conditional_jump_forward_const_condition (test.test_peepholer.DirectCfgOptimizerTests.test_conditional_jump_forward_const_condition) ... skipped '_testinternalcapi required'
test_conditional_jump_forward_non_const_condition (test.test_peepholer.DirectCfgOptimizerTests.test_conditional_jump_forward_non_const_condition) ... skipped '_testinternalcapi required'
test_no_unsafe_static_swap (test.test_peepholer.DirectCfgOptimizerTests.test_no_unsafe_static_swap) ... skipped '_testinternalcapi required'
test_only_one_push_null_per_load_global (test.test_peepholer.DirectCfgOptimizerTests.test_only_one_push_null_per_load_global) ... skipped '_testinternalcapi required'
test_bpo_42057 (test.test_peepholer.TestBuglets.test_bpo_42057) ... ok
test_bpo_45773_pop_jump_if_false (test.test_peepholer.TestBuglets.test_bpo_45773_pop_jump_if_false) ... ok
test_bpo_45773_pop_jump_if_true (test.test_peepholer.TestBuglets.test_bpo_45773_pop_jump_if_true) ... ok
test_bug_11510 (test.test_peepholer.TestBuglets.test_bug_11510) ... ok
test_deleting_local_warns_and_assigns_none (test.test_peepholer.TestMarkingVariablesAsUnKnown.test_deleting_local_warns_and_assigns_none) ... skipped 'implementation detail specific to cpython'
test_initializing_local_does_not_add_check (test.test_peepholer.TestMarkingVariablesAsUnKnown.test_initializing_local_does_not_add_check) ... skipped 'implementation detail specific to cpython'
test_load_fast_known_because_already_loaded (test.test_peepholer.TestMarkingVariablesAsUnKnown.test_load_fast_known_because_already_loaded) ... skipped 'implementation detail specific to cpython'
test_load_fast_known_because_parameter (test.test_peepholer.TestMarkingVariablesAsUnKnown.test_load_fast_known_because_parameter) ... skipped 'implementation detail specific to cpython'
test_load_fast_known_multiple_branches (test.test_peepholer.TestMarkingVariablesAsUnKnown.test_load_fast_known_multiple_branches) ... skipped 'implementation detail specific to cpython'
test_load_fast_known_simple (test.test_peepholer.TestMarkingVariablesAsUnKnown.test_load_fast_known_simple) ... ok
test_load_fast_too_many_locals (test.test_peepholer.TestMarkingVariablesAsUnKnown.test_load_fast_too_many_locals) ... skipped 'implementation detail specific to cpython'
test_load_fast_unknown_after_error (test.test_peepholer.TestMarkingVariablesAsUnKnown.test_load_fast_unknown_after_error) ... skipped 'implementation detail specific to cpython'
test_load_fast_unknown_after_error_2 (test.test_peepholer.TestMarkingVariablesAsUnKnown.test_load_fast_unknown_after_error_2) ... skipped 'implementation detail specific to cpython'
test_load_fast_unknown_because_del (test.test_peepholer.TestMarkingVariablesAsUnKnown.test_load_fast_unknown_because_del) ... skipped 'implementation detail specific to cpython'
test_load_fast_unknown_simple (test.test_peepholer.TestMarkingVariablesAsUnKnown.test_load_fast_unknown_simple) ... skipped 'implementation detail specific to cpython'
test_modifying_local_does_not_add_check (test.test_peepholer.TestMarkingVariablesAsUnKnown.test_modifying_local_does_not_add_check) ... skipped 'implementation detail specific to cpython'
test_setting_lineno_no_undefined (test.test_peepholer.TestMarkingVariablesAsUnKnown.test_setting_lineno_no_undefined) ... skipped 'implementation detail specific to cpython'
test_setting_lineno_one_undefined (test.test_peepholer.TestMarkingVariablesAsUnKnown.test_setting_lineno_one_undefined) ... skipped 'implementation detail specific to cpython'
test_setting_lineno_two_undefined (test.test_peepholer.TestMarkingVariablesAsUnKnown.test_setting_lineno_two_undefined) ... skipped 'implementation detail specific to cpython'
test_assignment_idiom_in_comprehensions (test.test_peepholer.TestTranforms.test_assignment_idiom_in_comprehensions) ... ok
test_binary_subscr_on_unicode (test.test_peepholer.TestTranforms.test_binary_subscr_on_unicode) ... ok
test_condition_with_binop_with_bools (test.test_peepholer.TestTranforms.test_condition_with_binop_with_bools) ... ok
test_constant_folding (test.test_peepholer.TestTranforms.test_constant_folding) ... ok
test_elim_extra_return (test.test_peepholer.TestTranforms.test_elim_extra_return) ... ok
test_elim_inversion_of_is_or_in (test.test_peepholer.TestTranforms.test_elim_inversion_of_is_or_in) ... ok
test_elim_jump_after_return1 (test.test_peepholer.TestTranforms.test_elim_jump_after_return1) ... ok
test_elim_jump_to_return (test.test_peepholer.TestTranforms.test_elim_jump_to_return) ... FAIL
test_elim_jump_to_uncond_jump (test.test_peepholer.TestTranforms.test_elim_jump_to_uncond_jump) ... ok
test_elim_jump_to_uncond_jump2 (test.test_peepholer.TestTranforms.test_elim_jump_to_uncond_jump2) ... ok
test_elim_jump_to_uncond_jump3 (test.test_peepholer.TestTranforms.test_elim_jump_to_uncond_jump3) ... FAIL
test_elim_jump_to_uncond_jump4 (test.test_peepholer.TestTranforms.test_elim_jump_to_uncond_jump4) ... ok
test_folding_of_binops_on_constants (test.test_peepholer.TestTranforms.test_folding_of_binops_on_constants) ... ok
test_folding_of_lists_of_constants (test.test_peepholer.TestTranforms.test_folding_of_lists_of_constants) ... ok
test_folding_of_sets_of_constants (test.test_peepholer.TestTranforms.test_folding_of_sets_of_constants) ... ok
test_folding_of_tuples_of_constants (test.test_peepholer.TestTranforms.test_folding_of_tuples_of_constants) ... ok
test_folding_of_unaryops_on_constants (test.test_peepholer.TestTranforms.test_folding_of_unaryops_on_constants) ... ok
test_format_combinations (test.test_peepholer.TestTranforms.test_format_combinations) ... skipped "resource 'cpu' is not enabled"
test_format_errors (test.test_peepholer.TestTranforms.test_format_errors) ... ERROR
test_format_misc (test.test_peepholer.TestTranforms.test_format_misc) ... ok
test_global_as_constant (test.test_peepholer.TestTranforms.test_global_as_constant) ... ok
test_if_with_if_expression (test.test_peepholer.TestTranforms.test_if_with_if_expression) ... ok
test_in_literal_list (test.test_peepholer.TestTranforms.test_in_literal_list) ... ok
test_iterate_literal_list (test.test_peepholer.TestTranforms.test_iterate_literal_list) ... ok
test_make_function_doesnt_bail (test.test_peepholer.TestTranforms.test_make_function_doesnt_bail) ... skipped 'implementation detail specific to cpython'
test_pack_unpack (test.test_peepholer.TestTranforms.test_pack_unpack) ... ok
test_static_swaps_match_class (test.test_peepholer.TestTranforms.test_static_swaps_match_class) ... ok
test_static_swaps_match_mapping (test.test_peepholer.TestTranforms.test_static_swaps_match_mapping) ... ok
test_static_swaps_match_sequence (test.test_peepholer.TestTranforms.test_static_swaps_match_sequence) ... skipped 'unimplemented optimization'
test_static_swaps_unpack_three (test.test_peepholer.TestTranforms.test_static_swaps_unpack_three) ... ok
test_static_swaps_unpack_two (test.test_peepholer.TestTranforms.test_static_swaps_unpack_two) ... ok
test_trailing_nops (test.test_peepholer.TestTranforms.test_trailing_nops) ... ok
test_unot (test.test_peepholer.TestTranforms.test_unot) ... ok
test_while_one (test.test_peepholer.TestTranforms.test_while_one) ... skipped 'implementation detail specific to cpython'
======================================================================
ERROR: test_format_errors (test.test_peepholer.TestTranforms.test_format_errors)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_peepholer.py", line 614, in test_format_errors
eval("'%s%z' % (x,)", {'x': 1234})
File "<string>", line 1, in <module>
ValueError: unsupported format character 'z' (0x7a) at index 3
======================================================================
FAIL: test_elim_jump_to_return (test.test_peepholer.TestTranforms.test_elim_jump_to_return)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_peepholer.py", line 373, in test_elim_jump_to_return
self.check_jump_targets(f)
^^^^^^^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_peepholer.py", line 56, in check_jump_targets
self.fail(f'{instr.opname} at {instr.offset} '
^^^^
AssertionError: JUMP_FORWARD at 6 jumps to RETURN_VALUE at 10
======================================================================
FAIL: test_elim_jump_to_uncond_jump3 (test.test_peepholer.TestTranforms.test_elim_jump_to_uncond_jump3)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_peepholer.py", line 413, in test_elim_jump_to_uncond_jump3
self.assertEqual(count_instr_recursively(f, 'POP_JUMP_IF_FALSE'), 2)
^^^^^^^^^^^
AssertionError: 0 != 2
----------------------------------------------------------------------
Ran 59 tests in 0.056s
FAILED (failures=2, errors=1, skipped=24)
0:00:00 load avg: 1.04 [1/1/1] test_peepholer failed (1 error, 2 failures)
== Tests result: FAILURE ==
1 test failed:
test_peepholer
Total duration: 137 ms
Total tests: run=59 failures=2 skipped=24
Total test files: run=1/1 failed=1
Result: FAILURE
test test_peepholer failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2553331æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 3662467172
0:00:00 load avg: 1.04 Run 1 test sequentially in a single process
0:00:00 load avg: 1.04 [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 "/buildbot/slave/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.921s
FAILED (failures=1, skipped=4)
0:00:01 load avg: 1.04 [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.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2553490æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 1661284771
0:00:00 load avg: 0.88 Run 1 test sequentially in a single process
0:00:00 load avg: 0.88 [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) ... ok
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) ... ok
test_preadv_flags (test.test_posix.PosixTester.test_preadv_flags) ... ok
test_preadv_overflow_32bits (test.test_posix.PosixTester.test_preadv_overflow_32bits) ... skipped 'test is only meaningful on 32-bit builds'
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) ... ok
test_pwritev_flags (test.test_posix.PosixTester.test_pwritev_flags) ... skipped 'test needs os.RWF_SYNC'
test_pwritev_overflow_32bits (test.test_posix.PosixTester.test_pwritev_overflow_32bits) ... skipped 'test is only meaningful on 32-bit builds'
test_readv (test.test_posix.PosixTester.test_readv) ... ok
test_readv_overflow_32bits (test.test_posix.PosixTester.test_readv_overflow_32bits) ... skipped 'test is only meaningful on 32-bit builds'
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) ... ok
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) ... ok
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) ... ok
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) ... ok
test_writev_overflow_32bits (test.test_posix.PosixTester.test_writev_overflow_32bits) ... skipped 'test is only meaningful on 32-bit builds'
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 "/buildbot/slave/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_makedev (test.test_posix.PosixTester.test_makedev)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/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
----------------------------------------------------------------------
Ran 167 tests in 0.316s
FAILED (failures=1, errors=1, skipped=81)
0:00:00 load avg: 0.88 [1/1/1] test_posix failed (1 error, 1 failure)
== Tests result: FAILURE ==
1 test failed:
test_posix
Total duration: 441 ms
Total tests: run=167 failures=1 skipped=81
Total test files: run=1/1 failed=1
Result: FAILURE
test test_posix failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2553952æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 2725101824
0:00:00 load avg: 0.83 Run 1 test sequentially in a single process
0:00:00 load avg: 0.83 [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 "/buildbot/slave/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 "/buildbot/slave/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.444s
FAILED (failures=2)
0:00:00 load avg: 0.83 [1/1/1] test_range failed (2 failures)
== Tests result: FAILURE ==
1 test failed:
test_range
Total duration: 532 ms
Total tests: run=28 failures=2
Total test files: run=1/1 failed=1
Result: FAILURE
test test_range failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2553963æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 4107036730
0:00:00 load avg: 0.83 Run 1 test sequentially in a single process
0:00:00 load avg: 0.83 [1/1] test_readline
readline version: 0x504
readline runtime version: 0x504
readline library version: 'pyrepl'
use libedit emulation? False
testHistoryUpdates (test.test_readline.TestHistoryManipulation.testHistoryUpdates) ... ok
test_nonascii_history (test.test_readline.TestHistoryManipulation.test_nonascii_history) ... ok
test_write_read_append (test.test_readline.TestHistoryManipulation.test_write_read_append) ... ERROR
test_write_read_limited_history (test.test_readline.TestHistoryManipulation.test_write_read_limited_history) ... ok
test_auto_history_disabled (test.test_readline.TestReadline.test_auto_history_disabled) ... ok
test_auto_history_enabled (test.test_readline.TestReadline.test_auto_history_enabled) ... ok
test_gh123321_threadsafe (test.test_readline.TestReadline.test_gh123321_threadsafe)
gh-123321: readline should be thread-safe and not crash ... ok
test_history_size (test.test_readline.TestReadline.test_history_size) ... skipped 'this readline version does not support history-size'
test_init (test.test_readline.TestReadline.test_init) ... skipped 'not supported in this library version'
test_nonascii (test.test_readline.TestReadline.test_nonascii) ... ok
test_set_complete_delims (test.test_readline.TestReadline.test_set_complete_delims) ... ok
test_write_read_limited_history (test.test_readline.TestReadline.test_write_read_limited_history) ... ok
======================================================================
ERROR: test_write_read_append (test.test_readline.TestHistoryManipulation.test_write_read_append)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_readline.py", line 94, in test_write_read_append
readline.append_history_file(1, hfilename)
^^^^^^^^^^^^^^^^^^^
TypeError: _ReadlineWrapper.append_history_file() takes from 1 to 2 positional arguments but 3 were given
----------------------------------------------------------------------
Ran 12 tests in 0.589s
FAILED (errors=1, skipped=2)
0:00:00 load avg: 0.83 [1/1/1] test_readline failed (1 error)
== Tests result: FAILURE ==
1 test failed:
test_readline
Total duration: 710 ms
Total tests: run=12 skipped=2
Total test files: run=1/1 failed=1
Result: FAILURE
test test_readline failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2554288æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 3326175831
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_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) ... ok
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_descriptors (test.test_reprlib.ReprTests.test_descriptors)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/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 0x00007f0f2d3f7040>' != "<method 'items' of 'dict' objects>"
- <function dict.items at 0x00007f0f2d3f7040>
+ <method 'items' of 'dict' objects>
----------------------------------------------------------------------
Ran 31 tests in 0.063s
FAILED (failures=1, skipped=2)
0:00:00 load avg: 1.02 [1/1/1] test_reprlib failed (1 failure)
== Tests result: FAILURE ==
1 test failed:
test_reprlib
Total duration: 146 ms
Total tests: run=31 failures=1 skipped=2
Total test files: run=1/1 failed=1
Result: FAILURE
test test_reprlib failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2555432æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 1583074177
0:00:00 load avg: 0.42 Run 1 test sequentially in a single process
0:00:00 load avg: 0.42 [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) ... ok
test_eval_str_invalid_octal_escape (test.test_string_literals.TestLiterals.test_eval_str_invalid_octal_escape) ... ok
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) ... ok
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 "/buildbot/slave/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 "/buildbot/slave/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
----------------------------------------------------------------------
Ran 20 tests in 0.269s
FAILED (failures=2)
0:00:00 load avg: 0.42 [1/1/1] test_string_literals failed (2 failures)
== Tests result: FAILURE ==
1 test failed:
test_string_literals
Total duration: 340 ms
Total tests: run=20 failures=2
Total test files: run=1/1 failed=1
Result: FAILURE
test test_string_literals failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2555469æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 2680665054
0:00:00 load avg: 0.42 Run 1 test sequentially in a single process
0:00:00 load avg: 0.42 [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) ... ok
test_pipesizes (test.test_subprocess.ProcessTestCase.test_pipesizes) ... ok
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) ... ok
test_pipesizes (test.test_subprocess.ProcessTestCaseNoPoll.test_pipesizes) ... ok
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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 144, in __exit__
next(self.gen)
File "/buildbot/slave/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 59.737s
FAILED (failures=2, skipped=46)
0:00:59 load avg: 0.79 [1/1/1] test_subprocess failed (2 failures) in 59.9 sec
== Tests result: FAILURE ==
1 test failed:
test_subprocess
Total duration: 59.9 sec
Total tests: run=341 failures=2 skipped=46
Total test files: run=1/1 failed=1
Result: FAILURE
Warning -- reap_children() reaped child process 2555618
test test_subprocess failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2555952æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 2697966327
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_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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 0x00007f0bfebab6c8> != <function TestEdgeCases.test_reentrancy.<locals>.bar at 0x00007f0bfebab790>
----------------------------------------------------------------------
Ran 29 tests in 0.008s
FAILED (failures=2)
0:00:00 load avg: 0.81 [1/1/1] test_sys_setprofile failed (2 failures)
== Tests result: FAILURE ==
1 test failed:
test_sys_setprofile
Total duration: 78 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.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2556087æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 1656328608
0:00:00 load avg: 0.86 Run 1 test sequentially in a single process
0:00:00 load avg: 0.86 [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 "/buildbot/slave/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/tmp4snn4en6'
======================================================================
ERROR: test_del_by_finalizer (test.test_tempfile.TestNamedTemporaryFile.test_del_by_finalizer)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/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/tmprdidb8to/tmp_sszq63d' exists after finalizer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/buildbot/slave/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/tmprdidb8to'
======================================================================
FAIL: test_warnings_on_cleanup (test.test_tempfile.TestTemporaryDirectory.test_warnings_on_cleanup)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/contextlib.py", line 144, in __exit__
next(self.gen)
File "/buildbot/slave/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 0x00007f2a4ed3ba28>'), category : 'ResourceWarning', filename : '/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/tempfile.py', lineno : 472, line : None}
----------------------------------------------------------------------
Ran 118 tests in 0.854s
FAILED (failures=1, errors=2, skipped=8)
0:00:01 load avg: 0.86 [1/1/1] test_tempfile failed (2 errors, 1 failure)
== Tests result: FAILURE ==
1 test failed:
test_tempfile
Total duration: 1.0 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.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2557407æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 3761816492
0:00:00 load avg: 0.55 Run 1 test sequentially in a single process
0:00:00 load avg: 0.55 [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) ... ok
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
======================================================================
FAIL: test_loop_caller_importing (test.test_trace.TestCallers.test_loop_caller_importing)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/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: {(('/[74 chars]e', 'runfunc'), ('/buildbot/slave/pypy-c-jit-l[1103 chars]): 1} != {(('/[74 chars]e', 'Trace.runfunc'), ('/buildbot/slave/pypy-c[1109 chars]): 1}
Diff is 1578 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 "/buildbot/slave/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[88 chars]e', 'inst_method_calling'): 1, ('/buildbot/sla[223 chars]): 1} != {('/b[88 chars]e', 'TracedClass.inst_method_calling'): 1, ('/[247 chars]): 1}
Diff is 879 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 "/buildbot/slave/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[169 chars]6): 12, ('/buildbot/slave/pypy-c-jit-linux-x86[137 chars]): 1} != {('/b[169 chars]6): 11, ('/buildbot/slave/pypy-c-jit-linux-x86[137 chars]: 10}
Diff is 656 characters long. Set self.maxDiff to None to see it.
----------------------------------------------------------------------
Ran 27 tests in 13.617s
FAILED (failures=3, skipped=1)
0:00:13 load avg: 0.62 [1/1/1] test_trace failed (3 failures)
== Tests result: FAILURE ==
1 test failed:
test_trace
Total duration: 13.7 sec
Total tests: run=27 failures=3 skipped=1
Total test files: run=1/1 failed=1
Result: FAILURE
test test_trace failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2557428æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 1204741152
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_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) ... ok
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) ... skipped 'implementation detail specific to cpython'
test_byte_offset_multiline (test.test_traceback.PurePythonTracebackErrorCaretTests.test_byte_offset_multiline) ... skipped 'implementation detail specific to cpython'
test_byte_offset_wide_chars_subscript (test.test_traceback.PurePythonTracebackErrorCaretTests.test_byte_offset_wide_chars_subscript) ... skipped 'implementation detail specific to cpython'
test_byte_offset_with_emojis_term_highlight (test.test_traceback.PurePythonTracebackErrorCaretTests.test_byte_offset_with_emojis_term_highlight) ... skipped 'implementation detail specific to cpython'
test_byte_offset_with_wide_characters_middle (test.test_traceback.PurePythonTracebackErrorCaretTests.test_byte_offset_with_wide_characters_middle) ... skipped 'implementation detail specific to cpython'
test_byte_offset_with_wide_characters_term_highlight (test.test_traceback.PurePythonTracebackErrorCaretTests.test_byte_offset_with_wide_characters_term_highlight) ... skipped 'implementation detail specific to cpython'
test_caret_exception_group (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_exception_group) ... skipped 'implementation detail specific to cpython'
test_caret_for_binary_operators (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_binary_operators) ... skipped 'implementation detail specific to cpython'
test_caret_for_binary_operators_two_char (test.test_traceback.PurePythonTracebackErrorCaretTests.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.PurePythonTracebackErrorCaretTests.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.PurePythonTracebackErrorCaretTests.test_caret_for_binary_operators_with_unicode) ... skipped 'implementation detail specific to cpython'
test_caret_for_failed_assertion (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_failed_assertion) ... skipped 'implementation detail specific to cpython'
test_caret_for_subscript (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_subscript) ... skipped 'implementation detail specific to cpython'
test_caret_for_subscript_unicode (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_subscript_unicode) ... skipped 'implementation detail specific to cpython'
test_caret_for_subscript_with_spaces_and_parenthesis (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_subscript_with_spaces_and_parenthesis) ... skipped 'implementation detail specific to cpython'
test_caret_in_type_annotation (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_in_type_annotation) ... skipped 'implementation detail specific to cpython'
test_caret_multiline_expression (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_multiline_expression) ... skipped 'implementation detail specific to cpython'
test_caret_multiline_expression_bin_op (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_multiline_expression_bin_op) ... skipped 'implementation detail specific to cpython'
test_caret_multiline_expression_syntax_error (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_multiline_expression_syntax_error) ... skipped 'implementation detail specific to cpython'
test_decorator_application_lineno_correct (test.test_traceback.PurePythonTracebackErrorCaretTests.test_decorator_application_lineno_correct) ... skipped 'implementation detail specific to cpython'
test_line_with_unicode (test.test_traceback.PurePythonTracebackErrorCaretTests.test_line_with_unicode) ... skipped 'implementation detail specific to cpython'
test_multiline_method_call_a (test.test_traceback.PurePythonTracebackErrorCaretTests.test_multiline_method_call_a) ... skipped 'implementation detail specific to cpython'
test_multiline_method_call_b (test.test_traceback.PurePythonTracebackErrorCaretTests.test_multiline_method_call_b) ... skipped 'implementation detail specific to cpython'
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) ... skipped 'implementation detail specific to cpython'
test_specialization_variations (test.test_traceback.PurePythonTracebackErrorCaretTests.test_specialization_variations) ... skipped 'implementation detail specific to cpython'
test_traceback_specialization_with_syntax_error (test.test_traceback.PurePythonTracebackErrorCaretTests.test_traceback_specialization_with_syntax_error) ... skipped 'implementation detail specific to cpython'
test_traceback_very_long_line (test.test_traceback.PurePythonTracebackErrorCaretTests.test_traceback_very_long_line) ... skipped 'implementation detail specific to cpython'
test_wide_characters_unicode_with_problematic_byte_offset (test.test_traceback.PurePythonTracebackErrorCaretTests.test_wide_characters_unicode_with_problematic_byte_offset) ... skipped 'implementation detail specific to cpython'
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_exception_group_wrapped_naked (test.test_traceback.PyExcReportingTests.test_exception_group_wrapped_naked)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_traceback.py", line 2206, in test_exception_group_wrapped_naked
self.assertEqual(report, expected)
^^^^^^^^^^^
AssertionError: ' + [209 chars]n | ExceptionGroup: (1 sub-exception)\n +-+[287 chars]--\n' != ' + [209 chars]n | File "/buildbot/slave/pypy-c-jit-linux-[435 chars]--\n'
Diff is 711 characters long. Set self.maxDiff to None to see it.
----------------------------------------------------------------------
Ran 279 tests in 1.311s
FAILED (failures=1, skipped=160)
0:00:01 load avg: 0.65 [1/1/1] test_traceback failed (1 failure)
== Tests result: FAILURE ==
1 test failed:
test_traceback
Total duration: 1.4 sec
Total tests: run=279 failures=1 skipped=160
Total test files: run=1/1 failed=1
Result: FAILURE
test test_traceback failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2557485æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 3666250547
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_type_cache
0:00:00 load avg: 0.65 [1/1/1] test_type_cache failed (uncaught exception)
== Tests result: FAILURE ==
1 test failed:
test_type_cache
Total duration: 55 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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2557490æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 1021123942
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_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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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.019s
FAILED (errors=1)
0:00:00 load avg: 0.65 [1/1/1] test_type_comments failed (1 error)
== Tests result: FAILURE ==
1 test failed:
test_type_comments
Total duration: 86 ms
Total tests: run=16
Total test files: run=1/1 failed=1
Result: FAILURE
test test_type_comments failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2557505æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 2230450580
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_types
test_bad___prepare__ (test.test_types.ClassCreationTests.test_bad___prepare__) ... ok
test_get_original_bases (test.test_types.ClassCreationTests.test_get_original_bases) ... ok
test_metaclass_derivation (test.test_types.ClassCreationTests.test_metaclass_derivation) ... ok
test_metaclass_new_error (test.test_types.ClassCreationTests.test_metaclass_new_error) ... ok
test_metaclass_override_callable (test.test_types.ClassCreationTests.test_metaclass_override_callable) ... ok
test_metaclass_override_function (test.test_types.ClassCreationTests.test_metaclass_override_function) ... ok
test_new_class_basics (test.test_types.ClassCreationTests.test_new_class_basics) ... ok
test_new_class_defaults (test.test_types.ClassCreationTests.test_new_class_defaults) ... ok
test_new_class_exec_body (test.test_types.ClassCreationTests.test_new_class_exec_body) ... ok
test_new_class_meta (test.test_types.ClassCreationTests.test_new_class_meta) ... ok
test_new_class_meta_with_base (test.test_types.ClassCreationTests.test_new_class_meta_with_base) ... ok
test_new_class_metaclass_keywords (test.test_types.ClassCreationTests.test_new_class_metaclass_keywords) ... ok
test_new_class_subclass (test.test_types.ClassCreationTests.test_new_class_subclass) ... ok
test_new_class_with_mro_entry (test.test_types.ClassCreationTests.test_new_class_with_mro_entry) ... ok
test_new_class_with_mro_entry_error (test.test_types.ClassCreationTests.test_new_class_with_mro_entry_error) ... ok
test_new_class_with_mro_entry_genericalias (test.test_types.ClassCreationTests.test_new_class_with_mro_entry_genericalias) ... ok
test_new_class_with_mro_entry_multiple (test.test_types.ClassCreationTests.test_new_class_with_mro_entry_multiple) ... ok
test_new_class_with_mro_entry_multiple_2 (test.test_types.ClassCreationTests.test_new_class_with_mro_entry_multiple_2) ... ok
test_new_class_with_mro_entry_none (test.test_types.ClassCreationTests.test_new_class_with_mro_entry_none) ... ok
test_one_argument_type (test.test_types.ClassCreationTests.test_one_argument_type) ... FAIL
test_prepare_class (test.test_types.ClassCreationTests.test_prepare_class) ... ok
test_resolve_bases (test.test_types.ClassCreationTests.test_resolve_bases) ... ok
test_resolve_bases_with_mro_entry (test.test_types.ClassCreationTests.test_resolve_bases_with_mro_entry) ... ok
test_async_def (test.test_types.CoroutineTests.test_async_def) ... ok
test_duck_coro (test.test_types.CoroutineTests.test_duck_coro) ... ok
test_duck_corogen (test.test_types.CoroutineTests.test_duck_corogen) ... ok
test_duck_functional_gen (test.test_types.CoroutineTests.test_duck_functional_gen) ... ok
test_duck_gen (test.test_types.CoroutineTests.test_duck_gen) ... ok
test_gen (test.test_types.CoroutineTests.test_gen) ... ok
test_genfunc (test.test_types.CoroutineTests.test_genfunc) ... ok
test_non_gen_values (test.test_types.CoroutineTests.test_non_gen_values) ... ok
test_returning_itercoro (test.test_types.CoroutineTests.test_returning_itercoro) ... ok
test_wrapper_object (test.test_types.CoroutineTests.test_wrapper_object) ... ok
test_wrong_args (test.test_types.CoroutineTests.test_wrong_args) ... ok
test_chainmap (test.test_types.MappingProxyTests.test_chainmap) ... ok
test_constructor (test.test_types.MappingProxyTests.test_constructor) ... ok
test_contains (test.test_types.MappingProxyTests.test_contains) ... ok
test_copy (test.test_types.MappingProxyTests.test_copy) ... ok
test_customdict (test.test_types.MappingProxyTests.test_customdict) ... ok
test_get (test.test_types.MappingProxyTests.test_get) ... ok
test_hash (test.test_types.MappingProxyTests.test_hash) ... ERROR
test_iterators (test.test_types.MappingProxyTests.test_iterators) ... ok
test_len (test.test_types.MappingProxyTests.test_len) ... ok
test_methods (test.test_types.MappingProxyTests.test_methods) ... ok
test_missing (test.test_types.MappingProxyTests.test_missing) ... ok
test_reversed (test.test_types.MappingProxyTests.test_reversed) ... ok
test_union (test.test_types.MappingProxyTests.test_union) ... ok
test_views (test.test_types.MappingProxyTests.test_views) ... ok
test_as_dict (test.test_types.SimpleNamespaceTests.test_as_dict) ... ok
test_attrdel (test.test_types.SimpleNamespaceTests.test_attrdel) ... ok
test_attrget (test.test_types.SimpleNamespaceTests.test_attrget) ... ok
test_attrset (test.test_types.SimpleNamespaceTests.test_attrset) ... ok
test_constructor (test.test_types.SimpleNamespaceTests.test_constructor) ... ok
test_equal (test.test_types.SimpleNamespaceTests.test_equal) ... ok
test_fake_namespace_compare (test.test_types.SimpleNamespaceTests.test_fake_namespace_compare) ... ok
test_nested (test.test_types.SimpleNamespaceTests.test_nested) ... ok
test_pickle (test.test_types.SimpleNamespaceTests.test_pickle) ... ok
test_recursive (test.test_types.SimpleNamespaceTests.test_recursive) ... ok
test_recursive_repr (test.test_types.SimpleNamespaceTests.test_recursive_repr) ... FAIL
test_repr (test.test_types.SimpleNamespaceTests.test_repr) ... FAIL
test_subclass (test.test_types.SimpleNamespaceTests.test_subclass) ... ok
test_unbound (test.test_types.SimpleNamespaceTests.test_unbound) ... ok
test_underlying_dict (test.test_types.SimpleNamespaceTests.test_underlying_dict) ... ok
setUpClass (test.test_types.SubinterpreterTests) ... skipped 'subinterpreters required'
test_boolean_ops (test.test_types.TypesTests.test_boolean_ops) ... ok
test_comparisons (test.test_types.TypesTests.test_comparisons) ... ok
test_dunder_get_signature (test.test_types.TypesTests.test_dunder_get_signature) ... ok
test_ellipsis_type (test.test_types.TypesTests.test_ellipsis_type) ... ok
test_float__format__ (test.test_types.TypesTests.test_float__format__) ... ok
test_float__format__locale (test.test_types.TypesTests.test_float__format__locale) ... ok
test_float_constructor (test.test_types.TypesTests.test_float_constructor) ... ok
test_float_to_string (test.test_types.TypesTests.test_float_to_string) ... ok
test_floats (test.test_types.TypesTests.test_floats) ... ok
test_format_spec_errors (test.test_types.TypesTests.test_format_spec_errors) ... ok
test_int__format__ (test.test_types.TypesTests.test_int__format__) ... ok
test_int__format__locale (test.test_types.TypesTests.test_int__format__locale) ... ok
test_internal_sizes (test.test_types.TypesTests.test_internal_sizes) ... ok
test_method_descriptor_types (test.test_types.TypesTests.test_method_descriptor_types) ... FAIL
test_method_wrapper_types (test.test_types.TypesTests.test_method_wrapper_types) ... ok
test_none_type (test.test_types.TypesTests.test_none_type) ... ok
test_normal_integers (test.test_types.TypesTests.test_normal_integers) ... ok
test_notimplemented_type (test.test_types.TypesTests.test_notimplemented_type) ... ok
test_numeric_types (test.test_types.TypesTests.test_numeric_types) ... ok
test_slot_wrapper_types (test.test_types.TypesTests.test_slot_wrapper_types) ... ok
test_strings (test.test_types.TypesTests.test_strings) ... ok
test_traceback_and_frame_types (test.test_types.TypesTests.test_traceback_and_frame_types) ... ok
test_truth_values (test.test_types.TypesTests.test_truth_values) ... ok
test_type_function (test.test_types.TypesTests.test_type_function) ... ok
test_zero_division (test.test_types.TypesTests.test_zero_division) ... ok
test_bad_instancecheck (test.test_types.UnionTests.test_bad_instancecheck) ... ok
test_bad_subclasscheck (test.test_types.UnionTests.test_bad_subclasscheck) ... ok
test_hash (test.test_types.UnionTests.test_hash) ... ok
test_instancecheck_and_subclasscheck (test.test_types.UnionTests.test_instancecheck_and_subclasscheck) ... ok
test_instancecheck_and_subclasscheck_order (test.test_types.UnionTests.test_instancecheck_and_subclasscheck_order) ... ok
test_or_type_operator_reference_cycle (test.test_types.UnionTests.test_or_type_operator_reference_cycle) ... skipped 'implementation detail specific to cpython'
test_or_type_operator_with_Alias (test.test_types.UnionTests.test_or_type_operator_with_Alias) ... ok
test_or_type_operator_with_IO (test.test_types.UnionTests.test_or_type_operator_with_IO) ... ok
test_or_type_operator_with_Literal (test.test_types.UnionTests.test_or_type_operator_with_Literal) ... ok
test_or_type_operator_with_NamedTuple (test.test_types.UnionTests.test_or_type_operator_with_NamedTuple) ... ok
test_or_type_operator_with_NewType (test.test_types.UnionTests.test_or_type_operator_with_NewType) ... ok
test_or_type_operator_with_Protocol (test.test_types.UnionTests.test_or_type_operator_with_Protocol) ... ok
test_or_type_operator_with_SpecialForm (test.test_types.UnionTests.test_or_type_operator_with_SpecialForm) ... ok
test_or_type_operator_with_TypeVar (test.test_types.UnionTests.test_or_type_operator_with_TypeVar) ... ok
test_or_type_operator_with_TypedDict (test.test_types.UnionTests.test_or_type_operator_with_TypedDict) ... ok
test_or_type_operator_with_bad_module (test.test_types.UnionTests.test_or_type_operator_with_bad_module) ... ok
test_or_type_operator_with_forward (test.test_types.UnionTests.test_or_type_operator_with_forward) ... ok
test_or_type_operator_with_genericalias (test.test_types.UnionTests.test_or_type_operator_with_genericalias) ... ok
test_or_type_repr (test.test_types.UnionTests.test_or_type_repr) ... ok
test_or_types_operator (test.test_types.UnionTests.test_or_types_operator) ... ok
test_union_args (test.test_types.UnionTests.test_union_args) ... ok
test_union_copy (test.test_types.UnionTests.test_union_copy) ... ok
test_union_of_unhashable (test.test_types.UnionTests.test_union_of_unhashable) ... ok
test_union_parameter_chaining (test.test_types.UnionTests.test_union_parameter_chaining) ... ok
test_union_parameter_substitution (test.test_types.UnionTests.test_union_parameter_substitution) ... ok
test_union_parameter_substitution_errors (test.test_types.UnionTests.test_union_parameter_substitution_errors) ... ok
test_union_pickle (test.test_types.UnionTests.test_union_pickle) ... ok
======================================================================
ERROR: test_hash (test.test_types.MappingProxyTests.test_hash)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_types.py", line 1272, in test_hash
self.assertEqual(hash(view), hash(mapping))
^^^^^^^^^^
TypeError: unhashable type: 'mappingproxy'
======================================================================
FAIL: test_one_argument_type (test.test_types.ClassCreationTests.test_one_argument_type)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_types.py", line 1729, in test_one_argument_type
self.assertEqual(str(cm.exception), expected_message)
^^^^^^^^^^^
AssertionError: 'M.__new__() takes exactly 3 arguments (1 given)' != 'type.__new__() takes exactly 3 arguments (1 given)'
- M.__new__() takes exactly 3 arguments (1 given)
? ^
+ type.__new__() takes exactly 3 arguments (1 given)
? ^^^^
======================================================================
FAIL: test_recursive_repr (test.test_types.SimpleNamespaceTests.test_recursive_repr)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_types.py", line 1894, in test_recursive_repr
self.assertEqual(repr(ns2), repr2)
^^^^^^^^^^^
AssertionError: 'namespace(spam=namespace(spam=namespace(...), x=1))' != 'namespace(spam=namespace(x=1, spam=namespace(...)))'
- namespace(spam=namespace(spam=namespace(...), x=1))
? -----
+ namespace(spam=namespace(x=1, spam=namespace(...)))
? +++++
======================================================================
FAIL: test_repr (test.test_types.SimpleNamespaceTests.test_repr)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_types.py", line 1841, in test_repr
self.assertEqual(repr(ns1), "{name}(x=1, y=2, w=3)".format(name=name))
^^^^^^^^^^^
AssertionError: 'namespace(w=3, x=1, y=2)' != 'namespace(x=1, y=2, w=3)'
- namespace(w=3, x=1, y=2)
? -----
+ namespace(x=1, y=2, w=3)
? +++++
======================================================================
FAIL: test_method_descriptor_types (test.test_types.TypesTests.test_method_descriptor_types)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_types.py", line 627, in test_method_descriptor_types
self.assertIsInstance(int.__new__, types.BuiltinMethodType)
^^^^^^^^^^^^^^^^
AssertionError: <function int.__new__ at 0x00007fb1593edb80> is not an instance of <class 'method'>
----------------------------------------------------------------------
Ran 115 tests in 0.051s
FAILED (failures=4, errors=1, skipped=2)
0:00:00 load avg: 0.65 [1/1/1] test_types failed (1 error, 4 failures)
== Tests result: FAILURE ==
1 test failed:
test_types
Total duration: 267 ms
Total tests: run=115 failures=4 skipped=2
Total test files: run=1/1 failed=1
Result: FAILURE
test test_types failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2557567æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 1935197157
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_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 /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_defaultdict.py
Testing /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/_osx_support.py
Testing /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_codecmaps_hk.py
Testing /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_structseq.py
Testing /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_repl.py
Testing /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/bdb.py
Testing /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_gzip.py
Testing /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_ordered_dict.py
Testing /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/pty.py
Testing /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_userdict.py
Testing /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_grammar.py
Testing /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_type_params.py
Testing /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_compile.py
Testing /buildbot/slave/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('/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_fstring.py')) ... FAIL
Testing /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_tokenize.py
Testing /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asdl_parser.py
Testing /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_patma.py
Testing /buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 43, in assertASTEqual
traverse_compare(ast1, ast2)
File "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 43, in assertASTEqual
traverse_compare(ast1, ast2)
File "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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('/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_fstring.py'))
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/ast_helper.py", line 43, in assertASTEqual
traverse_compare(ast1, ast2)
File "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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.256s
FAILED (failures=3)
0:00:01 load avg: 0.70 [1/1/1] test_unparse failed (3 failures)
== Tests result: FAILURE ==
1 test failed:
test_unparse
Total duration: 1.4 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.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2557820æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 2764137610
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_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 0x00007f9481ef73a8>] ... FAIL
testExceptionLocation (test.test_with.NestedWith.testExceptionLocation) [<function NestedWith.testExceptionLocation.<locals>.enter_raises at 0x00007f9481ef7470>] ... 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 0x00007f9481ef73a8>]
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/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 0x00007f9481ef7470>]
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/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
----------------------------------------------------------------------
Ran 51 tests in 0.007s
FAILED (failures=2)
0:00:00 load avg: 0.77 [1/1/1] test_with failed (2 failures)
== Tests result: FAILURE ==
1 test failed:
test_with
Total duration: 84 ms
Total tests: run=51 failures=2
Total test files: run=1/1 failed=1
Result: FAILURE
test test_with failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2557932æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 3255509174
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_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 "/buildbot/slave/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.760s
FAILED (failures=1, skipped=4)
0:00:00 load avg: 0.79 [1/1/1] test_zlib failed (1 failure)
== Tests result: FAILURE ==
1 test failed:
test_zlib
Total duration: 844 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.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2557944æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 357661074
0:00:00 load avg: 0.80 Run 31 tests sequentially in a single process
0:00:00 load avg: 0.80 [ 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.587s
OK
0:00:01 load avg: 0.80 [ 1/31] test_asyncio.test_base_events passed
0:00:01 load avg: 0.80 [ 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.005s
OK (skipped=1)
0:00:01 load avg: 0.80 [ 2/31] test_asyncio.test_buffered_proto passed
0:00:01 load avg: 0.80 [ 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: 0.80 [ 3/31] test_asyncio.test_context passed
0:00:02 load avg: 0.80 [ 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.920s
OK (skipped=20)
0:00:05 load avg: 0.74 [ 4/31] test_asyncio.test_eager_task_factory passed
0:00:05 load avg: 0.74 [ 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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 15.759s
FAILED (failures=3)
0:00:21 load avg: 0.80 [ 5/31/1] test_asyncio.test_events failed (3 failures)
0:00:21 load avg: 0.80 [ 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 "/buildbot/slave/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 0x0000000034973a98, file '/buil[164 chars](),)] != []
First list contains 2 additional elements.
First extra element 0:
<frame at 0x0000000034973a98, file '/buildbot/slave/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 0x0000000034973a98, file '/buildbot/slave/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 "/buildbot/slave/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 0x0000000034505e08, file '/buil[161 chars](),)] != []
First list contains 2 additional elements.
First extra element 0:
<frame at 0x0000000034505e08, file '/buildbot/slave/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 0x0000000034505e08, file '/buildbot/slave/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 "/buildbot/slave/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.158s
FAILED (failures=3, skipped=120)
0:00:23 load avg: 0.80 [ 6/31/2] test_asyncio.test_futures failed (3 failures)
0:00:23 load avg: 0.80 [ 7/31/2] test_asyncio.test_futures2
0:00:23 load avg: 0.80 [ 7/31/3] test_asyncio.test_futures2 failed (uncaught exception)
0:00:23 load avg: 0.80 [ 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.923s
OK
0:00:24 load avg: 0.80 [ 8/31/3] test_asyncio.test_locks passed
0:00:24 load avg: 0.80 [ 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.163s
OK
0:00:25 load avg: 0.81 [ 9/31/3] test_asyncio.test_pep492 passed
0:00:25 load avg: 0.81 [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.268s
OK (skipped=4)
0:00:25 load avg: 0.81 [10/31/3] test_asyncio.test_proactor_events passed
0:00:25 load avg: 0.81 [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:25 load avg: 0.81 [11/31/3] test_asyncio.test_protocols passed
0:00:25 load avg: 0.81 [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.240s
OK
0:00:26 load avg: 0.81 [12/31/3] test_asyncio.test_queues passed
0:00:26 load avg: 0.81 [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 "/buildbot/slave/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.255s
FAILED (failures=1)
0:00:26 load avg: 0.81 [13/31/4] test_asyncio.test_runners failed (1 failure)
0:00:26 load avg: 0.81 [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.335s
OK
0:00:27 load avg: 0.81 [14/31/4] test_asyncio.test_selector_events passed
0:00:27 load avg: 0.81 [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 5.691s
OK
0:00:33 load avg: 0.83 [15/31/4] test_asyncio.test_sendfile passed
0:00:33 load avg: 0.83 [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.222s
OK (skipped=1)
0:00:33 load avg: 0.83 [16/31/4] test_asyncio.test_server passed
0:00:33 load avg: 0.83 [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_recvfrom_into_wrong_size (test.test_asyncio.test_sock_lowlevel.EPollEventLoopTests.test_recvfrom_into_wrong_size) ... 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_recvfrom_into_wrong_size (test.test_asyncio.test_sock_lowlevel.PollEventLoopTests.test_recvfrom_into_wrong_size) ... 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_recvfrom_into_wrong_size (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests.test_recvfrom_into_wrong_size) ... 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 42 tests in 3.868s
OK
0:00:37 load avg: 0.76 [17/31/4] test_asyncio.test_sock_lowlevel passed
0:00:37 load avg: 0.76 [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 "/buildbot/slave/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 0x000000003459b210> 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 "/buildbot/slave/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 0x00000000345442f8> is not None
----------------------------------------------------------------------
Ran 23 tests in 14.611s
FAILED (failures=2)
0:00:52 load avg: 0.74 [18/31/5] test_asyncio.test_ssl failed (2 failures)
0:00:52 load avg: 0.74 [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.495s
OK (skipped=11)
0:00:57 load avg: 0.68 [19/31/5] test_asyncio.test_sslproto passed
0:00:57 load avg: 0.68 [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.339s
OK
0:00:57 load avg: 0.68 [20/31/5] test_asyncio.test_staggered passed
0:00:57 load avg: 0.68 [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 "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py", line 195, in run
return runner.run(main)
^^^
File "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete
return future.result()
^^^^^^
File "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 0x00007efc86c52440, file '/buil[250 chars]"),)] != []
First list contains 2 additional elements.
First extra element 0:
<frame at 0x00007efc86c52440, file '/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_streams.py', line 1183, code main>
+ []
- [<frame at 0x00007efc86c52440, file '/buildbot/slave/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', 51367, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 51367)"),)]
----------------------------------------------------------------------
Ran 69 tests in 1.048s
FAILED (failures=1)
0:00:59 load avg: 0.68 [21/31/6] test_asyncio.test_streams failed (1 failure)
0:00:59 load avg: 0.68 [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 9.520s
OK (skipped=35)
0:01:08 load avg: 0.57 [22/31/7] test_asyncio.test_subprocess failed (env changed)
0:01:08 load avg: 0.57 [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 "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete
return future.result()
^^^^^^
File "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 0x000000003390b9e8, file '/buil[166 chars](),)] != []
First list contains 2 additional elements.
First extra element 0:
<frame at 0x000000003390b9e8, file '/buildbot/slave/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 0x000000003390b9e8, file '/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete
return future.result()
^^^^^^
File "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 0x0000000034f11af0, file '/buil[201 chars]]),)] != []
First list contains 2 additional elements.
First extra element 0:
<frame at 0x0000000034f11af0, file '/buildbot/slave/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 0x0000000034f11af0, file '/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete
return future.result()
^^^^^^
File "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 0x00000000373dccd8, file '/buil[148 chars](),)] != []
First list contains 2 additional elements.
First extra element 0:
<frame at 0x00000000373dccd8, file '/buildbot/slave/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 0x00000000373dccd8, file '/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete
return future.result()
^^^^^^
File "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 0x000000003584a1d8, file '/buil[238 chars](),)] != []
First list contains 5 additional elements.
First extra element 0:
<frame at 0x000000003584a1d8, file '/buildbot/slave/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 0x000000003584a1d8, file '/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete
return future.result()
^^^^^^
File "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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-9956' exception=ExceptionGroup('unhandled errors in a TaskGroup', [_Done()]) created at /buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete
return future.result()
^^^^^^
File "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 0x00000000338924f0, file '/buil[531 chars](),)] != []
First list contains 5 additional elements.
First extra element 0:
<frame at 0x00000000338924f0, file '/buildbot/slave/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 0x00000000338924f0, file '/buildbot/slave/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 0x00000000338925a0, file '/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py', line 316, code __step_run_and_handle_result>,
- <frame at 0x0000000033892650, file '/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py', line 303, code __step>,
- <SApplicationException object at 0x00007efc88cc2dc0>,
- (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 "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete
return future.result()
^^^^^^
File "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 0x00007efc86c211a8, file '/buil[166 chars](),)] != []
First list contains 2 additional elements.
First extra element 0:
<frame at 0x00007efc86c211a8, file '/buildbot/slave/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 0x00007efc86c211a8, file '/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete
return future.result()
^^^^^^
File "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 0x00007efc86c21ca8, file '/buil[201 chars]]),)] != []
First list contains 2 additional elements.
First extra element 0:
<frame at 0x00007efc86c21ca8, file '/buildbot/slave/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 0x00007efc86c21ca8, file '/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete
return future.result()
^^^^^^
File "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 0x00007efc8ac96128, file '/buil[148 chars](),)] != []
First list contains 2 additional elements.
First extra element 0:
<frame at 0x00007efc8ac96128, file '/buildbot/slave/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 0x00007efc8ac96128, file '/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete
return future.result()
^^^^^^
File "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 0x00007efc8ad2de60, file '/buil[238 chars](),)] != []
First list contains 5 additional elements.
First extra element 0:
<frame at 0x00007efc8ad2de60, file '/buildbot/slave/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 0x00007efc8ad2de60, file '/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete
return future.result()
^^^^^^
File "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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-10287' coro=<BaseTestTaskGroup.test_exception_refcycles_parent_task_wr.<locals>.coro_fn() done, defined at /buildbot/slave/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 /buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/base_events.py", line 691, in run_until_complete
return future.result()
^^^^^^
File "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 0x00000000373dc440, file '/buil[531 chars](),)] != []
First list contains 5 additional elements.
First extra element 0:
<frame at 0x00000000373dc440, file '/buildbot/slave/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 0x00000000373dc440, file '/buildbot/slave/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 0x0000000033a9e078, file '/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py', line 316, code __step_run_and_handle_result>,
- <frame at 0x0000000033a9e0d0, file '/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py', line 303, code __step>,
- <SApplicationException object at 0x000000003322d660>,
- (CancelledError(),)]
----------------------------------------------------------------------
Ran 86 tests in 14.719s
FAILED (failures=12)
0:01:23 load avg: 0.51 [23/31/8] test_asyncio.test_taskgroups failed (12 failures)
0:01:23 load avg: 0.51 [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.086s
OK (skipped=687)
0:01:33 load avg: 0.59 [24/31/8] test_asyncio.test_tasks passed
0:01:33 load avg: 0.59 [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.033s
OK
0:01:33 load avg: 0.59 [25/31/8] test_asyncio.test_threads passed
0:01:33 load avg: 0.59 [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.381s
OK
0:01:34 load avg: 0.59 [26/31/8] test_asyncio.test_timeouts passed
0:01:34 load avg: 0.59 [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.001s
OK
0:01:34 load avg: 0.59 [27/31/8] test_asyncio.test_transports passed
0:01:34 load avg: 0.59 [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.947s
OK
0:01:35 load avg: 0.54 [28/31/8] test_asyncio.test_unix_events passed
0:01:35 load avg: 0.54 [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.058s
OK
0:01:36 load avg: 0.54 [29/31/8] test_asyncio.test_waitfor passed
0:01:36 load avg: 0.54 [30/31/8] test_asyncio.test_windows_events
test_asyncio.test_windows_events skipped -- Windows only
0:01:36 load avg: 0.54 [30/31/8] test_asyncio.test_windows_events skipped
0:01:36 load avg: 0.54 [31/31/8] test_asyncio.test_windows_utils
test_asyncio.test_windows_utils skipped -- Windows only
0:01:37 load avg: 0.54 [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 37 sec
Total tests: run=2,565 failures=22 skipped=879
Total test files: run=31/31 failed=7 env_changed=1 skipped=2
Result: FAILURE
/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py:797: RuntimeWarning: coroutine 'EventLoopTestsMixin.test_run_until_complete_nesting.<locals>.coro1' was never awaited
gc.collect()
/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py:797: RuntimeWarning: coroutine 'EventLoopTestsMixin.test_run_until_complete_nesting.<locals>.coro1' was never awaited
gc.collect()
/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py:797: 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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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'
/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/support/__init__.py:797: 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
Loop <_UnixSelectorEventLoop running=False closed=True debug=False> that handles pid 2558362 is closed
Warning -- threading._dangling was modified by test_asyncio.test_subprocess
Warning -- Before: {<weakref.ReferenceType at 0x0000000033214080; to '_MainThread'>}
Warning -- After: {<weakref.ReferenceType at 0x00007efc8a19a040; to '_MainThread'>, <weakref.ReferenceType at 0x00007efc8a19a0a0; to 'Thread'>, <weakref.ReferenceType at 0x00007efc8a19a0c0; to 'Thread'>}
Executing <Task finished name='Task-9934' coro=<BaseTestTaskGroup.test_exception_refcycles_base_error() done, defined at /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py:942> exception=AssertionError("Lists differ: [<frame at 0x000000003390b9e8, file '/buil[166 chars](),)] != []\n\nFirst list contains 2 additional elements.\nFirst extra element 0:\n<frame at 0x000000003390b9e8, file '/buildbot/slave/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 0x000000003390b9e8, file '/buildbot/slave/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 /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py:974> took 0.186 seconds
Executing <Task finished name='Task-9939' coro=<BaseTestTaskGroup.test_exception_refcycles_direct() done, defined at /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py:846> exception=AssertionError("Lists differ: [<frame at 0x0000000034f11af0, file '/buil[201 chars]]),)] != []\n\nFirst list contains 2 additional elements.\nFirst extra element 0:\n<frame at 0x0000000034f11af0, file '/buildbot/slave/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 0x0000000034f11af0, file '/buildbot/slave/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 /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py:974> took 0.177 seconds
Executing <Task finished name='Task-9944' coro=<BaseTestTaskGroup.test_exception_refcycles_errors() done, defined at /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py:864> exception=AssertionError("Lists differ: [<frame at 0x00000000373dccd8, file '/buil[148 chars](),)] != []\n\nFirst list contains 2 additional elements.\nFirst extra element 0:\n<frame at 0x00000000373dccd8, file '/buildbot/slave/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 0x00000000373dccd8, file '/buildbot/slave/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 /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py:974> took 0.178 seconds
Executing <Task finished name='Task-9949' coro=<BaseTestTaskGroup.test_exception_refcycles_parent_task() done, defined at /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py:882> exception=AssertionError("Lists differ: [<frame at 0x000000003584a1d8, file '/buil[238 chars](),)] != []\n\nFirst list contains 5 additional elements.\nFirst extra element 0:\n<frame at 0x000000003584a1d8, file '/buildbot/slave/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 0x000000003584a1d8, file '/buildbot/slave/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 /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py:974> took 0.179 seconds
Executing <Task finished name='Task-9961' coro=<BaseTestTaskGroup.test_exception_refcycles_propagate_cancellation_error() done, defined at /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py:927> exception=AssertionError("Lists differ: [<frame at 0x00000000338924f0, file '/buil[531 chars](),)] != []\n\nFirst list contains 5 additional elements.\nFirst extra element 0:\n<frame at 0x00000000338924f0, file '/buildbot/slave/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 0x00000000338924f0, file '/buildbot/slave/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 0x00000000338925a0, file '/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py', line 316, code __step_run_and_handle_result>,\n- <frame at 0x0000000033892650, file '/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py', line 303, code __step>,\n- <SApplicationException object at 0x00007efc88cc2dc0>,\n- (CancelledError(),)]") created at /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py:974> took 0.205 seconds
Executing <Task finished name='Task-10265' coro=<BaseTestTaskGroup.test_exception_refcycles_base_error() done, defined at /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py:942> exception=AssertionError("Lists differ: [<frame at 0x00007efc86c211a8, file '/buil[166 chars](),)] != []\n\nFirst list contains 2 additional elements.\nFirst extra element 0:\n<frame at 0x00007efc86c211a8, file '/buildbot/slave/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 0x00007efc86c211a8, file '/buildbot/slave/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 /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py:100> took 0.238 seconds
Executing <Task finished name='Task-10270' coro=<BaseTestTaskGroup.test_exception_refcycles_direct() done, defined at /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py:846> exception=AssertionError("Lists differ: [<frame at 0x00007efc86c21ca8, file '/buil[201 chars]]),)] != []\n\nFirst list contains 2 additional elements.\nFirst extra element 0:\n<frame at 0x00007efc86c21ca8, file '/buildbot/slave/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 0x00007efc86c21ca8, file '/buildbot/slave/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 /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py:100> took 0.227 seconds
Executing <Task finished name='Task-10275' coro=<BaseTestTaskGroup.test_exception_refcycles_errors() done, defined at /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py:864> exception=AssertionError("Lists differ: [<frame at 0x00007efc8ac96128, file '/buil[148 chars](),)] != []\n\nFirst list contains 2 additional elements.\nFirst extra element 0:\n<frame at 0x00007efc8ac96128, file '/buildbot/slave/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 0x00007efc8ac96128, file '/buildbot/slave/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 /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py:100> took 0.228 seconds
Executing <Task finished name='Task-10280' coro=<BaseTestTaskGroup.test_exception_refcycles_parent_task() done, defined at /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py:882> exception=AssertionError("Lists differ: [<frame at 0x00007efc8ad2de60, file '/buil[238 chars](),)] != []\n\nFirst list contains 5 additional elements.\nFirst extra element 0:\n<frame at 0x00007efc8ad2de60, file '/buildbot/slave/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 0x00007efc8ad2de60, file '/buildbot/slave/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 /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py:100> took 0.257 seconds
Executing <Task finished name='Task-10292' coro=<BaseTestTaskGroup.test_exception_refcycles_propagate_cancellation_error() done, defined at /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_asyncio/test_taskgroups.py:927> exception=AssertionError("Lists differ: [<frame at 0x00000000373dc440, file '/buil[531 chars](),)] != []\n\nFirst list contains 5 additional elements.\nFirst extra element 0:\n<frame at 0x00000000373dc440, file '/buildbot/slave/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 0x00000000373dc440, file '/buildbot/slave/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 0x0000000033a9e078, file '/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py', line 316, code __step_run_and_handle_result>,\n- <frame at 0x0000000033a9e0d0, file '/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/tasks.py', line 303, code __step>,\n- <SApplicationException object at 0x000000003322d660>,\n- (CancelledError(),)]") created at /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/asyncio/runners.py:100> took 0.229 seconds
test test_asyncio.test_taskgroups failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2559479æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 3261059249
0:00:00 load avg: 0.37 Run 1 test sequentially in a single process
0:00:00 load avg: 0.37 [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) ... ok
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) ... ok
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) ... ok
test_dataclass_derived_weakref_slot (test.test_dataclasses.TestSlots.test_dataclass_derived_weakref_slot) ... ERROR
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) ... ok
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) ... ok
test_returns_new_class (test.test_dataclasses.TestSlots.test_returns_new_class) ... ok
test_simple (test.test_dataclasses.TestSlots.test_simple) ... ok
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_dataclass_derived_weakref_slot (test.test_dataclasses.TestSlots.test_dataclass_derived_weakref_slot)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_dataclasses/__init__.py", line 3494, in test_dataclass_derived_weakref_slot
@dataclass(slots=True, weakref_slot=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/dataclasses.py", line 1148, in _process_class
cls = _add_slots(cls, frozen, weakref_slot)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/dataclasses.py", line 1233, in _add_slots
cls = type(cls)(cls.__name__, cls.__bases__, cls_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: __weakref__ slot disallowed: we already got one
======================================================================
FAIL: test_dataclass_derived_generic_from_base (test.test_dataclasses.TestSlots.test_dataclass_derived_generic_from_base)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_dataclasses/__init__.py", line 3526, in test_dataclass_derived_generic_from_base
self.assertEqual(C1.__slots__, ())
^^^^^^^^^^^
AssertionError: Tuples differ: ('__weakref__',) != ()
First tuple contains 1 additional elements.
First extra element 0:
'__weakref__'
- ('__weakref__',)
+ ()
======================================================================
FAIL: test_slots_no_weakref (test.test_dataclasses.TestSlots.test_slots_no_weakref)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/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.400s
FAILED (failures=2, errors=1, skipped=2)
0:00:00 load avg: 0.37 [1/1/1] test_dataclasses failed (1 error, 2 failures)
== Tests result: FAILURE ==
1 test failed:
test_dataclasses
Total duration: 586 ms
Total tests: run=244 failures=2 skipped=2
Total test files: run=1/1 failed=1
Result: FAILURE
test test_dataclasses failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2559484æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 3993340797
0:00:00 load avg: 0.37 Run 1 test sequentially in a single process
0:00:00 load avg: 0.37 [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 "/buildbot/slave/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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_doctest/test_doctest.py", line 728, in non_Python_modules
----------------------------------------------------------------------
File "/buildbot/slave/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 "/buildbot/slave/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 "/buildbot/slave/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.700s
FAILED (failures=1)
0:00:01 load avg: 0.42 [1/1/1] test_doctest failed (1 failure)
== Tests result: FAILURE ==
1 test failed:
test_doctest
Total duration: 1.9 sec
Total tests: run=67 failures=1
Total test files: run=1/1 failed=1
Result: FAILURE
test test_doctest failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2561923æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 2831163948
0:00:00 load avg: 0.59 Run 1 test sequentially in a single process
0:00:00 load avg: 0.59 [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 "/buildbot/slave/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.191s
FAILED (failures=1)
0:00:00 load avg: 0.59 [1/1/1] test_module failed (1 failure)
== Tests result: FAILURE ==
1 test failed:
test_module
Total duration: 274 ms
Total tests: run=39 failures=1
Total test files: run=1/1 failed=1
Result: FAILURE
test test_module failed
_______________________________________ _______________________________________
== PyPy 3.12.14 (7996577de05b, Sep 10 2026, 03:30:14) [PyPy 8.0.1-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-51-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2568997æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 2648418962
0:00:00 load avg: 1.03 Run 1 test sequentially in a single process
0:00:00 load avg: 1.03 [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) ... FAIL
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) ... ok
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) ... ok
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) ... ok
test_gh86298_loader_is_none_and_spec_loader_is_none (test.test_warnings.CWarnTests.test_gh86298_loader_is_none_and_spec_loader_is_none) ... ok
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) ... ok
test_gh86298_no_loader_and_spec_is_none (test.test_warnings.CWarnTests.test_gh86298_no_loader_and_spec_is_none) ... ok
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) ... ok
test_gh86298_no_spec_loader (test.test_warnings.CWarnTests.test_gh86298_no_spec_loader) ... ok
test_gh86298_spec_is_none (test.test_warnings.CWarnTests.test_gh86298_spec_is_none) ... ok
test_message (test.test_warnings.CWarnTests.test_message) ... ok
test_skip_file_prefixes (test.test_warnings.CWarnTests.test_skip_file_prefixes) ... ok
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) ... skipped 'implementation detail specific to cpython'
test_late_resource_warning (test.test_warnings.FinalizationTest.test_late_resource_warning) ... skipped 'implementation detail specific to cpython'
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) ... skipped 'implementation detail specific to cpython'
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
======================================================================
FAIL: test_module_globals (test.test_warnings.CFilterTests.test_module_globals)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_warnings/__init__.py", line 247, in test_module_globals
with self.assertRaises(TypeError):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: TypeError not raised
----------------------------------------------------------------------
Ran 147 tests in 0.564s
FAILED (failures=1, skipped=6)
0:00:00 load avg: 1.03 [1/1/1] test_warnings failed (1 failure)
== Tests result: FAILURE ==
1 test failed:
test_warnings
Total duration: 665 ms
Total tests: run=147 failures=1 skipped=6
Total test files: run=1/1 failed=1
Result: FAILURE
test test_warnings failed
=========================== short test summary info ============================
SKIP [7] /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/conftest.py:629: implementation detail
SKIP [4] /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/conftest.py:629: CPython internal details
SKIP [1] /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/conftest.py:629: needs low level audio
SKIP [1] /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/conftest.py:629: needs ctypes.pythonapi
SKIP [3] /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/conftest.py:629: needs display
SKIP [1] /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/conftest.py:629: requires audio
SKIP [1] /buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/conftest.py:629: demands too many resources
========================== slowest 10 test durations ===========================
101.18s call lib-python/3/test/test_multiprocessing_spawn::unmodified
97.22s call lib-python/3/test/test_asyncio::unmodified
86.26s call lib-python/3/test/test_concurrent_futures::unmodified
84.84s call lib-python/3/test/test_multiprocessing_forkserver::unmodified
61.47s call lib-python/3/test/test_multiprocessing_fork::unmodified
60.07s call lib-python/3/test/test_subprocess.py::unmodified
42.73s call lib-python/3/test/test_ssl.py::unmodified
42.63s call lib-python/3/test/test_socket.py::unmodified
22.36s call lib-python/3/test/test_regrtest.py::unmodified
20.77s call lib-python/3/test/test_signal.py::unmodified
============= 44 failed, 378 passed, 18 skipped in 1160.53 seconds =============
program finished with exit code 1
elapsedTime=1161.125090