Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 504082 Details for
Bug 637382
dev-python/pypy3-bin-5.9.0-r1 : [TEST] ValueError: invalid protocol version
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-python:pypy3-bin-5.9.0-r1:20171113-101147.log
dev-python:pypy3-bin-5.9.0-r1:20171113-101147.log (text/plain), 530.12 KB, created by
Toralf Förster
on 2017-11-13 18:56:20 UTC
(
hide
)
Description:
dev-python:pypy3-bin-5.9.0-r1:20171113-101147.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2017-11-13 18:56:20 UTC
Size:
530.12 KB
patch
obsolete
> * Package: dev-python/pypy3-bin-5.9.0-r1 > * Repository: gentoo > * Maintainer: python@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc gdbm jit kernel_linux libressl test userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking pypy3-v5.9.0-src.tar.bz2 to /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work >>>> Unpacking pypy3-bin-5.9.0-amd64+bzip2+jit+ncurses.tar.lz to /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work >>>> Source unpacked in /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work >>>> Preparing source in /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src ... > * Applying 4.0.0-gentoo-path.patch ... > [ ok ] > * Applying 1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch ... > [ ok ] > * Applying 5.8.0_all_distutils_cxx.patch ... > [ ok ] > * Applying python-3.5-distutils-OO-build.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src ... > * Generating caches and CFFI modules ... >generating ./_audioop_cffi.c >the current directory is '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy' >running build_ext >building '_audioop_cffi' extension >cc -pthread -O2 -pipe -march=native -Wall -fPIC -I/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/include -c _audioop_cffi.c -o ./_audioop_cffi.o >_audioop_cffi.c: In function âadcpm2linâ: >_audioop_cffi.c:1039:9: warning: unused variable âdiffâ [-Wunused-variable] > int diff, vpdiff, sign, delta; > ^~~~ >_audioop_cffi.c:1038:9: warning: unused variable âvalâ [-Wunused-variable] > int val = 0; > ^~~ >cc -pthread -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -Wall ./_audioop_cffi.o -o ./_audioop_cffi.pypy3-59-x86_64-linux-gnu.so >_lzma_cffi.c: In function â_cffi_checkfld_typedef_lzma_streamâ: >_lzma_cffi.c:880:29: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] > { lzma_allocator * *tmp = &p->allocator; (void)tmp; } > ^ >_gdbm_cffi.c: In function â_cffi_d_gdbm_openâ: >_gdbm_cffi.c:868:36: warning: passing argument 5 of âgdbm_openâ from incompatible pointer type [-Wincompatible-pointer-types] > return gdbm_open(x0, x1, x2, x3, x4); > ^~ >In file included from _gdbm_cffi.c:484:0: >/usr/include/gdbm.h:114:18: note: expected âvoid (*)(const char *)â but argument is of type âvoid (*)(void)â > extern GDBM_FILE gdbm_open (const char *, int, int, int, > ^~~~~~~~~ >_gdbm_cffi.c: In function â_cffi_d_gdbm_strerrorâ: >_gdbm_cffi.c:1029:10: warning: return discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > return gdbm_strerror(x0); > ^~~~~~~~~~~~~~~~~ >>>> Source compiled. >>>> Test phase: dev-python/pypy3-bin-5.9.0-r1 >============================= test session starts ============================== >platform linux2 -- Python 2.7.14, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 >rootdir: /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src, inifile: pytest.ini >plugins: xprocess-0.12.1, virtualenv-1.2.11, shutil-1.2.11, expect-1.1.0, arraydiff-0.1, hypothesis-3.34.1, backports.unittest-mock-1.3 > >collecting 0 items >collecting 1 items >collecting 2 items >collecting 3 items >collecting 4 items >collecting 5 items >collecting 6 items >collecting 7 items >collecting 8 items >collecting 9 items >collecting 10 items >collecting 11 items >collecting 12 items >collecting 13 items >collecting 14 items >collecting 15 items >collecting 16 items >collecting 17 items >collecting 18 items >collecting 19 items >collecting 20 items >collecting 21 items >collecting 22 items >collecting 23 items >collecting 24 items >collecting 25 items >collecting 26 items >collecting 27 items >collecting 28 items >collecting 29 items >collecting 30 items >collecting 31 items >collecting 32 items >collecting 33 items >collecting 34 items >collecting 35 items >collecting 36 items >collecting 37 items >collecting 38 items >collecting 39 items >collecting 40 items >collecting 41 items >collecting 42 items >collecting 43 items >collecting 44 items >collecting 45 items >collecting 46 items >collecting 47 items >collecting 48 items >collecting 49 items >collecting 50 items >collecting 51 items >collecting 52 items >collecting 53 items >collecting 54 items >collecting 55 items >collecting 56 items >collecting 57 items >collecting 58 items >collecting 59 items >collecting 60 items >collecting 61 items >collecting 62 items >collecting 63 items >collecting 64 items >collecting 65 items >collecting 66 items >collecting 67 items >collecting 68 items >collecting 69 items >collecting 70 items >collecting 71 items >collecting 72 items >collecting 73 items >collecting 74 items >collecting 75 items >collecting 76 items >collecting 77 items >collecting 78 items >collecting 79 items >collecting 80 items >collecting 81 items >collecting 82 items >collecting 83 items >collecting 84 items >collecting 85 items >collecting 86 items >collecting 87 items >collecting 88 items >collecting 89 items >collecting 90 items >collecting 91 items >collecting 92 items >collecting 93 items >collecting 94 items >collecting 95 items >collecting 96 items >collecting 97 items >collecting 98 items >collecting 99 items >collecting 100 items >collecting 101 items >collecting 102 items >collecting 103 items >collecting 104 items >collecting 105 items >collecting 106 items >collecting 107 items >collecting 108 items >collecting 109 items >collecting 110 items >collecting 111 items >collecting 112 items >collecting 113 items >collecting 114 items >collecting 115 items >collecting 116 items >collecting 117 items >collecting 118 items >collecting 119 items >collecting 120 items >collecting 121 items >collecting 122 items >collecting 123 items >collecting 124 items >collecting 125 items >collecting 126 items >collecting 127 items >collecting 128 items >collecting 129 items >collecting 130 items >collecting 131 items >collecting 132 items >collecting 133 items >collecting 134 items >collecting 135 items >collecting 136 items >collecting 137 items >collecting 138 items >collecting 139 items >collecting 140 items >collecting 141 items >collecting 142 items >collecting 143 items >collecting 144 items >collecting 145 items >collecting 146 items >collecting 147 items >collecting 148 items >collecting 149 items >collecting 150 items >collecting 151 items >collecting 152 items >collecting 153 items >collecting 154 items >collecting 155 items >collecting 156 items >collecting 157 items >collecting 158 items >collecting 159 items >collecting 160 items >collecting 161 items >collecting 162 items >collecting 163 items >collecting 164 items >collecting 165 items >collecting 166 items >collecting 167 items >collecting 168 items >collecting 169 items >collecting 170 items >collecting 171 items >collecting 172 items >collecting 173 items >collecting 174 items >collecting 175 items >collecting 176 items >collecting 177 items >collecting 178 items >collecting 179 items >collecting 180 items >collecting 181 items >collecting 182 items >collecting 183 items >collecting 184 items >collecting 185 items >collecting 186 items >collecting 187 items >collecting 188 items >collecting 189 items >collecting 190 items >collecting 191 items >collecting 192 items >collecting 193 items >collecting 194 items >collecting 195 items >collecting 196 items >collecting 197 items >collecting 198 items >collecting 199 items >collecting 200 items >collecting 201 items >collecting 202 items >collecting 203 items >collecting 204 items >collecting 205 items >collecting 206 items >collecting 207 items >collecting 208 items >collecting 209 items >collecting 210 items >collecting 211 items >collecting 212 items >collecting 213 items >collecting 214 items >collecting 215 items >collecting 216 items >collecting 217 items >collecting 218 items >collecting 219 items >collecting 220 items >collecting 221 items >collecting 222 items >collecting 223 items >collecting 224 items >collecting 225 items >collecting 226 items >collecting 227 items >collecting 228 items >collecting 229 items >collecting 230 items >collecting 231 items >collecting 232 items >collecting 233 items >collecting 234 items >collecting 235 items >collecting 236 items >collecting 237 items >collecting 238 items >collecting 239 items >collecting 240 items >collecting 241 items >collecting 242 items >collecting 243 items >collecting 244 items >collecting 245 items >collecting 246 items >collecting 247 items >collecting 248 items >collecting 249 items >collecting 250 items >collecting 251 items >collecting 252 items >collecting 253 items >collecting 254 items >collecting 255 items >collecting 256 items >collecting 257 items >collecting 258 items >collecting 259 items >collecting 260 items >collecting 261 items >collecting 262 items >collecting 263 items >collecting 264 items >collecting 265 items >collecting 266 items >collecting 267 items >collecting 268 items >collecting 269 items >collecting 270 items >collecting 271 items >collecting 272 items >collecting 273 items >collecting 274 items >collecting 275 items >collecting 276 items >collecting 277 items >collecting 278 items >collecting 279 items >collecting 280 items >collecting 281 items >collecting 282 items >collecting 283 items >collecting 284 items >collecting 285 items >collecting 286 items >collecting 287 items >collecting 288 items >collecting 289 items >collecting 290 items >collecting 291 items >collecting 292 items >collecting 293 items >collecting 294 items >collecting 295 items >collecting 296 items >collecting 297 items >collecting 298 items >collecting 299 items >collecting 300 items >collecting 301 items >collecting 302 items >collecting 303 items >collecting 304 items >collecting 305 items >collecting 306 items >collecting 307 items >collecting 308 items >collecting 309 items >collecting 310 items >collecting 311 items >collecting 312 items >collecting 313 items >collecting 314 items >collecting 315 items >collecting 316 items >collecting 317 items >collecting 318 items >collecting 319 items >collecting 320 items >collecting 321 items >collecting 322 items >collecting 323 items >collecting 324 items >collecting 325 items >collecting 326 items >collecting 327 items >collecting 328 items >collecting 329 items >collecting 330 items >collecting 331 items >collecting 332 items >collecting 333 items >collecting 334 items >collecting 335 items >collecting 336 items >collecting 337 items >collecting 338 items >collecting 339 items >collecting 340 items >collecting 341 items >collecting 342 items >collecting 343 items >collecting 344 items >collecting 345 items >collecting 346 items >collecting 347 items >collecting 348 items >collecting 349 items >collecting 350 items >collecting 351 items >collecting 352 items >collecting 353 items >collecting 354 items >collecting 355 items >collecting 356 items >collecting 357 items >collecting 358 items >collecting 359 items >collecting 360 items >collecting 361 items >collecting 362 items >collecting 363 items >collecting 364 items >collecting 365 items >collecting 366 items >collecting 367 items >collecting 368 items >collecting 369 items >collecting 370 items >collecting 371 items >collecting 372 items >collecting 373 items >collecting 374 items >collecting 375 items >collecting 376 items >collecting 377 items >collecting 378 items >collecting 379 items >collecting 380 items >collecting 381 items >collecting 382 items >collecting 383 items >collecting 384 items >collecting 385 items >collecting 386 items >collecting 387 items >collecting 388 items >collecting 389 items >collecting 390 items >collecting 391 items >collecting 392 items >collecting 393 items >collecting 394 items >collecting 395 items >collecting 396 items >collecting 397 items >collecting 398 items >collecting 399 items >collected 399 items > >lib-python/3/test/test___all__.py . >lib-python/3/test/test___future__.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_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_ast.py . >lib-python/3/test/test_asynchat.py . >lib-python/3/test/test_asyncore.py . >lib-python/3/test/test_atexit.py . >lib-python/3/test/test_audioop.py . >lib-python/3/test/test_augassign.py . >lib-python/3/test/test_base64.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_binhex.py . >lib-python/3/test/test_binop.py . >lib-python/3/test/test_bisect.py s >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 . >lib-python/3/test/test_bz2.py . >lib-python/3/test/test_calendar.py . >lib-python/3/test/test_call.py . >lib-python/3/test/test_capi.py F >lib-python/3/test/test_cgi.py . >lib-python/3/test/test_cgitb.py . >lib-python/3/test/test_charmapcodec.py . >lib-python/3/test/test_class.py . >lib-python/3/test/test_cmath.py . >lib-python/3/test/test_cmd.py . >lib-python/3/test/test_cmd_line.py . >lib-python/3/test/test_cmd_line_script.py F >lib-python/3/test/test_code.py . >lib-python/3/test/test_code_module.py . >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 F >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_complex.py . >lib-python/3/test/test_concurrent_futures.py . >lib-python/3/test/test_configparser.py . >lib-python/3/test/test_contains.py . >lib-python/3/test/test_contextlib.py . >lib-python/3/test/test_copy.py . >lib-python/3/test/test_copyreg.py . >lib-python/3/test/test_coroutines.py . >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_ctypes.py F >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_dictcomps.py . >lib-python/3/test/test_dictviews.py . >lib-python/3/test/test_difflib.py . >lib-python/3/test/test_dis.py F >lib-python/3/test/test_distutils.py s >lib-python/3/test/test_doctest.py F >lib-python/3/test/test_doctest2.py . >lib-python/3/test/test_docxmlrpc.py . >lib-python/3/test/test_dummy_thread.py . >lib-python/3/test/test_dummy_threading.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_ensurepip.py . >lib-python/3/test/test_enum.py . >lib-python/3/test/test_enumerate.py . >lib-python/3/test/test_eof.py . >lib-python/3/test/test_epoll.py . >lib-python/3/test/test_errno.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_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 . >lib-python/3/test/test_frame.py . >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 . >lib-python/3/test/test_future.py . >lib-python/3/test/test_future3.py . >lib-python/3/test/test_future4.py . >lib-python/3/test/test_future5.py . >lib-python/3/test/test_gc.py s >lib-python/3/test/test_gdb.py s >lib-python/3/test/test_generators.py . >lib-python/3/test/test_genericpath.py . >lib-python/3/test/test_genexps.py . >lib-python/3/test/test_getargs2.py s >lib-python/3/test/test_getopt.py . >lib-python/3/test/test_getpass.py . >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_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_imp.py . >lib-python/3/test/test_index.py . >lib-python/3/test/test_inspect.py F >lib-python/3/test/test_int.py . >lib-python/3/test/test_int_literal.py . >lib-python/3/test/test_io.py F >lib-python/3/test/test_ioctl.py . >lib-python/3/test/test_ipaddress.py . >lib-python/3/test/test_isinstance.py . >lib-python/3/test/test_iter.py . >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_lib2to3.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_locale.py . >lib-python/3/test/test_logging.py . >lib-python/3/test/test_long.py . >lib-python/3/test/test_longexp.py . >lib-python/3/test/test_lzma.py . >lib-python/3/test/test_macpath.py . >lib-python/3/test/test_macurl2path.py . >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_memoryio.py . >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_module.py . >lib-python/3/test/test_modulefinder.py . >lib-python/3/test/test_msilib.py . >lib-python/3/test/test_multibytecodec.py . >lib-python/3/test/test_multiprocessing_fork.py F >lib-python/3/test/test_multiprocessing_forkserver.py F >lib-python/3/test/test_multiprocessing_main_handling.py . >lib-python/3/test/test_multiprocessing_spawn.py F >lib-python/3/test/test_netrc.py . >lib-python/3/test/test_nis.py . >lib-python/3/test/test_nntplib.py . >lib-python/3/test/test_normalization.py . >lib-python/3/test/test_ntpath.py . >lib-python/3/test/test_numeric_tower.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 . >lib-python/3/test/test_osx_env.py . >lib-python/3/test/test_parser.py s >lib-python/3/test/test_pathlib.py . >lib-python/3/test/test_pdb.py . >lib-python/3/test/test_peepholer.py . >lib-python/3/test/test_pep247.py . >lib-python/3/test/test_pep277.py . >lib-python/3/test/test_pep3120.py . >lib-python/3/test/test_pep3131.py . >lib-python/3/test/test_pep3151.py . >lib-python/3/test/test_pep352.py . >lib-python/3/test/test_pep380.py . >lib-python/3/test/test_pep479.py . >lib-python/3/test/test_pickle.py . >lib-python/3/test/test_pickletools.py . >lib-python/3/test/test_pipes.py . >lib-python/3/test/test_pkg.py . >lib-python/3/test/test_pkgimport.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_posix.py . >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_pydoc.py F >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 . >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_reprlib.py . >lib-python/3/test/test_resource.py . >lib-python/3/test/test_richcmp.py . >lib-python/3/test/test_rlcompleter.py F >lib-python/3/test/test_robotparser.py . >lib-python/3/test/test_runpy.py . >lib-python/3/test/test_sax.py . >lib-python/3/test/test_sched.py . >lib-python/3/test/test_scope.py . >lib-python/3/test/test_script_helper.py . >lib-python/3/test/test_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_smtpd.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_sqlite.py . >lib-python/3/test/test_ssl.py F >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_stringprep.py . >lib-python/3/test/test_strlit.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_structmembers.py s >lib-python/3/test/test_structseq.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 . >lib-python/3/test/test_sys_settrace.py . >lib-python/3/test/test_sysconfig.py . >lib-python/3/test/test_syslog.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 . >lib-python/3/test/test_textwrap.py . >lib-python/3/test/test_thread.py . >lib-python/3/test/test_threaded_import.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 . >lib-python/3/test/test_tk.py . >lib-python/3/test/test_tokenize.py . >lib-python/3/test/test_trace.py . >lib-python/3/test/test_traceback.py . >lib-python/3/test/test_tracemalloc.py F >lib-python/3/test/test_ttk_guionly.py . >lib-python/3/test/test_ttk_textonly.py . >lib-python/3/test/test_tuple.py . >lib-python/3/test/test_turtle.py . >lib-python/3/test/test_typechecks.py . >lib-python/3/test/test_types.py . >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 F >lib-python/3/test/test_unicode_file.py . >lib-python/3/test/test_unicodedata.py . >lib-python/3/test/test_unittest.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_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_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_winreg.py . >lib-python/3/test/test_winsound.py . >lib-python/3/test/test_with.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_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_zipapp.py . >lib-python/3/test/test_zipfile.py . >lib-python/3/test/test_zipfile64.py . >lib-python/3/test/test_zipimport.py . >lib-python/3/test/test_zipimport_support.py . >lib-python/3/test/test_zlib.py . >lib-python/3/test/test_asyncio F >lib-python/3/test/test_email . >lib-python/3/test/test_import F >lib-python/3/test/test_importlib . >lib-python/3/test/test_json . >lib-python/3/test/test_tools s >lib-python/3/test/test_warnings . >=========================== short test summary info ============================ >FAIL lib-python/3/test/test_capi.py::unmodified >FAIL lib-python/3/test/test_cmd_line_script.py::unmodified >FAIL lib-python/3/test/test_codecs.py::unmodified >FAIL lib-python/3/test/test_compile.py::unmodified >FAIL lib-python/3/test/test_cprofile.py::unmodified >FAIL lib-python/3/test/test_ctypes.py::unmodified >FAIL lib-python/3/test/test_dis.py::unmodified >FAIL lib-python/3/test/test_doctest.py::unmodified >FAIL lib-python/3/test/test_inspect.py::unmodified >FAIL lib-python/3/test/test_io.py::unmodified >FAIL lib-python/3/test/test_multiprocessing_fork.py::unmodified >FAIL lib-python/3/test/test_multiprocessing_forkserver.py::unmodified >FAIL lib-python/3/test/test_multiprocessing_spawn.py::unmodified >FAIL lib-python/3/test/test_pydoc.py::unmodified >FAIL lib-python/3/test/test_readline.py::unmodified >FAIL lib-python/3/test/test_rlcompleter.py::unmodified >FAIL lib-python/3/test/test_ssl.py::unmodified >FAIL lib-python/3/test/test_subprocess.py::unmodified >FAIL lib-python/3/test/test_tracemalloc.py::unmodified >FAIL lib-python/3/test/test_unicode.py::unmodified >FAIL lib-python/3/test/test_asyncio::unmodified >FAIL lib-python/3/test/test_import::unmodified > >=================================== FAILURES =================================== >_______________________________________ _______________________________________ >== PyPy 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34) [PyPy 5.9.0-beta0 with GCC 5.4.0] >== Linux-4.13.12-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1 little-endian >== hash algorithm: siphash24 64bit >== /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_27120 >Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0) >[1/1] test_capi >test_buildvalue_N (test.test_capi.CAPITest) ... ERROR >test_c_type_with_matrix_multiplication (test.test_capi.CAPITest) ... ok >test_docstring_signature_parsing (test.test_capi.CAPITest) ... ERROR >test_exc_info (test.test_capi.CAPITest) ... ok >test_instancemethod (test.test_capi.CAPITest) ... ok >test_memoryview_from_NULL_pointer (test.test_capi.CAPITest) ... FAIL >test_no_FatalError_infinite_loop (test.test_capi.CAPITest) ... FAIL >test_return_null_without_error (test.test_capi.CAPITest) ... FAIL >test_return_result_with_error (test.test_capi.CAPITest) ... FAIL >test_seq_bytes_to_charp_array (test.test_capi.CAPITest) ... ok >test_subprocess_fork_exec (test.test_capi.CAPITest) ... ok >test_forced_io_encoding (test.test_capi.EmbeddingTests) ... skipped "'/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/Programs/_testembed' doesn't exist" >test_subinterps (test.test_capi.EmbeddingTests) ... skipped "'/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/Programs/_testembed' doesn't exist" >test_parse_tuple_and_keywords (test.test_capi.SkipitemTest) ... ERROR >test_skipitem (test.test_capi.SkipitemTest) ... FAIL >test_subinterps (test.test_capi.SubinterpreterTest) ... ERROR >test (test.test_capi.Test6012) ... ok >test_pendingcalls_non_threaded (test.test_capi.TestPendingCalls) ... skipped 'Py_AddPendingCall not currently supported.' >test_pendingcalls_threaded (test.test_capi.TestPendingCalls) ... skipped 'Py_AddPendingCall not currently supported.' >test_thread_state (test.test_capi.TestThreadState) ... skipped 'Not currently supported under PyPy' >test__testcapi (test.test_capi.Test_testcapi) ... >====================================================================== >ERROR: test_buildvalue_N (test.test_capi.CAPITest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_capi.py", line 245, in test_buildvalue_N > _testcapi.test_buildvalue_N() >_testcapi.error: test_buildvalue_N: arg was not decrefed in Py_BuildValue("N") > >====================================================================== >ERROR: test_docstring_signature_parsing (test.test_capi.CAPITest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_capi.py", line 129, in test_docstring_signature_parsing > self.assertEqual(_testcapi.no_docstring.__text_signature__, None) >AttributeError: 'builtin_function_or_method' object has no attribute '__text_signature__' > >====================================================================== >ERROR: test_parse_tuple_and_keywords (test.test_capi.SkipitemTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_capi.py", line 535, in test_parse_tuple_and_keywords > (), {}, b'', [42]) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/unittest/case.py", line 728, in assertRaises > return context.handle('assertRaises', args, kwargs) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/unittest/case.py", line 177, in handle > callable_obj(*args, **kwargs) >RuntimeError: More keyword list entries (1) than format specifiers (0) > >====================================================================== >ERROR: test_subinterps (test.test_capi.SubinterpreterTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_capi.py", line 342, in test_subinterps > ret = support.run_in_subinterp(code) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/__init__.py", line 2430, in run_in_subinterp > return _testcapi.run_in_subinterp(code) >AttributeError: module '_testcapi' has no attribute 'run_in_subinterp' > >====================================================================== >ERROR: test__testcapi (test.test_capi.Test_testcapi) [internal] (name='test_buildvalue_N') >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_capi.py", line 569, in test__testcapi > test() >_testcapi.error: test_buildvalue_N: arg was not decrefed in Py_BuildValue("N") > >====================================================================== >ERROR: test__testcapi (test.test_capi.Test_testcapi) [internal] (name='test_capsule') >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_capi.py", line 569, in test__testcapi > test() >_testcapi.error: test_capsule: PyCapsule_GetPointer returned NULL unexpectedly! module: "_socket" attribute: "CAPI" > >====================================================================== >ERROR: test__testcapi (test.test_capi.Test_testcapi) [internal] (name='test_lazy_hash_inheritance') >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_capi.py", line 569, in test__testcapi > test() >_testcapi.error: test_lazy_hash_inheritance: type initialised too soon > >====================================================================== >FAIL: test_memoryview_from_NULL_pointer (test.test_capi.CAPITest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_capi.py", line 72, in test_memoryview_from_NULL_pointer > self.assertRaises(ValueError, _testcapi.make_memoryview_from_NULL_pointer) >AssertionError: ValueError not raised by make_memoryview_from_NULL_pointer > >====================================================================== >FAIL: test_no_FatalError_infinite_loop (test.test_capi.CAPITest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_capi.py", line 68, in test_no_FatalError_infinite_loop > b'Fatal Python error:' >AssertionError: False is not true > >====================================================================== >FAIL: test_return_null_without_error (test.test_capi.CAPITest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_capi.py", line 209, in test_return_null_without_error > 'return_null_without_error.* ' >AssertionError: Regex didn't match: 'return_null_without_error.* returned NULL without setting an error' not found in 'Function returned a NULL result without setting an exception' > >====================================================================== >FAIL: test_return_result_with_error (test.test_capi.CAPITest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_capi.py", line 241, in test_return_result_with_error > 'return_result_with_error.* ' >AssertionError: Regex didn't match: 'return_result_with_error.* returned a result with an error set' not found in 'An exception was set, but function returned a value' > >====================================================================== >FAIL: test_skipitem (test.test_capi.SkipitemTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_capi.py", line 524, in test_skipitem > self.assertIs(when_skipped, when_not_skipped, message) >AssertionError: True is not False : test_skipitem_parity: detected mismatch between convertsimple and skipitem for format unit ' ' (32), not skipped True, skipped False > >---------------------------------------------------------------------- >Ran 21 tests in 0.915s > >FAILED (failures=5, errors=7, skipped=5) >1 test failed: > test_capi >test test_capi failed > >_______________________________________ _______________________________________ >== PyPy 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34) [PyPy 5.9.0-beta0 with GCC 5.4.0] >== Linux-4.13.12-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1 little-endian >== hash algorithm: siphash24 64bit >== /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_28907 >Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0) >[1/1] test_cmd_line_script >test_basic_script (test.test_cmd_line_script.CmdLineTest) ... FAIL >test_dash_c_loader (test.test_cmd_line_script.CmdLineTest) ... FAIL >test_dash_m_bad_pyc (test.test_cmd_line_script.CmdLineTest) ... ok >test_dash_m_error_code_is_one (test.test_cmd_line_script.CmdLineTest) ... ok >test_dash_m_errors (test.test_cmd_line_script.CmdLineTest) ... ok >test_dash_m_init_traceback (test.test_cmd_line_script.CmdLineTest) ... ok >test_dash_m_main_traceback (test.test_cmd_line_script.CmdLineTest) ... ok >test_directory (test.test_cmd_line_script.CmdLineTest) ... FAIL >test_directory_compiled (test.test_cmd_line_script.CmdLineTest) ... ok >test_directory_error (test.test_cmd_line_script.CmdLineTest) ... ok >test_issue20500_exit_with_exception_value (test.test_cmd_line_script.CmdLineTest) ... ok >test_issue8202 (test.test_cmd_line_script.CmdLineTest) ... FAIL >test_issue8202_dash_c_file_ignored (test.test_cmd_line_script.CmdLineTest) ... ok >test_issue8202_dash_m_file_ignored (test.test_cmd_line_script.CmdLineTest) ... FAIL >test_module_in_package (test.test_cmd_line_script.CmdLineTest) ... FAIL >test_module_in_package_in_zipfile (test.test_cmd_line_script.CmdLineTest) ... FAIL >test_module_in_subpackage_in_zipfile (test.test_cmd_line_script.CmdLineTest) ... FAIL >test_non_ascii (test.test_cmd_line_script.CmdLineTest) ... ok >test_package (test.test_cmd_line_script.CmdLineTest) ... FAIL >test_package_compiled (test.test_cmd_line_script.CmdLineTest) ... ok >test_package_error (test.test_cmd_line_script.CmdLineTest) ... ok >test_package_recursion (test.test_cmd_line_script.CmdLineTest) ... ok >test_pep_409_verbiage (test.test_cmd_line_script.CmdLineTest) ... ok >test_repl_stderr_flush (test.test_cmd_line_script.CmdLineTest) ... ok >test_repl_stderr_flush_separate_stderr (test.test_cmd_line_script.CmdLineTest) ... skipped 'the prompt is still written to stdout in pypy' >test_repl_stdout_flush (test.test_cmd_line_script.CmdLineTest) ... ok >test_repl_stdout_flush_separate_stderr (test.test_cmd_line_script.CmdLineTest) ... skipped 'the prompt is still written to stdout in pypy' >test_script_compiled (test.test_cmd_line_script.CmdLineTest) ... FAIL >test_stdin_loader (test.test_cmd_line_script.CmdLineTest) ... FAIL >test_syntaxerror_indented_caret_position (test.test_cmd_line_script.CmdLineTest) ... FAIL >test_syntaxerror_unindented_caret_position (test.test_cmd_line_script.CmdLineTest) ... FAIL >test_zipfile (test.test_cmd_line_script.CmdLineTest) ... FAIL >test_zipfile_compiled (test.test_cmd_line_script.CmdLineTest) ... ok >test_zipfile_error (test.test_cmd_line_script.CmdLineTest) ... ok > >====================================================================== >FAIL: test_basic_script (test.test_cmd_line_script.CmdLineTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 245, in test_basic_script > importlib.machinery.SourceFileLoader) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 152, in _check_script > expected_package, expected_loader) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 137, in _check_output > self.assertIn(printed_package.encode('utf-8'), data) >AssertionError: b"__package__==''" not found in b"__loader__==<class '_frozen_importlib_external.SourceFileLoader'>\n__file__=='/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmplu7nrw16/script.py'\n__package__==None\nsys.argv[0]=='/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmplu7nrw16/script.py'\nsys.path[0]=='/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmplu7nrw16'\ncwd=='/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_28907'\n" > >====================================================================== >FAIL: test_dash_c_loader (test.test_cmd_line_script.CmdLineTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 167, in test_dash_c_loader > self.assertIn(expected, out) >AssertionError: b"<class '_frozen_importlib.BuiltinImporter'>" not found in b'None\n' > >====================================================================== >FAIL: test_directory (test.test_cmd_line_script.CmdLineTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 263, in test_directory > importlib.machinery.SourceFileLoader) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 149, in _check_script > rc, out, err = assert_python_ok(*run_args, __isolated=False) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/script_helper.py", line 139, in assert_python_ok > return _assert_python(True, *args, **env_vars) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/script_helper.py", line 125, in _assert_python > err)) >AssertionError: Process return code is 1 >command line: ['/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/pypy3-c', '-X', 'faulthandler', '-E', '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpteemdkxj', 'test1', 'test2', 'test3'] > >stdout: >--- >__loader__==<class '_frozen_importlib_external.SourceFileLoader'> >__file__=='/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpteemdkxj/__main__.py' >--- > >stderr: >--- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/runpy.py", line 193, in _run_module_as_main > "__main__", mod_spec) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/runpy.py", line 85, in _run_code > exec(code, run_globals) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpteemdkxj/__main__.py", line 23, in <module> > assertEqual(__file__, __cached__) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpteemdkxj/__main__.py", line 5, in assertEqual > raise AssertionError('%r != %r' % (lhs, rhs)) >AssertionError: '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpteemdkxj/__main__.py' != '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpteemdkxj/__pycache__/__main__.pypy3-59.pyc' >--- > >====================================================================== >FAIL: test_issue8202 (test.test_cmd_line_script.CmdLineTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 379, in test_issue8202 > rc, out, err = assert_python_ok('-m', 'test_pkg.script', *example_args, __isolated=False) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/script_helper.py", line 139, in assert_python_ok > return _assert_python(True, *args, **env_vars) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/script_helper.py", line 125, in _assert_python > err)) >AssertionError: Process return code is 1 >command line: ['/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/pypy3-c', '-X', 'faulthandler', '-E', '-m', 'test_pkg.script', 'test1', 'test2', 'test3'] > >stdout: >--- >init_argv0=='-m' >__loader__==<class '_frozen_importlib_external.SourceFileLoader'> >__file__=='/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmp26ffgjo0/test_pkg/script.py' >--- > >stderr: >--- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/runpy.py", line 193, in _run_module_as_main > "__main__", mod_spec) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/runpy.py", line 85, in _run_code > exec(code, run_globals) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmp26ffgjo0/test_pkg/script.py", line 23, in <module> > assertEqual(__file__, __cached__) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmp26ffgjo0/test_pkg/script.py", line 5, in assertEqual > raise AssertionError('%r != %r' % (lhs, rhs)) >AssertionError: '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmp26ffgjo0/test_pkg/script.py' != '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmp26ffgjo0/test_pkg/__pycache__/script.pypy3-59.pyc' >--- > >====================================================================== >FAIL: test_issue8202_dash_m_file_ignored (test.test_cmd_line_script.CmdLineTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 412, in test_issue8202_dash_m_file_ignored > __isolated=False) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/script_helper.py", line 139, in assert_python_ok > return _assert_python(True, *args, **env_vars) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/script_helper.py", line 125, in _assert_python > err)) >AssertionError: Process return code is 1 >command line: ['/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/pypy3-c', '-X', 'faulthandler', '-E', '-m', 'other', 'test1', 'test2', 'test3'] > >stdout: >--- >__loader__==<class '_frozen_importlib_external.SourceFileLoader'> >__file__=='/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpmqusb00a/other.py' >--- > >stderr: >--- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/runpy.py", line 193, in _run_module_as_main > "__main__", mod_spec) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/runpy.py", line 85, in _run_code > exec(code, run_globals) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpmqusb00a/other.py", line 23, in <module> > assertEqual(__file__, __cached__) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpmqusb00a/other.py", line 5, in assertEqual > raise AssertionError('%r != %r' % (lhs, rhs)) >AssertionError: '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpmqusb00a/other.py' != '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpmqusb00a/__pycache__/other.pypy3-59.pyc' >--- > >====================================================================== >FAIL: test_module_in_package (test.test_cmd_line_script.CmdLineTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 310, in test_module_in_package > importlib.machinery.SourceFileLoader) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 149, in _check_script > rc, out, err = assert_python_ok(*run_args, __isolated=False) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/script_helper.py", line 139, in assert_python_ok > return _assert_python(True, *args, **env_vars) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/script_helper.py", line 125, in _assert_python > err)) >AssertionError: Process return code is 1 >command line: ['/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/pypy3-c', '-X', 'faulthandler', '-E', '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpyzpfy9fv/launch.py', 'test1', 'test2', 'test3'] > >stdout: >--- >__loader__==<class '_frozen_importlib_external.SourceFileLoader'> >__file__=='/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpyzpfy9fv/test_pkg/script.py' >--- > >stderr: >--- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpyzpfy9fv/launch.py", line 3, in <module> > runpy._run_module_as_main('test_pkg.script') > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/runpy.py", line 193, in _run_module_as_main > "__main__", mod_spec) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/runpy.py", line 85, in _run_code > exec(code, run_globals) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpyzpfy9fv/test_pkg/script.py", line 23, in <module> > assertEqual(__file__, __cached__) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpyzpfy9fv/test_pkg/script.py", line 5, in assertEqual > raise AssertionError('%r != %r' % (lhs, rhs)) >AssertionError: '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpyzpfy9fv/test_pkg/script.py' != '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpyzpfy9fv/test_pkg/__pycache__/script.pypy3-59.pyc' >--- > >====================================================================== >FAIL: test_module_in_package_in_zipfile (test.test_cmd_line_script.CmdLineTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 317, in test_module_in_package_in_zipfile > zip_name, 'test_pkg', zipimport.zipimporter) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 149, in _check_script > rc, out, err = assert_python_ok(*run_args, __isolated=False) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/script_helper.py", line 139, in assert_python_ok > return _assert_python(True, *args, **env_vars) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/script_helper.py", line 125, in _assert_python > err)) >AssertionError: Process return code is 1 >command line: ['/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/pypy3-c', '-X', 'faulthandler', '-E', '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpm252js4s/launch.py', 'test1', 'test2', 'test3'] > >stdout: >--- >__loader__==<class 'zipimporter'> >__file__=='/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpm252js4s/test_zip.zip/test_pkg/script.py' >--- > >stderr: >--- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpm252js4s/launch.py", line 3, in <module> > runpy._run_module_as_main('test_pkg.script') > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/runpy.py", line 193, in _run_module_as_main > "__main__", mod_spec) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/runpy.py", line 85, in _run_code > exec(code, run_globals) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpm252js4s/test_zip.zip/test_pkg/script.py", line 23, in <module> > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpm252js4s/test_zip.zip/test_pkg/script.py", line 5, in assertEqual >AssertionError: '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpm252js4s/test_zip.zip/test_pkg/script.py' != '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpm252js4s/test_zip.zip/test_pkg/__pycache__/script.pypy3-59.pyc' >--- > >====================================================================== >FAIL: test_module_in_subpackage_in_zipfile (test.test_cmd_line_script.CmdLineTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 325, in test_module_in_subpackage_in_zipfile > zipimport.zipimporter) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 149, in _check_script > rc, out, err = assert_python_ok(*run_args, __isolated=False) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/script_helper.py", line 139, in assert_python_ok > return _assert_python(True, *args, **env_vars) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/script_helper.py", line 125, in _assert_python > err)) >AssertionError: Process return code is 1 >command line: ['/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/pypy3-c', '-X', 'faulthandler', '-E', '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpi0t3263u/launch.py', 'test1', 'test2', 'test3'] > >stdout: >--- >__loader__==<class 'zipimporter'> >__file__=='/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpi0t3263u/test_zip.zip/test_pkg/test_pkg/script.py' >--- > >stderr: >--- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpi0t3263u/launch.py", line 3, in <module> > runpy._run_module_as_main('test_pkg.test_pkg.script') > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/runpy.py", line 193, in _run_module_as_main > "__main__", mod_spec) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/runpy.py", line 85, in _run_code > exec(code, run_globals) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpi0t3263u/test_zip.zip/test_pkg/test_pkg/script.py", line 23, in <module> > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpi0t3263u/test_zip.zip/test_pkg/test_pkg/script.py", line 5, in assertEqual >AssertionError: '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpi0t3263u/test_zip.zip/test_pkg/test_pkg/script.py' != '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpi0t3263u/test_zip.zip/test_pkg/test_pkg/__pycache__/script.pypy3-59.pyc' >--- > >====================================================================== >FAIL: test_package (test.test_cmd_line_script.CmdLineTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 335, in test_package > importlib.machinery.SourceFileLoader) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 149, in _check_script > rc, out, err = assert_python_ok(*run_args, __isolated=False) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/script_helper.py", line 139, in assert_python_ok > return _assert_python(True, *args, **env_vars) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/script_helper.py", line 125, in _assert_python > err)) >AssertionError: Process return code is 1 >command line: ['/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/pypy3-c', '-X', 'faulthandler', '-E', '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpmj6mty8e/launch.py', 'test1', 'test2', 'test3'] > >stdout: >--- >__loader__==<class '_frozen_importlib_external.SourceFileLoader'> >__file__=='/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpmj6mty8e/test_pkg/__main__.py' >--- > >stderr: >--- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpmj6mty8e/launch.py", line 3, in <module> > runpy._run_module_as_main('test_pkg') > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/runpy.py", line 193, in _run_module_as_main > "__main__", mod_spec) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/runpy.py", line 85, in _run_code > exec(code, run_globals) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpmj6mty8e/test_pkg/__main__.py", line 23, in <module> > assertEqual(__file__, __cached__) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpmj6mty8e/test_pkg/__main__.py", line 5, in assertEqual > raise AssertionError('%r != %r' % (lhs, rhs)) >AssertionError: '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpmj6mty8e/test_pkg/__main__.py' != '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpmj6mty8e/test_pkg/__pycache__/__main__.pypy3-59.pyc' >--- > >====================================================================== >FAIL: test_script_compiled (test.test_cmd_line_script.CmdLineTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 256, in test_script_compiled > importlib.machinery.SourcelessFileLoader) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 152, in _check_script > expected_package, expected_loader) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 137, in _check_output > self.assertIn(printed_package.encode('utf-8'), data) >AssertionError: b"__package__==''" not found in b"__loader__==<class '_frozen_importlib_external.SourcelessFileLoader'>\n__file__=='/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpm3d1x_4x/script.pyc'\n__package__==None\nsys.argv[0]=='/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpm3d1x_4x/script.pyc'\nsys.path[0]=='/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpm3d1x_4x'\ncwd=='/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_28907'\n" > >====================================================================== >FAIL: test_stdin_loader (test.test_cmd_line_script.CmdLineTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 180, in test_stdin_loader > self.assertIn(expected, out) >AssertionError: b"<class '_frozen_importlib.BuiltinImporter'>" not found in b'None\n' > >====================================================================== >FAIL: test_syntaxerror_indented_caret_position (test.test_cmd_line_script.CmdLineTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 579, in test_syntaxerror_indented_caret_position > self.assertIn("\n 1 + 1 = 2\n ^", text) >AssertionError: '\n 1 + 1 = 2\n ^' not found in 'File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpyrssa1wd/script.py", line 2\nSyntaxError: can\'t assign to operator' > >====================================================================== >FAIL: test_syntaxerror_unindented_caret_position (test.test_cmd_line_script.CmdLineTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 567, in test_syntaxerror_unindented_caret_position > self.assertIn("\n 1 + 1 = 2\n ^", text) >AssertionError: '\n 1 + 1 = 2\n ^' not found in 'File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpcn9vlp_e/script.py", line 1\nSyntaxError: can\'t assign to operator' > >====================================================================== >FAIL: test_zipfile (test.test_cmd_line_script.CmdLineTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 285, in test_zipfile > zipimport.zipimporter) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cmd_line_script.py", line 149, in _check_script > rc, out, err = assert_python_ok(*run_args, __isolated=False) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/script_helper.py", line 139, in assert_python_ok > return _assert_python(True, *args, **env_vars) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/script_helper.py", line 125, in _assert_python > err)) >AssertionError: Process return code is 1 >command line: ['/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/pypy3-c', '-X', 'faulthandler', '-E', '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpfu2ox7s7/test_zip.zip', 'test1', 'test2', 'test3'] > >stdout: >--- >__loader__==<class 'zipimporter'> >__file__=='/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpfu2ox7s7/test_zip.zip/__main__.py' >--- > >stderr: >--- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/runpy.py", line 193, in _run_module_as_main > "__main__", mod_spec) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/runpy.py", line 85, in _run_code > exec(code, run_globals) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpfu2ox7s7/test_zip.zip/__main__.py", line 23, in <module> > assertEqual(__file__, __cached__) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpfu2ox7s7/test_zip.zip/__main__.py", line 5, in assertEqual > raise AssertionError('%r != %r' % (lhs, rhs)) >AssertionError: '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpfu2ox7s7/test_zip.zip/__main__.py' != '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpfu2ox7s7/test_zip.zip/__pycache__/__main__.pypy3-59.pyc' >--- > >---------------------------------------------------------------------- >Ran 34 tests in 6.770s > >FAILED (failures=14, skipped=2) >1 test failed: > test_cmd_line_script >test test_cmd_line_script failed > >_______________________________________ _______________________________________ >== PyPy 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34) [PyPy 5.9.0-beta0 with GCC 5.4.0] >== Linux-4.13.12-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1 little-endian >== hash algorithm: siphash24 64bit >== /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_8407 >Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0) >[1/1] test_codecs >test_bad_decode_args (test.test_codecs.BasicUnicodeTest) ... ok >test_bad_encode_args (test.test_codecs.BasicUnicodeTest) ... ok >test_basics (test.test_codecs.BasicUnicodeTest) ... ok >test_basics_capi (test.test_codecs.BasicUnicodeTest) ... skipped 'implementation detail specific to cpython' >test_decoder_state (test.test_codecs.BasicUnicodeTest) ... ok >test_encoding_map_type_initialized (test.test_codecs.BasicUnicodeTest) ... ok >test_seek (test.test_codecs.BasicUnicodeTest) ... ok >test_seek0 (test.test_codecs.BomTest) ... ok >test_bug1098990_a (test.test_codecs.CP65001Test) ... skipped 'cp65001 is a Windows-only codec' >test_bug1098990_b (test.test_codecs.CP65001Test) ... skipped 'cp65001 is a Windows-only codec' >test_bug1175396 (test.test_codecs.CP65001Test) ... skipped 'cp65001 is a Windows-only codec' >test_decode (test.test_codecs.CP65001Test) ... skipped 'cp65001 is a Windows-only codec' >test_encode (test.test_codecs.CP65001Test) ... skipped 'cp65001 is a Windows-only codec' >test_lone_surrogates (test.test_codecs.CP65001Test) ... skipped 'cp65001 is a Windows-only codec' >test_mixed_readline_and_read (test.test_codecs.CP65001Test) ... skipped 'cp65001 is a Windows-only codec' >test_readline (test.test_codecs.CP65001Test) ... skipped 'cp65001 is a Windows-only codec' >test_readlinequeue (test.test_codecs.CP65001Test) ... skipped 'cp65001 is a Windows-only codec' >test_surrogatepass_handler (test.test_codecs.CP65001Test) ... skipped 'cp65001 is a Windows-only codec' >test_decode_with_int2int_map (test.test_codecs.CharmapTest) ... ok >test_decode_with_int2str_map (test.test_codecs.CharmapTest) ... ok >test_decode_with_string_map (test.test_codecs.CharmapTest) ... ok >test_code_page_name (test.test_codecs.CodePageTest) ... skipped 'code pages are specific to Windows' >test_cp1252 (test.test_codecs.CodePageTest) ... skipped 'code pages are specific to Windows' >test_cp932 (test.test_codecs.CodePageTest) ... skipped 'code pages are specific to Windows' >test_cp_utf7 (test.test_codecs.CodePageTest) ... skipped 'code pages are specific to Windows' >test_incremental (test.test_codecs.CodePageTest) ... skipped 'code pages are specific to Windows' >test_invalid_code_page (test.test_codecs.CodePageTest) ... skipped 'code pages are specific to Windows' >test_multibyte_encoding (test.test_codecs.CodePageTest) ... skipped 'code pages are specific to Windows' >test_all (test.test_codecs.CodecsModuleTest) ... ok >test_decode (test.test_codecs.CodecsModuleTest) ... ok >test_encode (test.test_codecs.CodecsModuleTest) ... ok >test_getdecoder (test.test_codecs.CodecsModuleTest) ... ok >test_getencoder (test.test_codecs.CodecsModuleTest) ... ok >test_getreader (test.test_codecs.CodecsModuleTest) ... ok >test_getwriter (test.test_codecs.CodecsModuleTest) ... ok >test_lookup (test.test_codecs.CodecsModuleTest) ... ok >test_lookup_issue1813 (test.test_codecs.CodecsModuleTest) ... skipped 'test needs Turkish locale' >test_open (test.test_codecs.CodecsModuleTest) ... ok >test_register (test.test_codecs.CodecsModuleTest) ... ok >test_undefined (test.test_codecs.CodecsModuleTest) ... ok >test_basic (test.test_codecs.EncodedFileTest) ... ok >test_empty (test.test_codecs.EscapeDecodeTest) ... ok >test_errors (test.test_codecs.EscapeDecodeTest) ... ok >test_escape (test.test_codecs.EscapeDecodeTest) ... ok >test_raw (test.test_codecs.EscapeDecodeTest) ... ok >test_escape_encode (test.test_codecs.EscapeEncodeTest) ... ok >test_codec_lookup_failure_not_wrapped (test.test_codecs.ExceptionChainingTest) ... ok >test_init_override_is_not_wrapped (test.test_codecs.ExceptionChainingTest) ... ok >test_instance_attribute_is_not_wrapped (test.test_codecs.ExceptionChainingTest) ... ok >test_multiple_args_is_not_wrapped (test.test_codecs.ExceptionChainingTest) ... ok >test_new_override_is_not_wrapped (test.test_codecs.ExceptionChainingTest) ... ok >test_non_str_arg_is_not_wrapped (test.test_codecs.ExceptionChainingTest) ... ok >test_raise_by_type (test.test_codecs.ExceptionChainingTest) ... ok >test_raise_by_value (test.test_codecs.ExceptionChainingTest) ... ok >test_raise_grandchild_subclass_exact_size (test.test_codecs.ExceptionChainingTest) ... ok >test_raise_subclass_with_weakref_support (test.test_codecs.ExceptionChainingTest) ... ok >test_unflagged_non_text_codec_handling (test.test_codecs.ExceptionChainingTest) ... ok >test_builtin_decode (test.test_codecs.IDNACodecTest) ... ok >test_builtin_encode (test.test_codecs.IDNACodecTest) ... ok >test_errors (test.test_codecs.IDNACodecTest) >Only supports "strict" error handler ... ok >test_incremental_decode (test.test_codecs.IDNACodecTest) ... ok >test_incremental_encode (test.test_codecs.IDNACodecTest) ... ok >test_stream (test.test_codecs.IDNACodecTest) ... ok >test_nameprep (test.test_codecs.NameprepTest) ... ok >test_decode (test.test_codecs.PunycodeTest) ... ok >test_encode (test.test_codecs.PunycodeTest) ... ok >test_decode_errors (test.test_codecs.RawUnicodeEscapeTest) ... ok >test_empty (test.test_codecs.RawUnicodeEscapeTest) ... ok >test_escape_decode (test.test_codecs.RawUnicodeEscapeTest) ... ok >test_escape_encode (test.test_codecs.RawUnicodeEscapeTest) ... ok >test_raw_decode (test.test_codecs.RawUnicodeEscapeTest) ... ok >test_raw_encode (test.test_codecs.RawUnicodeEscapeTest) ... ok >test_array (test.test_codecs.ReadBufferTest) ... ok >test_bad_args (test.test_codecs.ReadBufferTest) ... ok >test_empty (test.test_codecs.ReadBufferTest) ... ok >test_recoding (test.test_codecs.RecodingTest) ... ok >test_readlines (test.test_codecs.StreamReaderTest) ... ok >test_ascii (test.test_codecs.SurrogateEscapeTest) ... ok >test_charmap (test.test_codecs.SurrogateEscapeTest) ... ok >test_latin1 (test.test_codecs.SurrogateEscapeTest) ... ok >test_utf8 (test.test_codecs.SurrogateEscapeTest) ... ok >test_aliases (test.test_codecs.TransformCodecTest) ... ok >test_basics (test.test_codecs.TransformCodecTest) ... ok >test_binary_to_text_blacklists_binary_transforms (test.test_codecs.TransformCodecTest) ... ok >test_binary_to_text_blacklists_text_transforms (test.test_codecs.TransformCodecTest) ... ok >test_buffer_api_usage (test.test_codecs.TransformCodecTest) ... ok >test_custom_hex_error_is_wrapped (test.test_codecs.TransformCodecTest) ... ok >test_custom_zlib_error_is_wrapped (test.test_codecs.TransformCodecTest) ... ok >test_quopri_stateless (test.test_codecs.TransformCodecTest) ... ok >test_read (test.test_codecs.TransformCodecTest) ... ok >test_readline (test.test_codecs.TransformCodecTest) ... ok >test_text_to_binary_blacklists_binary_transforms (test.test_codecs.TransformCodecTest) ... ok >test_text_to_binary_blacklists_text_transforms (test.test_codecs.TransformCodecTest) ... ok >test_uu_invalid (test.test_codecs.TransformCodecTest) ... ok >test_decode_unicode (test.test_codecs.TypesTest) ... ok >test_unicode_escape (test.test_codecs.TypesTest) ... ok >test_bug1098990_a (test.test_codecs.UTF16BETest) ... ok >test_bug1098990_b (test.test_codecs.UTF16BETest) ... ok >test_bug1175396 (test.test_codecs.UTF16BETest) ... ok >test_errors (test.test_codecs.UTF16BETest) ... ok >test_lone_surrogates (test.test_codecs.UTF16BETest) ... ok >test_mixed_readline_and_read (test.test_codecs.UTF16BETest) ... ok >test_nonbmp (test.test_codecs.UTF16BETest) ... ok >test_partial (test.test_codecs.UTF16BETest) ... ok >test_readline (test.test_codecs.UTF16BETest) ... ok >test_readlinequeue (test.test_codecs.UTF16BETest) ... ok >test_bad_args (test.test_codecs.UTF16ExTest) ... ok >test_errors (test.test_codecs.UTF16ExTest) ... ok >test_bug1098990_a (test.test_codecs.UTF16LETest) ... ok >test_bug1098990_b (test.test_codecs.UTF16LETest) ... ok >test_bug1175396 (test.test_codecs.UTF16LETest) ... ok >test_errors (test.test_codecs.UTF16LETest) ... ok >test_lone_surrogates (test.test_codecs.UTF16LETest) ... ok >test_mixed_readline_and_read (test.test_codecs.UTF16LETest) ... ok >test_nonbmp (test.test_codecs.UTF16LETest) ... ok >test_partial (test.test_codecs.UTF16LETest) ... ok >test_readline (test.test_codecs.UTF16LETest) ... ok >test_readlinequeue (test.test_codecs.UTF16LETest) ... ok >test_badbom (test.test_codecs.UTF16Test) ... ok >test_bug1098990_a (test.test_codecs.UTF16Test) ... ok >test_bug1098990_b (test.test_codecs.UTF16Test) ... ok >test_bug1175396 (test.test_codecs.UTF16Test) ... ok >test_bug691291 (test.test_codecs.UTF16Test) ... ok >test_decoder_state (test.test_codecs.UTF16Test) ... ok >test_errors (test.test_codecs.UTF16Test) ... ok >test_handlers (test.test_codecs.UTF16Test) ... ok >test_lone_surrogates (test.test_codecs.UTF16Test) ... ok >test_mixed_readline_and_read (test.test_codecs.UTF16Test) ... ok >test_only_one_bom (test.test_codecs.UTF16Test) ... ok >test_partial (test.test_codecs.UTF16Test) ... ok >test_readline (test.test_codecs.UTF16Test) ... ok >test_readlinequeue (test.test_codecs.UTF16Test) ... ok >test_bug1098990_a (test.test_codecs.UTF32BETest) ... ok >test_bug1098990_b (test.test_codecs.UTF32BETest) ... ok >test_bug1175396 (test.test_codecs.UTF32BETest) ... ok >test_errors (test.test_codecs.UTF32BETest) ... ok >test_issue8941 (test.test_codecs.UTF32BETest) ... ok >test_lone_surrogates (test.test_codecs.UTF32BETest) ... FAIL >test_mixed_readline_and_read (test.test_codecs.UTF32BETest) ... ok >test_partial (test.test_codecs.UTF32BETest) ... ok >test_readline (test.test_codecs.UTF32BETest) ... ok >test_readlinequeue (test.test_codecs.UTF32BETest) ... ok >test_simple (test.test_codecs.UTF32BETest) ... ok >test_bug1098990_a (test.test_codecs.UTF32LETest) ... ok >test_bug1098990_b (test.test_codecs.UTF32LETest) ... ok >test_bug1175396 (test.test_codecs.UTF32LETest) ... ok >test_errors (test.test_codecs.UTF32LETest) ... ok >test_issue8941 (test.test_codecs.UTF32LETest) ... ok >test_lone_surrogates (test.test_codecs.UTF32LETest) ... FAIL >test_mixed_readline_and_read (test.test_codecs.UTF32LETest) ... ok >test_partial (test.test_codecs.UTF32LETest) ... ok >test_readline (test.test_codecs.UTF32LETest) ... ok >test_readlinequeue (test.test_codecs.UTF32LETest) ... ok >test_simple (test.test_codecs.UTF32LETest) ... ok >test_badbom (test.test_codecs.UTF32Test) ... ok >test_bug1098990_a (test.test_codecs.UTF32Test) ... ok >test_bug1098990_b (test.test_codecs.UTF32Test) ... ok >test_bug1175396 (test.test_codecs.UTF32Test) ... ok >test_decoder_state (test.test_codecs.UTF32Test) ... ok >test_errors (test.test_codecs.UTF32Test) ... ok >test_handlers (test.test_codecs.UTF32Test) ... ok >test_issue8941 (test.test_codecs.UTF32Test) ... ok >test_lone_surrogates (test.test_codecs.UTF32Test) ... FAIL >test_mixed_readline_and_read (test.test_codecs.UTF32Test) ... ok >test_only_one_bom (test.test_codecs.UTF32Test) ... ok >test_partial (test.test_codecs.UTF32Test) ... ok >test_readline (test.test_codecs.UTF32Test) ... ok >test_readlinequeue (test.test_codecs.UTF32Test) ... ok >test_ascii (test.test_codecs.UTF7Test) ... ok >test_bug1098990_a (test.test_codecs.UTF7Test) ... ok >test_bug1098990_b (test.test_codecs.UTF7Test) ... ok >test_bug1175396 (test.test_codecs.UTF7Test) ... ok >test_errors (test.test_codecs.UTF7Test) ... ok >test_lone_surrogates (test.test_codecs.UTF7Test) ... ok >test_mixed_readline_and_read (test.test_codecs.UTF7Test) ... ok >test_nonbmp (test.test_codecs.UTF7Test) ... ok >test_partial (test.test_codecs.UTF7Test) ... ok >test_readline (test.test_codecs.UTF7Test) ... ok >test_readlinequeue (test.test_codecs.UTF7Test) ... ok >test_bom (test.test_codecs.UTF8SigTest) ... ok >test_bug1098990_a (test.test_codecs.UTF8SigTest) ... ok >test_bug1098990_b (test.test_codecs.UTF8SigTest) ... ok >test_bug1175396 (test.test_codecs.UTF8SigTest) ... ok >test_bug1601501 (test.test_codecs.UTF8SigTest) ... ok >test_decoder_state (test.test_codecs.UTF8SigTest) ... ok >test_lone_surrogates (test.test_codecs.UTF8SigTest) ... ok >test_mixed_readline_and_read (test.test_codecs.UTF8SigTest) ... ok >test_partial (test.test_codecs.UTF8SigTest) ... ok >test_readline (test.test_codecs.UTF8SigTest) ... ok >test_readlinequeue (test.test_codecs.UTF8SigTest) ... ok >test_stream_bare (test.test_codecs.UTF8SigTest) ... ok >test_stream_bom (test.test_codecs.UTF8SigTest) ... ok >test_surrogatepass_handler (test.test_codecs.UTF8SigTest) ... ok >test_bug1098990_a (test.test_codecs.UTF8Test) ... ok >test_bug1098990_b (test.test_codecs.UTF8Test) ... ok >test_bug1175396 (test.test_codecs.UTF8Test) ... ok >test_decoder_state (test.test_codecs.UTF8Test) ... ok >test_lone_surrogates (test.test_codecs.UTF8Test) ... ok >test_mixed_readline_and_read (test.test_codecs.UTF8Test) ... ok >test_partial (test.test_codecs.UTF8Test) ... ok >test_readline (test.test_codecs.UTF8Test) ... ok >test_readlinequeue (test.test_codecs.UTF8Test) ... ok >test_surrogatepass_handler (test.test_codecs.UTF8Test) ... ok >test_decode_errors (test.test_codecs.UnicodeEscapeTest) ... ok >test_empty (test.test_codecs.UnicodeEscapeTest) ... ok >test_escape_decode (test.test_codecs.UnicodeEscapeTest) ... ok >test_escape_encode (test.test_codecs.UnicodeEscapeTest) ... ok >test_raw_decode (test.test_codecs.UnicodeEscapeTest) ... ok >test_raw_encode (test.test_codecs.UnicodeEscapeTest) ... ok >test_bug1251300 (test.test_codecs.UnicodeInternalTest) ... ok >test_decode_callback (test.test_codecs.UnicodeInternalTest) ... ok >test_decode_error_attributes (test.test_codecs.UnicodeInternalTest) ... ok >test_encode_length (test.test_codecs.UnicodeInternalTest) ... ok >test_encodedfile (test.test_codecs.WithStmtTest) ... ok >test_streamreaderwriter (test.test_codecs.WithStmtTest) ... ok > >====================================================================== >FAIL: test_lone_surrogates (test.test_codecs.UTF32BETest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_codecs.py", line 351, in test_lone_surrogates > "[\\udc80]".encode(self.encoding)) >AssertionError: b'\x0[15 chars]x00\xdc\x80\x00\x00\x00]' != b'\x0[15 chars]x00\x00\\\x00\x00\x00u\x00\x00\x00d\x00\x00\x0[37 chars]x00]' > >====================================================================== >FAIL: test_lone_surrogates (test.test_codecs.UTF32LETest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_codecs.py", line 351, in test_lone_surrogates > "[\\udc80]".encode(self.encoding)) >AssertionError: b'[\x00\x00\x00\x80\xdc\x00\x00]\x00\x00\x00' != b'[\x00\x00\x00\\\x00\x00\x00u\x00\x00\x00d\x00\x00\x00c\[46 chars]\x00' > >====================================================================== >FAIL: test_lone_surrogates (test.test_codecs.UTF32Test) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_codecs.py", line 351, in test_lone_surrogates > "[\\udc80]".encode(self.encoding)) >AssertionError: b'\xf[22 chars]\x00\x80\xdc\x00\x00]\x00\x00\x00' != b'\xf[22 chars]\x00\\\x00\x00\x00u\x00\x00\x00d\x00\x00\x00c\[46 chars]\x00' > >---------------------------------------------------------------------- >Ran 215 tests in 2.924s > >FAILED (failures=3, skipped=19) >1 test failed: > test_codecs >test test_codecs failed > >_______________________________________ _______________________________________ >== PyPy 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34) [PyPy 5.9.0-beta0 with GCC 5.4.0] >== Linux-4.13.12-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1 little-endian >== hash algorithm: siphash24 64bit >== /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_23510 >Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0) >[1/1] test_compile >test_32_63_bit_values (test.test_compile.TestSpecifics) ... ok >test_annotation_limit (test.test_compile.TestSpecifics) ... ok >test_argument_handling (test.test_compile.TestSpecifics) ... ok >test_argument_order (test.test_compile.TestSpecifics) ... ok >test_bad_single_statement (test.test_compile.TestSpecifics) ... ok >test_compile_ast (test.test_compile.TestSpecifics) ... ok >test_compile_filename (test.test_compile.TestSpecifics) ... ok >test_compiler_recursion_limit (test.test_compile.TestSpecifics) ... skipped 'implementation detail specific to cpython' >test_debug_assignment (test.test_compile.TestSpecifics) ... ok >test_dict_evaluation_order (test.test_compile.TestSpecifics) ... ok >test_dont_merge_constants (test.test_compile.TestSpecifics) ... ok >test_duplicate_global_local (test.test_compile.TestSpecifics) ... ok >test_empty (test.test_compile.TestSpecifics) ... ok >test_encoding (test.test_compile.TestSpecifics) ... ok >test_exec_with_general_mapping_for_locals (test.test_compile.TestSpecifics) ... ok >test_extended_arg (test.test_compile.TestSpecifics) ... ok >test_float_literals (test.test_compile.TestSpecifics) ... ok >test_for_distinct_code_objects (test.test_compile.TestSpecifics) ... ok >test_import (test.test_compile.TestSpecifics) ... ok >test_indentation (test.test_compile.TestSpecifics) ... ok >test_lambda_doc (test.test_compile.TestSpecifics) ... ok >test_leading_newlines (test.test_compile.TestSpecifics) ... ok >test_literals_with_leading_zeroes (test.test_compile.TestSpecifics) ... ok >test_mangling (test.test_compile.TestSpecifics) ... ok >test_merge_constants (test.test_compile.TestSpecifics) ... skipped 'implementation detail specific to cpython' >test_no_ending_newline (test.test_compile.TestSpecifics) ... ok >test_none_assignment (test.test_compile.TestSpecifics) ... ok >test_none_keyword_arg (test.test_compile.TestSpecifics) ... ok >test_null_terminated (test.test_compile.TestSpecifics) ... ok >test_other_newlines (test.test_compile.TestSpecifics) ... ok >test_particularly_evil_undecodable (test.test_compile.TestSpecifics) ... FAIL >test_same_filename_used (test.test_compile.TestSpecifics) ... skipped 'implementation detail specific to cpython' >test_sequence_unpacking_error (test.test_compile.TestSpecifics) ... ok >test_single_statement (test.test_compile.TestSpecifics) ... ok >test_subscripts (test.test_compile.TestSpecifics) ... ok >test_syntax_error (test.test_compile.TestSpecifics) ... ok >test_unary_minus (test.test_compile.TestSpecifics) ... ok >test_yet_more_evil_still_undecodable (test.test_compile.TestSpecifics) ... ok >test_and (test.test_compile.TestStackSize) ... ok >test_and_or (test.test_compile.TestStackSize) ... ok >test_binop (test.test_compile.TestStackSize) ... ok >test_chained_comparison (test.test_compile.TestStackSize) ... ok >test_func_and (test.test_compile.TestStackSize) ... ok >test_if_else (test.test_compile.TestStackSize) ... ok >test_or (test.test_compile.TestStackSize) ... ok > >====================================================================== >FAIL: test_particularly_evil_undecodable (test.test_compile.TestSpecifics) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_compile.py", line 527, in test_particularly_evil_undecodable > self.assertIn(b"Non-UTF-8", res.err) >AssertionError: b'Non-UTF-8' not found in b'File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmpuuzx8fz5/bad.py", line 1\n 0000\x00\n ^\nSyntaxError: Unknown character' > >---------------------------------------------------------------------- >Ran 45 tests in 0.535s > >FAILED (failures=1, skipped=3) >1 test failed: > test_compile >test test_compile failed > >_______________________________________ _______________________________________ >== PyPy 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34) [PyPy 5.9.0-beta0 with GCC 5.4.0] >== Linux-4.13.12-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1 little-endian >== hash algorithm: siphash24 64bit >== /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_32263 >Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0) >[1/1] test_cprofile >test_bad_counter_during_dealloc (test.test_cprofile.CProfileTest) ... ERROR >test_calling_conventions (test.test_cprofile.CProfileTest) ... ok >test_cprofile (test.test_cprofile.CProfileTest) ... ok >test_run (test.test_cprofile.CProfileTest) ... ok >test_runctx (test.test_cprofile.CProfileTest) ... ok > >====================================================================== >ERROR: test_bad_counter_during_dealloc (test.test_cprofile.CProfileTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_cprofile.py", line 31, in test_bad_counter_during_dealloc > obj.clear() >AttributeError: '_lsprof.Profiler' object has no attribute 'clear' > >---------------------------------------------------------------------- >Ran 5 tests in 0.409s > >FAILED (errors=1) >1 test failed: > test_cprofile >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >Exception ignored in: timer function <function CProfileTest.test_bad_counter_during_dealloc.<locals>.<lambda> at 0x00007fc5455d7600> >TypeError: expected integer, got type object >test test_cprofile failed > >_______________________________________ _______________________________________ >== PyPy 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34) [PyPy 5.9.0-beta0 with GCC 5.4.0] >== Linux-4.13.12-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1 little-endian >== hash algorithm: siphash24 64bit >== /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_6023 >Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0) >[1/1] test_ctypes >could not find _ctypes_test in /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/tmp_250_94272057x846886f3 >test_anon (ctypes.test.test_anon.AnonTest) ... ok >test_anon_nonmember (ctypes.test.test_anon.AnonTest) ... ok >test_anon_nonseq (ctypes.test.test_anon.AnonTest) ... ok >test_nested (ctypes.test.test_anon.AnonTest) ... ok >test (ctypes.test.test_array_in_pointer.Test) ... ok >test_2 (ctypes.test.test_array_in_pointer.Test) ... ok >test_bad_subclass (ctypes.test.test_arrays.ArrayTestCase) ... ok >test_cache (ctypes.test.test_arrays.ArrayTestCase) ... ok >test_classcache (ctypes.test.test_arrays.ArrayTestCase) ... ok >test_from_address (ctypes.test.test_arrays.ArrayTestCase) ... ok >test_from_addressW (ctypes.test.test_arrays.ArrayTestCase) ... ok >test_longdouble (ctypes.test.test_arrays.ArrayTestCase) ... skipped 'long double not supported by PyPy' >test_numeric_arrays (ctypes.test.test_arrays.ArrayTestCase) ... ok >test_simple (ctypes.test.test_arrays.ArrayTestCase) ... ok >test_subclass (ctypes.test.test_arrays.ArrayTestCase) ... ok >test_byval (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ... ok >test_callbacks (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ... ok >test_callbacks_2 (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ... ok >test_longlong_callbacks (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ... ok >test_pointers (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ... ok >test_recursive_as_param (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ... ok >test_shorts (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ... ok >test_struct_return_2H (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ... ok >test_struct_return_8H (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ... ok >test_wchar_parm (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ... ok >test_byval (ctypes.test.test_as_parameter.AsParamWrapperTestCase) ... ok >test_callbacks (ctypes.test.test_as_parameter.AsParamWrapperTestCase) ... ok >test_callbacks_2 (ctypes.test.test_as_parameter.AsParamWrapperTestCase) ... ok >test_longlong_callbacks (ctypes.test.test_as_parameter.AsParamWrapperTestCase) ... ok >test_pointers (ctypes.test.test_as_parameter.AsParamWrapperTestCase) ... ok >test_recursive_as_param (ctypes.test.test_as_parameter.AsParamWrapperTestCase) ... ok >test_shorts (ctypes.test.test_as_parameter.AsParamWrapperTestCase) ... ok >test_struct_return_2H (ctypes.test.test_as_parameter.AsParamWrapperTestCase) ... ok >test_struct_return_8H (ctypes.test.test_as_parameter.AsParamWrapperTestCase) ... ok >test_wchar_parm (ctypes.test.test_as_parameter.AsParamWrapperTestCase) ... ok >test_byval (ctypes.test.test_as_parameter.BasicWrapTestCase) ... ok >test_callbacks (ctypes.test.test_as_parameter.BasicWrapTestCase) ... ok >test_callbacks_2 (ctypes.test.test_as_parameter.BasicWrapTestCase) ... ok >test_longlong_callbacks (ctypes.test.test_as_parameter.BasicWrapTestCase) ... ok >test_pointers (ctypes.test.test_as_parameter.BasicWrapTestCase) ... ok >test_recursive_as_param (ctypes.test.test_as_parameter.BasicWrapTestCase) ... ok >test_shorts (ctypes.test.test_as_parameter.BasicWrapTestCase) ... ok >test_struct_return_2H (ctypes.test.test_as_parameter.BasicWrapTestCase) ... ok >test_struct_return_8H (ctypes.test.test_as_parameter.BasicWrapTestCase) ... ok >test_wchar_parm (ctypes.test.test_as_parameter.BasicWrapTestCase) ... ok >test_anon_bitfields (ctypes.test.test_bitfields.BitFieldTest) ... ok >test_c_wchar (ctypes.test.test_bitfields.BitFieldTest) ... ok >test_longlong (ctypes.test.test_bitfields.BitFieldTest) ... ok >test_mixed_1 (ctypes.test.test_bitfields.BitFieldTest) ... ok >test_mixed_2 (ctypes.test.test_bitfields.BitFieldTest) ... ok >test_mixed_3 (ctypes.test.test_bitfields.BitFieldTest) ... ok >test_mixed_4 (ctypes.test.test_bitfields.BitFieldTest) ... ok >test_multi_bitfields_size (ctypes.test.test_bitfields.BitFieldTest) ... ok >test_nonint_types (ctypes.test.test_bitfields.BitFieldTest) ... ok >test_signed (ctypes.test.test_bitfields.BitFieldTest) ... ok >test_single_bitfield_size (ctypes.test.test_bitfields.BitFieldTest) ... ok >test_uint32 (ctypes.test.test_bitfields.BitFieldTest) ... ok >test_uint32_swap_big_endian (ctypes.test.test_bitfields.BitFieldTest) ... FAIL >test_uint32_swap_little_endian (ctypes.test.test_bitfields.BitFieldTest) ... ok >test_uint64 (ctypes.test.test_bitfields.BitFieldTest) ... ok >test_ulonglong (ctypes.test.test_bitfields.BitFieldTest) ... ok >test_unsigned (ctypes.test.test_bitfields.BitFieldTest) ... ok >test_ints (ctypes.test.test_bitfields.C_Test) ... ok >test_shorts (ctypes.test.test_bitfields.C_Test) ... ok >test_buffer (ctypes.test.test_buffers.StringBufferTestCase) ... ok >test_buffer_interface (ctypes.test.test_buffers.StringBufferTestCase) ... ok >test_unicode_buffer (ctypes.test.test_buffers.StringBufferTestCase) ... ok >test_unicode_conversion (ctypes.test.test_buffers.StringBufferTestCase) ... ok >test_BSTR (ctypes.test.test_bytes.BytesTest) ... skipped 'Windows-specific test' >test_c_char (ctypes.test.test_bytes.BytesTest) ... FAIL >test_c_char_p (ctypes.test.test_bytes.BytesTest) ... ok >test_c_wchar (ctypes.test.test_bytes.BytesTest) ... FAIL >test_c_wchar_p (ctypes.test.test_bytes.BytesTest) ... ok >test_struct (ctypes.test.test_bytes.BytesTest) ... ok >test_struct_W (ctypes.test.test_bytes.BytesTest) ... ok >test_X (ctypes.test.test_byteswap.Test) ... skipped 'test disabled' >test_endian_double (ctypes.test.test_byteswap.Test) ... ok >test_endian_float (ctypes.test.test_byteswap.Test) ... ok >test_endian_int (ctypes.test.test_byteswap.Test) ... ok >test_endian_longlong (ctypes.test.test_byteswap.Test) ... ok >test_endian_other (ctypes.test.test_byteswap.Test) ... ok >test_endian_short (ctypes.test.test_byteswap.Test) ... ok >test_slots (ctypes.test.test_byteswap.Test) ... FAIL >test_struct_fields_1 (ctypes.test.test_byteswap.Test) ... ok >test_struct_fields_2 (ctypes.test.test_byteswap.Test) ... ok >test_struct_struct (ctypes.test.test_byteswap.Test) ... ok >test_unaligned_native_struct_fields (ctypes.test.test_byteswap.Test) ... ok >test_unaligned_nonnative_struct_fields (ctypes.test.test_byteswap.Test) ... ok >test_byte (ctypes.test.test_callbacks.Callbacks) ... ok >test_char (ctypes.test.test_callbacks.Callbacks) ... ok >test_char_p (ctypes.test.test_callbacks.Callbacks) ... skipped 'test disabled' >test_double (ctypes.test.test_callbacks.Callbacks) ... ok >test_float (ctypes.test.test_callbacks.Callbacks) ... ok >test_int (ctypes.test.test_callbacks.Callbacks) ... ok >test_issue12483 (ctypes.test.test_callbacks.Callbacks) ... ok >test_issue_7959 (ctypes.test.test_callbacks.Callbacks) ... ok >test_long (ctypes.test.test_callbacks.Callbacks) ... ok >test_longdouble (ctypes.test.test_callbacks.Callbacks) ... ok >test_longlong (ctypes.test.test_callbacks.Callbacks) ... ok >test_pyobject (ctypes.test.test_callbacks.Callbacks) ... ok >test_short (ctypes.test.test_callbacks.Callbacks) ... ok >test_ubyte (ctypes.test.test_callbacks.Callbacks) ... ok >test_uint (ctypes.test.test_callbacks.Callbacks) ... ok >test_ulong (ctypes.test.test_callbacks.Callbacks) ... ok >test_ulonglong (ctypes.test.test_callbacks.Callbacks) ... ok >test_unsupported_restype_1 (ctypes.test.test_callbacks.Callbacks) ... ok >test_unsupported_restype_2 (ctypes.test.test_callbacks.Callbacks) ... ok >test_ushort (ctypes.test.test_callbacks.Callbacks) ... ok >test_callback_large_struct (ctypes.test.test_callbacks.SampleCallbacksTestCase) ... ok >test_callback_register_double (ctypes.test.test_callbacks.SampleCallbacksTestCase) ... ok >test_callback_register_int (ctypes.test.test_callbacks.SampleCallbacksTestCase) ... ok >test_integrate (ctypes.test.test_callbacks.SampleCallbacksTestCase) ... ok >test_issue_8959_a (ctypes.test.test_callbacks.SampleCallbacksTestCase) ... ok >test_issue_8959_b (ctypes.test.test_callbacks.SampleCallbacksTestCase) ... skipped "'WINFUNCTYPE' is required" >test_byte (ctypes.test.test_callbacks.StdcallCallbacks) ... skipped "'WINFUNCTYPE' is required" >test_char (ctypes.test.test_callbacks.StdcallCallbacks) ... skipped "'WINFUNCTYPE' is required" >test_char_p (ctypes.test.test_callbacks.StdcallCallbacks) ... skipped "'WINFUNCTYPE' is required" >test_double (ctypes.test.test_callbacks.StdcallCallbacks) ... skipped "'WINFUNCTYPE' is required" >test_float (ctypes.test.test_callbacks.StdcallCallbacks) ... skipped "'WINFUNCTYPE' is required" >test_int (ctypes.test.test_callbacks.StdcallCallbacks) ... skipped "'WINFUNCTYPE' is required" >test_issue12483 (ctypes.test.test_callbacks.StdcallCallbacks) ... skipped "'WINFUNCTYPE' is required" >test_issue_7959 (ctypes.test.test_callbacks.StdcallCallbacks) ... skipped "'WINFUNCTYPE' is required" >test_long (ctypes.test.test_callbacks.StdcallCallbacks) ... skipped "'WINFUNCTYPE' is required" >test_longdouble (ctypes.test.test_callbacks.StdcallCallbacks) ... skipped "'WINFUNCTYPE' is required" >test_longlong (ctypes.test.test_callbacks.StdcallCallbacks) ... skipped "'WINFUNCTYPE' is required" >test_pyobject (ctypes.test.test_callbacks.StdcallCallbacks) ... skipped "'WINFUNCTYPE' is required" >test_short (ctypes.test.test_callbacks.StdcallCallbacks) ... skipped "'WINFUNCTYPE' is required" >test_ubyte (ctypes.test.test_callbacks.StdcallCallbacks) ... skipped "'WINFUNCTYPE' is required" >test_uint (ctypes.test.test_callbacks.StdcallCallbacks) ... skipped "'WINFUNCTYPE' is required" >test_ulong (ctypes.test.test_callbacks.StdcallCallbacks) ... skipped "'WINFUNCTYPE' is required" >test_ulonglong (ctypes.test.test_callbacks.StdcallCallbacks) ... skipped "'WINFUNCTYPE' is required" >test_unsupported_restype_1 (ctypes.test.test_callbacks.StdcallCallbacks) ... skipped "'WINFUNCTYPE' is required" >test_unsupported_restype_2 (ctypes.test.test_callbacks.StdcallCallbacks) ... skipped "'WINFUNCTYPE' is required" >test_ushort (ctypes.test.test_callbacks.StdcallCallbacks) ... skipped "'WINFUNCTYPE' is required" >test_address2pointer (ctypes.test.test_cast.Test) ... ok >test_array2pointer (ctypes.test.test_cast.Test) ... ok >test_char_p (ctypes.test.test_cast.Test) ... ok >test_other (ctypes.test.test_cast.Test) ... ok >test_p2a_objects (ctypes.test.test_cast.Test) ... ok >test_wchar_p (ctypes.test.test_cast.Test) ... ok >test_byte (ctypes.test.test_cfuncs.CFunctions) ... ok >test_byte_plus (ctypes.test.test_cfuncs.CFunctions) ... ok >test_callwithresult (ctypes.test.test_cfuncs.CFunctions) ... ok >test_double (ctypes.test.test_cfuncs.CFunctions) ... ok >test_double_plus (ctypes.test.test_cfuncs.CFunctions) ... ok >test_float (ctypes.test.test_cfuncs.CFunctions) ... ok >test_float_plus (ctypes.test.test_cfuncs.CFunctions) ... ok >test_int (ctypes.test.test_cfuncs.CFunctions) ... ok >test_int_plus (ctypes.test.test_cfuncs.CFunctions) ... ok >test_long (ctypes.test.test_cfuncs.CFunctions) ... ok >test_long_plus (ctypes.test.test_cfuncs.CFunctions) ... ok >test_longdouble (ctypes.test.test_cfuncs.CFunctions) ... skipped 'long double not supported by PyPy' >test_longdouble_plus (ctypes.test.test_cfuncs.CFunctions) ... skipped 'long double not supported by PyPy' >test_longlong (ctypes.test.test_cfuncs.CFunctions) ... ok >test_longlong_plus (ctypes.test.test_cfuncs.CFunctions) ... ok >test_short (ctypes.test.test_cfuncs.CFunctions) ... ok >test_short_plus (ctypes.test.test_cfuncs.CFunctions) ... ok >test_ubyte (ctypes.test.test_cfuncs.CFunctions) ... ok >test_ubyte_plus (ctypes.test.test_cfuncs.CFunctions) ... ok >test_uint (ctypes.test.test_cfuncs.CFunctions) ... ok >test_uint_plus (ctypes.test.test_cfuncs.CFunctions) ... ok >test_ulong (ctypes.test.test_cfuncs.CFunctions) ... ok >test_ulong_plus (ctypes.test.test_cfuncs.CFunctions) ... ok >test_ulonglong (ctypes.test.test_cfuncs.CFunctions) ... ok >test_ulonglong_plus (ctypes.test.test_cfuncs.CFunctions) ... ok >test_ushort (ctypes.test.test_cfuncs.CFunctions) ... ok >test_ushort_plus (ctypes.test.test_cfuncs.CFunctions) ... ok >test_void (ctypes.test.test_cfuncs.CFunctions) ... ok >test_byte (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_byte_plus (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_callwithresult (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_double (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_double_plus (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_float (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_float_plus (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_int (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_int_plus (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_long (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_long_plus (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_longdouble (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_longdouble_plus (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_longlong (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_longlong_plus (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_short (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_short_plus (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_ubyte (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_ubyte_plus (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_uint (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_uint_plus (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_ulong (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_ulong_plus (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_ulonglong (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_ulonglong_plus (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_ushort (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_ushort_plus (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_void (ctypes.test.test_cfuncs.stdcallCFunctions) ... skipped "'WinDLL' is required" >test_checkretval (ctypes.test.test_checkretval.Test) ... ok >test_oledll (ctypes.test.test_checkretval.Test) ... skipped "'oledll' is required" >test_chararray (ctypes.test.test_delattr.TestCase) ... ok >test_simple (ctypes.test.test_delattr.TestCase) ... ok >test_struct (ctypes.test.test_delattr.TestCase) ... ok >test_GetLastError (ctypes.test.test_errno.Test) ... skipped 'Test specific to Windows' >test_open (ctypes.test.test_errno.Test) ... ok >OpenGL libraries: > ('GL', 'libGL.so.1') > ('GLU', 'libGLU.so.1') > ('gle', None) >test_gl (ctypes.test.test_find.Test_OpenGL_libs) ... ok >test_gle (ctypes.test.test_find.Test_OpenGL_libs) ... skipped 'lib_gle not available' >test_glu (ctypes.test.test_find.Test_OpenGL_libs) ... ok >test_shell_injection (ctypes.test.test_find.Test_OpenGL_libs) ... ok >test_abstract (ctypes.test.test_frombuffer.Test) ... ERROR >test_fortran_contiguous (ctypes.test.test_frombuffer.Test) ... skipped "No module named '_testbuffer'" >test_from_buffer (ctypes.test.test_frombuffer.Test) ... ok >test_from_buffer_copy (ctypes.test.test_frombuffer.Test) ... FAIL >test_from_buffer_copy_with_offset (ctypes.test.test_frombuffer.Test) ... ok >test_from_buffer_memoryview (ctypes.test.test_frombuffer.Test) ... ok >test_from_buffer_with_offset (ctypes.test.test_frombuffer.Test) ... ok >test_basic (ctypes.test.test_funcptr.CFuncPtrTestCase) ... ok >test_dllfunctions (ctypes.test.test_funcptr.CFuncPtrTestCase) ... ok >test_first (ctypes.test.test_funcptr.CFuncPtrTestCase) ... ok >test_structures (ctypes.test.test_funcptr.CFuncPtrTestCase) ... ok >test_byval (ctypes.test.test_functions.FunctionTestCase) ... ok >test_callbacks (ctypes.test.test_functions.FunctionTestCase) ... ok >test_callbacks_2 (ctypes.test.test_functions.FunctionTestCase) ... ok >test_doubleresult (ctypes.test.test_functions.FunctionTestCase) ... ok >test_errors (ctypes.test.test_functions.FunctionTestCase) ... ok >test_floatresult (ctypes.test.test_functions.FunctionTestCase) ... ok >test_intresult (ctypes.test.test_functions.FunctionTestCase) ... ok >test_longdoubleresult (ctypes.test.test_functions.FunctionTestCase) ... skipped 'long double not supported by PyPy' >test_longlong_callbacks (ctypes.test.test_functions.FunctionTestCase) ... ok >test_longlongresult (ctypes.test.test_functions.FunctionTestCase) ... ok >test_mro (ctypes.test.test_functions.FunctionTestCase) ... ok >test_pointers (ctypes.test.test_functions.FunctionTestCase) ... ok >test_sf1651235 (ctypes.test.test_functions.FunctionTestCase) ... ok >test_shorts (ctypes.test.test_functions.FunctionTestCase) ... ok >test_stringresult (ctypes.test.test_functions.FunctionTestCase) ... ok >test_struct_return_2H (ctypes.test.test_functions.FunctionTestCase) ... ok >test_struct_return_2H_stdcall (ctypes.test.test_functions.FunctionTestCase) ... skipped 'Windows-specific test' >test_struct_return_8H (ctypes.test.test_functions.FunctionTestCase) ... ok >test_struct_return_8H_stdcall (ctypes.test.test_functions.FunctionTestCase) ... skipped 'Windows-specific test' >test_voidresult (ctypes.test.test_functions.FunctionTestCase) ... ok >test_wchar_parm (ctypes.test.test_functions.FunctionTestCase) ... ok >test_wchar_result (ctypes.test.test_functions.FunctionTestCase) ... ok >test_incomplete_example (ctypes.test.test_incomplete.MyTestCase) ... ok >test_get (ctypes.test.test_init.InitTest) ... ok >test_c_char_p (ctypes.test.test_internals.ObjectsTestCase) ... ok >test_embedded_structs (ctypes.test.test_internals.ObjectsTestCase) ... ok >test_ints (ctypes.test.test_internals.ObjectsTestCase) ... ok >test_ptr_struct (ctypes.test.test_internals.ObjectsTestCase) ... ok >test_simple_struct (ctypes.test.test_internals.ObjectsTestCase) ... ok >test_xxx (ctypes.test.test_internals.ObjectsTestCase) ... ok >test_cint_array (ctypes.test.test_keeprefs.ArrayTestCase) ... ok >test_X (ctypes.test.test_keeprefs.DeletePointerTestCase) ... skipped 'test disabled' >test_p_cint (ctypes.test.test_keeprefs.PointerTestCase) ... ok >test (ctypes.test.test_keeprefs.PointerToStructure) ... ok >test_ccharp (ctypes.test.test_keeprefs.SimpleTestCase) ... ok >test_cint (ctypes.test.test_keeprefs.SimpleTestCase) ... ok >test_ccharp_struct (ctypes.test.test_keeprefs.StructureTestCase) ... ok >test_cint_struct (ctypes.test.test_keeprefs.StructureTestCase) ... ok >test_struct_struct (ctypes.test.test_keeprefs.StructureTestCase) ... ok >test_qsort (ctypes.test.test_libc.LibTest) ... ok >test_sqrt (ctypes.test.test_libc.LibTest) ... ok >libc_name is libc.so.6 >test_1703286_A (ctypes.test.test_loading.LoaderTest) ... skipped 'Windows-specific test' >test_1703286_B (ctypes.test.test_loading.LoaderTest) ... skipped 'Windows-specific test' >test_find (ctypes.test.test_loading.LoaderTest) ... ok >test_load (ctypes.test.test_loading.LoaderTest) ... ok >test_load_library (ctypes.test.test_loading.LoaderTest) ... skipped 'test specific to Windows (NT/CE)' >test_load_ordinal_functions (ctypes.test.test_loading.LoaderTest) ... skipped 'test specific to Windows (NT/CE)' >test_load_version (ctypes.test.test_loading.LoaderTest) ... ok >test_find (ctypes.test.test_macholib.MachOTest) ... skipped 'OSX-specific test' >test_cast (ctypes.test.test_memfunctions.MemFunctionsTest) ... ok >test_memmove (ctypes.test.test_memfunctions.MemFunctionsTest) ... ok >test_memset (ctypes.test.test_memfunctions.MemFunctionsTest) ... ok >test_overflow (ctypes.test.test_memfunctions.MemFunctionsTest) ... skipped 'test disabled' >test_string_at (ctypes.test.test_memfunctions.MemFunctionsTest) ... skipped 'implementation detail specific to cpython' >test_wstring_at (ctypes.test.test_memfunctions.MemFunctionsTest) ... ok >test_alignments (ctypes.test.test_numbers.NumberTestCase) ... ok >test_bool_from_address (ctypes.test.test_numbers.NumberTestCase) ... skipped 'test disabled' >test_bool_values (ctypes.test.test_numbers.NumberTestCase) ... ok >test_byref (ctypes.test.test_numbers.NumberTestCase) ... ok >test_char_from_address (ctypes.test.test_numbers.NumberTestCase) ... ok >test_default_init (ctypes.test.test_numbers.NumberTestCase) ... ok >test_float_from_address (ctypes.test.test_numbers.NumberTestCase) ... ok >test_float_overflow (ctypes.test.test_numbers.NumberTestCase) ... ok >test_floats (ctypes.test.test_numbers.NumberTestCase) ... ok >test_from_param (ctypes.test.test_numbers.NumberTestCase) ... ok >test_init (ctypes.test.test_numbers.NumberTestCase) ... ok >test_int_from_address (ctypes.test.test_numbers.NumberTestCase) ... ok >test_integers (ctypes.test.test_numbers.NumberTestCase) ... ok >test_perf (ctypes.test.test_numbers.NumberTestCase) ... skipped 'test disabled' >test_signed_values (ctypes.test.test_numbers.NumberTestCase) ... ok >test_sizes (ctypes.test.test_numbers.NumberTestCase) ... ok >test_typeerror (ctypes.test.test_numbers.NumberTestCase) ... ok >test_unsigned_values (ctypes.test.test_numbers.NumberTestCase) ... ok >test_valid_ranges (ctypes.test.test_numbers.NumberTestCase) ... skipped 'test disabled' >test (ctypes.test.test_objects.TestCase) ... Trying: > from ctypes import * >Expecting nothing >ok >Trying: > array = (c_char_p * 5)() >Expecting nothing >ok >Trying: > print(array._objects) >Expecting: > None >ok >Trying: > array[4] = b'foo bar' >Expecting nothing >ok >Trying: > array._objects >Expecting: > {'4': <CArgObject b'foo bar'>} >ok >Trying: > array[4] >Expecting: > b'foo bar' >ok >Trying: > class X(Structure): > _fields_ = [("x", c_int), ("y", c_int), ("array", c_char_p * 5)] >Expecting nothing >ok >Trying: > x = X() >Expecting nothing >ok >Trying: > print(x._objects) >Expecting: > None >ok >Trying: > print(x.array._b_base_) # doctest: +ELLIPSIS >Expecting: > <ctypes.test.test_objects.X object at 0x...> >ok >Trying: > x.array[0] = b'spam spam spam' >Expecting nothing >ok >Trying: > x._objects >Expecting: > {'0:2': <CArgObject b'spam spam spam'>} >ok >Trying: > x.array._b_base_._objects >Expecting: > {'0:2': <CArgObject b'spam spam spam'>} >ok >2 items had no tests: > ctypes.test.test_objects.TestCase > ctypes.test.test_objects.TestCase.test >1 items passed all tests: > 13 tests in ctypes.test.test_objects >13 tests in 3 items. >13 passed and 0 failed. >Test passed. >ok >test_array_pointers (ctypes.test.test_parameters.SimpleTypesTestCase) ... ok >test_byref_pointer (ctypes.test.test_parameters.SimpleTypesTestCase) ... ok >test_byref_pointerpointer (ctypes.test.test_parameters.SimpleTypesTestCase) ... ok >test_cstrings (ctypes.test.test_parameters.SimpleTypesTestCase) ... ok >test_cw_strings (ctypes.test.test_parameters.SimpleTypesTestCase) ... ok >test_int_pointers (ctypes.test.test_parameters.SimpleTypesTestCase) ... ok >test_noctypes_argtype (ctypes.test.test_parameters.SimpleTypesTestCase) ... ok >test_subclasses (ctypes.test.test_parameters.SimpleTypesTestCase) ... ok >test_subclasses_c_wchar_p (ctypes.test.test_parameters.SimpleTypesTestCase) ... ok >test_endian_types (ctypes.test.test_pep3118.Test) ... <class 'ctypes.test.test_pep3118.BEPoint'> >ok >test_native_types (ctypes.test.test_pep3118.Test) ... <class 'ctypes.c_char'> >ok >test_simple (ctypes.test.test_pickling.PickleTest_0) ... ok >test_struct (ctypes.test.test_pickling.PickleTest_0) ... ok >test_unpickable (ctypes.test.test_pickling.PickleTest_0) ... ok >test_wchar (ctypes.test.test_pickling.PickleTest_0) ... ok >test_simple (ctypes.test.test_pickling.PickleTest_1) ... ok >test_struct (ctypes.test.test_pickling.PickleTest_1) ... ok >test_unpickable (ctypes.test.test_pickling.PickleTest_1) ... ok >test_wchar (ctypes.test.test_pickling.PickleTest_1) ... ok >test_simple (ctypes.test.test_pickling.PickleTest_2) ... ok >test_struct (ctypes.test.test_pickling.PickleTest_2) ... ok >test_unpickable (ctypes.test.test_pickling.PickleTest_2) ... ok >test_wchar (ctypes.test.test_pickling.PickleTest_2) ... ok >test_simple (ctypes.test.test_pickling.PickleTest_3) ... ok >test_struct (ctypes.test.test_pickling.PickleTest_3) ... ok >test_unpickable (ctypes.test.test_pickling.PickleTest_3) ... ok >test_wchar (ctypes.test.test_pickling.PickleTest_3) ... ok >test_simple (ctypes.test.test_pickling.PickleTest_4) ... ok >test_struct (ctypes.test.test_pickling.PickleTest_4) ... ok >test_unpickable (ctypes.test.test_pickling.PickleTest_4) ... ok >test_wchar (ctypes.test.test_pickling.PickleTest_4) ... ok >test_basic (ctypes.test.test_pointers.PointersTestCase) ... ok >test_basics (ctypes.test.test_pointers.PointersTestCase) ... ok >test_bug_1467852 (ctypes.test.test_pointers.PointersTestCase) ... ok >test_c_void_p (ctypes.test.test_pointers.PointersTestCase) ... ok >test_callbacks_with_pointers (ctypes.test.test_pointers.PointersTestCase) ... ok >test_change_pointers (ctypes.test.test_pointers.PointersTestCase) ... ok >test_charpp (ctypes.test.test_pointers.PointersTestCase) >Test that a character pointer-to-pointer is correctly passed ... ok >test_from_address (ctypes.test.test_pointers.PointersTestCase) ... ok >test_other (ctypes.test.test_pointers.PointersTestCase) ... ok >test_pass_pointers (ctypes.test.test_pointers.PointersTestCase) ... ok >test_pointer_crash (ctypes.test.test_pointers.PointersTestCase) ... ok >test_pointer_type_name (ctypes.test.test_pointers.PointersTestCase) ... ok >test_pointer_type_str_name (ctypes.test.test_pointers.PointersTestCase) ... ok >test_pointers_bool (ctypes.test.test_pointers.PointersTestCase) ... ok >test (ctypes.test.test_prototypes.ArrayTest) ... ok >test_POINTER_c_char_arg (ctypes.test.test_prototypes.CharPointersTestCase) ... ok >test_c_char_p_arg (ctypes.test.test_prototypes.CharPointersTestCase) ... ok >test_c_void_p_arg (ctypes.test.test_prototypes.CharPointersTestCase) ... ok >test_c_void_p_arg_with_c_wchar_p (ctypes.test.test_prototypes.CharPointersTestCase) ... ok >test_instance (ctypes.test.test_prototypes.CharPointersTestCase) ... ok >test_int_pointer_arg (ctypes.test.test_prototypes.CharPointersTestCase) ... ok >test_paramflags (ctypes.test.test_prototypes.CharPointersTestCase) ... ok >test_POINTER_c_wchar_arg (ctypes.test.test_prototypes.WCharPointersTestCase) ... ok >test_c_wchar_p_arg (ctypes.test.test_prototypes.WCharPointersTestCase) ... ok >test_PyBytes_FromStringAndSize (ctypes.test.test_python_api.PythonAPITestCase) ... ok >test_PyLong_Long (ctypes.test.test_python_api.PythonAPITestCase) ... skipped 'implementation detail specific to cpython' >test_PyOS_snprintf (ctypes.test.test_python_api.PythonAPITestCase) ... ok >test_PyObj_FromPtr (ctypes.test.test_python_api.PythonAPITestCase) ... skipped 'implementation detail specific to cpython' >test_PyString_FromString (ctypes.test.test_python_api.PythonAPITestCase) ... skipped 'implementation detail specific to cpython' >test_pyobject_repr (ctypes.test.test_python_api.PythonAPITestCase) ... ok >test_FloatDivisionError (ctypes.test.test_random_things.CallbackTracbackTestCase) ... ok >test_IntegerDivisionError (ctypes.test.test_random_things.CallbackTracbackTestCase) ... ok >test_TypeErrorDivisionError (ctypes.test.test_random_things.CallbackTracbackTestCase) ... ok >test_ValueError (ctypes.test.test_random_things.CallbackTracbackTestCase) ... ok >test (ctypes.test.test_random_things.call_function_TestCase) ... skipped 'Windows-specific test' >test_callback (ctypes.test.test_refcounts.AnotherLeak) ... ok >test_1 (ctypes.test.test_refcounts.RefcountTestCase) ... skipped 'implementation detail specific to cpython' >test_refcount (ctypes.test.test_refcounts.RefcountTestCase) ... skipped 'implementation detail specific to cpython' >test_char (ctypes.test.test_repr.ReprTest) ... ok >test_numbers (ctypes.test.test_repr.ReprTest) ... ok >test_from_dll (ctypes.test.test_returnfuncptrs.ReturnFuncPtrTestCase) ... ok >test_from_dll_refcount (ctypes.test.test_returnfuncptrs.ReturnFuncPtrTestCase) ... ok >test_with_prototype (ctypes.test.test_returnfuncptrs.ReturnFuncPtrTestCase) ... ok >test_without_prototype (ctypes.test.test_returnfuncptrs.ReturnFuncPtrTestCase) ... ok >test_compare (ctypes.test.test_simplesubclasses.Test) ... ok >test_ignore_retval (ctypes.test.test_simplesubclasses.Test) ... ok >test_int_callback (ctypes.test.test_simplesubclasses.Test) ... ok >test_int_struct (ctypes.test.test_simplesubclasses.Test) ... ok >test_16 (ctypes.test.test_sizes.SizesTestCase) ... ok >test_32 (ctypes.test.test_sizes.SizesTestCase) ... ok >test_64 (ctypes.test.test_sizes.SizesTestCase) ... ok >test_8 (ctypes.test.test_sizes.SizesTestCase) ... ok >test_size_t (ctypes.test.test_sizes.SizesTestCase) ... ok >test_ssize_t (ctypes.test.test_sizes.SizesTestCase) ... ok >test_char_array (ctypes.test.test_slicing.SlicesTestCase) ... ok >test_char_ptr (ctypes.test.test_slicing.SlicesTestCase) ... ok >test_char_ptr_with_free (ctypes.test.test_slicing.SlicesTestCase) ... ok >test_getslice_cint (ctypes.test.test_slicing.SlicesTestCase) ... ok >test_setslice_cint (ctypes.test.test_slicing.SlicesTestCase) ... ok >test_wchar_ptr (ctypes.test.test_slicing.SlicesTestCase) ... ok >test__POINTER_c_char (ctypes.test.test_stringptr.StringPtrTestCase) ... skipped 'implementation detail specific to cpython' >test__c_char_p (ctypes.test.test_stringptr.StringPtrTestCase) ... ok >test_functions (ctypes.test.test_stringptr.StringPtrTestCase) ... ok >test (ctypes.test.test_strings.StringArrayTestCase) ... ok >test_c_buffer_raw (ctypes.test.test_strings.StringArrayTestCase) ... ok >test_c_buffer_value (ctypes.test.test_strings.StringArrayTestCase) ... ok >test_param_1 (ctypes.test.test_strings.StringArrayTestCase) ... ok >test_param_2 (ctypes.test.test_strings.StringArrayTestCase) ... ok >test_basic_strings (ctypes.test.test_strings.StringTestCase) ... skipped 'test disabled' >test_initialized_strings (ctypes.test.test_strings.StringTestCase) ... skipped 'test disabled' >test_perf (ctypes.test.test_strings.StringTestCase) ... skipped 'test disabled' >test_sized_strings (ctypes.test.test_strings.StringTestCase) ... skipped 'test disabled' >test_toolong (ctypes.test.test_strings.StringTestCase) ... skipped 'test disabled' >test (ctypes.test.test_strings.WStringArrayTestCase) ... ok >test_nonbmp (ctypes.test.test_strings.WStringArrayTestCase) ... ok >test_basic_wstrings (ctypes.test.test_strings.WStringTestCase) ... skipped 'test disabled' >test_toolong (ctypes.test.test_strings.WStringTestCase) ... skipped 'test disabled' >test_wchar (ctypes.test.test_strings.WStringTestCase) ... ok >test_1_A (ctypes.test.test_struct_fields.StructFieldsTestCase) ... ok >test_1_B (ctypes.test.test_struct_fields.StructFieldsTestCase) ... ok >test_2 (ctypes.test.test_struct_fields.StructFieldsTestCase) ... ok >test_3 (ctypes.test.test_struct_fields.StructFieldsTestCase) ... ok >test_4 (ctypes.test.test_struct_fields.StructFieldsTestCase) ... ok >test (ctypes.test.test_structures.PointerMemberTestCase) ... ok >test_none_to_pointer_fields (ctypes.test.test_structures.PointerMemberTestCase) ... ok >test_abstract_class (ctypes.test.test_structures.StructureTestCase) ... ok >test_conflicting_initializers (ctypes.test.test_structures.StructureTestCase) ... ok >test_empty (ctypes.test.test_structures.StructureTestCase) ... ok >test_fields (ctypes.test.test_structures.StructureTestCase) ... ok >test_huge_field_name (ctypes.test.test_structures.StructureTestCase) ... ok >test_init_errors (ctypes.test.test_structures.StructureTestCase) ... ok >test_initializers (ctypes.test.test_structures.StructureTestCase) ... ok >test_intarray_fields (ctypes.test.test_structures.StructureTestCase) ... ok >test_invalid_field_types (ctypes.test.test_structures.StructureTestCase) ... ok >test_invalid_name (ctypes.test.test_structures.StructureTestCase) ... ok >test_keyword_initializers (ctypes.test.test_structures.StructureTestCase) ... ok >test_methods (ctypes.test.test_structures.StructureTestCase) ... ok >test_nested_initializers (ctypes.test.test_structures.StructureTestCase) ... ok >test_packed (ctypes.test.test_structures.StructureTestCase) ... ok >test_positional_args (ctypes.test.test_structures.StructureTestCase) ... ok >test_simple_structs (ctypes.test.test_structures.StructureTestCase) ... ok >test_struct_alignment (ctypes.test.test_structures.StructureTestCase) ... ok >test_structures_with_wchar (ctypes.test.test_structures.StructureTestCase) ... ok >test_subclass_creation (ctypes.test.test_structures.StructureTestCase) ... skipped 'test disabled' >test_unions (ctypes.test.test_structures.StructureTestCase) ... ok >test_subclass (ctypes.test.test_structures.SubclassesTest) ... ok >test_subclass_delayed (ctypes.test.test_structures.SubclassesTest) ... ok >test_contains_itself (ctypes.test.test_structures.TestRecursiveStructure) ... ok >test_vice_versa (ctypes.test.test_structures.TestRecursiveStructure) ... ok >test_native (ctypes.test.test_unaligned_structures.TestStructures) ... ok >test_swapped (ctypes.test.test_unaligned_structures.TestStructures) ... ok >test_buffers (ctypes.test.test_unicode.StringTestCase) ... ok >test_func (ctypes.test.test_unicode.StringTestCase) ... ok >test_wcslen (ctypes.test.test_unicode.StringTestCase) ... ok >test_buffers (ctypes.test.test_unicode.UnicodeTestCase) ... ok >test_wcslen (ctypes.test.test_unicode.UnicodeTestCase) ... ok >test_frozentable (ctypes.test.test_values.PythonValuesTestCase) ... ERROR >test_optimizeflag (ctypes.test.test_values.PythonValuesTestCase) ... ERROR >test_undefined (ctypes.test.test_values.PythonValuesTestCase) ... ERROR >test_an_integer (ctypes.test.test_values.ValuesTestCase) ... ok >test_undefined (ctypes.test.test_values.ValuesTestCase) ... ok >test_array_invalid_length (ctypes.test.test_varsize_struct.VarSizeTest) ... ok >test_resize (ctypes.test.test_varsize_struct.VarSizeTest) ... ok >test_zerosized_array (ctypes.test.test_varsize_struct.VarSizeTest) ... ok >test_SEH (ctypes.test.test_win32.FunctionCallTestCase) ... skipped 'Windows-specific test' >test_noargs (ctypes.test.test_win32.FunctionCallTestCase) ... skipped 'Windows-specific test' >test_struct_by_value (ctypes.test.test_win32.Structures) ... ok >test_winerror (ctypes.test.test_win32.TestWinError) ... skipped 'Windows-specific test' >test_COMError (ctypes.test.test_win32.TestWintypes) ... skipped 'Windows-specific test' >test_HWND (ctypes.test.test_win32.TestWintypes) ... skipped 'Windows-specific test' >test_PARAM (ctypes.test.test_win32.TestWintypes) ... skipped 'Windows-specific test' >test_callconv_1 (ctypes.test.test_win32.WindowsTestCase) ... skipped 'Windows-specific test' >test_callconv_2 (ctypes.test.test_win32.WindowsTestCase) ... skipped 'Windows-specific test' >test_variant_bool (ctypes.test.test_wintypes.WinTypesTest) ... skipped 'Windows-only test' > >====================================================================== >ERROR: test_abstract (ctypes.test.test_frombuffer.Test) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ctypes/test/test_frombuffer.py", line 129, in test_abstract > self.assertRaises(TypeError, Array.from_buffer, bytearray(10)) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/unittest/case.py", line 728, in assertRaises > return context.handle('assertRaises', args, kwargs) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/unittest/case.py", line 177, in handle > callable_obj(*args, **kwargs) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/_ctypes/basics.py", line 88, in from_buffer > size = self._sizeofinstances() > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/_ctypes/array.py", line 68, in _sizeofinstances > if self._ffiarray is None: >AttributeError: type object 'Array' has no attribute '_ffiarray' > >====================================================================== >ERROR: test_frozentable (ctypes.test.test_values.PythonValuesTestCase) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ctypes/test/test_values.py", line 56, in test_frozentable > ft = FrozenTable.in_dll(pythonapi, "PyImport_FrozenModules") >NameError: name 'pythonapi' is not defined > >====================================================================== >ERROR: test_optimizeflag (ctypes.test.test_values.PythonValuesTestCase) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ctypes/test/test_values.py", line 38, in test_optimizeflag > opt = c_int.in_dll(pythonapi, "Py_OptimizeFlag").value >NameError: name 'pythonapi' is not defined > >====================================================================== >ERROR: test_undefined (ctypes.test.test_values.PythonValuesTestCase) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ctypes/test/test_values.py", line 96, in test_undefined > self.assertRaises(ValueError, c_int.in_dll, pythonapi, >NameError: name 'pythonapi' is not defined > >====================================================================== >FAIL: test_uint32_swap_big_endian (ctypes.test.test_bitfields.BitFieldTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ctypes/test/test_bitfields.py", line 293, in test_uint32_swap_big_endian > self.assertEqual(b, b'\xab\xcd\xef\x12') >AssertionError: bytearray(b'\x00\xab\xcd\x00') != b'\xab\xcd\xef\x12' > >====================================================================== >FAIL: test_c_char (ctypes.test.test_bytes.BytesTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ctypes/test/test_bytes.py", line 9, in test_c_char > self.assertRaises(TypeError, c_char, "x") >AssertionError: TypeError not raised by c_char > >====================================================================== >FAIL: test_c_wchar (ctypes.test.test_bytes.BytesTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ctypes/test/test_bytes.py", line 20, in test_c_wchar > self.assertRaises(TypeError, c_wchar, b"x") >AssertionError: TypeError not raised by c_wchar > >====================================================================== >FAIL: test_slots (ctypes.test.test_byteswap.Test) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ctypes/test/test_byteswap.py", line 41, in test_slots > big.z = 42 >AssertionError: AttributeError not raised > >====================================================================== >FAIL: test_from_buffer_copy (ctypes.test.test_frombuffer.Test) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ctypes/test/__init__.py", line 26, in new_method > self.assertTrue(False, "DID NOT RAISE") >AssertionError: False is not true : DID NOT RAISE > >---------------------------------------------------------------------- >Ran 458 tests in 3.460s > >FAILED (failures=5, errors=4, skipped=97) >1 test failed: > test_ctypes >/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/_ctypes_test.c: In function âmy_wcsdupâ: >/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/_ctypes_test.c:185:18: warning: implicit declaration of function âwcslenâ [-Wimplicit-function-declaration] > size_t len = wcslen(src); > ^~~~~~ >test test_ctypes failed > >_______________________________________ _______________________________________ >== PyPy 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34) [PyPy 5.9.0-beta0 with GCC 5.4.0] >== Linux-4.13.12-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1 little-endian >== hash algorithm: siphash24 64bit >== /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_24998 >Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0) >[1/1] test_dis >test_disassembled (test.test_dis.BytecodeTests) ... ok >test_explicit_first_line (test.test_dis.BytecodeTests) ... ok >test_from_traceback (test.test_dis.BytecodeTests) ... ok >test_from_traceback_dis (test.test_dis.BytecodeTests) ... ok >test_info (test.test_dis.BytecodeTests) ... ok >test_instantiation (test.test_dis.BytecodeTests) ... ok >test_iteration (test.test_dis.BytecodeTests) ... ok >test_source_line_in_disassembly (test.test_dis.BytecodeTests) ... ok >test_code_info (test.test_dis.CodeInfoTests) ... ok >test_code_info_object (test.test_dis.CodeInfoTests) ... ok >test_pretty_flags_no_flags (test.test_dis.CodeInfoTests) ... ok >test_show_code (test.test_dis.CodeInfoTests) ... ok >test_big_linenos (test.test_dis.DisTests) ... ok >test_boundaries (test.test_dis.DisTests) ... ok >test_bug_1333982 (test.test_dis.DisTests) ... FAIL >test_bug_708901 (test.test_dis.DisTests) ... ok >test_dis (test.test_dis.DisTests) ... ok >test_dis_none (test.test_dis.DisTests) ... ok >test_dis_object (test.test_dis.DisTests) ... ok >test_dis_traceback (test.test_dis.DisTests) ... ok >test_disassemble_bytes (test.test_dis.DisTests) ... ok >test_disassemble_class (test.test_dis.DisTests) ... ok >test_disassemble_class_method (test.test_dis.DisTests) ... ok >test_disassemble_generator (test.test_dis.DisTests) ... ok >test_disassemble_instance_method (test.test_dis.DisTests) ... ok >test_disassemble_instance_method_bytes (test.test_dis.DisTests) ... ok >test_disassemble_static_method (test.test_dis.DisTests) ... ok >test_disassemble_str (test.test_dis.DisTests) ... ok >test_opmap (test.test_dis.DisTests) ... ok >test_opname (test.test_dis.DisTests) ... ok >test_big_linenos (test.test_dis.DisWithFileTests) ... ok >test_boundaries (test.test_dis.DisWithFileTests) ... ok >test_bug_1333982 (test.test_dis.DisWithFileTests) ... FAIL >test_bug_708901 (test.test_dis.DisWithFileTests) ... ok >test_dis (test.test_dis.DisWithFileTests) ... ok >test_dis_none (test.test_dis.DisWithFileTests) ... ok >test_dis_object (test.test_dis.DisWithFileTests) ... ok >test_dis_traceback (test.test_dis.DisWithFileTests) ... ok >test_disassemble_bytes (test.test_dis.DisWithFileTests) ... ok >test_disassemble_class (test.test_dis.DisWithFileTests) ... ok >test_disassemble_class_method (test.test_dis.DisWithFileTests) ... ok >test_disassemble_generator (test.test_dis.DisWithFileTests) ... ok >test_disassemble_instance_method (test.test_dis.DisWithFileTests) ... ok >test_disassemble_instance_method_bytes (test.test_dis.DisWithFileTests) ... ok >test_disassemble_static_method (test.test_dis.DisWithFileTests) ... ok >test_disassemble_str (test.test_dis.DisWithFileTests) ... ok >test_opmap (test.test_dis.DisWithFileTests) ... ok >test_opname (test.test_dis.DisWithFileTests) ... ok >test_default_first_line (test.test_dis.InstructionTests) ... ok >test_doubly_nested (test.test_dis.InstructionTests) ... ok >test_first_line_set_to_None (test.test_dis.InstructionTests) ... ok >test_jumpy (test.test_dis.InstructionTests) ... ok >test_nested (test.test_dis.InstructionTests) ... ok >test_outer (test.test_dis.InstructionTests) ... ok > >====================================================================== >FAIL: test_bug_1333982 (test.test_dis.DisTests) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_dis.py", line 327, in test_bug_1333982 > self.do_disassembly_test(bug1333982, dis_bug1333982) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_dis.py", line 301, in do_disassembly_test > self.assertEqual(got, expected) >AssertionError: '145 0 JUMP_IF_NOT_DEBUG 35 (to 38)\n [895 chars]UE\n' != '145 0 LOAD_CONST 1 (0)\n [843 chars]UE\n' >Diff is 2442 characters long. Set self.maxDiff to None to see it. > >====================================================================== >FAIL: test_bug_1333982 (test.test_dis.DisWithFileTests) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_dis.py", line 327, in test_bug_1333982 > self.do_disassembly_test(bug1333982, dis_bug1333982) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_dis.py", line 301, in do_disassembly_test > self.assertEqual(got, expected) >AssertionError: '145 0 JUMP_IF_NOT_DEBUG 35 (to 38)\n [895 chars]UE\n' != '145 0 LOAD_CONST 1 (0)\n [843 chars]UE\n' >Diff is 2442 characters long. Set self.maxDiff to None to see it. > >---------------------------------------------------------------------- >Ran 54 tests in 1.230s > >FAILED (failures=2) >1 test failed: > test_dis >test test_dis failed > >_______________________________________ _______________________________________ >== PyPy 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34) [PyPy 5.9.0-beta0 with GCC 5.4.0] >== Linux-4.13.12-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1 little-endian >== hash algorithm: siphash24 64bit >== /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_29057 >Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0) >[1/1] test_doctest >Trying: > runner = DebugRunner(verbose=False) >Expecting nothing >ok >Trying: > test = DocTestParser().get_doctest('>>> raise KeyError\n42', > {}, 'foo', 'foo.py', 0) >Expecting nothing >ok >Trying: > try: > runner.run(test) > except UnexpectedException as f: > failure = f >Expecting nothing >ok >Trying: > failure.test is test >Expecting: > True >ok >Trying: > failure.example.want >Expecting: > '42\n' >ok >Trying: > exc_info = failure.exc_info >Expecting nothing >ok >Trying: > raise exc_info[1] # Already has the traceback >Expecting: > Traceback (most recent call last): > ... > KeyError >ok >Trying: > test = DocTestParser().get_doctest(''' > >>> x = 1 > >>> x > 2 > ''', {}, 'foo', 'foo.py', 0) >Expecting nothing >ok >Trying: > try: > runner.run(test) > except DocTestFailure as f: > failure = f >Expecting nothing >ok >Trying: > failure.test is test >Expecting: > True >ok >Trying: > failure.example.want >Expecting: > '2\n' >ok >Trying: > failure.got >Expecting: > '1\n' >ok >Trying: > del test.globs['__builtins__'] >Expecting nothing >ok >Trying: > test.globs >Expecting: > {'x': 1} >ok >Trying: > test = DocTestParser().get_doctest(''' > >>> x = 2 > >>> raise KeyError > ''', {}, 'foo', 'foo.py', 0) >Expecting nothing >ok >Trying: > runner.run(test) >Expecting: > Traceback (most recent call last): > ... > doctest.UnexpectedException: <DocTest foo from foo.py:0 (2 examples)> >ok >Trying: > del test.globs['__builtins__'] >Expecting nothing >ok >Trying: > test.globs >Expecting: > {'x': 2} >ok >Trying: > test = DocTestParser().get_doctest(''' > >>> x = 2 > ''', {}, 'foo', 'foo.py', 0) >Expecting nothing >ok >Trying: > runner.run(test) >Expecting: > TestResults(failed=0, attempted=1) >ok >Trying: > test.globs >Expecting: > {} >ok >Trying: > test = DocTestParser().get_doctest('>>> raise KeyError\n42', > {}, 'foo', 'foo.py', 0) >Expecting nothing >ok >Trying: > case = DocTestCase(test) >Expecting nothing >ok >Trying: > try: > case.debug() > except UnexpectedException as f: > failure = f >Expecting nothing >ok >Trying: > failure.test is test >Expecting: > True >ok >Trying: > failure.example.want >Expecting: > '42\n' >ok >Trying: > exc_info = failure.exc_info >Expecting nothing >ok >Trying: > raise exc_info[1] # Already has the traceback >Expecting: > Traceback (most recent call last): > ... > KeyError >ok >Trying: > test = DocTestParser().get_doctest(''' > >>> x = 1 > >>> x > 2 > ''', {}, 'foo', 'foo.py', 0) >Expecting nothing >ok >Trying: > case = DocTestCase(test) >Expecting nothing >ok >Trying: > try: > case.debug() > except DocTestFailure as f: > failure = f >Expecting nothing >ok >Trying: > failure.test is test >Expecting: > True >ok >Trying: > failure.example.want >Expecting: > '2\n' >ok >Trying: > failure.got >Expecting: > '1\n' >ok >Trying: > tests = DocTestFinder().find(_TestClass) >Expecting nothing >ok >Trying: > runner = DocTestRunner(verbose=False) >Expecting nothing >ok >Trying: > tests.sort(key = lambda test: test.name) >Expecting nothing >ok >Trying: > for test in tests: > print(test.name, '->', runner.run(test)) >Expecting: > _TestClass -> TestResults(failed=0, attempted=2) > _TestClass.__init__ -> TestResults(failed=0, attempted=2) > _TestClass.get -> TestResults(failed=0, attempted=2) > _TestClass.square -> TestResults(failed=0, attempted=1) >ok >Trying: > runner.summarize(verbose=1) >Expecting: > 4 items passed all tests: > 2 tests in _TestClass > 2 tests in _TestClass.__init__ > 2 tests in _TestClass.get > 1 tests in _TestClass.square > 7 tests in 4 items. > 7 passed and 0 failed. > Test passed. > TestResults(failed=0, attempted=7) >ok >Trying: > runner.tries >Expecting: > 7 >ok >Trying: > runner.failures >Expecting: > 0 >ok >Trying: > _TestClass(13).get() + _TestClass(-12).get() >Expecting: > 1 >ok >Trying: > hex(_TestClass(13).square().get()) >Expecting: > '0xa9' >ok >Trying: > t = _TestClass(123) >Expecting nothing >ok >Trying: > print(t.get()) >Expecting: > 123 >ok >Trying: > x = _TestClass(-42) >Expecting nothing >ok >Trying: > print(x.get()) >Expecting: > -42 >ok >Trying: > _TestClass(13).square().get() >Expecting: > 169 >ok >Trying: > print('foo\n\nbar\n') >Expecting: > foo > <BLANKLINE> > bar > <BLANKLINE> >ok >Trying: > 4 == 4 >Expecting: > 1 >ok >Trying: > 4 == 4 >Expecting: > True >ok >Trying: > 4 > 4 >Expecting: > 0 >ok >Trying: > 4 > 4 >Expecting: > False >ok >Trying: > print(list(range(1000))) #doctest: +ELLIPSIS >Expecting: > [0, 1, 2, ..., 999] >ok >Trying: > x = 1; y = 2 >Expecting nothing >ok >Trying: > x + y, x * y >Expecting: > (3, 2) >ok >Trying: > print(list(range(30))) #doctest: +NORMALIZE_WHITESPACE >Expecting: > [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, > 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, > 27, 28, 29] >ok >Trying: > _ellipsis_match('aa...aa', 'aaa') >Expecting: > False >ok >Trying: > text = ''' > Here are examples of simple math. > > Python has super accurate integer addition > > >>> 2 + 2 > 5 > > And very friendly error messages: > > >>> 1/0 > To Infinity > And > Beyond > > You can use logic if you want: > > >>> if 0: > ... blah > ... blah > ... > > Ho hum > ''' >Expecting nothing >ok >Trying: > print(script_from_examples(text)) >Expecting: > # Here are examples of simple math. > # > # Python has super accurate integer addition > # > 2 + 2 > # Expected: > ## 5 > # > # And very friendly error messages: > # > 1/0 > # Expected: > ## To Infinity > ## And > ## Beyond > # > # You can use logic if you want: > # > if 0: > blah > blah > # > # Ho hum > <BLANKLINE> >ok >Trying: > import doctest >Expecting nothing >ok >Trying: > old = doctest._unittest_reportflags >Expecting nothing >ok >Trying: > doctest.set_unittest_reportflags(REPORT_NDIFF | > REPORT_ONLY_FIRST_FAILURE) == old >Expecting: > True >ok >Trying: > doctest._unittest_reportflags == (REPORT_NDIFF | > REPORT_ONLY_FIRST_FAILURE) >Expecting: > True >ok >Trying: > doctest.set_unittest_reportflags(ELLIPSIS) >Expecting: > Traceback (most recent call last): > ... > ValueError: ('Only reporting flags allowed', 8) >ok >Trying: > doctest.set_unittest_reportflags(old) == (REPORT_NDIFF | > REPORT_ONLY_FIRST_FAILURE) >Expecting: > True >ok >106 items had no tests: > doctest > doctest.DebugRunner.report_failure > doctest.DebugRunner.report_unexpected_exception > doctest.DebugRunner.run > doctest.DocFileCase > doctest.DocFileCase.__repr__ > doctest.DocFileCase.format_failure > doctest.DocFileCase.id > doctest.DocFileSuite > doctest.DocFileTest > doctest.DocTest > doctest.DocTest.__eq__ > doctest.DocTest.__hash__ > doctest.DocTest.__init__ > doctest.DocTest.__lt__ > doctest.DocTest.__repr__ > doctest.DocTestCase > doctest.DocTestCase.__eq__ > doctest.DocTestCase.__hash__ > doctest.DocTestCase.__init__ > doctest.DocTestCase.__repr__ > doctest.DocTestCase.format_failure > doctest.DocTestCase.id > doctest.DocTestCase.runTest > doctest.DocTestCase.setUp > doctest.DocTestCase.shortDescription > doctest.DocTestCase.tearDown > doctest.DocTestFailure > doctest.DocTestFailure.__init__ > doctest.DocTestFailure.__str__ > doctest.DocTestFinder > doctest.DocTestFinder.__init__ > doctest.DocTestFinder._find > doctest.DocTestFinder._find_lineno > doctest.DocTestFinder._from_module > doctest.DocTestFinder._get_test > doctest.DocTestFinder.find > doctest.DocTestParser > doctest.DocTestParser._check_prefix > doctest.DocTestParser._check_prompt_blank > doctest.DocTestParser._find_options > doctest.DocTestParser._min_indent > doctest.DocTestParser._parse_example > doctest.DocTestParser.get_doctest > doctest.DocTestParser.get_examples > doctest.DocTestParser.parse > doctest.DocTestRunner._DocTestRunner__patched_linecache_getlines > doctest.DocTestRunner._DocTestRunner__record_outcome > doctest.DocTestRunner._DocTestRunner__run > doctest.DocTestRunner.__init__ > doctest.DocTestRunner._failure_header > doctest.DocTestRunner.merge > doctest.DocTestRunner.report_failure > doctest.DocTestRunner.report_start > doctest.DocTestRunner.report_success > doctest.DocTestRunner.report_unexpected_exception > doctest.DocTestRunner.run > doctest.DocTestRunner.summarize > doctest.DocTestSuite > doctest.Example > doctest.Example.__eq__ > doctest.Example.__hash__ > doctest.Example.__init__ > doctest.OutputChecker > doctest.OutputChecker._do_a_fancy_diff > doctest.OutputChecker._toAscii > doctest.OutputChecker.check_output > doctest.OutputChecker.output_difference > doctest.SkipDocTestCase > doctest.SkipDocTestCase.__init__ > doctest.SkipDocTestCase.setUp > doctest.SkipDocTestCase.shortDescription > doctest.SkipDocTestCase.test_skip > doctest.TestResults > doctest.TestResults.attempted > doctest.TestResults.failed > doctest.UnexpectedException > doctest.UnexpectedException.__init__ > doctest.UnexpectedException.__str__ > doctest._DocTestSuite > doctest._DocTestSuite._removeTestAtIndex > doctest._OutputRedirectingPdb > doctest._OutputRedirectingPdb.__init__ > doctest._OutputRedirectingPdb.set_continue > doctest._OutputRedirectingPdb.set_trace > doctest._OutputRedirectingPdb.trace_dispatch > doctest._SpoofOut > doctest._SpoofOut.getvalue > doctest._SpoofOut.truncate > doctest._comment_line > doctest._exception_traceback > doctest._extract_future_flags > doctest._indent > doctest._load_testfile > doctest._module_relative_path > doctest._normalize_module > doctest._strip_exception_details > doctest._test > doctest.debug > doctest.debug_script > doctest.debug_src > doctest.register_optionflag > doctest.run_docstring_examples > doctest.testfile > doctest.testmod > doctest.testsource >15 items passed all tests: > 21 tests in doctest.DebugRunner > 13 tests in doctest.DocTestCase.debug > 7 tests in doctest.DocTestRunner > 2 tests in doctest._TestClass > 2 tests in doctest._TestClass.__init__ > 2 tests in doctest._TestClass.get > 1 tests in doctest._TestClass.square > 1 tests in doctest.__test__.blank lines > 4 tests in doctest.__test__.bool-int equivalence > 1 tests in doctest.__test__.ellipsis > 2 tests in doctest.__test__.string > 1 tests in doctest.__test__.whitespace normalization > 1 tests in doctest._ellipsis_match > 2 tests in doctest.script_from_examples > 6 tests in doctest.set_unittest_reportflags >66 tests in 121 items. >66 passed and 0 failed. >Test passed. >doctest (doctest) ... 66 tests with zero failures >Trying: > print(1) >Expecting: > 1 >ok >Trying: > sc = SampleClass(3) >Expecting nothing >ok >Trying: > for i in range(10): > sc = sc.double() > print(' ', sc.get(), sep='', end='') >Expecting: > 6 12 24 48 96 192 384 768 1536 3072 >ok >Trying: > x = SampleClass.NestedClass(5) >Expecting nothing >ok >Trying: > y = x.square() >Expecting nothing >ok >Trying: > print(y.get()) >Expecting: > 25 >ok >Trying: > print(SampleClass.NestedClass().get()) >Expecting: > 0 >ok >Trying: > print(SampleClass(12).get()) >Expecting: > 12 >ok >Trying: > print(SampleClass.a_classmethod(10)) >Expecting: > 12 >ok >Trying: > print(SampleClass(0).a_classmethod(10)) >Expecting: > 12 >ok >Trying: > print(SampleClass(22).a_property) >Expecting: > 22 >ok >Trying: > print(SampleClass.a_staticmethod(10)) >Expecting: > 11 >ok >Trying: > print(SampleClass(12).double().get()) >Expecting: > 24 >ok >Trying: > print(SampleClass(-5).get()) >Expecting: > -5 >ok >Trying: > print('1\n2\n3') >Expecting: > 1 > 2 > 3 >ok >Trying: > print(SampleNewStyleClass(12).get()) >Expecting: > 12 >ok >Trying: > print(SampleNewStyleClass(12).double().get()) >Expecting: > 24 >ok >Trying: > print(SampleNewStyleClass(-5).get()) >Expecting: > -5 >ok >Trying: > print(sample_func(22)) >Expecting: > 44 >ok >Trying: > def normalize(s): > return '\n'.join(s.decode().splitlines()) >Expecting nothing >ok >Trying: > from test.support import script_helper, temp_dir >Expecting nothing >ok >Trying: > with temp_dir() as tmpdir: > fn = os.path.join(tmpdir, 'myfile.doc') > with open(fn, 'w') as f: > _ = f.write('This is a very simple test file.\n') > _ = f.write(' >>> 1 + 1\n') > _ = f.write(' 2\n') > _ = f.write(' >>> "a"\n') > _ = f.write(" 'a'\n") > _ = f.write('\n') > _ = f.write('And that is it.\n') > rc1, out1, err1 = script_helper.assert_python_ok( > '-m', 'doctest', fn) > rc2, out2, err2 = script_helper.assert_python_ok( > '-m', 'doctest', '-v', fn) >Expecting nothing >ok >Trying: > rc1, out1, err1 >Expecting: > (0, b'', b'') >ok >Trying: > rc2, err2 >Expecting: > (0, b'') >ok >Trying: > print(normalize(out2)) >Expecting: > Trying: > 1 + 1 > Expecting: > 2 > ok > Trying: > "a" > Expecting: > 'a' > ok > 1 items passed all tests: > 2 tests in myfile.doc > 2 tests in 1 items. > 2 passed and 0 failed. > Test passed. >ok >Trying: > from test.support import script_helper, temp_dir >Expecting nothing >ok >Trying: > with temp_dir() as tmpdir: > fn = os.path.join(tmpdir, 'myfile.doc') > with open(fn, 'w') as f: > _ = f.write('This is another simple test file.\n') > _ = f.write(' >>> 1 + 1\n') > _ = f.write(' 2\n') > _ = f.write(' >>> "abcdef"\n') > _ = f.write(" 'a...f'\n") > _ = f.write(' >>> "ajkml"\n') > _ = f.write(" 'a...l'\n") > _ = f.write('\n') > _ = f.write('And that is it.\n') > fn2 = os.path.join(tmpdir, 'myfile2.py') > with open(fn2, 'w') as f: > _ = f.write('def test_func():\n') > _ = f.write(' \"\"\"\n') > _ = f.write(' This is simple python test function.\n') > _ = f.write(' >>> 1 + 1\n') > _ = f.write(' 2\n') > _ = f.write(' >>> "abc def"\n') > _ = f.write(" 'abc def'\n") > _ = f.write("\n") > _ = f.write(' \"\"\"\n') > import shutil > rc1, out1, err1 = script_helper.assert_python_failure( > '-m', 'doctest', fn, fn2) > rc2, out2, err2 = script_helper.assert_python_ok( > '-m', 'doctest', '-o', 'ELLIPSIS', fn) > rc3, out3, err3 = script_helper.assert_python_ok( > '-m', 'doctest', '-o', 'ELLIPSIS', > '-o', 'NORMALIZE_WHITESPACE', fn, fn2) > rc4, out4, err4 = script_helper.assert_python_failure( > '-m', 'doctest', '-f', fn, fn2) > rc5, out5, err5 = script_helper.assert_python_ok( > '-m', 'doctest', '-v', '-o', 'ELLIPSIS', > '-o', 'NORMALIZE_WHITESPACE', fn, fn2) >Expecting nothing >ok >Trying: > rc1, err1 >Expecting: > (1, b'') >ok >Trying: > print(normalize(out1)) # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File "...myfile.doc", line 4, in myfile.doc > Failed example: > "abcdef" > Expected: > 'a...f' > Got: > 'abcdef' > ********************************************************************** > File "...myfile.doc", line 6, in myfile.doc > Failed example: > "ajkml" > Expected: > 'a...l' > Got: > 'ajkml' > ********************************************************************** > 1 items had failures: > 2 of 3 in myfile.doc > ***Test Failed*** 2 failures. >ok >Trying: > rc2, out2, err2 >Expecting: > (0, b'', b'') >ok >Trying: > rc3, out3, err3 >Expecting: > (0, b'', b'') >ok >Trying: > rc4, err4 >Expecting: > (1, b'') >ok >Trying: > print(normalize(out4)) # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File "...myfile.doc", line 4, in myfile.doc > Failed example: > "abcdef" > Expected: > 'a...f' > Got: > 'abcdef' > ********************************************************************** > 1 items had failures: > 1 of 2 in myfile.doc > ***Test Failed*** 1 failures. >ok >Trying: > rc5, err5 >Expecting: > (0, b'') >ok >Trying: > print(normalize(out5)) >Expecting: > Trying: > 1 + 1 > Expecting: > 2 > ok > Trying: > "abcdef" > Expecting: > 'a...f' > ok > Trying: > "ajkml" > Expecting: > 'a...l' > ok > 1 items passed all tests: > 3 tests in myfile.doc > 3 tests in 1 items. > 3 passed and 0 failed. > Test passed. > Trying: > 1 + 1 > Expecting: > 2 > ok > Trying: > "abc def" > Expecting: > 'abc def' > ok > 1 items had no tests: > myfile2 > 1 items passed all tests: > 2 tests in myfile2.test_func > 2 tests in 2 items. > 2 passed and 0 failed. > Test passed. >ok >Trying: > rc, out, err = script_helper.assert_python_failure( > '-m', 'doctest', 'nosuchfile') >Expecting nothing >ok >Trying: > rc, out >Expecting: > (1, b'') >ok >Trying: > print(normalize(err)) # doctest: +ELLIPSIS >Expecting: > Traceback (most recent call last): > ... > FileNotFoundError: [Errno ...] No such file or directory: 'nosuchfile' >ok >Trying: > rc, out, err = script_helper.assert_python_failure( > '-m', 'doctest', '-o', 'nosuchoption') >Expecting nothing >ok >Trying: > rc, out >Expecting: > (2, b'') >ok >Trying: > print(normalize(err)) # doctest: +ELLIPSIS >Expecting: > usage...invalid...nosuchoption... >ok >Trying: > import unittest >Expecting nothing >ok >Trying: > suite = doctest.DocFileSuite('test_doctest.txt', > 'test_doctest2.txt', > 'test_doctest4.txt') >Expecting nothing >ok >Trying: > suite.run(unittest.TestResult()) >Expecting: > <unittest.result.TestResult run=3 errors=0 failures=2> >ok >Trying: > import unittest >Expecting nothing >ok >Trying: > suite = doctest.DocFileSuite('test_doctest.txt', > 'test_doctest2.txt', > 'test_doctest4.txt', > package='test') >Expecting nothing >ok >Trying: > suite.run(unittest.TestResult()) >Expecting: > <unittest.result.TestResult run=3 errors=0 failures=2> >ok >Trying: > import unittest, pkgutil, test >Expecting nothing >ok >Trying: > added_loader = False >Expecting nothing >ok >Trying: > if not hasattr(test, '__loader__'): > test.__loader__ = pkgutil.get_loader(test) > added_loader = True >Expecting nothing >ok >Trying: > try: > suite = doctest.DocFileSuite('test_doctest.txt', > 'test_doctest2.txt', > 'test_doctest4.txt', > package='test') > suite.run(unittest.TestResult()) > finally: > if added_loader: > del test.__loader__ >Expecting: > <unittest.result.TestResult run=3 errors=0 failures=2> >ok >Trying: > suite = doctest.DocFileSuite('../test/test_doctest.txt') >Expecting nothing >ok >Trying: > suite.run(unittest.TestResult()) >Expecting: > <unittest.result.TestResult run=1 errors=0 failures=1> >ok >Trying: > import types, os.path, test.test_doctest >Expecting nothing >ok >Trying: > save_argv = sys.argv >Expecting nothing >ok >Trying: > sys.argv = [test.test_doctest.__file__] >Expecting nothing >ok >Trying: > suite = doctest.DocFileSuite('test_doctest.txt', > package=types.ModuleType('__main__')) >Expecting nothing >ok >Trying: > sys.argv = save_argv >Expecting nothing >ok >Trying: > test_doctest_path = os.path.abspath(test.test_doctest.__file__) >Expecting nothing >ok >Trying: > test_pkg_path = os.path.split(test_doctest_path)[0] >Expecting nothing >ok >Trying: > test_file = os.path.join(test_pkg_path, 'test_doctest.txt') >Expecting nothing >ok >Trying: > suite = doctest.DocFileSuite(test_file, module_relative=False) >Expecting nothing >ok >Trying: > suite.run(unittest.TestResult()) >Expecting: > <unittest.result.TestResult run=1 errors=0 failures=1> >ok >Trying: > suite = doctest.DocFileSuite(test_file, module_relative=False, > package='test') >Expecting: > Traceback (most recent call last): > ValueError: Package may only be specified for module-relative paths. >ok >Trying: > suite = doctest.DocFileSuite('test_doctest.txt', > 'test_doctest2.txt', > 'test_doctest4.txt', > globs={'favorite_color': 'blue'}) >Expecting nothing >ok >Trying: > suite.run(unittest.TestResult()) >Expecting: > <unittest.result.TestResult run=3 errors=0 failures=1> >ok >Trying: > suite = doctest.DocFileSuite('test_doctest.txt', > 'test_doctest2.txt', > 'test_doctest4.txt', > optionflags=doctest.DONT_ACCEPT_BLANKLINE, > globs={'favorite_color': 'blue'}) >Expecting nothing >ok >Trying: > suite.run(unittest.TestResult()) >Expecting: > <unittest.result.TestResult run=3 errors=0 failures=2> >ok >Trying: > def setUp(t): > import test.test_doctest > test.test_doctest.sillySetup = True >Expecting nothing >ok >Trying: > def tearDown(t): > import test.test_doctest > del test.test_doctest.sillySetup >Expecting nothing >ok >Trying: > suite = doctest.DocFileSuite('test_doctest.txt', > 'test_doctest2.txt', > 'test_doctest4.txt', > setUp=setUp, tearDown=tearDown) >Expecting nothing >ok >Trying: > suite.run(unittest.TestResult()) >Expecting: > <unittest.result.TestResult run=3 errors=0 failures=1> >ok >Trying: > import test.test_doctest >Expecting nothing >ok >Trying: > test.test_doctest.sillySetup >Expecting: > Traceback (most recent call last): > ... > AttributeError: module 'test.test_doctest' has no attribute 'sillySetup' >ok >Trying: > def setUp(test): > test.globs['favorite_color'] = 'blue' >Expecting nothing >ok >Trying: > suite = doctest.DocFileSuite('test_doctest.txt', setUp=setUp) >Expecting nothing >ok >Trying: > suite.run(unittest.TestResult()) >Expecting: > <unittest.result.TestResult run=1 errors=0 failures=0> >ok >Trying: > suite = doctest.DocFileSuite('test_doctest3.txt') >Expecting nothing >ok >Trying: > suite.run(unittest.TestResult()) >Expecting: > <unittest.result.TestResult run=1 errors=0 failures=0> >ok >Trying: > suite = doctest.DocFileSuite('test_doctest.txt', > 'test_doctest2.txt', > 'test_doctest4.txt', > encoding='utf-8') >Expecting nothing >ok >Trying: > suite.run(unittest.TestResult()) >Expecting: > <unittest.result.TestResult run=3 errors=0 failures=2> >ok >Trying: > docstring = ''' > >>> print(12) > 12 > > Non-example text. > > >>> print('another\example') > another > example > ''' >Expecting nothing >ok >Trying: > globs = {} # globals to run the test in. >Expecting nothing >ok >Trying: > parser = doctest.DocTestParser() >Expecting nothing >ok >Trying: > test = parser.get_doctest(docstring, globs, 'some_test', > 'some_file', 20) >Expecting nothing >ok >Trying: > print(test) >Expecting: > <DocTest some_test from some_file:20 (2 examples)> >ok >Trying: > len(test.examples) >Expecting: > 2 >ok >Trying: > e1, e2 = test.examples >Expecting nothing >ok >Trying: > (e1.source, e1.want, e1.lineno) >Expecting: > ('print(12)\n', '12\n', 1) >ok >Trying: > (e2.source, e2.want, e2.lineno) >Expecting: > ("print('another\\example')\n", 'another\nexample\n', 6) >ok >Trying: > (test.name, test.filename, test.lineno) >Expecting: > ('some_test', 'some_file', 20) >ok >Trying: > test.lineno + e1.lineno >Expecting: > 21 >ok >Trying: > test.lineno + e2.lineno >Expecting: > 26 >ok >Trying: > docstring = r''' > >>> print('bad\nindentation') > bad > indentation > ''' >Expecting nothing >ok >Trying: > parser.get_doctest(docstring, globs, 'some_test', 'filename', 0) >Expecting: > Traceback (most recent call last): > ValueError: line 4 of the docstring for some_test has inconsistent leading whitespace: 'indentation' >ok >Trying: > docstring = r''' > >>> print(('bad indentation', > ... 2)) > ('bad', 'indentation') > ''' >Expecting nothing >ok >Trying: > parser.get_doctest(docstring, globs, 'some_test', 'filename', 0) >Expecting: > Traceback (most recent call last): > ValueError: line 2 of the docstring for some_test has inconsistent leading whitespace: '... 2))' >ok >Trying: > docstring = '>>>print(1)\n1' >Expecting nothing >ok >Trying: > parser.get_doctest(docstring, globs, 'some_test', 'filename', 0) >Expecting: > Traceback (most recent call last): > ValueError: line 1 of the docstring for some_test lacks blank after >>>: '>>>print(1)' >ok >Trying: > docstring = '>>> if 1:\n...print(1)\n1' >Expecting nothing >ok >Trying: > parser.get_doctest(docstring, globs, 'some_test', 'filename', 0) >Expecting: > Traceback (most recent call last): > ValueError: line 2 of the docstring for some_test lacks blank after ...: '...print(1)' >ok >Trying: > docstring = ''' > >>> print 12 > 12 > ''' >Expecting nothing >ok >Trying: > test = parser.get_doctest(docstring, globs, 'some_test', > 'some_test', 20) >Expecting nothing >ok >Trying: > same_test = parser.get_doctest(docstring, globs, 'some_test', > 'some_test', 20) >Expecting nothing >ok >Trying: > test == same_test >Expecting: > True >ok >Trying: > test != same_test >Expecting: > False >ok >Trying: > hash(test) == hash(same_test) >Expecting: > True >ok >Trying: > docstring = ''' > >>> print 42 > 42 > ''' >Expecting nothing >ok >Trying: > other_test = parser.get_doctest(docstring, globs, 'other_test', > 'other_file', 10) >Expecting nothing >ok >Trying: > test == other_test >Expecting: > False >ok >Trying: > test != other_test >Expecting: > True >ok >Trying: > DocTestCase = doctest.DocTestCase >Expecting nothing >ok >Trying: > test_case = DocTestCase(test) >Expecting nothing >ok >Trying: > same_test_case = DocTestCase(same_test) >Expecting nothing >ok >Trying: > other_test_case = DocTestCase(other_test) >Expecting nothing >ok >Trying: > test_case == same_test_case >Expecting: > True >ok >Trying: > test_case != same_test_case >Expecting: > False >ok >Trying: > hash(test_case) == hash(same_test_case) >Expecting: > True >ok >Trying: > test == other_test_case >Expecting: > False >ok >Trying: > test != other_test_case >Expecting: > True >ok >Trying: > finder = doctest.DocTestFinder() >Expecting nothing >ok >Trying: > import test.test_doctest >Expecting nothing >ok >Trying: > old = test.test_doctest.__file__ >Expecting nothing >ok >Trying: > test.test_doctest.__file__ = 'test_doctest.pyc' >Expecting nothing >ok >Trying: > tests = finder.find(sample_func) >Expecting nothing >ok >Trying: > print(tests) # doctest: +ELLIPSIS >Expecting: > [<DocTest sample_func from ...:20 (1 example)>] >ok >Trying: > tests[0].filename # doctest: +ELLIPSIS >Expecting: > '...test_doctest.py' >ok >Trying: > test.test_doctest.__file__ = old >Expecting nothing >ok >Trying: > e = tests[0].examples[0] >Expecting nothing >ok >Trying: > (e.source, e.want, e.lineno) >Expecting: > ('print(sample_func(22))\n', '44\n', 3) >ok >Trying: > def no_docstring(v): > pass >Expecting nothing >ok >Trying: > finder.find(no_docstring) >Expecting: > [] >ok >Trying: > def no_docstring(v): > pass >Expecting nothing >ok >Trying: > excl_empty_finder = doctest.DocTestFinder(exclude_empty=True) >Expecting nothing >ok >Trying: > excl_empty_finder.find(no_docstring) >Expecting: > [] >ok >Trying: > def no_examples(v): > ''' no doctest examples ''' >Expecting nothing >ok >Trying: > finder.find(no_examples) # doctest: +ELLIPSIS >Expecting: > [<DocTest no_examples from ...:1 (no examples)>] >ok >Trying: > finder = doctest.DocTestFinder() >Expecting nothing >ok >Trying: > tests = finder.find(SampleClass) >Expecting nothing >ok >Trying: > for t in tests: > print('%2s %s' % (len(t.examples), t.name)) >Expecting: > 3 SampleClass > 3 SampleClass.NestedClass > 1 SampleClass.NestedClass.__init__ > 1 SampleClass.__init__ > 2 SampleClass.a_classmethod > 1 SampleClass.a_property > 1 SampleClass.a_staticmethod > 1 SampleClass.double > 1 SampleClass.get >ok >Trying: > tests = finder.find(SampleNewStyleClass) >Expecting nothing >ok >Trying: > for t in tests: > print('%2s %s' % (len(t.examples), t.name)) >Expecting: > 1 SampleNewStyleClass > 1 SampleNewStyleClass.__init__ > 1 SampleNewStyleClass.double > 1 SampleNewStyleClass.get >ok >Trying: > import types >Expecting nothing >ok >Trying: > m = types.ModuleType('some_module') >Expecting nothing >ok >Trying: > def triple(val): > ''' > >>> print(triple(11)) > 33 > ''' > return val*3 >Expecting nothing >ok >Trying: > m.__dict__.update({ > 'sample_func': sample_func, > 'SampleClass': SampleClass, > '__doc__': ''' > Module docstring. > >>> print('module') > module > ''', > '__test__': { > 'd': '>>> print(6)\n6\n>>> print(7)\n7\n', > 'c': triple}}) >Expecting nothing >ok >Trying: > finder = doctest.DocTestFinder() >Expecting nothing >ok >Trying: > import test.test_doctest >Expecting nothing >ok >Trying: > tests = finder.find(m, module=test.test_doctest) >Expecting nothing >ok >Trying: > for t in tests: > print('%2s %s' % (len(t.examples), t.name)) >Expecting: > 1 some_module > 3 some_module.SampleClass > 3 some_module.SampleClass.NestedClass > 1 some_module.SampleClass.NestedClass.__init__ > 1 some_module.SampleClass.__init__ > 2 some_module.SampleClass.a_classmethod > 1 some_module.SampleClass.a_property > 1 some_module.SampleClass.a_staticmethod > 1 some_module.SampleClass.double > 1 some_module.SampleClass.get > 1 some_module.__test__.c > 2 some_module.__test__.d > 1 some_module.sample_func >ok >Trying: > from test import doctest_aliases >Expecting nothing >ok >Trying: > assert doctest_aliases.TwoNames.f >Expecting nothing >ok >Trying: > assert doctest_aliases.TwoNames.g >Expecting nothing >ok >Trying: > tests = excl_empty_finder.find(doctest_aliases) >Expecting nothing >ok >Trying: > print(len(tests)) >Expecting: > 2 >ok >Trying: > print(tests[0].name) >Expecting: > test.doctest_aliases.TwoNames >ok >Trying: > tests[1].name.split('.')[-1] in ['f', 'g'] >Expecting: > True >ok >Trying: > tests = doctest.DocTestFinder().find(SampleClass) >Expecting nothing >ok >Trying: > for t in tests: > print('%2s %s' % (len(t.examples), t.name)) >Expecting: > 3 SampleClass > 3 SampleClass.NestedClass > 1 SampleClass.NestedClass.__init__ > 1 SampleClass.__init__ > 2 SampleClass.a_classmethod > 1 SampleClass.a_property > 1 SampleClass.a_staticmethod > 1 SampleClass.double > 1 SampleClass.get >ok >Trying: > tests = doctest.DocTestFinder(exclude_empty=False).find(SampleClass) >Expecting nothing >ok >Trying: > for t in tests: > print('%2s %s' % (len(t.examples), t.name)) >Expecting: > 3 SampleClass > 3 SampleClass.NestedClass > 1 SampleClass.NestedClass.__init__ > 0 SampleClass.NestedClass.get > 0 SampleClass.NestedClass.square > 1 SampleClass.__init__ > 2 SampleClass.a_classmethod > 1 SampleClass.a_property > 1 SampleClass.a_staticmethod > 1 SampleClass.double > 1 SampleClass.get >ok >Trying: > tests = doctest.DocTestFinder(recurse=False).find(SampleClass) >Expecting nothing >ok >Trying: > for t in tests: > print('%2s %s' % (len(t.examples), t.name)) >Expecting: > 3 SampleClass >ok >Trying: > def f(x): > ''' > >>> x = 12 > > some text > > >>> # examples are not created for comments & bare prompts. > >>> > ... > > >>> for x in range(10): > ... print(x, end=' ') > 0 1 2 3 4 5 6 7 8 9 > >>> x//2 > 6 > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > [e.lineno for e in test.examples] >Expecting: > [1, 9, 12] >ok >Trying: > import builtins >Expecting nothing >ok >Trying: > tests = doctest.DocTestFinder().find(builtins) >Expecting nothing >ok >Trying: > lo, hi = (120, 140) if is_pypy else (790, 810) >Expecting nothing >ok >Trying: > lo < len(tests) < hi # approximate number of objects with docstrings >Expecting: > True >ok >Trying: > real_tests = [t for t in tests if len(t.examples) > 0] >Expecting nothing >ok >Trying: > len(real_tests) # objects that actually have doctests >Expecting: > 8 >********************************************************************** >File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_doctest.py", line 667, in test.test_doctest.test_DocTestFinder.non_Python_modules >Failed example: > len(real_tests) # objects that actually have doctests >Expected: > 8 >Got: > 4 >Trying: > for t in real_tests: > print('{} {}'.format(len(t.examples), t.name)) >Expecting: > 1 builtins.bin > 3 builtins.float.as_integer_ratio > 2 builtins.float.fromhex > 2 builtins.float.hex > 1 builtins.hex > 1 builtins.int > 2 builtins.int.bit_length > 1 builtins.oct >********************************************************************** >File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_doctest.py", line 669, in test.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 > 3 builtins.float.as_integer_ratio > 2 builtins.float.fromhex > 2 builtins.float.hex > 1 builtins.hex > 1 builtins.int > 2 builtins.int.bit_length > 1 builtins.oct >Got: > 1 builtins.bin > 1 builtins.hex > 1 builtins.int > 1 builtins.oct >Trying: > s = ''' > >>> x, y = 2, 3 # no output expected > >>> if 1: > ... print(x) > ... print(y) > 2 > 3 > > Some text. > >>> x+y > 5 > ''' >Expecting nothing >ok >Trying: > parser = doctest.DocTestParser() >Expecting nothing >ok >Trying: > for piece in parser.parse(s): > if isinstance(piece, doctest.Example): > print('Example:', (piece.source, piece.want, piece.lineno)) > else: > print(' Text:', repr(piece)) >Expecting: > Text: '\n' > Example: ('x, y = 2, 3 # no output expected\n', '', 1) > Text: '' > Example: ('if 1:\n print(x)\n print(y)\n', '2\n3\n', 2) > Text: '\nSome text.\n' > Example: ('x+y\n', '5\n', 9) > Text: '' >ok >Trying: > for piece in parser.get_examples(s): > print((piece.source, piece.want, piece.lineno)) >Expecting: > ('x, y = 2, 3 # no output expected\n', '', 1) > ('if 1:\n print(x)\n print(y)\n', '2\n3\n', 2) > ('x+y\n', '5\n', 9) >ok >Trying: > test = parser.get_doctest(s, {}, 'name', 'filename', lineno=5) >Expecting nothing >ok >Trying: > (test.name, test.filename, test.lineno) >Expecting: > ('name', 'filename', 5) >ok >Trying: > for piece in test.examples: > print((piece.source, piece.want, piece.lineno)) >Expecting: > ('x, y = 2, 3 # no output expected\n', '', 1) > ('if 1:\n print(x)\n print(y)\n', '2\n3\n', 2) > ('x+y\n', '5\n', 9) >ok >Trying: > def f(x): > ''' > >>> x = 12 > >>> print(x) > 12 > >>> x//2 > 6 > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) >Expecting: > TestResults(failed=0, attempted=3) >ok >Trying: > def f(x): > ''' > >>> x = 12 > >>> print(x) > 14 > >>> x//2 > 6 > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=True).run(test) > # doctest: +ELLIPSIS >Expecting: > Trying: > x = 12 > Expecting nothing > ok > Trying: > print(x) > Expecting: > 14 > ********************************************************************** > File ..., line 4, in f > Failed example: > print(x) > Expected: > 14 > Got: > 12 > Trying: > x//2 > Expecting: > 6 > ok > TestResults(failed=1, attempted=3) >ok >Trying: > import sys >Expecting nothing >ok >Trying: > orig_displayhook = sys.displayhook >Expecting nothing >ok >Trying: > def my_displayhook(x): > print('hi!') >Expecting nothing >ok >Trying: > sys.displayhook = my_displayhook >Expecting nothing >ok >Trying: > def f(): > ''' > >>> 3 > 3 > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > r = doctest.DocTestRunner(verbose=False).run(test) >Expecting nothing >ok >Trying: > post_displayhook = sys.displayhook >Expecting nothing >ok >Trying: > sys.displayhook = orig_displayhook >Expecting nothing >ok >Trying: > r >Expecting: > TestResults(failed=0, attempted=1) >ok >Trying: > post_displayhook is my_displayhook >Expecting: > True >ok >Trying: > def f(x): > ''' > >>> x = 12 > >>> print(x//0) > Traceback (most recent call last): > ZeroDivisionError: integer division or modulo by zero > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) >Expecting: > TestResults(failed=0, attempted=2) >ok >Trying: > def f(x): > ''' > >>> x = 12 > >>> print('pre-exception output', x//0) > pre-exception output > Traceback (most recent call last): > ZeroDivisionError: integer division or modulo by zero > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 4, in f > Failed example: > print('pre-exception output', x//0) > Exception raised: > ... > ZeroDivisionError: integer division or modulo by zero > TestResults(failed=1, attempted=2) >ok >Trying: > def f(x): > r''' > >>> raise ValueError('multi\nline\nmessage') > Traceback (most recent call last): > ValueError: multi > line > message > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) >Expecting: > TestResults(failed=0, attempted=1) >ok >Trying: > def f(x): > r''' > >>> raise ValueError('message') > Traceback (most recent call last): > ValueError: wrong message > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 3, in f > Failed example: > raise ValueError('message') > Expected: > Traceback (most recent call last): > ValueError: wrong message > Got: > Traceback (most recent call last): > ... > ValueError: message > TestResults(failed=1, attempted=1) >ok >Trying: > def f(x): > r''' > >>> raise ValueError('message') #doctest: +IGNORE_EXCEPTION_DETAIL > Traceback (most recent call last): > ValueError: wrong message > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) >Expecting: > TestResults(failed=0, attempted=1) >ok >Trying: > def f(x): > r''' > >>> from http.client import HTTPException > >>> raise HTTPException('message') > Traceback (most recent call last): > HTTPException: message > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 4, in f > Failed example: > raise HTTPException('message') > Expected: > Traceback (most recent call last): > HTTPException: message > Got: > Traceback (most recent call last): > ... > http.client.HTTPException: message > TestResults(failed=1, attempted=2) >ok >Trying: > def f(x): > r''' > >>> from http.client import HTTPException > >>> raise HTTPException('message') > Traceback (most recent call last): > http.client.HTTPException: message > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) >Expecting: > TestResults(failed=0, attempted=2) >ok >Trying: > def f(x): > r''' > >>> from http.client import HTTPException > >>> raise HTTPException('message') #doctest: +IGNORE_EXCEPTION_DETAIL > Traceback (most recent call last): > HTTPException: message > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) >Expecting: > TestResults(failed=0, attempted=2) >ok >Trying: > def f(x): > r''' > >>> from http.client import HTTPException > >>> raise HTTPException('message') #doctest: +IGNORE_EXCEPTION_DETAIL > Traceback (most recent call last): > foo.bar.HTTPException: message > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) >Expecting: > TestResults(failed=0, attempted=2) >ok >Trying: > def f(x): > r''' > >>> raise ValueError('message') #doctest: +IGNORE_EXCEPTION_DETAIL > Traceback (most recent call last): > TypeError: wrong type > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 3, in f > Failed example: > raise ValueError('message') #doctest: +IGNORE_EXCEPTION_DETAIL > Expected: > Traceback (most recent call last): > TypeError: wrong type > Got: > Traceback (most recent call last): > ... > ValueError: message > TestResults(failed=1, attempted=1) >ok >Trying: > def f(x): > r''' > >>> from http.client import HTTPException > >>> raise HTTPException() #doctest: +IGNORE_EXCEPTION_DETAIL > Traceback (most recent call last): > foo.bar.HTTPException > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) >Expecting: > TestResults(failed=0, attempted=2) >ok >Trying: > def f(x): > r''' > >>> from http.client import HTTPException > >>> raise HTTPException() #doctest: +IGNORE_EXCEPTION_DETAIL > Traceback (most recent call last): > foo.bar.HTTPException: > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) >Expecting: > TestResults(failed=0, attempted=2) >ok >Trying: > def f(x): > r''' > >>> 1//0 > 0 > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 3, in f > Failed example: > 1//0 > Exception raised: > Traceback (most recent call last): > ... > ZeroDivisionError: integer division or modulo by zero > TestResults(failed=1, attempted=1) >ok >Trying: > def f(x): r''' > >>> print(list(range(10))) # should fail: no ellipsis > [0, 1, ..., 9] > > >>> print(list(range(10))) # doctest: +ELLIPSIS > [0, 1, ..., 9] > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 2, in f > Failed example: > print(list(range(10))) # should fail: no ellipsis > Expected: > [0, 1, ..., 9] > Got: > [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] > TestResults(failed=1, attempted=2) >ok >Trying: > def f(x): r''' > >>> print(list(range(10))) > [0, 1, ..., 9] > > >>> # should fail: no ellipsis > >>> print(list(range(10))) # doctest: -ELLIPSIS > [0, 1, ..., 9] > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False, > optionflags=doctest.ELLIPSIS).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 6, in f > Failed example: > print(list(range(10))) # doctest: -ELLIPSIS > Expected: > [0, 1, ..., 9] > Got: > [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] > TestResults(failed=1, attempted=2) >ok >Trying: > def f(x): r''' > >>> print(list(range(10))) # Should fail: no ellipsis > [0, 1, ..., 9] > > >>> print(list(range(10))) # doctest: +ELLIPSIS > [0, 1, ..., 9] > > >>> print(list(range(10))) # Should fail: no ellipsis > [0, 1, ..., 9] > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 2, in f > Failed example: > print(list(range(10))) # Should fail: no ellipsis > Expected: > [0, 1, ..., 9] > Got: > [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] > ********************************************************************** > File ..., line 8, in f > Failed example: > print(list(range(10))) # Should fail: no ellipsis > Expected: > [0, 1, ..., 9] > Got: > [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] > TestResults(failed=2, attempted=3) >ok >Trying: > def f(x): r''' > >>> print(list(range(10))) # Should fail > [0, 1, ..., 9] > >>> print(list(range(10))) # Should succeed > ... # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE > [0, 1, ..., 9] > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 2, in f > Failed example: > print(list(range(10))) # Should fail > Expected: > [0, 1, ..., 9] > Got: > [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] > TestResults(failed=1, attempted=2) >ok >Trying: > def f(x): r''' > >>> print(list(range(10))) # Should fail > [0, 1, ..., 9] > >>> print(list(range(10))) # Should succeed > ... # doctest: +ELLIPSIS,+NORMALIZE_WHITESPACE > [0, 1, ..., 9] > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 2, in f > Failed example: > print(list(range(10))) # Should fail > Expected: > [0, 1, ..., 9] > Got: > [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] > TestResults(failed=1, attempted=2) >ok >Trying: > def f(x): r''' > >>> print(list(range(10))) # Should fail > [0, 1, ..., 9] > >>> print(list(range(10))) # Should succeed > ... # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE > [0, 1, ..., 9] > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 2, in f > Failed example: > print(list(range(10))) # Should fail > Expected: > [0, 1, ..., 9] > Got: > [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] > TestResults(failed=1, attempted=2) >ok >Trying: > def f(x): r''' > >>> print(list(range(10))) > ... # doctest: +ELLIPSIS > [0, 1, ..., 9] > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) >Expecting: > TestResults(failed=0, attempted=1) >ok >Trying: > def f(x): r''' > >>> for x in range(10): # doctest: +ELLIPSIS > ... print(' ', x, end='', sep='') > 0 1 2 ... 9 > > >>> for x in range(10): > ... print(' ', x, end='', sep='') # doctest: +ELLIPSIS > 0 1 2 ... 9 > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) >Expecting: > TestResults(failed=0, attempted=2) >ok >Trying: > def f(x): r''' > Should fail (option directive not on the last line): > >>> for x in range(10): # doctest: +ELLIPSIS > ... print(x, end=' ') # doctest: +NORMALIZE_WHITESPACE > 0 1 2...9 > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) >Expecting: > TestResults(failed=0, attempted=1) >ok >Trying: > s = '>>> print(12) #doctest: +BADOPTION' >Expecting nothing >ok >Trying: > test = doctest.DocTestParser().get_doctest(s, {}, 's', 's.py', 0) >Expecting: > Traceback (most recent call last): > ValueError: line 1 of the doctest for s has an invalid option: '+BADOPTION' >ok >Trying: > s = '>>> print(12) #doctest: ELLIPSIS' >Expecting nothing >ok >Trying: > test = doctest.DocTestParser().get_doctest(s, {}, 's', 's.py', 0) >Expecting: > Traceback (most recent call last): > ValueError: line 1 of the doctest for s has an invalid option: 'ELLIPSIS' >ok >Trying: > s = '>>> # doctest: +ELLIPSIS' >Expecting nothing >ok >Trying: > test = doctest.DocTestParser().get_doctest(s, {}, 's', 's.py', 0) >Expecting: > Traceback (most recent call last): > ValueError: line 0 of the doctest for s has an option directive on a line with no example: '# doctest: +ELLIPSIS' >ok >Trying: > def f(x): > '>>> True\n1\n' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) >Expecting: > TestResults(failed=0, attempted=1) >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > flags = doctest.DONT_ACCEPT_TRUE_FOR_1 >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 2, in f > Failed example: > True > Expected: > 1 > Got: > True > TestResults(failed=1, attempted=1) >ok >Trying: > def f(x): > '>>> print("a\\n\\nb")\na\n<BLANKLINE>\nb\n' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) >Expecting: > TestResults(failed=0, attempted=1) >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > flags = doctest.DONT_ACCEPT_BLANKLINE >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 2, in f > Failed example: > print("a\n\nb") > Expected: > a > <BLANKLINE> > b > Got: > a > <BLANKLINE> > b > TestResults(failed=1, attempted=1) >ok >Trying: > def f(x): > '>>> print(1, 2, 3)\n 1 2\n 3' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 2, in f > Failed example: > print(1, 2, 3) > Expected: > 1 2 > 3 > Got: > 1 2 3 > TestResults(failed=1, attempted=1) >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > flags = doctest.NORMALIZE_WHITESPACE >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) >Expecting: > TestResults(failed=0, attempted=1) >ok >Trying: > print(list(range(20))) #doctest: +NORMALIZE_WHITESPACE >Expecting: > [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, > 10, 11, 12, 13, 14, 15, 16, 17, 18, 19] >ok >Trying: > def f(x): > '>>> print(list(range(15)))\n[0, 1, 2, ..., 14]\n' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 2, in f > Failed example: > print(list(range(15))) > Expected: > [0, 1, 2, ..., 14] > Got: > [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] > TestResults(failed=1, attempted=1) >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > flags = doctest.ELLIPSIS >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) >Expecting: > TestResults(failed=0, attempted=1) >ok >Trying: > if 1: > for i in range(100): > print(i**2, end=' ') #doctest: +ELLIPSIS > print('!') >Expecting: > 0 1...4...9 16 ... 36 49 64 ... 9801 ! >ok >Trying: > if 1: #doctest: +ELLIPSIS > for i in range(20): > print(i, end=' ') > print(20) >Expecting: > 0 1 2 ...1...2...0 >ok >Trying: > print(list(range(20))) # doctest:+ELLIPSIS >Expecting: > [0, 1, ..., 18, 19] >ok >Trying: > print(list(range(20))) # doctest: +ELLIPSIS > # doctest: +NORMALIZE_WHITESPACE >Expecting: > [0, 1, ..., 18, 19] >ok >Trying: > import random >Expecting nothing >ok >Trying: > def f(x): > r''' > >>> print('\n'.join('abcdefg')) > a > B > c > d > f > g > h > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 3, in f > Failed example: > print('\n'.join('abcdefg')) > Expected: > a > B > c > d > f > g > h > Got: > a > b > c > d > e > f > g > TestResults(failed=1, attempted=1) >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > flags = doctest.REPORT_UDIFF >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 3, in f > Failed example: > print('\n'.join('abcdefg')) > Differences (unified diff with -expected +actual): > @@ -1,7 +1,7 @@ > a > -B > +b > c > d > +e > f > g > -h > TestResults(failed=1, attempted=1) >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > flags = doctest.REPORT_CDIFF >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 3, in f > Failed example: > print('\n'.join('abcdefg')) > Differences (context diff with expected followed by actual): > *************** > *** 1,7 **** > a > ! B > c > d > f > g > - h > --- 1,7 ---- > a > ! b > c > d > + e > f > g > TestResults(failed=1, attempted=1) >ok >Trying: > def f(x): > r''' > >>> print("a b c d e f g h i j k l m") > a b c d e f g h i j k 1 m > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > flags = doctest.REPORT_NDIFF >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 3, in f > Failed example: > print("a b c d e f g h i j k l m") > Differences (ndiff with -expected +actual): > - a b c d e f g h i j k 1 m > ? ^ > + a b c d e f g h i j k l m > ? + ++ ^ > TestResults(failed=1, attempted=1) >ok >Trying: > def f(x): > r''' > >>> print(1) # first success > 1 > >>> print(2) # first failure > 200 > >>> print(3) # second failure > 300 > >>> print(4) # second success > 4 > >>> print(5) # third failure > 500 > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > flags = doctest.REPORT_ONLY_FIRST_FAILURE >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 5, in f > Failed example: > print(2) # first failure > Expected: > 200 > Got: > 2 > TestResults(failed=3, attempted=5) >ok >Trying: > doctest.DocTestRunner(verbose=True, optionflags=flags).run(test) > # doctest: +ELLIPSIS >Expecting: > Trying: > print(1) # first success > Expecting: > 1 > ok > Trying: > print(2) # first failure > Expecting: > 200 > ********************************************************************** > File ..., line 5, in f > Failed example: > print(2) # first failure > Expected: > 200 > Got: > 2 > TestResults(failed=3, attempted=5) >ok >Trying: > flags = doctest.FAIL_FAST >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 5, in f > Failed example: > print(2) # first failure > Expected: > 200 > Got: > 2 > TestResults(failed=1, attempted=2) >ok >Trying: > flags = doctest.FAIL_FAST | doctest.REPORT_ONLY_FIRST_FAILURE >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 5, in f > Failed example: > print(2) # first failure > Expected: > 200 > Got: > 2 > TestResults(failed=1, attempted=2) >ok >Trying: > def f(x): > r''' > >>> print(1) # first success > 1 > >>> raise ValueError(2) # first failure > 200 > >>> print(3) # second failure > 300 > >>> print(4) # second success > 4 > >>> print(5) # third failure > 500 > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > flags = doctest.REPORT_ONLY_FIRST_FAILURE >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 5, in f > Failed example: > raise ValueError(2) # first failure > Exception raised: > ... > ValueError: 2 > TestResults(failed=3, attempted=5) >ok >Trying: > flags = doctest.FAIL_FAST >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File ..., line 5, in f > Failed example: > raise ValueError(2) # first failure > Exception raised: > ... > ValueError: 2 > TestResults(failed=1, attempted=2) >ok >Trying: > unlikely = "UNLIKELY_OPTION_NAME" >Expecting nothing >ok >Trying: > unlikely in doctest.OPTIONFLAGS_BY_NAME >Expecting: > False >ok >Trying: > new_flag_value = doctest.register_optionflag(unlikely) >Expecting nothing >ok >Trying: > unlikely in doctest.OPTIONFLAGS_BY_NAME >Expecting: > True >ok >Trying: > redundant_flag_value = doctest.register_optionflag(unlikely) >Expecting nothing >ok >Trying: > redundant_flag_value == new_flag_value >Expecting: > True >ok >Trying: > del doctest.OPTIONFLAGS_BY_NAME[unlikely] >Expecting nothing >ok >Trying: > def f(x): > ''' > >>> x = 12 > >>> print(x) > 12 > >>> x//2 > 6 > ''' >Expecting nothing >ok >Trying: > test = doctest.DocTestFinder().find(f)[0] >Expecting nothing >ok >Trying: > doctest.DocTestRunner(verbose=True).run(test) >Expecting: > Trying: > x = 12 > Expecting nothing > ok > Trying: > print(x) > Expecting: > 12 > ok > Trying: > x//2 > Expecting: > 6 > ok > TestResults(failed=0, attempted=3) >ok >Trying: > old_argv = sys.argv >Expecting nothing >ok >Trying: > sys.argv = ['test'] >Expecting nothing >ok >Trying: > doctest.DocTestRunner().run(test) >Expecting: > TestResults(failed=0, attempted=3) >ok >Trying: > sys.argv = ['test', '-v'] >Expecting nothing >ok >Trying: > doctest.DocTestRunner().run(test) >Expecting: > Trying: > x = 12 > Expecting nothing > ok > Trying: > print(x) > Expecting: > 12 > ok > Trying: > x//2 > Expecting: > 6 > ok > TestResults(failed=0, attempted=3) >ok >Trying: > sys.argv = old_argv >Expecting nothing >ok >Trying: > import unittest >Expecting nothing >ok >Trying: > import test.sample_doctest >Expecting nothing >ok >Trying: > suite = doctest.DocTestSuite(test.sample_doctest) >Expecting nothing >ok >Trying: > suite.run(unittest.TestResult()) >Expecting: > <unittest.result.TestResult run=9 errors=0 failures=4> >ok >Trying: > suite = doctest.DocTestSuite('test.sample_doctest') >Expecting nothing >ok >Trying: > suite.run(unittest.TestResult()) >Expecting: > <unittest.result.TestResult run=9 errors=0 failures=4> >ok >Trying: > suite = doctest.DocTestSuite('test.sample_doctest_no_doctests') >Expecting nothing >ok >Trying: > suite.run(unittest.TestResult()) >Expecting: > <unittest.result.TestResult run=0 errors=0 failures=0> >ok >Trying: > suite = doctest.DocTestSuite('test.sample_doctest_no_docstrings') >Expecting nothing >ok >Trying: > suite.run(unittest.TestResult()) >Expecting: > <unittest.result.TestResult run=0 errors=0 failures=0> >ok >Trying: > suite = test.sample_doctest.test_suite() >Expecting nothing >ok >Trying: > suite.run(unittest.TestResult()) >Expecting: > <unittest.result.TestResult run=9 errors=0 failures=4> >ok >Trying: > finder = doctest.DocTestFinder() >Expecting nothing >ok >Trying: > suite = doctest.DocTestSuite('test.sample_doctest', > test_finder=finder) >Expecting nothing >ok >Trying: > suite.run(unittest.TestResult()) >Expecting: > <unittest.result.TestResult run=9 errors=0 failures=4> >ok >Trying: > finder = doctest.DocTestFinder() >Expecting nothing >ok >Trying: > suite = doctest.DocTestSuite('test.sample_doctest_no_docstrings', > test_finder=finder) >Expecting nothing >ok >Trying: > suite.run(unittest.TestResult()) >Expecting: > <unittest.result.TestResult run=0 errors=0 failures=0> >ok >Trying: > suite = doctest.DocTestSuite('test.sample_doctest', globs={}) >Expecting nothing >ok >Trying: > suite.run(unittest.TestResult()) >Expecting: > <unittest.result.TestResult run=9 errors=0 failures=5> >ok >Trying: > suite = doctest.DocTestSuite('test.sample_doctest', > extraglobs={'y': 1}) >Expecting nothing >ok >Trying: > suite.run(unittest.TestResult()) >Expecting: > <unittest.result.TestResult run=9 errors=0 failures=3> >ok >Trying: > suite = doctest.DocTestSuite('test.sample_doctest', > optionflags=doctest.DONT_ACCEPT_BLANKLINE) >Expecting nothing >ok >Trying: > suite.run(unittest.TestResult()) >Expecting: > <unittest.result.TestResult run=9 errors=0 failures=5> >ok >Trying: > def setUp(t): > import test.test_doctest > test.test_doctest.sillySetup = True >Expecting nothing >ok >Trying: > def tearDown(t): > import test.test_doctest > del test.test_doctest.sillySetup >Expecting nothing >ok >Trying: > suite = doctest.DocTestSuite('test.sample_doctest', > setUp=setUp, tearDown=tearDown) >Expecting nothing >ok >Trying: > suite.run(unittest.TestResult()) >Expecting: > <unittest.result.TestResult run=9 errors=0 failures=3> >ok >Trying: > import test.test_doctest >Expecting nothing >ok >Trying: > test.test_doctest.sillySetup >Expecting: > Traceback (most recent call last): > ... > AttributeError: module 'test.test_doctest' has no attribute 'sillySetup' >ok >Trying: > def setUp(test): > test.globs['y'] = 1 >Expecting nothing >ok >Trying: > suite = doctest.DocTestSuite('test.sample_doctest', setUp=setUp) >Expecting nothing >ok >Trying: > suite.run(unittest.TestResult()) >Expecting: > <unittest.result.TestResult run=9 errors=0 failures=3> >ok >Trying: > example = doctest.Example('print(1)', '1\n') >Expecting nothing >ok >Trying: > (example.source, example.want, example.exc_msg, > example.lineno, example.indent, example.options) >Expecting: > ('print(1)\n', '1\n', None, 0, 0, {}) >ok >Trying: > exc_msg = 'IndexError: pop from an empty list' >Expecting nothing >ok >Trying: > example = doctest.Example('[].pop()', '', exc_msg, > lineno=5, indent=4, > options={doctest.ELLIPSIS: True}) >Expecting nothing >ok >Trying: > (example.source, example.want, example.exc_msg, > example.lineno, example.indent, example.options) >Expecting: > ('[].pop()\n', '', 'IndexError: pop from an empty list\n', 5, 4, {8: True}) >ok >Trying: > e = doctest.Example('print(1)', '1\n') >Expecting nothing >ok >Trying: > e.source, e.want >Expecting: > ('print(1)\n', '1\n') >ok >Trying: > e = doctest.Example('print(1)\n', '1\n') >Expecting nothing >ok >Trying: > e.source, e.want >Expecting: > ('print(1)\n', '1\n') >ok >Trying: > e = doctest.Example('print(1);\nprint(2)\n', '1\n2\n') >Expecting nothing >ok >Trying: > e.source, e.want >Expecting: > ('print(1);\nprint(2)\n', '1\n2\n') >ok >Trying: > e = doctest.Example('print(1);\nprint(2)', '1\n2\n') >Expecting nothing >ok >Trying: > e.source, e.want >Expecting: > ('print(1);\nprint(2)\n', '1\n2\n') >ok >Trying: > e = doctest.Example('', '') >Expecting nothing >ok >Trying: > e.source, e.want >Expecting: > ('\n', '') >ok >Trying: > e = doctest.Example('print(1)', '1\n') >Expecting nothing >ok >Trying: > e.source, e.want >Expecting: > ('print(1)\n', '1\n') >ok >Trying: > e = doctest.Example('print(1)', '1') >Expecting nothing >ok >Trying: > e.source, e.want >Expecting: > ('print(1)\n', '1\n') >ok >Trying: > e = doctest.Example('print', '') >Expecting nothing >ok >Trying: > e.source, e.want >Expecting: > ('print\n', '') >ok >Trying: > exc_msg = 'IndexError: pop from an empty list' >Expecting nothing >ok >Trying: > e = doctest.Example('[].pop()', '', exc_msg) >Expecting nothing >ok >Trying: > e.exc_msg >Expecting: > 'IndexError: pop from an empty list\n' >ok >Trying: > exc_msg = 'IndexError: pop from an empty list\n' >Expecting nothing >ok >Trying: > e = doctest.Example('[].pop()', '', exc_msg) >Expecting nothing >ok >Trying: > e.exc_msg >Expecting: > 'IndexError: pop from an empty list\n' >ok >Trying: > exc_msg = 'ValueError: 1\n 2' >Expecting nothing >ok >Trying: > e = doctest.Example('raise ValueError("1\n 2")', '', exc_msg) >Expecting nothing >ok >Trying: > e.exc_msg >Expecting: > 'ValueError: 1\n 2\n' >ok >Trying: > exc_msg = 'ValueError: 1\n 2\n' >Expecting nothing >ok >Trying: > e = doctest.Example('raise ValueError("1\n 2")', '', exc_msg) >Expecting nothing >ok >Trying: > e.exc_msg >Expecting: > 'ValueError: 1\n 2\n' >ok >Trying: > exc_msg = '' >Expecting nothing >ok >Trying: > e = doctest.Example('raise X()', '', exc_msg) >Expecting nothing >ok >Trying: > e.exc_msg >Expecting: > '\n' >ok >Trying: > example = doctest.Example('print 1', '1\n') >Expecting nothing >ok >Trying: > same_example = doctest.Example('print 1', '1\n') >Expecting nothing >ok >Trying: > other_example = doctest.Example('print 42', '42\n') >Expecting nothing >ok >Trying: > example == same_example >Expecting: > True >ok >Trying: > example != same_example >Expecting: > False >ok >Trying: > hash(example) == hash(same_example) >Expecting: > True >ok >Trying: > example == other_example >Expecting: > False >ok >Trying: > example != other_example >Expecting: > True >ok >Trying: > s = ''' > >>> x = 12 > >>> print(x) > 12 > ''' >Expecting nothing >ok >Trying: > real_stdin = sys.stdin >Expecting nothing >ok >Trying: > sys.stdin = _FakeInput(['next', 'print(x)', 'continue']) >Expecting nothing >ok >Trying: > try: doctest.debug_src(s) > finally: sys.stdin = real_stdin >Expecting: > > <string>(1)<module>() > (Pdb) next > 12 > --Return-- > > <string>(1)<module>()->None > (Pdb) print(x) > 12 > (Pdb) continue >ok >Trying: > import tempfile, os >Expecting nothing >ok >Trying: > fn = tempfile.mktemp() >Expecting nothing >ok >Trying: > with open(fn, 'wb') as f: > f.write(b'Test:\r\n\r\n >>> x = 1 + 1\r\n\r\nDone.\r\n') >Expecting: > 35 >ok >Trying: > doctest.testfile(fn, module_relative=False, verbose=False) >Expecting: > TestResults(failed=0, attempted=1) >ok >Trying: > os.remove(fn) >Expecting nothing >ok >Trying: > fn = tempfile.mktemp() >Expecting nothing >ok >Trying: > with open(fn, 'wb') as f: > f.write(b'Test:\n\n >>> x = 1 + 1\n\nDone.\n') >Expecting: > 30 >ok >Trying: > doctest.testfile(fn, module_relative=False, verbose=False) >Expecting: > TestResults(failed=0, attempted=1) >ok >Trying: > os.remove(fn) >Expecting nothing >ok >Trying: > 'one other test' >Expecting: > 'one other test' >ok >Trying: > doc = ''' > >>> x = 42 > >>> raise Exception('clé') > Traceback (most recent call last): > Exception: clé > >>> import pdb; pdb.set_trace() > ''' >Expecting nothing >ok >Trying: > parser = doctest.DocTestParser() >Expecting nothing >ok >Trying: > test = parser.get_doctest(doc, {}, "foo-bar@baz", "foo-bar@baz.py", 0) >Expecting nothing >ok >Trying: > runner = doctest.DocTestRunner(verbose=False) >Expecting nothing >ok >Trying: > import tempfile >Expecting nothing >ok >Trying: > real_stdin = sys.stdin >Expecting nothing >ok >Trying: > sys.stdin = _FakeInput([ > 'print(x)', # print data defined by the example > 'continue', # stop debugging > '']) >Expecting nothing >ok >Trying: > try: runner.run(test) > finally: sys.stdin = real_stdin >Expecting: > --Return-- > > <doctest foo-bar@baz[2]>(1)<module>()->None > -> import pdb; pdb.set_trace() > (Pdb) print(x) > 42 > (Pdb) continue > TestResults(failed=0, attempted=3) >ok >Trying: > def calls_set_trace(): > y=2 > import pdb; pdb.set_trace() >Expecting nothing >ok >Trying: > doc = ''' > >>> x=1 > >>> calls_set_trace() > ''' >Expecting nothing >ok >Trying: > test = parser.get_doctest(doc, globals(), "foo-bar@baz", "foo-bar@baz.py", 0) >Expecting nothing >ok >Trying: > real_stdin = sys.stdin >Expecting nothing >ok >Trying: > sys.stdin = _FakeInput([ > 'print(y)', # print data defined in the function > 'up', # out of function > 'print(x)', # print data defined by the example > 'continue', # stop debugging > '']) >Expecting nothing >ok >Trying: > try: > runner.run(test) > finally: > sys.stdin = real_stdin >Expecting: > --Return-- > > <doctest test.test_doctest.test_pdb_set_trace[8]>(3)calls_set_trace()->None > -> import pdb; pdb.set_trace() > (Pdb) print(y) > 2 > (Pdb) up > > <doctest foo-bar@baz[1]>(1)<module>() > -> calls_set_trace() > (Pdb) print(x) > 1 > (Pdb) continue > TestResults(failed=0, attempted=2) >ok >Trying: > doc = ''' > >>> def f(x): > ... g(x*2) > >>> def g(x): > ... print(x+3) > ... import pdb; pdb.set_trace() > >>> f(3) > ''' >Expecting nothing >ok >Trying: > test = parser.get_doctest(doc, globals(), "foo-bar@baz", "foo-bar@baz.py", 0) >Expecting nothing >ok >Trying: > real_stdin = sys.stdin >Expecting nothing >ok >Trying: > sys.stdin = _FakeInput([ > 'list', # list source from example 2 > 'next', # return from g() > 'list', # list source from example 1 > 'next', # return from f() > 'list', # list source from example 3 > 'continue', # stop debugging > '']) >Expecting nothing >ok >Trying: > try: runner.run(test) > finally: sys.stdin = real_stdin > # doctest: +NORMALIZE_WHITESPACE >Expecting: > --Return-- > > <doctest foo-bar@baz[1]>(3)g()->None > -> import pdb; pdb.set_trace() > (Pdb) list > 1 def g(x): > 2 print(x+3) > 3 -> import pdb; pdb.set_trace() > [EOF] > (Pdb) next > --Return-- > > <doctest foo-bar@baz[0]>(2)f()->None > -> g(x*2) > (Pdb) list > 1 def f(x): > 2 -> g(x*2) > [EOF] > (Pdb) next > --Return-- > > <doctest foo-bar@baz[2]>(1)<module>()->None > -> f(3) > (Pdb) list > 1 -> f(3) > [EOF] > (Pdb) continue > ********************************************************************** > File "foo-bar@baz.py", line 7, in foo-bar@baz > Failed example: > f(3) > Expected nothing > Got: > 9 > TestResults(failed=1, attempted=3) >ok >Trying: > class C(object): > def calls_set_trace(self): > y = 1 > import pdb; pdb.set_trace() > self.f1() > y = 2 > def f1(self): > x = 1 > self.f2() > x = 2 > def f2(self): > z = 1 > z = 2 >Expecting nothing >ok >Trying: > calls_set_trace = C().calls_set_trace >Expecting nothing >ok >Trying: > doc = ''' > >>> a = 1 > >>> calls_set_trace() > ''' >Expecting nothing >ok >Trying: > parser = doctest.DocTestParser() >Expecting nothing >ok >Trying: > runner = doctest.DocTestRunner(verbose=False) >Expecting nothing >ok >Trying: > test = parser.get_doctest(doc, globals(), "foo-bar@baz", "foo-bar@baz.py", 0) >Expecting nothing >ok >Trying: > real_stdin = sys.stdin >Expecting nothing >ok >Trying: > sys.stdin = _FakeInput([ > 'print(y)', # print data defined in the function > 'step', 'step', 'step', 'step', 'step', 'step', 'print(z)', > 'up', 'print(x)', > 'up', 'print(y)', > 'up', 'print(foo)', > 'continue', # stop debugging > '']) >Expecting nothing >ok >Trying: > try: > runner.run(test) > finally: > sys.stdin = real_stdin > # doctest: +REPORT_NDIFF >Expecting: > > <doctest test.test_doctest.test_pdb_set_trace_nested[0]>(5)calls_set_trace() > -> self.f1() > (Pdb) print(y) > 1 > (Pdb) step > --Call-- > > <doctest test.test_doctest.test_pdb_set_trace_nested[0]>(7)f1() > -> def f1(self): > (Pdb) step > > <doctest test.test_doctest.test_pdb_set_trace_nested[0]>(8)f1() > -> x = 1 > (Pdb) step > > <doctest test.test_doctest.test_pdb_set_trace_nested[0]>(9)f1() > -> self.f2() > (Pdb) step > --Call-- > > <doctest test.test_doctest.test_pdb_set_trace_nested[0]>(11)f2() > -> def f2(self): > (Pdb) step > > <doctest test.test_doctest.test_pdb_set_trace_nested[0]>(12)f2() > -> z = 1 > (Pdb) step > > <doctest test.test_doctest.test_pdb_set_trace_nested[0]>(13)f2() > -> z = 2 > (Pdb) print(z) > 1 > (Pdb) up > > <doctest test.test_doctest.test_pdb_set_trace_nested[0]>(9)f1() > -> self.f2() > (Pdb) print(x) > 1 > (Pdb) up > > <doctest test.test_doctest.test_pdb_set_trace_nested[0]>(5)calls_set_trace() > -> self.f1() > (Pdb) print(y) > 1 > (Pdb) up > > <doctest foo-bar@baz[1]>(1)<module>() > -> calls_set_trace() > (Pdb) print(foo) > *** NameError: name 'foo' is not defined > (Pdb) continue > TestResults(failed=0, attempted=2) >ok >Trying: > save_argv = sys.argv >Expecting nothing >ok >Trying: > if '-v' in sys.argv: > sys.argv = [arg for arg in save_argv if arg != '-v'] >Expecting nothing >ok >Trying: > doctest.testfile('test_doctest.txt') # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File "...", line 6, in test_doctest.txt > Failed example: > favorite_color > Exception raised: > ... > NameError: name 'favorite_color' is not defined > ********************************************************************** > 1 items had failures: > 1 of 2 in test_doctest.txt > ***Test Failed*** 1 failures. > TestResults(failed=1, attempted=2) >ok >Trying: > doctest.master = None # Reset master. >Expecting nothing >ok >Trying: > globs = {'favorite_color': 'blue'} >Expecting nothing >ok >Trying: > doctest.testfile('test_doctest.txt', globs=globs) >Expecting: > TestResults(failed=0, attempted=2) >ok >Trying: > doctest.master = None # Reset master. >Expecting nothing >ok >Trying: > extraglobs = {'favorite_color': 'red'} >Expecting nothing >ok >Trying: > doctest.testfile('test_doctest.txt', globs=globs, > extraglobs=extraglobs) # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File "...", line 6, in test_doctest.txt > Failed example: > favorite_color > Expected: > 'blue' > Got: > 'red' > ********************************************************************** > 1 items had failures: > 1 of 2 in test_doctest.txt > ***Test Failed*** 1 failures. > TestResults(failed=1, attempted=2) >ok >Trying: > doctest.master = None # Reset master. >Expecting nothing >ok >Trying: > doctest.testfile('test_doctest.txt', globs=globs, > module_relative='test') >Expecting: > TestResults(failed=0, attempted=2) >ok >Trying: > doctest.master = None # Reset master. >Expecting nothing >ok >Trying: > doctest.testfile('test_doctest.txt', globs=globs, verbose=True) >Expecting: > Trying: > favorite_color > Expecting: > 'blue' > ok > Trying: > if 1: > print('a') > print() > print('b') > Expecting: > a > <BLANKLINE> > b > ok > 1 items passed all tests: > 2 tests in test_doctest.txt > 2 tests in 1 items. > 2 passed and 0 failed. > Test passed. > TestResults(failed=0, attempted=2) >ok >Trying: > doctest.master = None # Reset master. >Expecting nothing >ok >Trying: > doctest.testfile('test_doctest.txt', name='newname') > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File "...", line 6, in newname > ... > TestResults(failed=1, attempted=2) >ok >Trying: > doctest.master = None # Reset master. >Expecting nothing >ok >Trying: > doctest.testfile('test_doctest.txt', report=False) > # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File "...", line 6, in test_doctest.txt > Failed example: > favorite_color > Exception raised: > ... > NameError: name 'favorite_color' is not defined > TestResults(failed=1, attempted=2) >ok >Trying: > doctest.master = None # Reset master. >Expecting nothing >ok >Trying: > doctest.testfile('test_doctest.txt', raise_on_error=True) > # doctest: +ELLIPSIS >Expecting: > Traceback (most recent call last): > doctest.UnexpectedException: ... >ok >Trying: > doctest.master = None # Reset master. >Expecting nothing >ok >Trying: > doctest.testfile('test_doctest4.txt', encoding='latin-1') # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File "...", line 7, in test_doctest4.txt > Failed example: > '...' > Expected: > 'f\xf6\xf6' > Got: > 'f\xc3\xb6\xc3\xb6' > ********************************************************************** > ... > ********************************************************************** > 1 items had failures: > 2 of 2 in test_doctest4.txt > ***Test Failed*** 2 failures. > TestResults(failed=2, attempted=2) >ok >Trying: > doctest.master = None # Reset master. >Expecting nothing >ok >Trying: > doctest.testfile('test_doctest4.txt', encoding='utf-8') >Expecting: > TestResults(failed=0, attempted=2) >ok >Trying: > doctest.master = None # Reset master. >Expecting nothing >ok >Trying: > doctest.testfile('test_doctest4.txt', encoding='utf-8', verbose=True) >Expecting: > Trying: > 'föö' > Expecting: > 'f\xf6\xf6' > ok > Trying: > 'bÄ r' > Expecting: > 'b\u0105r' > ok > 1 items passed all tests: > 2 tests in test_doctest4.txt > 2 tests in 1 items. > 2 passed and 0 failed. > Test passed. > TestResults(failed=0, attempted=2) >ok >Trying: > doctest.master = None # Reset master. >Expecting nothing >ok >Trying: > sys.argv = save_argv >Expecting nothing >ok >Trying: > import unicodedata >Expecting nothing >ok >Trying: > doctest.testmod(unicodedata, verbose=False) >Expecting: > TestResults(failed=0, attempted=0) >ok >Trying: > import test.test_doctest >Expecting nothing >ok >Trying: > name = 'test.test_doctest.sample_func' >Expecting nothing >ok >Trying: > print(doctest.testsource(test.test_doctest, name)) >Expecting: > # Blah blah > # > print(sample_func(22)) > # Expected: > ## 44 > # > # Yee ha! > <BLANKLINE> >ok >Trying: > name = 'test.test_doctest.SampleNewStyleClass' >Expecting nothing >ok >Trying: > print(doctest.testsource(test.test_doctest, name)) >Expecting: > print('1\n2\n3') > # Expected: > ## 1 > ## 2 > ## 3 > <BLANKLINE> >ok >Trying: > name = 'test.test_doctest.SampleClass.a_classmethod' >Expecting nothing >ok >Trying: > print(doctest.testsource(test.test_doctest, name)) >Expecting: > print(SampleClass.a_classmethod(10)) > # Expected: > ## 12 > print(SampleClass(0).a_classmethod(10)) > # Expected: > ## 12 > <BLANKLINE> >ok >Trying: > x, y = 'foo', '' >Expecting nothing >ok >Trying: > print(x, y) >Expecting: > foo >ok >Trying: > doc = ''' > >>> raise Exception('clé') > ''' >Expecting nothing >ok >Trying: > parser = doctest.DocTestParser() >Expecting nothing >ok >Trying: > test = parser.get_doctest(doc, {}, "foo-bär@baz", "foo-bär@baz.py", 0) >Expecting nothing >ok >Trying: > test >Expecting: > <DocTest foo-bär@baz from foo-bär@baz.py:0 (1 example)> >ok >Trying: > runner = doctest.DocTestRunner(verbose=False) >Expecting nothing >ok >Trying: > runner.run(test) # doctest: +ELLIPSIS >Expecting: > ********************************************************************** > File "foo-bär@baz.py", line 2, in foo-bär@baz > Failed example: > raise Exception('clé') > Exception raised: > Traceback (most recent call last): > File ... > compileflags, 1), test.globs) > File "<doctest foo-bär@baz[0]>", line 1, in <module> > raise Exception('clé') > Exception: clé > TestResults(failed=1, attempted=1) >ok >Trying: > suite = doctest.DocFileSuite('test_doctest.txt', > optionflags=doctest.DONT_ACCEPT_BLANKLINE) >Expecting nothing >ok >Trying: > import unittest >Expecting nothing >ok >Trying: > result = suite.run(unittest.TestResult()) >Expecting nothing >ok >Trying: > print(result.failures[0][1]) # doctest: +ELLIPSIS >Expecting: > Traceback ... > Failed example: > favorite_color > ... > Failed example: > if 1: > ... >ok >Trying: > old = doctest.set_unittest_reportflags( > doctest.REPORT_ONLY_FIRST_FAILURE) >Expecting nothing >ok >Trying: > result = suite.run(unittest.TestResult()) >Expecting nothing >ok >Trying: > print(result.failures[0][1]) # doctest: +ELLIPSIS >Expecting: > Traceback ... > Failed example: > favorite_color > Exception raised: > ... > NameError: name 'favorite_color' is not defined > <BLANKLINE> > <BLANKLINE> >ok >Trying: > suite = doctest.DocFileSuite('test_doctest.txt', > optionflags=doctest.DONT_ACCEPT_BLANKLINE | doctest.REPORT_NDIFF) >Expecting nothing >ok >Trying: > result = suite.run(unittest.TestResult()) >Expecting nothing >ok >Trying: > print(result.failures[0][1]) # doctest: +ELLIPSIS >Expecting: > Traceback ... > Failed example: > favorite_color > ... > Failed example: > if 1: > print('a') > print() > print('b') > Differences (ndiff with -expected +actual): > a > - <BLANKLINE> > + > b > <BLANKLINE> > <BLANKLINE> >ok >Trying: > ignored = doctest.set_unittest_reportflags(old) >Expecting nothing >ok >13 items had no tests: > test.test_doctest > test.test_doctest.SampleClass.NestedClass.get > test.test_doctest.SampleClass.NestedClass.square > test.test_doctest.Wrapper > test.test_doctest.Wrapper.__call__ > test.test_doctest.Wrapper.__init__ > test.test_doctest._FakeInput > test.test_doctest._FakeInput.__init__ > test.test_doctest._FakeInput.readline > test.test_doctest.test_DocTestFinder > test.test_doctest.test_DocTestRunner > test.test_doctest.test_coverage > test.test_doctest.test_main >38 items passed all tests: > 3 tests in test.test_doctest.SampleClass > 3 tests in test.test_doctest.SampleClass.NestedClass > 1 tests in test.test_doctest.SampleClass.NestedClass.__init__ > 1 tests in test.test_doctest.SampleClass.__init__ > 2 tests in test.test_doctest.SampleClass.a_classmethod > 1 tests in test.test_doctest.SampleClass.a_property > 1 tests in test.test_doctest.SampleClass.a_staticmethod > 1 tests in test.test_doctest.SampleClass.double > 1 tests in test.test_doctest.SampleClass.get > 1 tests in test.test_doctest.SampleNewStyleClass > 1 tests in test.test_doctest.SampleNewStyleClass.__init__ > 1 tests in test.test_doctest.SampleNewStyleClass.double > 1 tests in test.test_doctest.SampleNewStyleClass.get > 1 tests in test.test_doctest.sample_func > 22 tests in test.test_doctest.test_CLI > 40 tests in test.test_doctest.test_DocFileSuite > 39 tests in test.test_doctest.test_DocTest > 46 tests in test.test_doctest.test_DocTestFinder.basics > 7 tests in test.test_doctest.test_DocTestParser > 6 tests in test.test_doctest.test_DocTestRunner.basics > 11 tests in test.test_doctest.test_DocTestRunner.displayhook > 39 tests in test.test_doctest.test_DocTestRunner.exceptions > 33 tests in test.test_doctest.test_DocTestRunner.option_directives > 65 tests in test.test_doctest.test_DocTestRunner.optionflags > 9 tests in test.test_doctest.test_DocTestRunner.verbose_flag > 33 tests in test.test_doctest.test_DocTestSuite > 44 tests in test.test_doctest.test_Example > 4 tests in test.test_doctest.test_debug > 9 tests in test.test_doctest.test_lineendings > 1 tests in test.test_doctest.test_look_in_unwrapped > 19 tests in test.test_doctest.test_pdb_set_trace > 9 tests in test.test_doctest.test_pdb_set_trace_nested > 27 tests in test.test_doctest.test_testfile > 2 tests in test.test_doctest.test_testmod > 7 tests in test.test_doctest.test_testsource > 2 tests in test.test_doctest.test_trailing_space_in_test > 6 tests in test.test_doctest.test_unicode > 11 tests in test.test_doctest.test_unittest_reportflags >********************************************************************** >1 items had failures: > 2 of 7 in test.test_doctest.test_DocTestFinder.non_Python_modules >517 tests in 52 items. >515 passed and 2 failed. >***Test Failed*** 2 failures. >1 test failed: > test_doctest >test test_doctest failed > >_______________________________________ _______________________________________ >== PyPy 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34) [PyPy 5.9.0-beta0 with GCC 5.4.0] >== Linux-4.13.12-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1 little-endian >== hash algorithm: siphash24 64bit >== /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_27173 >Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0) >[1/1] test_inspect >test_decorator_with_lambda (test.test_inspect.TestDecorators) ... ok >test_getsource_unwrap (test.test_inspect.TestDecorators) ... ok >test_replacing_decorator (test.test_inspect.TestDecorators) ... ok >test_wrapped_decorator (test.test_inspect.TestDecorators) ... ok >test_cleandoc (test.test_inspect.TestRetrievingSourceCode) ... ok >test_finddoc (test.test_inspect.TestRetrievingSourceCode) ... FAIL >test_getclasses (test.test_inspect.TestRetrievingSourceCode) ... ok >test_getcomments (test.test_inspect.TestRetrievingSourceCode) ... ok >test_getdoc (test.test_inspect.TestRetrievingSourceCode) ... ok >test_getdoc_inherited (test.test_inspect.TestRetrievingSourceCode) ... ok >test_getfile (test.test_inspect.TestRetrievingSourceCode) ... ok >test_getfile_class_without_module (test.test_inspect.TestRetrievingSourceCode) ... ok >test_getframeinfo_get_first_line (test.test_inspect.TestRetrievingSourceCode) ... ok >test_getfunctions (test.test_inspect.TestRetrievingSourceCode) ... ok >test_getmodule (test.test_inspect.TestRetrievingSourceCode) ... ok >test_getmodule_recursion (test.test_inspect.TestRetrievingSourceCode) ... ok >test_getsource (test.test_inspect.TestRetrievingSourceCode) ... ok >test_getsource_on_code_object (test.test_inspect.TestRetrievingSourceCode) ... ok >test_getsourcefile (test.test_inspect.TestRetrievingSourceCode) ... ok >test_proceed_with_fake_filename (test.test_inspect.TestRetrievingSourceCode) >doctest monkeypatches linecache to enable inspection ... ok >test_anonymous (test.test_inspect.TestOneliners) ... ok >test_lambda_in_list (test.test_inspect.TestOneliners) ... ok >test_manyargs (test.test_inspect.TestOneliners) ... ok >test_oneline_lambda (test.test_inspect.TestOneliners) ... ok >test_onelinefunc (test.test_inspect.TestOneliners) ... ok >test_threeline_lambda (test.test_inspect.TestOneliners) ... ok >test_twoline_indented_lambda (test.test_inspect.TestOneliners) ... ok >test_twolinefunc (test.test_inspect.TestOneliners) ... ok >test_findsource_binary (test.test_inspect.TestBuggyCases) ... skipped 'unicodedata is not an external binary module' >test_findsource_code_in_linecache (test.test_inspect.TestBuggyCases) ... ok >test_findsource_without_filename (test.test_inspect.TestBuggyCases) ... ok >test_getsource_on_method (test.test_inspect.TestBuggyCases) ... ok >test_method_in_dynamic_class (test.test_inspect.TestBuggyCases) ... ok >test_multiline_sig (test.test_inspect.TestBuggyCases) ... ok >test_nested_class (test.test_inspect.TestBuggyCases) ... ok >test_nested_func (test.test_inspect.TestBuggyCases) ... ok >test_one_liner_dedent_non_name (test.test_inspect.TestBuggyCases) ... ok >test_one_liner_followed_by_non_name (test.test_inspect.TestBuggyCases) ... ok >test_with_comment (test.test_inspect.TestBuggyCases) ... ok >test_with_comment_instead_of_docstring (test.test_inspect.TestBuggyCases) ... ok >test_abuse_done (test.test_inspect.TestInterpreterStack) ... ok >test_frame (test.test_inspect.TestInterpreterStack) ... ok >test_previous_frame (test.test_inspect.TestInterpreterStack) ... ok >test_stack (test.test_inspect.TestInterpreterStack) ... ok >test_trace (test.test_inspect.TestInterpreterStack) ... ok >test_argspec_api_ignores_wrapped (test.test_inspect.TestClassesAndFunctions) ... ok >test_classify_DynamicClassAttribute (test.test_inspect.TestClassesAndFunctions) ... ok >test_classify_VirtualAttribute (test.test_inspect.TestClassesAndFunctions) ... ok >test_classify_VirtualAttribute_multi_classes (test.test_inspect.TestClassesAndFunctions) ... ok >test_classify_builtin_types (test.test_inspect.TestClassesAndFunctions) ... ok >test_classify_class_attrs_with_buggy_dir (test.test_inspect.TestClassesAndFunctions) ... ok >test_classify_metaclass_class_attribute (test.test_inspect.TestClassesAndFunctions) ... ok >test_classify_newstyle (test.test_inspect.TestClassesAndFunctions) ... FAIL >test_classify_overrides_bool (test.test_inspect.TestClassesAndFunctions) ... ok >test_getargspec (test.test_inspect.TestClassesAndFunctions) ... ok >test_getargspec_method (test.test_inspect.TestClassesAndFunctions) ... ok >test_getfullagrspec_builtin_func (test.test_inspect.TestClassesAndFunctions) ... skipped 'implementation detail specific to cpython' >test_getfullagrspec_builtin_func_no_signature (test.test_inspect.TestClassesAndFunctions) ... skipped 'implementation detail specific to cpython' >test_getfullargspec (test.test_inspect.TestClassesAndFunctions) ... ok >test_getfullargspec_builtin_methods (test.test_inspect.TestClassesAndFunctions) ... ERROR >test_getfullargspec_signature_annos (test.test_inspect.TestClassesAndFunctions) ... ok >test_getfullargspec_signature_attr (test.test_inspect.TestClassesAndFunctions) ... ok >test_getmembers_VirtualAttribute (test.test_inspect.TestClassesAndFunctions) ... ok >test_getmembers_descriptors (test.test_inspect.TestClassesAndFunctions) ... ok >test_getmembers_method (test.test_inspect.TestClassesAndFunctions) ... ok >test_getmembers_with_buggy_dir (test.test_inspect.TestClassesAndFunctions) ... ok >test_newstyle_mro (test.test_inspect.TestClassesAndFunctions) ... ok >test_excluding_predicates (test.test_inspect.TestPredicates) ... ok >test_get_slot_members (test.test_inspect.TestPredicates) ... ok >test_isabstract (test.test_inspect.TestPredicates) ... ok >test_isawaitable (test.test_inspect.TestPredicates) ... ok >test_isclass (test.test_inspect.TestPredicates) ... ok >test_iscoroutine (test.test_inspect.TestPredicates) ... ok >test_isroutine (test.test_inspect.TestPredicates) ... ok >test_errors (test.test_inspect.TestGetcallargsFunctions) ... ok >test_keyword_only (test.test_inspect.TestGetcallargsFunctions) ... ok >test_multiple_features (test.test_inspect.TestGetcallargsFunctions) ... ok >test_plain (test.test_inspect.TestGetcallargsFunctions) ... ok >test_varargs (test.test_inspect.TestGetcallargsFunctions) ... ok >test_varkw (test.test_inspect.TestGetcallargsFunctions) ... ok >test_varkw_only (test.test_inspect.TestGetcallargsFunctions) ... ok >test_errors (test.test_inspect.TestGetcallargsMethods) ... ok >test_keyword_only (test.test_inspect.TestGetcallargsMethods) ... ok >test_multiple_features (test.test_inspect.TestGetcallargsMethods) ... ok >test_plain (test.test_inspect.TestGetcallargsMethods) ... ok >test_varargs (test.test_inspect.TestGetcallargsMethods) ... ok >test_varkw (test.test_inspect.TestGetcallargsMethods) ... ok >test_varkw_only (test.test_inspect.TestGetcallargsMethods) ... ok >test_errors (test.test_inspect.TestGetcallargsUnboundMethods) ... ok >test_keyword_only (test.test_inspect.TestGetcallargsUnboundMethods) ... ok >test_multiple_features (test.test_inspect.TestGetcallargsUnboundMethods) ... ok >test_plain (test.test_inspect.TestGetcallargsUnboundMethods) ... ok >test_varargs (test.test_inspect.TestGetcallargsUnboundMethods) ... ok >test_varkw (test.test_inspect.TestGetcallargsUnboundMethods) ... ok >test_varkw_only (test.test_inspect.TestGetcallargsUnboundMethods) ... ok >test_basic (test.test_inspect.TestGetattrStatic) ... ok >test_classAttribute (test.test_inspect.TestGetattrStatic) ... ok >test_classVirtualAttribute (test.test_inspect.TestGetattrStatic) ... ok >test_class_as_property (test.test_inspect.TestGetattrStatic) ... ok >test_custom_object_dict (test.test_inspect.TestGetattrStatic) ... ok >test_descriptor (test.test_inspect.TestGetattrStatic) ... ok >test_descriptor_raises_AttributeError (test.test_inspect.TestGetattrStatic) ... ok >test_dict_as_property (test.test_inspect.TestGetattrStatic) ... ok >test_inherited (test.test_inspect.TestGetattrStatic) ... ok >test_inherited_classattribute (test.test_inspect.TestGetattrStatic) ... ok >test_inherited_slots (test.test_inspect.TestGetattrStatic) ... ok >test_instance_attr (test.test_inspect.TestGetattrStatic) ... ok >test_metaclass (test.test_inspect.TestGetattrStatic) ... ok >test_metaclass_dict_as_property (test.test_inspect.TestGetattrStatic) ... ok >test_metaclass_with_descriptor (test.test_inspect.TestGetattrStatic) ... ok >test_metaclass_with_metaclass_with_dict_as_property (test.test_inspect.TestGetattrStatic) ... ok >test_module (test.test_inspect.TestGetattrStatic) ... ok >test_mro_as_property (test.test_inspect.TestGetattrStatic) ... ok >test_no_dict_no_slots (test.test_inspect.TestGetattrStatic) ... ok >test_no_dict_no_slots_instance_member (test.test_inspect.TestGetattrStatic) ... ok >test_property (test.test_inspect.TestGetattrStatic) ... ok >test_slots (test.test_inspect.TestGetattrStatic) ... ok >test_closed_after_exhaustion (test.test_inspect.TestGetGeneratorState) ... ok >test_closed_after_immediate_exception (test.test_inspect.TestGetGeneratorState) ... ok >test_created (test.test_inspect.TestGetGeneratorState) ... ok >test_easy_debugging (test.test_inspect.TestGetGeneratorState) ... ok >test_getgeneratorlocals (test.test_inspect.TestGetGeneratorState) ... ok >test_getgeneratorlocals_empty (test.test_inspect.TestGetGeneratorState) ... ok >test_getgeneratorlocals_error (test.test_inspect.TestGetGeneratorState) ... ok >test_running (test.test_inspect.TestGetGeneratorState) ... ok >test_suspended (test.test_inspect.TestGetGeneratorState) ... ok >test_class (test.test_inspect.TestNoEOL) ... ok >test_signature_equality (test.test_inspect.TestSignatureObject) ... ok >test_signature_from_callable_builtin_obj (test.test_inspect.TestSignatureObject) ... ERROR >test_signature_from_callable_python_obj (test.test_inspect.TestSignatureObject) ... ok >test_signature_from_functionlike_object (test.test_inspect.TestSignatureObject) ... ok >test_signature_functionlike_class (test.test_inspect.TestSignatureObject) ... ok >test_signature_hashable (test.test_inspect.TestSignatureObject) ... ok >test_signature_immutability (test.test_inspect.TestSignatureObject) ... ok >test_signature_object (test.test_inspect.TestSignatureObject) ... ok >test_signature_object_pickle (test.test_inspect.TestSignatureObject) ... ok >test_signature_on_builtin_class (test.test_inspect.TestSignatureObject) ... ERROR >test_signature_on_builtins (test.test_inspect.TestSignatureObject) ... skipped 'implementation detail specific to cpython' >test_signature_on_builtins_no_signature (test.test_inspect.TestSignatureObject) ... skipped 'implementation detail specific to cpython' >test_signature_on_callable_objects (test.test_inspect.TestSignatureObject) ... ok >test_signature_on_class (test.test_inspect.TestSignatureObject) ... ok >test_signature_on_class_without_init (test.test_inspect.TestSignatureObject) ... ok >test_signature_on_classmethod (test.test_inspect.TestSignatureObject) ... ok >test_signature_on_complex_args (test.test_inspect.TestSignatureObject) ... ok >test_signature_on_decorated (test.test_inspect.TestSignatureObject) ... ok >test_signature_on_decorated_builtins (test.test_inspect.TestSignatureObject) ... skipped 'implementation detail specific to cpython' >test_signature_on_fake_partialmethod (test.test_inspect.TestSignatureObject) ... ok >test_signature_on_lambdas (test.test_inspect.TestSignatureObject) ... ok >test_signature_on_mangled_parameters (test.test_inspect.TestSignatureObject) ... ok >test_signature_on_method (test.test_inspect.TestSignatureObject) ... ok >test_signature_on_noarg (test.test_inspect.TestSignatureObject) ... ok >test_signature_on_non_function (test.test_inspect.TestSignatureObject) ... ok >test_signature_on_partial (test.test_inspect.TestSignatureObject) ... ok >test_signature_on_partialmethod (test.test_inspect.TestSignatureObject) ... ok >test_signature_on_staticmethod (test.test_inspect.TestSignatureObject) ... ok >test_signature_on_wargs (test.test_inspect.TestSignatureObject) ... ok >test_signature_on_wkwonly (test.test_inspect.TestSignatureObject) ... ok >test_signature_replace_anno (test.test_inspect.TestSignatureObject) ... ok >test_signature_str (test.test_inspect.TestSignatureObject) ... ok >test_signature_str_positional_only (test.test_inspect.TestSignatureObject) ... ok >test_signature_wrapped_bound_method (test.test_inspect.TestSignatureObject) ... ok >test_signature_bind_args_and_kwargs (test.test_inspect.TestSignatureBind) ... ok >test_signature_bind_args_and_varargs (test.test_inspect.TestSignatureBind) ... ok >test_signature_bind_arguments (test.test_inspect.TestSignatureBind) ... ok >test_signature_bind_empty (test.test_inspect.TestSignatureBind) ... ok >test_signature_bind_just_args (test.test_inspect.TestSignatureBind) ... ok >test_signature_bind_just_kwargs (test.test_inspect.TestSignatureBind) ... ok >test_signature_bind_kwonly (test.test_inspect.TestSignatureBind) ... ok >test_signature_bind_positional_only (test.test_inspect.TestSignatureBind) ... ok >test_signature_bind_var (test.test_inspect.TestSignatureBind) ... ok >test_signature_bind_vararg_name (test.test_inspect.TestSignatureBind) ... ok >test_signature_bind_varargs_order (test.test_inspect.TestSignatureBind) ... ok >test_signature_bind_with_self_arg (test.test_inspect.TestSignatureBind) ... ok >test_signature_parameter_equality (test.test_inspect.TestParameterObject) ... ok >test_signature_parameter_hashable (test.test_inspect.TestParameterObject) ... ok >test_signature_parameter_immutability (test.test_inspect.TestParameterObject) ... ok >test_signature_parameter_kinds (test.test_inspect.TestParameterObject) ... ok >test_signature_parameter_object (test.test_inspect.TestParameterObject) ... ok >test_signature_parameter_positional_only (test.test_inspect.TestParameterObject) ... ok >test_signature_parameter_replace (test.test_inspect.TestParameterObject) ... ok >test_signature_bound_arguments_apply_defaults (test.test_inspect.TestBoundArguments) ... ok >test_signature_bound_arguments_equality (test.test_inspect.TestBoundArguments) ... ok >test_signature_bound_arguments_pickle (test.test_inspect.TestBoundArguments) ... ok >test_signature_bound_arguments_repr (test.test_inspect.TestBoundArguments) ... ok >test_signature_bound_arguments_unhashable (test.test_inspect.TestBoundArguments) ... ok >test_signature_get_bound_param (test.test_inspect.TestSignaturePrivateHelpers) ... ok >test_signature_strip_non_python_syntax (test.test_inspect.TestSignaturePrivateHelpers) ... ok >test_builtins_have_signatures (test.test_inspect.TestSignatureDefinitions) ... skipped 'implementation detail specific to cpython' >test_builtins_as_dict (test.test_inspect.TestGetClosureVars) ... ok >test_builtins_as_module (test.test_inspect.TestGetClosureVars) ... ok >test_builtins_fallback (test.test_inspect.TestGetClosureVars) ... ok >test_generator_closure (test.test_inspect.TestGetClosureVars) ... ok >test_getclosurevars_empty (test.test_inspect.TestGetClosureVars) ... ok >test_getclosurevars_error (test.test_inspect.TestGetClosureVars) ... ok >test_method_closure (test.test_inspect.TestGetClosureVars) ... ok >test_name_resolution (test.test_inspect.TestGetClosureVars) ... ok >test_nonlocal_vars (test.test_inspect.TestGetClosureVars) ... ok >test_cycle (test.test_inspect.TestUnwrap) ... ok >test_stop (test.test_inspect.TestUnwrap) ... ok >test_unhashable (test.test_inspect.TestUnwrap) ... ok >test_unwrap_one (test.test_inspect.TestUnwrap) ... ok >test_unwrap_several (test.test_inspect.TestUnwrap) ... ok >test_builtins (test.test_inspect.TestMain) ... ok >test_custom_getattr (test.test_inspect.TestMain) ... ok >test_details (test.test_inspect.TestMain) ... ok >test_only_source (test.test_inspect.TestMain) ... ok >test_qualname_source (test.test_inspect.TestMain) ... ok >test_getsource_reload (test.test_inspect.TestReload) ... ok >test_closed_after_exhaustion (test.test_inspect.TestGetCoroutineState) ... ok >test_closed_after_immediate_exception (test.test_inspect.TestGetCoroutineState) ... ok >test_created (test.test_inspect.TestGetCoroutineState) ... ok >test_easy_debugging (test.test_inspect.TestGetCoroutineState) ... ok >test_getcoroutinelocals (test.test_inspect.TestGetCoroutineState) ... ok >test_suspended (test.test_inspect.TestGetCoroutineState) ... ok > >====================================================================== >ERROR: test_getfullargspec_builtin_methods (test.test_inspect.TestClassesAndFunctions) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_inspect.py", line 758, in test_getfullargspec_builtin_methods > import _pickle >ImportError: No module named '_pickle' > >====================================================================== >ERROR: test_signature_from_callable_builtin_obj (test.test_inspect.TestSignatureObject) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_inspect.py", line 2887, in test_signature_from_callable_builtin_obj > import _pickle >ImportError: No module named '_pickle' > >====================================================================== >ERROR: test_signature_on_builtin_class (test.test_inspect.TestSignatureObject) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_inspect.py", line 2638, in test_signature_on_builtin_class > import _pickle >ImportError: No module named '_pickle' > >====================================================================== >FAIL: test_finddoc (test.test_inspect.TestRetrievingSourceCode) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_inspect.py", line 369, in test_finddoc > self.assertEqual(finddoc(int.to_bytes), int.to_bytes.__doc__) >AssertionError: None != "to_bytes(...)\n int.to_bytes(leng[902 chars] " > >====================================================================== >FAIL: test_classify_newstyle (test.test_inspect.TestClassesAndFunctions) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_inspect.py", line 819, in test_classify_newstyle > self.assertIn(('__new__', 'method', object), attrs, 'missing __new__') >AssertionError: ('__new__', 'method', <class 'object'>) not found in [('__class__', 'data', <class 'object'>), ('__delattr__', 'method', <class 'object'>), ('__dict__', 'data', <class 'test.test_inspect.TestClassesAndFunctions.test_classify_newstyle.<locals>.A'>), ('__dir__', 'method', <class 'object'>), ('__doc__', 'data', <class 'test.test_inspect.TestClassesAndFunctions.test_classify_newstyle.<locals>.A'>), ('__eq__', 'method', <class 'object'>), ('__format__', 'method', <class 'object'>), ('__ge__', 'method', <class 'object'>), ('__getattribute__', 'method', <class 'object'>), ('__gt__', 'method', <class 'object'>), ('__hash__', 'method', <class 'object'>), ('__init__', 'method', <class 'object'>), ('__le__', 'method', <class 'object'>), ('__lt__', 'method', <class 'object'>), ('__module__', 'data', <class 'test.test_inspect.TestClassesAndFunctions.test_classify_newstyle.<locals>.A'>), ('__ne__', 'method', <class 'object'>), ('__new__', 'static method', <class 'object'>), ('__reduce__', 'method', <class 'object'>), ('__reduce_ex__', 'method', <class 'object'>), ('__repr__', 'method', <class 'object'>), ('__setattr__', 'method', <class 'object'>), ('__str__', 'method', <class 'object'>), ('__subclasshook__', 'class method', <class 'object'>), ('__weakref__', 'data', <class 'test.test_inspect.TestClassesAndFunctions.test_classify_newstyle.<locals>.A'>), ('c', 'class method', <class 'test.test_inspect.TestClassesAndFunctions.test_classify_newstyle.<locals>.A'>), ('datablob', 'data', <class 'test.test_inspect.TestClassesAndFunctions.test_classify_newstyle.<locals>.A'>), ('dd', 'data', <class 'test.test_inspect.TestClassesAndFunctions.test_classify_newstyle.<locals>.A'>), ('getp', 'method', <class 'test.test_inspect.TestClassesAndFunctions.test_classify_newstyle.<locals>.A'>), ('m', 'method', <class 'test.test_inspect.TestClassesAndFunctions.test_classify_newstyle.<locals>.A'>), ('m1', 'method', <class 'test.test_inspect.TestClassesAndFunctions.test_classify_newstyle.<locals>.A'>), ('md', 'method', <class 'test.test_inspect.TestClassesAndFunctions.test_classify_newstyle.<locals>.A'>), ('p', 'property', <class 'test.test_inspect.TestClassesAndFunctions.test_classify_newstyle.<locals>.A'>), ('s', 'static method', <class 'test.test_inspect.TestClassesAndFunctions.test_classify_newstyle.<locals>.A'>)] : missing __new__ > >---------------------------------------------------------------------- >Ran 214 tests in 2.107s > >FAILED (failures=2, errors=3, skipped=7) >1 test failed: > test_inspect >/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/importlib/_bootstrap.py:191: RuntimeWarning: coroutine 'coroutine_function_example' was never awaited > if _module_locks.get(name) is wr: # XXX PyPy fix? >test test_inspect failed > >_______________________________________ _______________________________________ >== PyPy 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34) [PyPy 5.9.0-beta0 with GCC 5.4.0] >== Linux-4.13.12-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1 little-endian >== hash algorithm: siphash24 64bit >== /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_2120 >Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0) >[1/1] test_io >test_BufferedIOBase_destructor (test.test_io.CIOTest) ... ok >test_IOBase_destructor (test.test_io.CIOTest) ... ok >test_IOBase_finalize (test.test_io.CIOTest) ... ok >test_RawIOBase_destructor (test.test_io.CIOTest) ... ok >test_RawIOBase_read (test.test_io.CIOTest) ... ok >test_TextIOBase_destructor (test.test_io.CIOTest) ... ok >test_append_mode_tell (test.test_io.CIOTest) ... ok >test_array_writes (test.test_io.CIOTest) ... ok >test_bad_opener_negative_1 (test.test_io.CIOTest) ... ok >test_bad_opener_other_negative (test.test_io.CIOTest) ... ok >test_buffered_file_io (test.test_io.CIOTest) ... ok >test_buffered_readinto_mixin (test.test_io.CIOTest) ... ok >test_close_flushes (test.test_io.CIOTest) ... ok >test_closefd (test.test_io.CIOTest) ... ok >test_closefd_attr (test.test_io.CIOTest) ... ok >test_destructor (test.test_io.CIOTest) ... ok >test_fileio_closefd (test.test_io.CIOTest) ... ok >test_flush_error_on_close (test.test_io.CIOTest) ... ok >test_garbage_collection (test.test_io.CIOTest) ... ok >test_invalid_newline (test.test_io.CIOTest) ... ok >test_invalid_operations (test.test_io.CIOTest) ... ok >test_large_file_ops (test.test_io.CIOTest) ... ok >test_multi_close (test.test_io.CIOTest) ... ok >test_no_closefd_with_filename (test.test_io.CIOTest) ... ok >test_nonbuffered_textio (test.test_io.CIOTest) ... ok >test_open_handles_NUL_chars (test.test_io.CIOTest) ... ok >test_opener (test.test_io.CIOTest) ... ok >test_optional_abilities (test.test_io.CIOTest) ... ok >test_raw_bytes_io (test.test_io.CIOTest) ... ok >test_raw_file_io (test.test_io.CIOTest) ... ok >test_read_closed (test.test_io.CIOTest) ... ok >test_readline (test.test_io.CIOTest) ... ok >test_types_have_dict (test.test_io.CIOTest) ... ok >test_unbounded_file (test.test_io.CIOTest) ... skipped 'test can only run in a 32-bit address space' >test_with_open (test.test_io.CIOTest) ... ok >test_BufferedIOBase_destructor (test.test_io.PyIOTest) ... ok >test_IOBase_destructor (test.test_io.PyIOTest) ... ok >test_RawIOBase_destructor (test.test_io.PyIOTest) ... ok >test_RawIOBase_read (test.test_io.PyIOTest) ... ok >test_TextIOBase_destructor (test.test_io.PyIOTest) ... ok >test_append_mode_tell (test.test_io.PyIOTest) ... ok >test_array_writes (test.test_io.PyIOTest) ... ok >test_bad_opener_negative_1 (test.test_io.PyIOTest) ... ok >test_bad_opener_other_negative (test.test_io.PyIOTest) ... ok >test_buffered_file_io (test.test_io.PyIOTest) ... ok >test_buffered_readinto_mixin (test.test_io.PyIOTest) ... ok >test_close_flushes (test.test_io.PyIOTest) ... ok >test_closefd (test.test_io.PyIOTest) ... ok >test_closefd_attr (test.test_io.PyIOTest) ... ok >test_destructor (test.test_io.PyIOTest) ... ok >test_fileio_closefd (test.test_io.PyIOTest) ... ok >test_flush_error_on_close (test.test_io.PyIOTest) ... ok >test_garbage_collection (test.test_io.PyIOTest) ... ok >test_invalid_newline (test.test_io.PyIOTest) ... ok >test_invalid_operations (test.test_io.PyIOTest) ... ok >test_large_file_ops (test.test_io.PyIOTest) ... ok >test_multi_close (test.test_io.PyIOTest) ... ok >test_no_closefd_with_filename (test.test_io.PyIOTest) ... ok >test_nonbuffered_textio (test.test_io.PyIOTest) ... ok >test_open_handles_NUL_chars (test.test_io.PyIOTest) ... ok >test_opener (test.test_io.PyIOTest) ... ok >test_optional_abilities (test.test_io.PyIOTest) ... ok >test_raw_bytes_io (test.test_io.PyIOTest) ... ok >test_raw_file_io (test.test_io.PyIOTest) ... ok >test_read_closed (test.test_io.PyIOTest) ... ok >test_readline (test.test_io.PyIOTest) ... ok >test_types_have_dict (test.test_io.PyIOTest) ... ok >test_unbounded_file (test.test_io.PyIOTest) ... skipped 'test can only run in a 32-bit address space' >test_with_open (test.test_io.PyIOTest) ... ok >test_RawIOBase_io_in_pyio_match (test.test_io.APIMismatchTest) >Test that pyio RawIOBase class has all c RawIOBase methods ... skipped 'implementation detail specific to cpython' >test_RawIOBase_pyio_in_io_match (test.test_io.APIMismatchTest) >Test that c RawIOBase class has all pyio RawIOBase methods ... skipped 'implementation detail specific to cpython' >test_args_error (test.test_io.CBufferedReaderTest) ... ok >test_buffer_freeing (test.test_io.CBufferedReaderTest) ... skipped 'implementation detail specific to cpython' >test_buffering (test.test_io.CBufferedReaderTest) ... ok >test_close_error_on_close (test.test_io.CBufferedReaderTest) ... ok >test_constructor (test.test_io.CBufferedReaderTest) ... ok >test_context_manager (test.test_io.CBufferedReaderTest) ... ok >test_detach (test.test_io.CBufferedReaderTest) ... ok >test_error_through_destructor (test.test_io.CBufferedReaderTest) ... ok >test_fileno (test.test_io.CBufferedReaderTest) ... ok >test_flush_error_on_close (test.test_io.CBufferedReaderTest) ... ok >test_garbage_collection (test.test_io.CBufferedReaderTest) ... ok >test_initialization (test.test_io.CBufferedReaderTest) ... ok >test_invalid_args (test.test_io.CBufferedReaderTest) ... ok >test_misbehaved_io (test.test_io.CBufferedReaderTest) ... ok >test_misbehaved_io_read (test.test_io.CBufferedReaderTest) ... ok >test_multi_close (test.test_io.CBufferedReaderTest) ... ok >test_no_extraneous_read (test.test_io.CBufferedReaderTest) ... ok >test_nonnormalized_close_error_on_close (test.test_io.CBufferedReaderTest) ... ok >test_override_destructor (test.test_io.CBufferedReaderTest) ... ok >test_read (test.test_io.CBufferedReaderTest) ... ok >test_read1 (test.test_io.CBufferedReaderTest) ... ok >test_read_all (test.test_io.CBufferedReaderTest) ... ok >test_read_non_blocking (test.test_io.CBufferedReaderTest) ... ok >test_read_on_closed (test.test_io.CBufferedReaderTest) ... ok >test_read_past_eof (test.test_io.CBufferedReaderTest) ... ok >test_readinto (test.test_io.CBufferedReaderTest) ... ok >test_readinto1 (test.test_io.CBufferedReaderTest) ... FAIL >test_readinto1_array (test.test_io.CBufferedReaderTest) ... ok >test_readinto_array (test.test_io.CBufferedReaderTest) ... ok >test_readlines (test.test_io.CBufferedReaderTest) ... ok >test_readonly_attributes (test.test_io.CBufferedReaderTest) ... ok >test_repr (test.test_io.CBufferedReaderTest) ... ok >test_sizeof (test.test_io.CBufferedReaderTest) ... skipped 'implementation detail specific to cpython' >test_threads (test.test_io.CBufferedReaderTest) ... skipped "resource 'cpu' is not enabled" >test_uninitialized (test.test_io.CBufferedReaderTest) ... ok >test_unseekable (test.test_io.CBufferedReaderTest) ... ok >test_buffering (test.test_io.PyBufferedReaderTest) ... ok >test_close_error_on_close (test.test_io.PyBufferedReaderTest) ... ok >test_constructor (test.test_io.PyBufferedReaderTest) ... ok >test_context_manager (test.test_io.PyBufferedReaderTest) ... ok >test_detach (test.test_io.PyBufferedReaderTest) ... ok >test_error_through_destructor (test.test_io.PyBufferedReaderTest) ... ok >test_fileno (test.test_io.PyBufferedReaderTest) ... ok >test_flush_error_on_close (test.test_io.PyBufferedReaderTest) ... ok >test_invalid_args (test.test_io.PyBufferedReaderTest) ... ok >test_misbehaved_io (test.test_io.PyBufferedReaderTest) ... ok >test_multi_close (test.test_io.PyBufferedReaderTest) ... ok >test_no_extraneous_read (test.test_io.PyBufferedReaderTest) ... ok >test_nonnormalized_close_error_on_close (test.test_io.PyBufferedReaderTest) ... ok >test_override_destructor (test.test_io.PyBufferedReaderTest) ... ok >test_read (test.test_io.PyBufferedReaderTest) ... ok >test_read1 (test.test_io.PyBufferedReaderTest) ... ok >test_read_all (test.test_io.PyBufferedReaderTest) ... ok >test_read_non_blocking (test.test_io.PyBufferedReaderTest) ... ok >test_read_on_closed (test.test_io.PyBufferedReaderTest) ... ok >test_read_past_eof (test.test_io.PyBufferedReaderTest) ... ok >test_readinto (test.test_io.PyBufferedReaderTest) ... ok >test_readinto1 (test.test_io.PyBufferedReaderTest) ... ok >test_readinto1_array (test.test_io.PyBufferedReaderTest) ... ok >test_readinto_array (test.test_io.PyBufferedReaderTest) ... ok >test_readlines (test.test_io.PyBufferedReaderTest) ... ok >test_readonly_attributes (test.test_io.PyBufferedReaderTest) ... ok >test_repr (test.test_io.PyBufferedReaderTest) ... ok >test_threads (test.test_io.PyBufferedReaderTest) ... skipped "resource 'cpu' is not enabled" >test_uninitialized (test.test_io.PyBufferedReaderTest) ... ok >test_unseekable (test.test_io.PyBufferedReaderTest) ... ok >test_args_error (test.test_io.CBufferedWriterTest) ... ok >test_buffer_freeing (test.test_io.CBufferedWriterTest) ... skipped 'implementation detail specific to cpython' >test_close_error_on_close (test.test_io.CBufferedWriterTest) ... ok >test_constructor (test.test_io.CBufferedWriterTest) ... ok >test_context_manager (test.test_io.CBufferedWriterTest) ... ok >test_destructor (test.test_io.CBufferedWriterTest) ... ok >test_detach (test.test_io.CBufferedWriterTest) ... ok >test_detach_flush (test.test_io.CBufferedWriterTest) ... ok >test_error_through_destructor (test.test_io.CBufferedWriterTest) ... ok >test_fileno (test.test_io.CBufferedWriterTest) ... ok >test_flush (test.test_io.CBufferedWriterTest) ... ok >test_flush_error_on_close (test.test_io.CBufferedWriterTest) ... ok >test_garbage_collection (test.test_io.CBufferedWriterTest) ... ok >test_initialization (test.test_io.CBufferedWriterTest) ... ok >test_invalid_args (test.test_io.CBufferedWriterTest) ... ok >test_max_buffer_size_removal (test.test_io.CBufferedWriterTest) ... ok >test_misbehaved_io (test.test_io.CBufferedWriterTest) ... ok >test_multi_close (test.test_io.CBufferedWriterTest) ... ok >test_nonnormalized_close_error_on_close (test.test_io.CBufferedWriterTest) ... ok >test_override_destructor (test.test_io.CBufferedWriterTest) ... ok >test_readonly_attributes (test.test_io.CBufferedWriterTest) ... ok >test_repr (test.test_io.CBufferedWriterTest) ... ok >test_sizeof (test.test_io.CBufferedWriterTest) ... skipped 'implementation detail specific to cpython' >test_threads (test.test_io.CBufferedWriterTest) ... skipped "resource 'cpu' is not enabled" >test_truncate (test.test_io.CBufferedWriterTest) ... ok >test_uninitialized (test.test_io.CBufferedWriterTest) ... ok >test_unseekable (test.test_io.CBufferedWriterTest) ... ok >test_write (test.test_io.CBufferedWriterTest) ... ok >test_write_and_rewind (test.test_io.CBufferedWriterTest) ... ok >test_write_error_on_close (test.test_io.CBufferedWriterTest) ... ok >test_write_non_blocking (test.test_io.CBufferedWriterTest) ... ok >test_write_overflow (test.test_io.CBufferedWriterTest) ... ok >test_writelines (test.test_io.CBufferedWriterTest) ... ok >test_writelines_error (test.test_io.CBufferedWriterTest) ... ok >test_writelines_userlist (test.test_io.CBufferedWriterTest) ... ok >test_writes (test.test_io.CBufferedWriterTest) ... ok >test_writes_and_flushes (test.test_io.CBufferedWriterTest) ... ok >test_writes_and_seeks (test.test_io.CBufferedWriterTest) ... ok >test_writes_and_truncates (test.test_io.CBufferedWriterTest) ... ok >test_close_error_on_close (test.test_io.PyBufferedWriterTest) ... ok >test_constructor (test.test_io.PyBufferedWriterTest) ... ok >test_context_manager (test.test_io.PyBufferedWriterTest) ... ok >test_destructor (test.test_io.PyBufferedWriterTest) ... ok >test_detach (test.test_io.PyBufferedWriterTest) ... ok >test_detach_flush (test.test_io.PyBufferedWriterTest) ... ok >test_error_through_destructor (test.test_io.PyBufferedWriterTest) ... ok >test_fileno (test.test_io.PyBufferedWriterTest) ... ok >test_flush (test.test_io.PyBufferedWriterTest) ... ok >test_flush_error_on_close (test.test_io.PyBufferedWriterTest) ... ok >test_invalid_args (test.test_io.PyBufferedWriterTest) ... ok >test_max_buffer_size_removal (test.test_io.PyBufferedWriterTest) ... ok >test_misbehaved_io (test.test_io.PyBufferedWriterTest) ... ok >test_multi_close (test.test_io.PyBufferedWriterTest) ... ok >test_nonnormalized_close_error_on_close (test.test_io.PyBufferedWriterTest) ... ok >test_override_destructor (test.test_io.PyBufferedWriterTest) ... ok >test_readonly_attributes (test.test_io.PyBufferedWriterTest) ... ok >test_repr (test.test_io.PyBufferedWriterTest) ... ok >test_threads (test.test_io.PyBufferedWriterTest) ... skipped "resource 'cpu' is not enabled" >test_truncate (test.test_io.PyBufferedWriterTest) ... ok >test_uninitialized (test.test_io.PyBufferedWriterTest) ... ok >test_unseekable (test.test_io.PyBufferedWriterTest) ... ok >test_write (test.test_io.PyBufferedWriterTest) ... ok >test_write_and_rewind (test.test_io.PyBufferedWriterTest) ... ok >test_write_error_on_close (test.test_io.PyBufferedWriterTest) ... ok >test_write_non_blocking (test.test_io.PyBufferedWriterTest) ... ok >test_write_overflow (test.test_io.PyBufferedWriterTest) ... ok >test_writelines (test.test_io.PyBufferedWriterTest) ... ok >test_writelines_error (test.test_io.PyBufferedWriterTest) ... ok >test_writelines_userlist (test.test_io.PyBufferedWriterTest) ... ok >test_writes (test.test_io.PyBufferedWriterTest) ... ok >test_writes_and_flushes (test.test_io.PyBufferedWriterTest) ... ok >test_writes_and_seeks (test.test_io.PyBufferedWriterTest) ... ok >test_writes_and_truncates (test.test_io.PyBufferedWriterTest) ... ok >test_close_and_closed (test.test_io.CBufferedRWPairTest) ... ok >test_constructor (test.test_io.CBufferedRWPairTest) ... ok >test_constructor_max_buffer_size_removal (test.test_io.CBufferedRWPairTest) ... ok >test_constructor_with_not_readable (test.test_io.CBufferedRWPairTest) ... ok >test_constructor_with_not_writeable (test.test_io.CBufferedRWPairTest) ... ok >test_detach (test.test_io.CBufferedRWPairTest) ... ok >test_isatty (test.test_io.CBufferedRWPairTest) ... ok >test_peek (test.test_io.CBufferedRWPairTest) ... ok >test_read (test.test_io.CBufferedRWPairTest) ... ok >test_read1 (test.test_io.CBufferedRWPairTest) ... ok >test_readable (test.test_io.CBufferedRWPairTest) ... ok >test_reader_close_error_on_close (test.test_io.CBufferedRWPairTest) ... ok >test_reader_writer_close_error_on_close (test.test_io.CBufferedRWPairTest) ... ok >test_readinto (test.test_io.CBufferedRWPairTest) ... ok >test_readlines (test.test_io.CBufferedRWPairTest) ... ok >test_seekable (test.test_io.CBufferedRWPairTest) ... ok >test_uninitialized (test.test_io.CBufferedRWPairTest) ... ok >test_weakref_clearing (test.test_io.CBufferedRWPairTest) ... ok >test_write (test.test_io.CBufferedRWPairTest) ... ok >test_writeable (test.test_io.CBufferedRWPairTest) ... ok >test_writer_close_error_on_close (test.test_io.CBufferedRWPairTest) ... ok >test_close_and_closed (test.test_io.PyBufferedRWPairTest) ... ok >test_constructor (test.test_io.PyBufferedRWPairTest) ... ok >test_constructor_max_buffer_size_removal (test.test_io.PyBufferedRWPairTest) ... ok >test_constructor_with_not_readable (test.test_io.PyBufferedRWPairTest) ... ok >test_constructor_with_not_writeable (test.test_io.PyBufferedRWPairTest) ... ok >test_detach (test.test_io.PyBufferedRWPairTest) ... ok >test_isatty (test.test_io.PyBufferedRWPairTest) ... ok >test_peek (test.test_io.PyBufferedRWPairTest) ... ok >test_read (test.test_io.PyBufferedRWPairTest) ... ok >test_read1 (test.test_io.PyBufferedRWPairTest) ... ok >test_readable (test.test_io.PyBufferedRWPairTest) ... ok >test_reader_close_error_on_close (test.test_io.PyBufferedRWPairTest) ... ok >test_reader_writer_close_error_on_close (test.test_io.PyBufferedRWPairTest) ... ok >test_readinto (test.test_io.PyBufferedRWPairTest) ... ok >test_readlines (test.test_io.PyBufferedRWPairTest) ... ok >test_seekable (test.test_io.PyBufferedRWPairTest) ... ok >test_uninitialized (test.test_io.PyBufferedRWPairTest) ... ok >test_weakref_clearing (test.test_io.PyBufferedRWPairTest) ... ok >test_write (test.test_io.PyBufferedRWPairTest) ... ok >test_writeable (test.test_io.PyBufferedRWPairTest) ... ok >test_writer_close_error_on_close (test.test_io.PyBufferedRWPairTest) ... ok >test_args_error (test.test_io.CBufferedRandomTest) ... ok >test_buffer_freeing (test.test_io.CBufferedRandomTest) ... skipped 'implementation detail specific to cpython' >test_buffering (test.test_io.CBufferedRandomTest) ... ok >test_close_error_on_close (test.test_io.CBufferedRandomTest) ... ok >test_constructor (test.test_io.CBufferedRandomTest) ... ok >test_context_manager (test.test_io.CBufferedRandomTest) ... ok >test_destructor (test.test_io.CBufferedRandomTest) ... ok >test_detach (test.test_io.CBufferedRandomTest) ... ok >test_detach_flush (test.test_io.CBufferedRandomTest) ... ok >test_error_through_destructor (test.test_io.CBufferedRandomTest) ... ok >test_fileno (test.test_io.CBufferedRandomTest) ... ok >test_flush (test.test_io.CBufferedRandomTest) ... ok >test_flush_and_peek (test.test_io.CBufferedRandomTest) ... ok >test_flush_and_read (test.test_io.CBufferedRandomTest) ... ok >test_flush_and_readinto (test.test_io.CBufferedRandomTest) ... ok >test_flush_and_write (test.test_io.CBufferedRandomTest) ... ok >test_flush_error_on_close (test.test_io.CBufferedRandomTest) ... ok >test_garbage_collection (test.test_io.CBufferedRandomTest) ... ok >test_interleaved_read_write (test.test_io.CBufferedRandomTest) ... ok >test_interleaved_readline_write (test.test_io.CBufferedRandomTest) ... ok >test_invalid_args (test.test_io.CBufferedRandomTest) ... ok >test_max_buffer_size_removal (test.test_io.CBufferedRandomTest) ... ok >test_misbehaved_io (test.test_io.CBufferedRandomTest) ... ok >test_multi_close (test.test_io.CBufferedRandomTest) ... ok >test_no_extraneous_read (test.test_io.CBufferedRandomTest) ... ok >test_nonnormalized_close_error_on_close (test.test_io.CBufferedRandomTest) ... ok >test_override_destructor (test.test_io.CBufferedRandomTest) ... ok >test_read (test.test_io.CBufferedRandomTest) ... ok >test_read1 (test.test_io.CBufferedRandomTest) ... ok >test_read_all (test.test_io.CBufferedRandomTest) ... ok >test_read_and_write (test.test_io.CBufferedRandomTest) ... ok >test_read_non_blocking (test.test_io.CBufferedRandomTest) ... ok >test_read_on_closed (test.test_io.CBufferedRandomTest) ... ok >test_read_past_eof (test.test_io.CBufferedRandomTest) ... ok >test_readinto (test.test_io.CBufferedRandomTest) ... ok >test_readinto1 (test.test_io.CBufferedRandomTest) ... FAIL >test_readinto1_array (test.test_io.CBufferedRandomTest) ... ok >test_readinto_array (test.test_io.CBufferedRandomTest) ... ok >test_readlines (test.test_io.CBufferedRandomTest) ... ok >test_readonly_attributes (test.test_io.CBufferedRandomTest) ... ok >test_repr (test.test_io.CBufferedRandomTest) ... ok >test_seek_and_tell (test.test_io.CBufferedRandomTest) ... ok >test_sizeof (test.test_io.CBufferedRandomTest) ... skipped 'implementation detail specific to cpython' >test_threads (test.test_io.CBufferedRandomTest) ... skipped "resource 'cpu' is not enabled" >test_truncate (test.test_io.CBufferedRandomTest) ... ok >test_truncate_after_read_or_write (test.test_io.CBufferedRandomTest) ... ok >test_uninitialized (test.test_io.CBufferedRandomTest) ... ok >test_write (test.test_io.CBufferedRandomTest) ... ok >test_write_after_readahead (test.test_io.CBufferedRandomTest) ... ok >test_write_and_rewind (test.test_io.CBufferedRandomTest) ... ok >test_write_error_on_close (test.test_io.CBufferedRandomTest) ... ok >test_write_non_blocking (test.test_io.CBufferedRandomTest) ... ok >test_write_overflow (test.test_io.CBufferedRandomTest) ... ok >test_write_rewind_write (test.test_io.CBufferedRandomTest) ... ok >test_writelines (test.test_io.CBufferedRandomTest) ... ok >test_writelines_error (test.test_io.CBufferedRandomTest) ... ok >test_writelines_userlist (test.test_io.CBufferedRandomTest) ... ok >test_writes (test.test_io.CBufferedRandomTest) ... ok >test_writes_and_flushes (test.test_io.CBufferedRandomTest) ... ok >test_writes_and_peek (test.test_io.CBufferedRandomTest) ... ok >test_writes_and_read1s (test.test_io.CBufferedRandomTest) ... ok >test_writes_and_readintos (test.test_io.CBufferedRandomTest) ... ok >test_writes_and_reads (test.test_io.CBufferedRandomTest) ... ok >test_writes_and_seeks (test.test_io.CBufferedRandomTest) ... ok >test_writes_and_truncates (test.test_io.CBufferedRandomTest) ... ok >test_buffering (test.test_io.PyBufferedRandomTest) ... ok >test_close_error_on_close (test.test_io.PyBufferedRandomTest) ... ok >test_constructor (test.test_io.PyBufferedRandomTest) ... ok >test_context_manager (test.test_io.PyBufferedRandomTest) ... ok >test_destructor (test.test_io.PyBufferedRandomTest) ... ok >test_detach (test.test_io.PyBufferedRandomTest) ... ok >test_detach_flush (test.test_io.PyBufferedRandomTest) ... ok >test_error_through_destructor (test.test_io.PyBufferedRandomTest) ... ok >test_fileno (test.test_io.PyBufferedRandomTest) ... ok >test_flush (test.test_io.PyBufferedRandomTest) ... ok >test_flush_and_peek (test.test_io.PyBufferedRandomTest) ... ok >test_flush_and_read (test.test_io.PyBufferedRandomTest) ... ok >test_flush_and_readinto (test.test_io.PyBufferedRandomTest) ... ok >test_flush_and_write (test.test_io.PyBufferedRandomTest) ... ok >test_flush_error_on_close (test.test_io.PyBufferedRandomTest) ... ok >test_interleaved_read_write (test.test_io.PyBufferedRandomTest) ... ok >test_interleaved_readline_write (test.test_io.PyBufferedRandomTest) ... ok >test_invalid_args (test.test_io.PyBufferedRandomTest) ... ok >test_max_buffer_size_removal (test.test_io.PyBufferedRandomTest) ... ok >test_misbehaved_io (test.test_io.PyBufferedRandomTest) ... ok >test_multi_close (test.test_io.PyBufferedRandomTest) ... ok >test_no_extraneous_read (test.test_io.PyBufferedRandomTest) ... ok >test_nonnormalized_close_error_on_close (test.test_io.PyBufferedRandomTest) ... ok >test_override_destructor (test.test_io.PyBufferedRandomTest) ... ok >test_read (test.test_io.PyBufferedRandomTest) ... ok >test_read1 (test.test_io.PyBufferedRandomTest) ... ok >test_read_all (test.test_io.PyBufferedRandomTest) ... ok >test_read_and_write (test.test_io.PyBufferedRandomTest) ... ok >test_read_non_blocking (test.test_io.PyBufferedRandomTest) ... ok >test_read_on_closed (test.test_io.PyBufferedRandomTest) ... ok >test_read_past_eof (test.test_io.PyBufferedRandomTest) ... ok >test_readinto (test.test_io.PyBufferedRandomTest) ... ok >test_readinto1 (test.test_io.PyBufferedRandomTest) ... ok >test_readinto1_array (test.test_io.PyBufferedRandomTest) ... ok >test_readinto_array (test.test_io.PyBufferedRandomTest) ... ok >test_readlines (test.test_io.PyBufferedRandomTest) ... ok >test_readonly_attributes (test.test_io.PyBufferedRandomTest) ... ok >test_repr (test.test_io.PyBufferedRandomTest) ... ok >test_seek_and_tell (test.test_io.PyBufferedRandomTest) ... ok >test_threads (test.test_io.PyBufferedRandomTest) ... skipped "resource 'cpu' is not enabled" >test_truncate (test.test_io.PyBufferedRandomTest) ... ok >test_truncate_after_read_or_write (test.test_io.PyBufferedRandomTest) ... ok >test_uninitialized (test.test_io.PyBufferedRandomTest) ... ok >test_write (test.test_io.PyBufferedRandomTest) ... ok >test_write_after_readahead (test.test_io.PyBufferedRandomTest) ... ok >test_write_and_rewind (test.test_io.PyBufferedRandomTest) ... ok >test_write_error_on_close (test.test_io.PyBufferedRandomTest) ... ok >test_write_non_blocking (test.test_io.PyBufferedRandomTest) ... ok >test_write_overflow (test.test_io.PyBufferedRandomTest) ... ok >test_write_rewind_write (test.test_io.PyBufferedRandomTest) ... ok >test_writelines (test.test_io.PyBufferedRandomTest) ... ok >test_writelines_error (test.test_io.PyBufferedRandomTest) ... ok >test_writelines_userlist (test.test_io.PyBufferedRandomTest) ... ok >test_writes (test.test_io.PyBufferedRandomTest) ... ok >test_writes_and_flushes (test.test_io.PyBufferedRandomTest) ... ok >test_writes_and_peek (test.test_io.PyBufferedRandomTest) ... ok >test_writes_and_read1s (test.test_io.PyBufferedRandomTest) ... ok >test_writes_and_readintos (test.test_io.PyBufferedRandomTest) ... ok >test_writes_and_reads (test.test_io.PyBufferedRandomTest) ... ok >test_writes_and_seeks (test.test_io.PyBufferedRandomTest) ... ok >test_writes_and_truncates (test.test_io.PyBufferedRandomTest) ... ok >test_decoder (test.test_io.StatefulIncrementalDecoderTest) ... ok >test_newline_bytes (test.test_io.CIncrementalNewlineDecoderTest) ... ok >test_newline_decoder (test.test_io.CIncrementalNewlineDecoderTest) ... ok >test_newline_bytes (test.test_io.PyIncrementalNewlineDecoderTest) ... ok >test_newline_decoder (test.test_io.PyIncrementalNewlineDecoderTest) ... ok >test_append_bom (test.test_io.CTextIOWrapperTest) ... ok >test_basic_io (test.test_io.CTextIOWrapperTest) ... ok >test_bufio_write_through (test.test_io.CTextIOWrapperTest) ... ok >test_close_error_on_close (test.test_io.CTextIOWrapperTest) ... ok >test_constructor (test.test_io.CTextIOWrapperTest) ... ok >test_create_at_shutdown_with_encoding (test.test_io.CTextIOWrapperTest) ... skipped 'PyPy does not call __del__ at shutdown' >test_create_at_shutdown_without_encoding (test.test_io.CTextIOWrapperTest) ... skipped 'PyPy does not call __del__ at shutdown' >test_default_encoding (test.test_io.CTextIOWrapperTest) ... ok >test_destructor (test.test_io.CTextIOWrapperTest) ... ok >test_detach (test.test_io.CTextIOWrapperTest) ... ok >test_device_encoding (test.test_io.CTextIOWrapperTest) ... skipped 'implementation detail specific to cpython' >test_encoded_writes (test.test_io.CTextIOWrapperTest) ... ok >test_encoding (test.test_io.CTextIOWrapperTest) ... ok >test_encoding_errors_reading (test.test_io.CTextIOWrapperTest) ... ok >test_encoding_errors_writing (test.test_io.CTextIOWrapperTest) ... ok >test_error_through_destructor (test.test_io.CTextIOWrapperTest) ... ok >test_errors_property (test.test_io.CTextIOWrapperTest) ... ok >test_flush_error_on_close (test.test_io.CTextIOWrapperTest) ... ok >test_garbage_collection (test.test_io.CTextIOWrapperTest) ... ok >test_illegal_decoder (test.test_io.CTextIOWrapperTest) ... ok >test_initialization (test.test_io.CTextIOWrapperTest) ... ok >test_issue1395_1 (test.test_io.CTextIOWrapperTest) ... ok >test_issue1395_2 (test.test_io.CTextIOWrapperTest) ... ok >test_issue1395_3 (test.test_io.CTextIOWrapperTest) ... ok >test_issue1395_4 (test.test_io.CTextIOWrapperTest) ... ok >test_issue1395_5 (test.test_io.CTextIOWrapperTest) ... ok >test_issue2282 (test.test_io.CTextIOWrapperTest) ... ok >test_issue22849 (test.test_io.CTextIOWrapperTest) ... ok >test_line_buffering (test.test_io.CTextIOWrapperTest) ... ok >test_multi_close (test.test_io.CTextIOWrapperTest) ... ok >test_newlines (test.test_io.CTextIOWrapperTest) ... ok >test_newlines_input (test.test_io.CTextIOWrapperTest) ... ok >test_newlines_output (test.test_io.CTextIOWrapperTest) ... ok >test_non_text_encoding_codecs_are_rejected (test.test_io.CTextIOWrapperTest) ... ok >test_nonnormalized_close_error_on_close (test.test_io.CTextIOWrapperTest) ... ok >test_override_destructor (test.test_io.CTextIOWrapperTest) ... ok >test_rawio (test.test_io.CTextIOWrapperTest) ... ok >test_rawio_write_through (test.test_io.CTextIOWrapperTest) ... ok >test_read_by_chunk (test.test_io.CTextIOWrapperTest) ... ok >test_read_byteslike (test.test_io.CTextIOWrapperTest) ... ok >test_read_nonbytes (test.test_io.CTextIOWrapperTest) ... ok >test_read_one_by_one (test.test_io.CTextIOWrapperTest) ... ok >test_readlines (test.test_io.CTextIOWrapperTest) ... ok >test_readonly_attributes (test.test_io.CTextIOWrapperTest) ... ok >test_repr (test.test_io.CTextIOWrapperTest) ... ok >test_rwpair_cleared_before_textio (test.test_io.CTextIOWrapperTest) ... ok >test_seek_and_tell (test.test_io.CTextIOWrapperTest) ... ok >test_seek_append_bom (test.test_io.CTextIOWrapperTest) ... ok >test_seek_bom (test.test_io.CTextIOWrapperTest) ... ok >test_seeking (test.test_io.CTextIOWrapperTest) ... ok >test_seeking_too (test.test_io.CTextIOWrapperTest) ... ok >test_telling (test.test_io.CTextIOWrapperTest) ... ok >test_threads_write (test.test_io.CTextIOWrapperTest) ... ok >test_uninitialized (test.test_io.CTextIOWrapperTest) ... ok >test_unreadable (test.test_io.CTextIOWrapperTest) ... ok >test_unseekable (test.test_io.CTextIOWrapperTest) ... ok >test_writelines (test.test_io.CTextIOWrapperTest) ... ok >test_writelines_error (test.test_io.CTextIOWrapperTest) ... ok >test_writelines_userlist (test.test_io.CTextIOWrapperTest) ... ok >test_append_bom (test.test_io.PyTextIOWrapperTest) ... ok >test_basic_io (test.test_io.PyTextIOWrapperTest) ... ok >test_bufio_write_through (test.test_io.PyTextIOWrapperTest) ... ok >test_close_error_on_close (test.test_io.PyTextIOWrapperTest) ... ok >test_constructor (test.test_io.PyTextIOWrapperTest) ... ok >test_create_at_shutdown_with_encoding (test.test_io.PyTextIOWrapperTest) ... skipped 'PyPy does not call __del__ at shutdown' >test_create_at_shutdown_without_encoding (test.test_io.PyTextIOWrapperTest) ... skipped 'PyPy does not call __del__ at shutdown' >test_default_encoding (test.test_io.PyTextIOWrapperTest) ... ok >test_destructor (test.test_io.PyTextIOWrapperTest) ... ok >test_detach (test.test_io.PyTextIOWrapperTest) ... ok >test_device_encoding (test.test_io.PyTextIOWrapperTest) ... skipped 'implementation detail specific to cpython' >test_encoded_writes (test.test_io.PyTextIOWrapperTest) ... ok >test_encoding (test.test_io.PyTextIOWrapperTest) ... ok >test_encoding_errors_reading (test.test_io.PyTextIOWrapperTest) ... ok >test_encoding_errors_writing (test.test_io.PyTextIOWrapperTest) ... ok >test_error_through_destructor (test.test_io.PyTextIOWrapperTest) ... ok >test_errors_property (test.test_io.PyTextIOWrapperTest) ... ok >test_flush_error_on_close (test.test_io.PyTextIOWrapperTest) ... ok >test_illegal_decoder (test.test_io.PyTextIOWrapperTest) ... ok >test_issue1395_1 (test.test_io.PyTextIOWrapperTest) ... ok >test_issue1395_2 (test.test_io.PyTextIOWrapperTest) ... ok >test_issue1395_3 (test.test_io.PyTextIOWrapperTest) ... ok >test_issue1395_4 (test.test_io.PyTextIOWrapperTest) ... ok >test_issue1395_5 (test.test_io.PyTextIOWrapperTest) ... ok >test_issue2282 (test.test_io.PyTextIOWrapperTest) ... ok >test_issue22849 (test.test_io.PyTextIOWrapperTest) ... ok >test_line_buffering (test.test_io.PyTextIOWrapperTest) ... ok >test_multi_close (test.test_io.PyTextIOWrapperTest) ... ok >test_newlines (test.test_io.PyTextIOWrapperTest) ... ok >test_newlines_input (test.test_io.PyTextIOWrapperTest) ... ok >test_newlines_output (test.test_io.PyTextIOWrapperTest) ... ok >test_non_text_encoding_codecs_are_rejected (test.test_io.PyTextIOWrapperTest) ... ok >test_nonnormalized_close_error_on_close (test.test_io.PyTextIOWrapperTest) ... ok >test_override_destructor (test.test_io.PyTextIOWrapperTest) ... ok >test_rawio (test.test_io.PyTextIOWrapperTest) ... ok >test_rawio_write_through (test.test_io.PyTextIOWrapperTest) ... ok >test_read_by_chunk (test.test_io.PyTextIOWrapperTest) ... ok >test_read_byteslike (test.test_io.PyTextIOWrapperTest) ... ok >test_read_nonbytes (test.test_io.PyTextIOWrapperTest) ... ok >test_read_one_by_one (test.test_io.PyTextIOWrapperTest) ... ok >test_readlines (test.test_io.PyTextIOWrapperTest) ... ok >test_readonly_attributes (test.test_io.PyTextIOWrapperTest) ... ok >test_repr (test.test_io.PyTextIOWrapperTest) ... ok >test_seek_and_tell (test.test_io.PyTextIOWrapperTest) ... ok >test_seek_append_bom (test.test_io.PyTextIOWrapperTest) ... ok >test_seek_bom (test.test_io.PyTextIOWrapperTest) ... ok >test_seeking (test.test_io.PyTextIOWrapperTest) ... ok >test_seeking_too (test.test_io.PyTextIOWrapperTest) ... ok >test_telling (test.test_io.PyTextIOWrapperTest) ... ok >test_threads_write (test.test_io.PyTextIOWrapperTest) ... ok >test_uninitialized (test.test_io.PyTextIOWrapperTest) ... ok >test_unreadable (test.test_io.PyTextIOWrapperTest) ... ok >test_unseekable (test.test_io.PyTextIOWrapperTest) ... ok >test_writelines (test.test_io.PyTextIOWrapperTest) ... ok >test_writelines_error (test.test_io.PyTextIOWrapperTest) ... ok >test_writelines_userlist (test.test_io.PyTextIOWrapperTest) ... ok >test___all__ (test.test_io.CMiscIOTest) ... ok >test_abc_inheritance (test.test_io.CMiscIOTest) ... ok >test_abc_inheritance_official (test.test_io.CMiscIOTest) ... ok >test_abcs (test.test_io.CMiscIOTest) ... ok >test_attributes (test.test_io.CMiscIOTest) ... ok >test_blockingioerror (test.test_io.CMiscIOTest) ... ok >test_create_fail (test.test_io.CMiscIOTest) ... ok >test_create_writes (test.test_io.CMiscIOTest) ... ok >test_daemon_threads_shutdown_stderr_deadlock (test.test_io.CMiscIOTest) ... ok >test_daemon_threads_shutdown_stdout_deadlock (test.test_io.CMiscIOTest) ... ok >test_io_after_close (test.test_io.CMiscIOTest) ... ok >test_nonblock_pipe_write_bigbuf (test.test_io.CMiscIOTest) ... ok >test_nonblock_pipe_write_smallbuf (test.test_io.CMiscIOTest) ... ok >test_open_allargs (test.test_io.CMiscIOTest) ... ok >test_pickling (test.test_io.CMiscIOTest) ... ok >test_readinto_buffer_overflow (test.test_io.CMiscIOTest) ... ok >test_warn_on_dealloc (test.test_io.CMiscIOTest) ... ok >test_warn_on_dealloc_fd (test.test_io.CMiscIOTest) ... ok >test___all__ (test.test_io.PyMiscIOTest) ... ok >test_abc_inheritance (test.test_io.PyMiscIOTest) ... ok >test_abc_inheritance_official (test.test_io.PyMiscIOTest) ... ok >test_abcs (test.test_io.PyMiscIOTest) ... ok >test_attributes (test.test_io.PyMiscIOTest) ... ok >test_blockingioerror (test.test_io.PyMiscIOTest) ... ok >test_create_fail (test.test_io.PyMiscIOTest) ... ok >test_create_writes (test.test_io.PyMiscIOTest) ... ok >test_io_after_close (test.test_io.PyMiscIOTest) ... ok >test_nonblock_pipe_write_bigbuf (test.test_io.PyMiscIOTest) ... ok >test_nonblock_pipe_write_smallbuf (test.test_io.PyMiscIOTest) ... ok >test_open_allargs (test.test_io.PyMiscIOTest) ... ok >test_pickling (test.test_io.PyMiscIOTest) ... ok >test_warn_on_dealloc (test.test_io.PyMiscIOTest) ... ok >test_warn_on_dealloc_fd (test.test_io.PyMiscIOTest) ... ok >test_interrupted_read_retry_buffered (test.test_io.CSignalsTest) ... ok >test_interrupted_read_retry_text (test.test_io.CSignalsTest) ... ok >test_interrupted_write_buffered (test.test_io.CSignalsTest) ... ok >test_interrupted_write_retry_buffered (test.test_io.CSignalsTest) ... ok >test_interrupted_write_retry_text (test.test_io.CSignalsTest) ... ok >test_interrupted_write_text (test.test_io.CSignalsTest) ... ok >test_interrupted_write_unbuffered (test.test_io.CSignalsTest) ... ok >test_reentrant_write_buffered (test.test_io.CSignalsTest) ... ok >test_reentrant_write_text (test.test_io.CSignalsTest) ... ok >test_interrupted_read_retry_buffered (test.test_io.PySignalsTest) ... ok >test_interrupted_read_retry_text (test.test_io.PySignalsTest) ... ok >test_interrupted_write_buffered (test.test_io.PySignalsTest) ... ok >test_interrupted_write_retry_buffered (test.test_io.PySignalsTest) ... ok >test_interrupted_write_retry_text (test.test_io.PySignalsTest) ... ok >test_interrupted_write_text (test.test_io.PySignalsTest) ... ok >test_interrupted_write_unbuffered (test.test_io.PySignalsTest) ... ok > >====================================================================== >FAIL: test_readinto1 (test.test_io.CBufferedReaderTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_io.py", line 1172, in test_readinto1 > self.assertEqual(bufio.readinto1(b), 6) # fails because of >AssertionError: 3 != 6 > >====================================================================== >FAIL: test_readinto1 (test.test_io.CBufferedRandomTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_io.py", line 1172, in test_readinto1 > self.assertEqual(bufio.readinto1(b), 6) # fails because of >AssertionError: 3 != 6 > >---------------------------------------------------------------------- >Ran 547 tests in 37.434s > >FAILED (failures=2, skipped=22) >1 test failed: > test_io >test test_io failed > >_______________________________________ _______________________________________ >== PyPy 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34) [PyPy 5.9.0-beta0 with GCC 5.4.0] >== Linux-4.13.12-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1 little-endian >== hash algorithm: siphash24 64bit >== /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_19057 >Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0) >[1/1] test_multiprocessing_fork >test_answer_challenge_auth_failure (test.test_multiprocessing_fork.OtherTest) ... ok >test_deliver_challenge_auth_failure (test.test_multiprocessing_fork.OtherTest) ... ok >test_closefd (test.test_multiprocessing_fork.TestCloseFds) ... ok >test_flags (test.test_multiprocessing_fork.TestFlags) ... ok >test_lock (test.test_multiprocessing_fork.TestForkAwareThreadLock) ... ok >test_ignore (test.test_multiprocessing_fork.TestIgnoreEINTR) ... ok >test_ignore_listener (test.test_multiprocessing_fork.TestIgnoreEINTR) ... ok >test_manager_initializer (test.test_multiprocessing_fork.TestInitializers) ... ok >test_pool_initializer (test.test_multiprocessing_fork.TestInitializers) ... ok >test_invalid_family (test.test_multiprocessing_fork.TestInvalidFamily) ... ok >test_invalid_family_win32 (test.test_multiprocessing_fork.TestInvalidFamily) ... skipped 'skipped on non-Windows platforms' >test_invalid_handles (test.test_multiprocessing_fork.TestInvalidHandle) ... ok >test_noforkbomb (test.test_multiprocessing_fork.TestNoForkBomb) ... ok >test_semaphore_tracker (test.test_multiprocessing_fork.TestSemaphoreTracker) ... ok >test_context (test.test_multiprocessing_fork.TestStartMethod) ... ok >test_get_all (test.test_multiprocessing_fork.TestStartMethod) ... ok >test_preload_resources (test.test_multiprocessing_fork.TestStartMethod) ... skipped "test only relevant for 'forkserver' method" >test_set_get (test.test_multiprocessing_fork.TestStartMethod) ... ok >test_flushing (test.test_multiprocessing_fork.TestStdinBadfiledescriptor) ... ok >test_pool_in_process (test.test_multiprocessing_fork.TestStdinBadfiledescriptor) ... ok >test_queue_in_process (test.test_multiprocessing_fork.TestStdinBadfiledescriptor) ... ok >test_timeout (test.test_multiprocessing_fork.TestTimeouts) ... ok >test_neg_timeout (test.test_multiprocessing_fork.TestWait) ... ok >test_wait (test.test_multiprocessing_fork.TestWait) ... ok >test_wait_integer (test.test_multiprocessing_fork.TestWait) ... ok >test_wait_slow (test.test_multiprocessing_fork.TestWait) ... ok >test_wait_socket (test.test_multiprocessing_fork.TestWait) ... ok >test_wait_socket_slow (test.test_multiprocessing_fork.TestWait) ... ok >test_wait_timeout (test.test_multiprocessing_fork.TestWait) ... ok >test_abort (test.test_multiprocessing_fork.WithManagerTestBarrier) ... ok >test_abort_and_reset (test.test_multiprocessing_fork.WithManagerTestBarrier) ... ok >test_action (test.test_multiprocessing_fork.WithManagerTestBarrier) ... ok >test_barrier (test.test_multiprocessing_fork.WithManagerTestBarrier) ... ok >test_barrier_10 (test.test_multiprocessing_fork.WithManagerTestBarrier) ... ok >test_default_timeout (test.test_multiprocessing_fork.WithManagerTestBarrier) ... ok >test_reset (test.test_multiprocessing_fork.WithManagerTestBarrier) ... ok >test_single_thread (test.test_multiprocessing_fork.WithManagerTestBarrier) ... ok >test_thousand (test.test_multiprocessing_fork.WithManagerTestBarrier) ... skipped 'test not appropriate for manager' >test_timeout (test.test_multiprocessing_fork.WithManagerTestBarrier) ... ok >test_wait_return (test.test_multiprocessing_fork.WithManagerTestBarrier) ... ok >test_notify (test.test_multiprocessing_fork.WithManagerTestCondition) ... ok >test_notify_all (test.test_multiprocessing_fork.WithManagerTestCondition) ... ok >test_timeout (test.test_multiprocessing_fork.WithManagerTestCondition) ... ok >test_wait_result (test.test_multiprocessing_fork.WithManagerTestCondition) ... ok >test_waitfor (test.test_multiprocessing_fork.WithManagerTestCondition) ... ok >test_waitfor_timeout (test.test_multiprocessing_fork.WithManagerTestCondition) ... ok >test_dict (test.test_multiprocessing_fork.WithManagerTestContainers) ... ok >test_list (test.test_multiprocessing_fork.WithManagerTestContainers) ... ok >test_namespace (test.test_multiprocessing_fork.WithManagerTestContainers) ... ok >test_event (test.test_multiprocessing_fork.WithManagerTestEvent) ... ok >test_lock (test.test_multiprocessing_fork.WithManagerTestLock) ... ok >test_lock_context (test.test_multiprocessing_fork.WithManagerTestLock) ... ok >test_rlock (test.test_multiprocessing_fork.WithManagerTestLock) ... ok >test_rapid_restart (test.test_multiprocessing_fork.WithManagerTestManagerRestart) ... ok >test_mymanager (test.test_multiprocessing_fork.WithManagerTestMyManager) ... ok >test_mymanager_context (test.test_multiprocessing_fork.WithManagerTestMyManager) ... ok >test_mymanager_context_prestarted (test.test_multiprocessing_fork.WithManagerTestMyManager) ... ok >test_apply (test.test_multiprocessing_fork.WithManagerTestPool) ... ok >test_async (test.test_multiprocessing_fork.WithManagerTestPool) ... ok >test_async_timeout (test.test_multiprocessing_fork.WithManagerTestPool) ... ok >test_context (test.test_multiprocessing_fork.WithManagerTestPool) ... ok >test_empty_iterable (test.test_multiprocessing_fork.WithManagerTestPool) ... ok >test_imap (test.test_multiprocessing_fork.WithManagerTestPool) ... ok >test_imap_handle_iterable_exception (test.test_multiprocessing_fork.WithManagerTestPool) ... skipped 'test not appropriate for manager' >test_imap_unordered (test.test_multiprocessing_fork.WithManagerTestPool) ... ok >test_imap_unordered_handle_iterable_exception (test.test_multiprocessing_fork.WithManagerTestPool) ... skipped 'test not appropriate for manager' >test_make_pool (test.test_multiprocessing_fork.WithManagerTestPool) ... ok >test_map (test.test_multiprocessing_fork.WithManagerTestPool) ... ok >test_map_async (test.test_multiprocessing_fork.WithManagerTestPool) ... ok >test_map_async_callbacks (test.test_multiprocessing_fork.WithManagerTestPool) ... ok >test_map_chunksize (test.test_multiprocessing_fork.WithManagerTestPool) ... ok >test_map_unplicklable (test.test_multiprocessing_fork.WithManagerTestPool) ... ok >test_starmap (test.test_multiprocessing_fork.WithManagerTestPool) ... ok >test_starmap_async (test.test_multiprocessing_fork.WithManagerTestPool) ... ok >test_terminate (test.test_multiprocessing_fork.WithManagerTestPool) ... ok >test_traceback (test.test_multiprocessing_fork.WithManagerTestPool) ... ok >test_wrapped_exception (test.test_multiprocessing_fork.WithManagerTestPool) ... ok >test_fork (test.test_multiprocessing_fork.WithManagerTestQueue) ... ok >test_get (test.test_multiprocessing_fork.WithManagerTestQueue) ... ok >test_no_import_lock_contention (test.test_multiprocessing_fork.WithManagerTestQueue) ... ok >test_put (test.test_multiprocessing_fork.WithManagerTestQueue) ... ok >test_qsize (test.test_multiprocessing_fork.WithManagerTestQueue) ... ok >test_task_done (test.test_multiprocessing_fork.WithManagerTestQueue) ... ok >test_timeout (test.test_multiprocessing_fork.WithManagerTestQueue) ... ok >test_remote (test.test_multiprocessing_fork.WithManagerTestRemoteManager) ... ok >test_bounded_semaphore (test.test_multiprocessing_fork.WithManagerTestSemaphore) ... ok >test_semaphore (test.test_multiprocessing_fork.WithManagerTestSemaphore) ... ok >test_timeout (test.test_multiprocessing_fork.WithManagerTestSemaphore) ... skipped 'test not appropriate for manager' >test_array (test.test_multiprocessing_fork.WithProcessesTestArray) ... ok >test_array_from_size (test.test_multiprocessing_fork.WithProcessesTestArray) ... ok >test_getobj_getlock_obj (test.test_multiprocessing_fork.WithProcessesTestArray) ... ok >test_rawarray (test.test_multiprocessing_fork.WithProcessesTestArray) ... ok >test_abort (test.test_multiprocessing_fork.WithProcessesTestBarrier) ... ok >test_abort_and_reset (test.test_multiprocessing_fork.WithProcessesTestBarrier) ... ok >test_action (test.test_multiprocessing_fork.WithProcessesTestBarrier) ... ok >test_barrier (test.test_multiprocessing_fork.WithProcessesTestBarrier) ... ok >test_barrier_10 (test.test_multiprocessing_fork.WithProcessesTestBarrier) ... ok >test_default_timeout (test.test_multiprocessing_fork.WithProcessesTestBarrier) ... ok >test_reset (test.test_multiprocessing_fork.WithProcessesTestBarrier) ... ok >test_single_thread (test.test_multiprocessing_fork.WithProcessesTestBarrier) ... ok >test_thousand (test.test_multiprocessing_fork.WithProcessesTestBarrier) ... ok >test_timeout (test.test_multiprocessing_fork.WithProcessesTestBarrier) ... ok >test_wait_return (test.test_multiprocessing_fork.WithProcessesTestBarrier) ... ok >test_notify (test.test_multiprocessing_fork.WithProcessesTestCondition) ... ok >test_notify_all (test.test_multiprocessing_fork.WithProcessesTestCondition) ... ok >test_timeout (test.test_multiprocessing_fork.WithProcessesTestCondition) ... ok >test_wait_result (test.test_multiprocessing_fork.WithProcessesTestCondition) ... ok >test_waitfor (test.test_multiprocessing_fork.WithProcessesTestCondition) ... ok >test_waitfor_timeout (test.test_multiprocessing_fork.WithProcessesTestCondition) ... ok >test_connection (test.test_multiprocessing_fork.WithProcessesTestConnection) ... ok >test_context (test.test_multiprocessing_fork.WithProcessesTestConnection) ... ok >test_duplex_false (test.test_multiprocessing_fork.WithProcessesTestConnection) ... ok >test_fd_transfer (test.test_multiprocessing_fork.WithProcessesTestConnection) ... ok >test_large_fd_transfer (test.test_multiprocessing_fork.WithProcessesTestConnection) ... ok >test_missing_fd_transfer (test.test_multiprocessing_fork.WithProcessesTestConnection) ... ok >test_sendbytes (test.test_multiprocessing_fork.WithProcessesTestConnection) ... ok >test_spawn_close (test.test_multiprocessing_fork.WithProcessesTestConnection) ... ok >test_event (test.test_multiprocessing_fork.WithProcessesTestEvent) ... ok >test_finalize (test.test_multiprocessing_fork.WithProcessesTestFinalize) ... ok >test_free_from_gc (test.test_multiprocessing_fork.WithProcessesTestHeap) ... skipped 'implementation detail specific to cpython' >test_heap (test.test_multiprocessing_fork.WithProcessesTestHeap) ... ok >test_context (test.test_multiprocessing_fork.WithProcessesTestListener) ... ok >test_multiple_bind (test.test_multiprocessing_fork.WithProcessesTestListener) ... ok >test_issue14725 (test.test_multiprocessing_fork.WithProcessesTestListenerClient) ... ok >test_issue16955 (test.test_multiprocessing_fork.WithProcessesTestListenerClient) ... ok >test_listener_client (test.test_multiprocessing_fork.WithProcessesTestListenerClient) ... ok >test_lock (test.test_multiprocessing_fork.WithProcessesTestLock) ... ok >test_lock_context (test.test_multiprocessing_fork.WithProcessesTestLock) ... ok >test_rlock (test.test_multiprocessing_fork.WithProcessesTestLock) ... ok >test_enable_logging (test.test_multiprocessing_fork.WithProcessesTestLogging) ... ok >test_level (test.test_multiprocessing_fork.WithProcessesTestLogging) ... ok >test_rapid_restart (test.test_multiprocessing_fork.WithProcessesTestManagerRestart) ... ok >test_access (test.test_multiprocessing_fork.WithProcessesTestPicklingConnections) ... ok >test_pickling (test.test_multiprocessing_fork.WithProcessesTestPicklingConnections) ... ok >test_boundaries (test.test_multiprocessing_fork.WithProcessesTestPoll) ... ok >test_dont_merge (test.test_multiprocessing_fork.WithProcessesTestPoll) ... ok >test_empty_string (test.test_multiprocessing_fork.WithProcessesTestPoll) ... ok >test_strings (test.test_multiprocessing_fork.WithProcessesTestPoll) ... ok >test_poll_eintr (test.test_multiprocessing_fork.WithProcessesTestPollEintr) ... ok >test_apply (test.test_multiprocessing_fork.WithProcessesTestPool) ... ok >test_async (test.test_multiprocessing_fork.WithProcessesTestPool) ... ok >test_async_timeout (test.test_multiprocessing_fork.WithProcessesTestPool) ... ok >test_context (test.test_multiprocessing_fork.WithProcessesTestPool) ... ok >test_empty_iterable (test.test_multiprocessing_fork.WithProcessesTestPool) ... ok >test_imap (test.test_multiprocessing_fork.WithProcessesTestPool) ... ok >test_imap_handle_iterable_exception (test.test_multiprocessing_fork.WithProcessesTestPool) ... ok >test_imap_unordered (test.test_multiprocessing_fork.WithProcessesTestPool) ... ok >test_imap_unordered_handle_iterable_exception (test.test_multiprocessing_fork.WithProcessesTestPool) ... ok >test_make_pool (test.test_multiprocessing_fork.WithProcessesTestPool) ... ok >test_map (test.test_multiprocessing_fork.WithProcessesTestPool) ... ok >test_map_async (test.test_multiprocessing_fork.WithProcessesTestPool) ... ok >test_map_async_callbacks (test.test_multiprocessing_fork.WithProcessesTestPool) ... ok >test_map_chunksize (test.test_multiprocessing_fork.WithProcessesTestPool) ... ok >test_map_unplicklable (test.test_multiprocessing_fork.WithProcessesTestPool) ... ok >test_starmap (test.test_multiprocessing_fork.WithProcessesTestPool) ... ok >test_starmap_async (test.test_multiprocessing_fork.WithProcessesTestPool) ... ok >test_terminate (test.test_multiprocessing_fork.WithProcessesTestPool) ... ok >test_traceback (test.test_multiprocessing_fork.WithProcessesTestPool) ... ok >test_wrapped_exception (test.test_multiprocessing_fork.WithProcessesTestPool) ... ok >test_async_error_callback (test.test_multiprocessing_fork.WithProcessesTestPoolWorkerErrors) ... ok >test_unpickleable_result (test.test_multiprocessing_fork.WithProcessesTestPoolWorkerErrors) ... ok >test_pool_worker_lifetime (test.test_multiprocessing_fork.WithProcessesTestPoolWorkerLifetime) ... ok >test_pool_worker_lifetime_early_close (test.test_multiprocessing_fork.WithProcessesTestPoolWorkerLifetime) ... ok >test_active_children (test.test_multiprocessing_fork.WithProcessesTestProcess) ... ok >test_cpu_count (test.test_multiprocessing_fork.WithProcessesTestProcess) ... ok >test_current (test.test_multiprocessing_fork.WithProcessesTestProcess) ... ok >test_daemon_argument (test.test_multiprocessing_fork.WithProcessesTestProcess) ... ok >test_process (test.test_multiprocessing_fork.WithProcessesTestProcess) ... ok >test_recursion (test.test_multiprocessing_fork.WithProcessesTestProcess) ... ok >test_sentinel (test.test_multiprocessing_fork.WithProcessesTestProcess) ... ok >test_terminate (test.test_multiprocessing_fork.WithProcessesTestProcess) ... ok >test_fork (test.test_multiprocessing_fork.WithProcessesTestQueue) ... ok >test_get (test.test_multiprocessing_fork.WithProcessesTestQueue) ... ok >test_no_import_lock_contention (test.test_multiprocessing_fork.WithProcessesTestQueue) ... ok >test_put (test.test_multiprocessing_fork.WithProcessesTestQueue) ... ok >test_qsize (test.test_multiprocessing_fork.WithProcessesTestQueue) ... ok >test_task_done (test.test_multiprocessing_fork.WithProcessesTestQueue) ... ok >test_timeout (test.test_multiprocessing_fork.WithProcessesTestQueue) ... ok >test_bounded_semaphore (test.test_multiprocessing_fork.WithProcessesTestSemaphore) ... ok >test_semaphore (test.test_multiprocessing_fork.WithProcessesTestSemaphore) ... ok >test_timeout (test.test_multiprocessing_fork.WithProcessesTestSemaphore) ... ok >test_copy (test.test_multiprocessing_fork.WithProcessesTestSharedCTypes) ... ERROR >test_sharedctypes (test.test_multiprocessing_fork.WithProcessesTestSharedCTypes) ... ok >test_synchronize (test.test_multiprocessing_fork.WithProcessesTestSharedCTypes) ... ok >test_stderr_flush (test.test_multiprocessing_fork.WithProcessesTestSubclassingProcess) ... ok >test_subclassing (test.test_multiprocessing_fork.WithProcessesTestSubclassingProcess) ... ok >test_sys_exit (test.test_multiprocessing_fork.WithProcessesTestSubclassingProcess) ... ok >test_getobj_getlock (test.test_multiprocessing_fork.WithProcessesTestValue) ... ok >test_rawvalue (test.test_multiprocessing_fork.WithProcessesTestValue) ... ok >test_value (test.test_multiprocessing_fork.WithProcessesTestValue) ... ok >test_abort (test.test_multiprocessing_fork.WithThreadsTestBarrier) ... ok >test_abort_and_reset (test.test_multiprocessing_fork.WithThreadsTestBarrier) ... ok >test_action (test.test_multiprocessing_fork.WithThreadsTestBarrier) ... ok >test_barrier (test.test_multiprocessing_fork.WithThreadsTestBarrier) ... ok >test_barrier_10 (test.test_multiprocessing_fork.WithThreadsTestBarrier) ... ok >test_default_timeout (test.test_multiprocessing_fork.WithThreadsTestBarrier) ... ok >test_reset (test.test_multiprocessing_fork.WithThreadsTestBarrier) ... ok >test_single_thread (test.test_multiprocessing_fork.WithThreadsTestBarrier) ... ok >test_thousand (test.test_multiprocessing_fork.WithThreadsTestBarrier) ... ok >test_timeout (test.test_multiprocessing_fork.WithThreadsTestBarrier) ... ok >test_wait_return (test.test_multiprocessing_fork.WithThreadsTestBarrier) ... ok >test_notify (test.test_multiprocessing_fork.WithThreadsTestCondition) ... ok >test_notify_all (test.test_multiprocessing_fork.WithThreadsTestCondition) ... ok >test_timeout (test.test_multiprocessing_fork.WithThreadsTestCondition) ... ok >test_wait_result (test.test_multiprocessing_fork.WithThreadsTestCondition) ... ok >test_waitfor (test.test_multiprocessing_fork.WithThreadsTestCondition) ... ok >test_waitfor_timeout (test.test_multiprocessing_fork.WithThreadsTestCondition) ... ok >test_connection (test.test_multiprocessing_fork.WithThreadsTestConnection) ... ok >test_context (test.test_multiprocessing_fork.WithThreadsTestConnection) ... ok >test_duplex_false (test.test_multiprocessing_fork.WithThreadsTestConnection) ... ok >test_fd_transfer (test.test_multiprocessing_fork.WithThreadsTestConnection) ... skipped 'only makes sense with processes' >test_large_fd_transfer (test.test_multiprocessing_fork.WithThreadsTestConnection) ... skipped 'only makes sense with processes' >test_missing_fd_transfer (test.test_multiprocessing_fork.WithThreadsTestConnection) ... skipped 'only makes sense with processes' >test_sendbytes (test.test_multiprocessing_fork.WithThreadsTestConnection) ... skipped 'test not appropriate for threads' >test_spawn_close (test.test_multiprocessing_fork.WithThreadsTestConnection) ... ok >test_event (test.test_multiprocessing_fork.WithThreadsTestEvent) ... ok >test_issue14725 (test.test_multiprocessing_fork.WithThreadsTestListenerClient) ... ok >test_issue16955 (test.test_multiprocessing_fork.WithThreadsTestListenerClient) ... ok >test_listener_client (test.test_multiprocessing_fork.WithThreadsTestListenerClient) ... ok >test_lock (test.test_multiprocessing_fork.WithThreadsTestLock) ... ok >test_lock_context (test.test_multiprocessing_fork.WithThreadsTestLock) ... ok >test_rlock (test.test_multiprocessing_fork.WithThreadsTestLock) ... ok >test_rapid_restart (test.test_multiprocessing_fork.WithThreadsTestManagerRestart) ... ok >test_boundaries (test.test_multiprocessing_fork.WithThreadsTestPoll) ... ok >test_dont_merge (test.test_multiprocessing_fork.WithThreadsTestPoll) ... ok >test_empty_string (test.test_multiprocessing_fork.WithThreadsTestPoll) ... ok >test_strings (test.test_multiprocessing_fork.WithThreadsTestPoll) ... ok >test_apply (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok >test_async (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok >test_async_timeout (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok >test_context (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok >test_empty_iterable (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok >test_imap (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok >test_imap_handle_iterable_exception (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok >test_imap_unordered (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok >test_imap_unordered_handle_iterable_exception (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok >test_make_pool (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok >test_map (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok >test_map_async (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok >test_map_async_callbacks (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok >test_map_chunksize (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok >test_map_unplicklable (test.test_multiprocessing_fork.WithThreadsTestPool) ... skipped 'test not appropriate for threads' >test_starmap (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok >test_starmap_async (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok >test_terminate (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok >test_traceback (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok >test_wrapped_exception (test.test_multiprocessing_fork.WithThreadsTestPool) ... ok >test_active_children (test.test_multiprocessing_fork.WithThreadsTestProcess) ... ok >test_cpu_count (test.test_multiprocessing_fork.WithThreadsTestProcess) ... ok >test_current (test.test_multiprocessing_fork.WithThreadsTestProcess) ... skipped 'test not appropriate for threads' >test_daemon_argument (test.test_multiprocessing_fork.WithThreadsTestProcess) ... skipped 'test not appropriate for threads' >test_process (test.test_multiprocessing_fork.WithThreadsTestProcess) ... ok >test_recursion (test.test_multiprocessing_fork.WithThreadsTestProcess) ... ok >test_sentinel (test.test_multiprocessing_fork.WithThreadsTestProcess) ... skipped 'test not appropriate for threads' >test_terminate (test.test_multiprocessing_fork.WithThreadsTestProcess) ... skipped 'test not appropriate for threads' >test_fork (test.test_multiprocessing_fork.WithThreadsTestQueue) ... ok >test_get (test.test_multiprocessing_fork.WithThreadsTestQueue) ... ok >test_no_import_lock_contention (test.test_multiprocessing_fork.WithThreadsTestQueue) ... ok >test_put (test.test_multiprocessing_fork.WithThreadsTestQueue) ... ok >test_qsize (test.test_multiprocessing_fork.WithThreadsTestQueue) ... ok >test_task_done (test.test_multiprocessing_fork.WithThreadsTestQueue) ... ok >test_timeout (test.test_multiprocessing_fork.WithThreadsTestQueue) ... ok >test_bounded_semaphore (test.test_multiprocessing_fork.WithThreadsTestSemaphore) ... ok >test_semaphore (test.test_multiprocessing_fork.WithThreadsTestSemaphore) ... ok >test_timeout (test.test_multiprocessing_fork.WithThreadsTestSemaphore) ... skipped 'test not appropriate for threads' >test_import (test.test_multiprocessing_fork._TestImportStar) ... ok > >====================================================================== >ERROR: test_copy (test.test_multiprocessing_fork.WithProcessesTestSharedCTypes) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/_test_multiprocessing.py", line 2876, in test_copy > bar = copy(foo) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/multiprocessing/sharedctypes.py", line 99, in copy > ctypes.pointer(new_obj)[0] = obj > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/_ctypes/pointer.py", line 116, in __setitem__ > self._subarray(index)[0] = cobj._get_buffer_value() >TypeError: 'StructureInstance' object does not support item assignment > >---------------------------------------------------------------------- >Ran 266 tests in 67.315s > >FAILED (errors=1, skipped=17) >1 test failed: > test_multiprocessing_fork >Dangling processes: {<ForkProcess(ForkPoolWorker-191, stopped daemon)>, <ForkProcess(ForkPoolWorker-192, stopped daemon)>, <ForkProcess(ForkPoolWorker-193, stopped daemon)>, <ForkProcess(ForkPoolWorker-194, stopped daemon)>, <ForkProcess(ForkPoolWorker-197, stopped daemon)>, <ForkProcess(ForkPoolWorker-198, stopped daemon)>, <ForkProcess(ForkPoolWorker-199, stopped daemon)>, <ForkProcess(ForkPoolWorker-200, stopped daemon)>, <ForkProcess(ForkPoolWorker-210, stopped daemon)>, <ForkProcess(ForkPoolWorker-211, stopped daemon)>, <ForkProcess(ForkPoolWorker-212, stopped daemon)>, <ForkProcess(ForkPoolWorker-216, stopped daemon)>, <ForkProcess(ForkPoolWorker-217, stopped daemon)>, <ForkProcess(ForkPoolWorker-218, stopped daemon)>} >Dangling threads: {<Thread(Thread-25, stopped daemon 140251564316416)>, <Thread(Thread-26, stopped daemon 140251572709120)>, <Thread(Thread-27, stopped daemon 140251602077440)>, <Thread(Thread-28, stopped daemon 140251602077440)>, <Thread(Thread-29, stopped daemon 140251572709120)>, <Thread(Thread-30, stopped daemon 140251564316416)>, <Thread(Thread-37, stopped daemon 140251620177664)>, <Thread(Thread-38, stopped daemon 140251698640640)>, <Thread(Thread-39, stopped daemon 140251610470144)>, <Thread(Thread-40, stopped daemon 140251610470144)>, <Thread(Thread-41, stopped daemon 140251698640640)>, <Thread(Thread-42, stopped daemon 140251620177664)>, <Thread(Thread-43, stopped daemon 140251620177664)>, <Thread(Thread-44, stopped daemon 140251698640640)>, <Thread(Thread-45, stopped daemon 140251610470144)>, <Thread(Thread-46, stopped daemon 140251610470144)>, <Thread(Thread-47, stopped daemon 140251698640640)>, <Thread(Thread-48, stopped daemon 140251620177664)>, <Thread(QueueFeederThread, stopped daemon 140251620177664)>, <Thread(QueueFeederThread, stopped daemon 140251698640640)>, <Thread(QueueFeederThread, stopped daemon 140251610470144)>, <Thread(QueueFeederThread, stopped daemon 140251564316416)>, <DummyProcess(Thread-123, stopped daemon 140251175560960)>, <Thread(Thread-124, stopped daemon 140251167168256)>, <Thread(Thread-125, stopped daemon 140250680653568)>, <Thread(Thread-126, stopped daemon 140250672260864)>, <DummyProcess(Thread-127, stopped daemon 140251175560960)>, <DummyProcess(Thread-128, stopped daemon 140250672260864)>, <DummyProcess(Thread-129, stopped daemon 140250680653568)>, <Thread(Thread-130, stopped daemon 140251167168256)>, <Thread(Thread-131, stopped daemon 140250663868160)>, <Thread(Thread-132, stopped daemon 140250655475456)>} >test test_multiprocessing_fork failed > >_______________________________________ _______________________________________ >== PyPy 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34) [PyPy 5.9.0-beta0 with GCC 5.4.0] >== Linux-4.13.12-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1 little-endian >== hash algorithm: siphash24 64bit >== /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_30306 >Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0) >[1/1] test_multiprocessing_forkserver >test_answer_challenge_auth_failure (test.test_multiprocessing_forkserver.OtherTest) ... ok >test_deliver_challenge_auth_failure (test.test_multiprocessing_forkserver.OtherTest) ... ok >test_closefd (test.test_multiprocessing_forkserver.TestCloseFds) ... ok >test_flags (test.test_multiprocessing_forkserver.TestFlags) ... ok >test_lock (test.test_multiprocessing_forkserver.TestForkAwareThreadLock) ... ok >test_ignore (test.test_multiprocessing_forkserver.TestIgnoreEINTR) ... ok >test_ignore_listener (test.test_multiprocessing_forkserver.TestIgnoreEINTR) ... ok >test_manager_initializer (test.test_multiprocessing_forkserver.TestInitializers) ... ok >test_pool_initializer (test.test_multiprocessing_forkserver.TestInitializers) ... ok >test_invalid_family (test.test_multiprocessing_forkserver.TestInvalidFamily) ... ok >test_invalid_family_win32 (test.test_multiprocessing_forkserver.TestInvalidFamily) ... skipped 'skipped on non-Windows platforms' >test_invalid_handles (test.test_multiprocessing_forkserver.TestInvalidHandle) ... ok >test_noforkbomb (test.test_multiprocessing_forkserver.TestNoForkBomb) ... ok >test_semaphore_tracker (test.test_multiprocessing_forkserver.TestSemaphoreTracker) ... ok >test_context (test.test_multiprocessing_forkserver.TestStartMethod) ... ok >test_get_all (test.test_multiprocessing_forkserver.TestStartMethod) ... ok >test_preload_resources (test.test_multiprocessing_forkserver.TestStartMethod) ... ok >test_set_get (test.test_multiprocessing_forkserver.TestStartMethod) ... ok >test_flushing (test.test_multiprocessing_forkserver.TestStdinBadfiledescriptor) ... ok >test_pool_in_process (test.test_multiprocessing_forkserver.TestStdinBadfiledescriptor) ... ok >test_queue_in_process (test.test_multiprocessing_forkserver.TestStdinBadfiledescriptor) ... ok >test_timeout (test.test_multiprocessing_forkserver.TestTimeouts) ... ok >test_neg_timeout (test.test_multiprocessing_forkserver.TestWait) ... ok >test_wait (test.test_multiprocessing_forkserver.TestWait) ... ok >test_wait_integer (test.test_multiprocessing_forkserver.TestWait) ... ok >test_wait_slow (test.test_multiprocessing_forkserver.TestWait) ... ok >test_wait_socket (test.test_multiprocessing_forkserver.TestWait) ... ok >test_wait_socket_slow (test.test_multiprocessing_forkserver.TestWait) ... ok >test_wait_timeout (test.test_multiprocessing_forkserver.TestWait) ... ok >test_abort (test.test_multiprocessing_forkserver.WithManagerTestBarrier) ... ok >test_abort_and_reset (test.test_multiprocessing_forkserver.WithManagerTestBarrier) ... ok >test_action (test.test_multiprocessing_forkserver.WithManagerTestBarrier) ... ok >test_barrier (test.test_multiprocessing_forkserver.WithManagerTestBarrier) ... ok >test_barrier_10 (test.test_multiprocessing_forkserver.WithManagerTestBarrier) ... ok >test_default_timeout (test.test_multiprocessing_forkserver.WithManagerTestBarrier) ... ok >test_reset (test.test_multiprocessing_forkserver.WithManagerTestBarrier) ... ok >test_single_thread (test.test_multiprocessing_forkserver.WithManagerTestBarrier) ... ok >test_thousand (test.test_multiprocessing_forkserver.WithManagerTestBarrier) ... skipped 'test not appropriate for manager' >test_timeout (test.test_multiprocessing_forkserver.WithManagerTestBarrier) ... ok >test_wait_return (test.test_multiprocessing_forkserver.WithManagerTestBarrier) ... ok >test_notify (test.test_multiprocessing_forkserver.WithManagerTestCondition) ... ok >test_notify_all (test.test_multiprocessing_forkserver.WithManagerTestCondition) ... ok >test_timeout (test.test_multiprocessing_forkserver.WithManagerTestCondition) ... ok >test_wait_result (test.test_multiprocessing_forkserver.WithManagerTestCondition) ... ok >test_waitfor (test.test_multiprocessing_forkserver.WithManagerTestCondition) ... ok >test_waitfor_timeout (test.test_multiprocessing_forkserver.WithManagerTestCondition) ... ok >test_dict (test.test_multiprocessing_forkserver.WithManagerTestContainers) ... ok >test_list (test.test_multiprocessing_forkserver.WithManagerTestContainers) ... ok >test_namespace (test.test_multiprocessing_forkserver.WithManagerTestContainers) ... ok >test_event (test.test_multiprocessing_forkserver.WithManagerTestEvent) ... ok >test_lock (test.test_multiprocessing_forkserver.WithManagerTestLock) ... ok >test_lock_context (test.test_multiprocessing_forkserver.WithManagerTestLock) ... ok >test_rlock (test.test_multiprocessing_forkserver.WithManagerTestLock) ... ok >test_rapid_restart (test.test_multiprocessing_forkserver.WithManagerTestManagerRestart) ... ok >test_mymanager (test.test_multiprocessing_forkserver.WithManagerTestMyManager) ... ok >test_mymanager_context (test.test_multiprocessing_forkserver.WithManagerTestMyManager) ... ok >test_mymanager_context_prestarted (test.test_multiprocessing_forkserver.WithManagerTestMyManager) ... ok >test_apply (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok >test_async (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok >test_async_timeout (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok >test_context (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok >test_empty_iterable (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok >test_imap (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok >test_imap_handle_iterable_exception (test.test_multiprocessing_forkserver.WithManagerTestPool) ... skipped 'test not appropriate for manager' >test_imap_unordered (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok >test_imap_unordered_handle_iterable_exception (test.test_multiprocessing_forkserver.WithManagerTestPool) ... skipped 'test not appropriate for manager' >test_make_pool (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok >test_map (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok >test_map_async (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok >test_map_async_callbacks (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok >test_map_chunksize (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok >test_map_unplicklable (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok >test_starmap (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok >test_starmap_async (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok >test_terminate (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok >test_traceback (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok >test_wrapped_exception (test.test_multiprocessing_forkserver.WithManagerTestPool) ... ok >test_fork (test.test_multiprocessing_forkserver.WithManagerTestQueue) ... ok >test_get (test.test_multiprocessing_forkserver.WithManagerTestQueue) ... ok >test_no_import_lock_contention (test.test_multiprocessing_forkserver.WithManagerTestQueue) ... ok >test_put (test.test_multiprocessing_forkserver.WithManagerTestQueue) ... ok >test_qsize (test.test_multiprocessing_forkserver.WithManagerTestQueue) ... ok >test_task_done (test.test_multiprocessing_forkserver.WithManagerTestQueue) ... ok >test_timeout (test.test_multiprocessing_forkserver.WithManagerTestQueue) ... ok >test_remote (test.test_multiprocessing_forkserver.WithManagerTestRemoteManager) ... ok >test_bounded_semaphore (test.test_multiprocessing_forkserver.WithManagerTestSemaphore) ... ok >test_semaphore (test.test_multiprocessing_forkserver.WithManagerTestSemaphore) ... ok >test_timeout (test.test_multiprocessing_forkserver.WithManagerTestSemaphore) ... skipped 'test not appropriate for manager' >test_array (test.test_multiprocessing_forkserver.WithProcessesTestArray) ... ok >test_array_from_size (test.test_multiprocessing_forkserver.WithProcessesTestArray) ... ok >test_getobj_getlock_obj (test.test_multiprocessing_forkserver.WithProcessesTestArray) ... ok >test_rawarray (test.test_multiprocessing_forkserver.WithProcessesTestArray) ... ok >test_abort (test.test_multiprocessing_forkserver.WithProcessesTestBarrier) ... ok >test_abort_and_reset (test.test_multiprocessing_forkserver.WithProcessesTestBarrier) ... ok >test_action (test.test_multiprocessing_forkserver.WithProcessesTestBarrier) ... ok >test_barrier (test.test_multiprocessing_forkserver.WithProcessesTestBarrier) ... ok >test_barrier_10 (test.test_multiprocessing_forkserver.WithProcessesTestBarrier) ... ok >test_default_timeout (test.test_multiprocessing_forkserver.WithProcessesTestBarrier) ... ok >test_reset (test.test_multiprocessing_forkserver.WithProcessesTestBarrier) ... ok >test_single_thread (test.test_multiprocessing_forkserver.WithProcessesTestBarrier) ... ok >test_thousand (test.test_multiprocessing_forkserver.WithProcessesTestBarrier) ... ok >test_timeout (test.test_multiprocessing_forkserver.WithProcessesTestBarrier) ... ok >test_wait_return (test.test_multiprocessing_forkserver.WithProcessesTestBarrier) ... ok >test_notify (test.test_multiprocessing_forkserver.WithProcessesTestCondition) ... ok >test_notify_all (test.test_multiprocessing_forkserver.WithProcessesTestCondition) ... ok >test_timeout (test.test_multiprocessing_forkserver.WithProcessesTestCondition) ... ok >test_wait_result (test.test_multiprocessing_forkserver.WithProcessesTestCondition) ... ok >test_waitfor (test.test_multiprocessing_forkserver.WithProcessesTestCondition) ... ok >test_waitfor_timeout (test.test_multiprocessing_forkserver.WithProcessesTestCondition) ... ok >test_connection (test.test_multiprocessing_forkserver.WithProcessesTestConnection) ... ok >test_context (test.test_multiprocessing_forkserver.WithProcessesTestConnection) ... ok >test_duplex_false (test.test_multiprocessing_forkserver.WithProcessesTestConnection) ... ok >test_fd_transfer (test.test_multiprocessing_forkserver.WithProcessesTestConnection) ... ok >test_large_fd_transfer (test.test_multiprocessing_forkserver.WithProcessesTestConnection) ... ok >test_missing_fd_transfer (test.test_multiprocessing_forkserver.WithProcessesTestConnection) ... ok >test_sendbytes (test.test_multiprocessing_forkserver.WithProcessesTestConnection) ... ok >test_spawn_close (test.test_multiprocessing_forkserver.WithProcessesTestConnection) ... ok >test_event (test.test_multiprocessing_forkserver.WithProcessesTestEvent) ... ok >test_finalize (test.test_multiprocessing_forkserver.WithProcessesTestFinalize) ... ok >test_free_from_gc (test.test_multiprocessing_forkserver.WithProcessesTestHeap) ... skipped 'implementation detail specific to cpython' >test_heap (test.test_multiprocessing_forkserver.WithProcessesTestHeap) ... ok >test_context (test.test_multiprocessing_forkserver.WithProcessesTestListener) ... ok >test_multiple_bind (test.test_multiprocessing_forkserver.WithProcessesTestListener) ... ok >test_issue14725 (test.test_multiprocessing_forkserver.WithProcessesTestListenerClient) ... ok >test_issue16955 (test.test_multiprocessing_forkserver.WithProcessesTestListenerClient) ... ok >test_listener_client (test.test_multiprocessing_forkserver.WithProcessesTestListenerClient) ... ok >test_lock (test.test_multiprocessing_forkserver.WithProcessesTestLock) ... ok >test_lock_context (test.test_multiprocessing_forkserver.WithProcessesTestLock) ... ok >test_rlock (test.test_multiprocessing_forkserver.WithProcessesTestLock) ... ok >test_enable_logging (test.test_multiprocessing_forkserver.WithProcessesTestLogging) ... ok >test_level (test.test_multiprocessing_forkserver.WithProcessesTestLogging) ... ok >test_rapid_restart (test.test_multiprocessing_forkserver.WithProcessesTestManagerRestart) ... ok >test_access (test.test_multiprocessing_forkserver.WithProcessesTestPicklingConnections) ... ok >test_pickling (test.test_multiprocessing_forkserver.WithProcessesTestPicklingConnections) ... ok >test_boundaries (test.test_multiprocessing_forkserver.WithProcessesTestPoll) ... ok >test_dont_merge (test.test_multiprocessing_forkserver.WithProcessesTestPoll) ... ok >test_empty_string (test.test_multiprocessing_forkserver.WithProcessesTestPoll) ... ok >test_strings (test.test_multiprocessing_forkserver.WithProcessesTestPoll) ... ok >test_poll_eintr (test.test_multiprocessing_forkserver.WithProcessesTestPollEintr) ... ok >test_apply (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok >test_async (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok >test_async_timeout (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok >test_context (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok >test_empty_iterable (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok >test_imap (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok >test_imap_handle_iterable_exception (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok >test_imap_unordered (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok >test_imap_unordered_handle_iterable_exception (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok >test_make_pool (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok >test_map (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok >test_map_async (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok >test_map_async_callbacks (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok >test_map_chunksize (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok >test_map_unplicklable (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok >test_starmap (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok >test_starmap_async (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok >test_terminate (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok >test_traceback (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok >test_wrapped_exception (test.test_multiprocessing_forkserver.WithProcessesTestPool) ... ok >test_async_error_callback (test.test_multiprocessing_forkserver.WithProcessesTestPoolWorkerErrors) ... ok >test_unpickleable_result (test.test_multiprocessing_forkserver.WithProcessesTestPoolWorkerErrors) ... ok >test_pool_worker_lifetime (test.test_multiprocessing_forkserver.WithProcessesTestPoolWorkerLifetime) ... ok >test_pool_worker_lifetime_early_close (test.test_multiprocessing_forkserver.WithProcessesTestPoolWorkerLifetime) ... ok >test_active_children (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok >test_cpu_count (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok >test_current (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok >test_daemon_argument (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok >test_process (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok >test_recursion (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok >test_sentinel (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok >test_terminate (test.test_multiprocessing_forkserver.WithProcessesTestProcess) ... ok >test_fork (test.test_multiprocessing_forkserver.WithProcessesTestQueue) ... ok >test_get (test.test_multiprocessing_forkserver.WithProcessesTestQueue) ... ok >test_no_import_lock_contention (test.test_multiprocessing_forkserver.WithProcessesTestQueue) ... ok >test_put (test.test_multiprocessing_forkserver.WithProcessesTestQueue) ... ok >test_qsize (test.test_multiprocessing_forkserver.WithProcessesTestQueue) ... ok >test_task_done (test.test_multiprocessing_forkserver.WithProcessesTestQueue) ... ok >test_timeout (test.test_multiprocessing_forkserver.WithProcessesTestQueue) ... ok >test_bounded_semaphore (test.test_multiprocessing_forkserver.WithProcessesTestSemaphore) ... ok >test_semaphore (test.test_multiprocessing_forkserver.WithProcessesTestSemaphore) ... ok >test_timeout (test.test_multiprocessing_forkserver.WithProcessesTestSemaphore) ... ok >test_copy (test.test_multiprocessing_forkserver.WithProcessesTestSharedCTypes) ... ERROR >test_sharedctypes (test.test_multiprocessing_forkserver.WithProcessesTestSharedCTypes) ... ok >test_synchronize (test.test_multiprocessing_forkserver.WithProcessesTestSharedCTypes) ... ok >test_stderr_flush (test.test_multiprocessing_forkserver.WithProcessesTestSubclassingProcess) ... ok >test_subclassing (test.test_multiprocessing_forkserver.WithProcessesTestSubclassingProcess) ... ok >test_sys_exit (test.test_multiprocessing_forkserver.WithProcessesTestSubclassingProcess) ... ok >test_getobj_getlock (test.test_multiprocessing_forkserver.WithProcessesTestValue) ... ok >test_rawvalue (test.test_multiprocessing_forkserver.WithProcessesTestValue) ... ok >test_value (test.test_multiprocessing_forkserver.WithProcessesTestValue) ... ok >test_abort (test.test_multiprocessing_forkserver.WithThreadsTestBarrier) ... ok >test_abort_and_reset (test.test_multiprocessing_forkserver.WithThreadsTestBarrier) ... ok >test_action (test.test_multiprocessing_forkserver.WithThreadsTestBarrier) ... ok >test_barrier (test.test_multiprocessing_forkserver.WithThreadsTestBarrier) ... ok >test_barrier_10 (test.test_multiprocessing_forkserver.WithThreadsTestBarrier) ... ok >test_default_timeout (test.test_multiprocessing_forkserver.WithThreadsTestBarrier) ... ok >test_reset (test.test_multiprocessing_forkserver.WithThreadsTestBarrier) ... ok >test_single_thread (test.test_multiprocessing_forkserver.WithThreadsTestBarrier) ... ok >test_thousand (test.test_multiprocessing_forkserver.WithThreadsTestBarrier) ... ok >test_timeout (test.test_multiprocessing_forkserver.WithThreadsTestBarrier) ... ok >test_wait_return (test.test_multiprocessing_forkserver.WithThreadsTestBarrier) ... ok >test_notify (test.test_multiprocessing_forkserver.WithThreadsTestCondition) ... ok >test_notify_all (test.test_multiprocessing_forkserver.WithThreadsTestCondition) ... ok >test_timeout (test.test_multiprocessing_forkserver.WithThreadsTestCondition) ... ok >test_wait_result (test.test_multiprocessing_forkserver.WithThreadsTestCondition) ... ok >test_waitfor (test.test_multiprocessing_forkserver.WithThreadsTestCondition) ... ok >test_waitfor_timeout (test.test_multiprocessing_forkserver.WithThreadsTestCondition) ... ok >test_connection (test.test_multiprocessing_forkserver.WithThreadsTestConnection) ... ok >test_context (test.test_multiprocessing_forkserver.WithThreadsTestConnection) ... ok >test_duplex_false (test.test_multiprocessing_forkserver.WithThreadsTestConnection) ... ok >test_fd_transfer (test.test_multiprocessing_forkserver.WithThreadsTestConnection) ... skipped 'only makes sense with processes' >test_large_fd_transfer (test.test_multiprocessing_forkserver.WithThreadsTestConnection) ... skipped 'only makes sense with processes' >test_missing_fd_transfer (test.test_multiprocessing_forkserver.WithThreadsTestConnection) ... skipped 'only makes sense with processes' >test_sendbytes (test.test_multiprocessing_forkserver.WithThreadsTestConnection) ... skipped 'test not appropriate for threads' >test_spawn_close (test.test_multiprocessing_forkserver.WithThreadsTestConnection) ... ok >test_event (test.test_multiprocessing_forkserver.WithThreadsTestEvent) ... ok >test_issue14725 (test.test_multiprocessing_forkserver.WithThreadsTestListenerClient) ... ok >test_issue16955 (test.test_multiprocessing_forkserver.WithThreadsTestListenerClient) ... ok >test_listener_client (test.test_multiprocessing_forkserver.WithThreadsTestListenerClient) ... ok >test_lock (test.test_multiprocessing_forkserver.WithThreadsTestLock) ... ok >test_lock_context (test.test_multiprocessing_forkserver.WithThreadsTestLock) ... ok >test_rlock (test.test_multiprocessing_forkserver.WithThreadsTestLock) ... ok >test_rapid_restart (test.test_multiprocessing_forkserver.WithThreadsTestManagerRestart) ... ok >test_boundaries (test.test_multiprocessing_forkserver.WithThreadsTestPoll) ... ok >test_dont_merge (test.test_multiprocessing_forkserver.WithThreadsTestPoll) ... ok >test_empty_string (test.test_multiprocessing_forkserver.WithThreadsTestPoll) ... ok >test_strings (test.test_multiprocessing_forkserver.WithThreadsTestPoll) ... ok >test_apply (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok >test_async (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok >test_async_timeout (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok >test_context (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok >test_empty_iterable (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok >test_imap (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok >test_imap_handle_iterable_exception (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok >test_imap_unordered (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok >test_imap_unordered_handle_iterable_exception (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok >test_make_pool (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok >test_map (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok >test_map_async (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok >test_map_async_callbacks (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok >test_map_chunksize (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok >test_map_unplicklable (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... skipped 'test not appropriate for threads' >test_starmap (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok >test_starmap_async (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok >test_terminate (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok >test_traceback (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok >test_wrapped_exception (test.test_multiprocessing_forkserver.WithThreadsTestPool) ... ok >test_active_children (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... ok >test_cpu_count (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... ok >test_current (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... skipped 'test not appropriate for threads' >test_daemon_argument (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... skipped 'test not appropriate for threads' >test_process (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... ok >test_recursion (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... ok >test_sentinel (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... skipped 'test not appropriate for threads' >test_terminate (test.test_multiprocessing_forkserver.WithThreadsTestProcess) ... skipped 'test not appropriate for threads' >test_fork (test.test_multiprocessing_forkserver.WithThreadsTestQueue) ... ok >test_get (test.test_multiprocessing_forkserver.WithThreadsTestQueue) ... ok >test_no_import_lock_contention (test.test_multiprocessing_forkserver.WithThreadsTestQueue) ... ok >test_put (test.test_multiprocessing_forkserver.WithThreadsTestQueue) ... ok >test_qsize (test.test_multiprocessing_forkserver.WithThreadsTestQueue) ... ok >test_task_done (test.test_multiprocessing_forkserver.WithThreadsTestQueue) ... ok >test_timeout (test.test_multiprocessing_forkserver.WithThreadsTestQueue) ... ok >test_bounded_semaphore (test.test_multiprocessing_forkserver.WithThreadsTestSemaphore) ... ok >test_semaphore (test.test_multiprocessing_forkserver.WithThreadsTestSemaphore) ... ok >test_timeout (test.test_multiprocessing_forkserver.WithThreadsTestSemaphore) ... skipped 'test not appropriate for threads' >test_import (test.test_multiprocessing_forkserver._TestImportStar) ... ok > >====================================================================== >ERROR: test_copy (test.test_multiprocessing_forkserver.WithProcessesTestSharedCTypes) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/_test_multiprocessing.py", line 2876, in test_copy > bar = copy(foo) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/multiprocessing/sharedctypes.py", line 99, in copy > ctypes.pointer(new_obj)[0] = obj > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/_ctypes/pointer.py", line 116, in __setitem__ > self._subarray(index)[0] = cobj._get_buffer_value() >TypeError: 'StructureInstance' object does not support item assignment > >---------------------------------------------------------------------- >Ran 266 tests in 69.131s > >FAILED (errors=1, skipped=16) >1 test failed: > test_multiprocessing_forkserver >Exception ignored in: weakref callback <function WeakKeyDictionary.__init__.<locals>.remove at 0x00007f02e841aa20> >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/weakref.py", line 387, in remove > del self.data[k] >KeyError: <weakref at 0x00000000025ab0e0; dead> >Exception ignored in: weakref callback <function WeakKeyDictionary.__init__.<locals>.remove at 0x00007f02e841aa20> >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/weakref.py", line 387, in remove > del self.data[k] >KeyError: <weakref at 0x00000000025ab100; dead> >Exception ignored in: weakref callback <function WeakKeyDictionary.__init__.<locals>.remove at 0x00007f02e841aa20> >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/weakref.py", line 387, in remove > del self.data[k] >KeyError: <weakref at 0x00000000025ab120; dead> >Exception ignored in: weakref callback <function WeakKeyDictionary.__init__.<locals>.remove at 0x00007f02e841aa20> >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/weakref.py", line 387, in remove > del self.data[k] >KeyError: <weakref at 0x00000000025ab140; dead> >Exception ignored in: weakref callback <function WeakKeyDictionary.__init__.<locals>.remove at 0x00007f02e841aa20> >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/weakref.py", line 387, in remove > del self.data[k] >KeyError: <weakref at 0x00007f02e8e1fa00; dead> >Dangling threads: {<DummyProcess(Thread-123, stopped daemon 139650182145792)>, <Thread(Thread-124, stopped daemon 139650173753088)>, <Thread(Thread-125, stopped daemon 139650156967680)>, <Thread(Thread-126, stopped daemon 139650148574976)>, <DummyProcess(Thread-127, stopped daemon 139650182145792)>, <DummyProcess(Thread-128, stopped daemon 139650148574976)>, <DummyProcess(Thread-129, stopped daemon 139650156967680)>, <Thread(Thread-130, stopped daemon 139650173753088)>, <Thread(Thread-131, stopped daemon 139650140182272)>, <Thread(Thread-132, stopped daemon 139649586558720)>} >Exception ignored in: weakref callback <function WeakKeyDictionary.__init__.<locals>.remove at 0x00007f02e841aa20> >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/regrtest.py", line 1305, in runtest_inner > test_runner() > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/regrtest.py", line 1304, in test_runner > support.run_unittest(tests) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/__init__.py", line 1893, in run_unittest > _run_suite(suite) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/__init__.py", line 1868, in _run_suite > raise TestFailed(err) >test.support.TestFailed: Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/_test_multiprocessing.py", line 2876, in test_copy > bar = copy(foo) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/multiprocessing/sharedctypes.py", line 99, in copy > ctypes.pointer(new_obj)[0] = obj > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/_ctypes/pointer.py", line 116, in __setitem__ > self._subarray(index)[0] = cobj._get_buffer_value() >TypeError: 'StructureInstance' object does not support item assignment > > >During handling of the above exception, another exception occurred: > >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/weakref.py", line 387, in remove > del self.data[k] >KeyError: <weakref at 0x00000000025ab160; dead> >Exception ignored in: weakref callback <function WeakKeyDictionary.__init__.<locals>.remove at 0x00007f02e841aa20> >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/regrtest.py", line 1305, in runtest_inner > test_runner() > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/regrtest.py", line 1304, in test_runner > support.run_unittest(tests) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/__init__.py", line 1893, in run_unittest > _run_suite(suite) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/__init__.py", line 1868, in _run_suite > raise TestFailed(err) >test.support.TestFailed: Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/_test_multiprocessing.py", line 2876, in test_copy > bar = copy(foo) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/multiprocessing/sharedctypes.py", line 99, in copy > ctypes.pointer(new_obj)[0] = obj > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/_ctypes/pointer.py", line 116, in __setitem__ > self._subarray(index)[0] = cobj._get_buffer_value() >TypeError: 'StructureInstance' object does not support item assignment > > >During handling of the above exception, another exception occurred: > >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/weakref.py", line 387, in remove > del self.data[k] >KeyError: <weakref at 0x00007f02e84017c0; dead> >test test_multiprocessing_forkserver failed > >_______________________________________ _______________________________________ >== PyPy 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34) [PyPy 5.9.0-beta0 with GCC 5.4.0] >== Linux-4.13.12-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1 little-endian >== hash algorithm: siphash24 64bit >== /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_23554 >Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0) >[1/1] test_multiprocessing_spawn >test_answer_challenge_auth_failure (test.test_multiprocessing_spawn.OtherTest) ... ok >test_deliver_challenge_auth_failure (test.test_multiprocessing_spawn.OtherTest) ... ok >test_closefd (test.test_multiprocessing_spawn.TestCloseFds) ... ok >test_flags (test.test_multiprocessing_spawn.TestFlags) ... ok >test_lock (test.test_multiprocessing_spawn.TestForkAwareThreadLock) ... ok >test_ignore (test.test_multiprocessing_spawn.TestIgnoreEINTR) ... ok >test_ignore_listener (test.test_multiprocessing_spawn.TestIgnoreEINTR) ... ok >test_manager_initializer (test.test_multiprocessing_spawn.TestInitializers) ... ok >test_pool_initializer (test.test_multiprocessing_spawn.TestInitializers) ... ok >test_invalid_family (test.test_multiprocessing_spawn.TestInvalidFamily) ... ok >test_invalid_family_win32 (test.test_multiprocessing_spawn.TestInvalidFamily) ... skipped 'skipped on non-Windows platforms' >test_invalid_handles (test.test_multiprocessing_spawn.TestInvalidHandle) ... ok >test_noforkbomb (test.test_multiprocessing_spawn.TestNoForkBomb) ... ok >test_semaphore_tracker (test.test_multiprocessing_spawn.TestSemaphoreTracker) ... ok >test_context (test.test_multiprocessing_spawn.TestStartMethod) ... ok >test_get_all (test.test_multiprocessing_spawn.TestStartMethod) ... ok >test_preload_resources (test.test_multiprocessing_spawn.TestStartMethod) ... skipped "test only relevant for 'forkserver' method" >test_set_get (test.test_multiprocessing_spawn.TestStartMethod) ... ok >test_flushing (test.test_multiprocessing_spawn.TestStdinBadfiledescriptor) ... ok >test_pool_in_process (test.test_multiprocessing_spawn.TestStdinBadfiledescriptor) ... ok >test_queue_in_process (test.test_multiprocessing_spawn.TestStdinBadfiledescriptor) ... ok >test_timeout (test.test_multiprocessing_spawn.TestTimeouts) ... ok >test_neg_timeout (test.test_multiprocessing_spawn.TestWait) ... ok >test_wait (test.test_multiprocessing_spawn.TestWait) ... ok >test_wait_integer (test.test_multiprocessing_spawn.TestWait) ... ok >test_wait_slow (test.test_multiprocessing_spawn.TestWait) ... ok >test_wait_socket (test.test_multiprocessing_spawn.TestWait) ... ok >test_wait_socket_slow (test.test_multiprocessing_spawn.TestWait) ... ok >test_wait_timeout (test.test_multiprocessing_spawn.TestWait) ... ok >test_abort (test.test_multiprocessing_spawn.WithManagerTestBarrier) ... ok >test_abort_and_reset (test.test_multiprocessing_spawn.WithManagerTestBarrier) ... ok >test_action (test.test_multiprocessing_spawn.WithManagerTestBarrier) ... ok >test_barrier (test.test_multiprocessing_spawn.WithManagerTestBarrier) ... ok >test_barrier_10 (test.test_multiprocessing_spawn.WithManagerTestBarrier) ... ok >test_default_timeout (test.test_multiprocessing_spawn.WithManagerTestBarrier) ... ok >test_reset (test.test_multiprocessing_spawn.WithManagerTestBarrier) ... ok >test_single_thread (test.test_multiprocessing_spawn.WithManagerTestBarrier) ... ok >test_thousand (test.test_multiprocessing_spawn.WithManagerTestBarrier) ... skipped 'test not appropriate for manager' >test_timeout (test.test_multiprocessing_spawn.WithManagerTestBarrier) ... ok >test_wait_return (test.test_multiprocessing_spawn.WithManagerTestBarrier) ... ok >test_notify (test.test_multiprocessing_spawn.WithManagerTestCondition) ... ok >test_notify_all (test.test_multiprocessing_spawn.WithManagerTestCondition) ... ok >test_timeout (test.test_multiprocessing_spawn.WithManagerTestCondition) ... ok >test_wait_result (test.test_multiprocessing_spawn.WithManagerTestCondition) ... ok >test_waitfor (test.test_multiprocessing_spawn.WithManagerTestCondition) ... ok >test_waitfor_timeout (test.test_multiprocessing_spawn.WithManagerTestCondition) ... ok >test_dict (test.test_multiprocessing_spawn.WithManagerTestContainers) ... ok >test_list (test.test_multiprocessing_spawn.WithManagerTestContainers) ... ok >test_namespace (test.test_multiprocessing_spawn.WithManagerTestContainers) ... ok >test_event (test.test_multiprocessing_spawn.WithManagerTestEvent) ... ok >test_lock (test.test_multiprocessing_spawn.WithManagerTestLock) ... ok >test_lock_context (test.test_multiprocessing_spawn.WithManagerTestLock) ... ok >test_rlock (test.test_multiprocessing_spawn.WithManagerTestLock) ... ok >test_rapid_restart (test.test_multiprocessing_spawn.WithManagerTestManagerRestart) ... ok >test_mymanager (test.test_multiprocessing_spawn.WithManagerTestMyManager) ... ok >test_mymanager_context (test.test_multiprocessing_spawn.WithManagerTestMyManager) ... ok >test_mymanager_context_prestarted (test.test_multiprocessing_spawn.WithManagerTestMyManager) ... ok >test_apply (test.test_multiprocessing_spawn.WithManagerTestPool) ... ok >test_async (test.test_multiprocessing_spawn.WithManagerTestPool) ... ok >test_async_timeout (test.test_multiprocessing_spawn.WithManagerTestPool) ... ok >test_context (test.test_multiprocessing_spawn.WithManagerTestPool) ... ok >test_empty_iterable (test.test_multiprocessing_spawn.WithManagerTestPool) ... ok >test_imap (test.test_multiprocessing_spawn.WithManagerTestPool) ... ok >test_imap_handle_iterable_exception (test.test_multiprocessing_spawn.WithManagerTestPool) ... skipped 'test not appropriate for manager' >test_imap_unordered (test.test_multiprocessing_spawn.WithManagerTestPool) ... ok >test_imap_unordered_handle_iterable_exception (test.test_multiprocessing_spawn.WithManagerTestPool) ... skipped 'test not appropriate for manager' >test_make_pool (test.test_multiprocessing_spawn.WithManagerTestPool) ... ok >test_map (test.test_multiprocessing_spawn.WithManagerTestPool) ... ok >test_map_async (test.test_multiprocessing_spawn.WithManagerTestPool) ... ok >test_map_async_callbacks (test.test_multiprocessing_spawn.WithManagerTestPool) ... ok >test_map_chunksize (test.test_multiprocessing_spawn.WithManagerTestPool) ... ok >test_map_unplicklable (test.test_multiprocessing_spawn.WithManagerTestPool) ... ok >test_starmap (test.test_multiprocessing_spawn.WithManagerTestPool) ... ok >test_starmap_async (test.test_multiprocessing_spawn.WithManagerTestPool) ... ok >test_terminate (test.test_multiprocessing_spawn.WithManagerTestPool) ... ok >test_traceback (test.test_multiprocessing_spawn.WithManagerTestPool) ... ok >test_wrapped_exception (test.test_multiprocessing_spawn.WithManagerTestPool) ... ok >test_fork (test.test_multiprocessing_spawn.WithManagerTestQueue) ... ok >test_get (test.test_multiprocessing_spawn.WithManagerTestQueue) ... ok >test_no_import_lock_contention (test.test_multiprocessing_spawn.WithManagerTestQueue) ... ok >test_put (test.test_multiprocessing_spawn.WithManagerTestQueue) ... ok >test_qsize (test.test_multiprocessing_spawn.WithManagerTestQueue) ... ok >test_task_done (test.test_multiprocessing_spawn.WithManagerTestQueue) ... ok >test_timeout (test.test_multiprocessing_spawn.WithManagerTestQueue) ... ok >test_remote (test.test_multiprocessing_spawn.WithManagerTestRemoteManager) ... ok >test_bounded_semaphore (test.test_multiprocessing_spawn.WithManagerTestSemaphore) ... ok >test_semaphore (test.test_multiprocessing_spawn.WithManagerTestSemaphore) ... ok >test_timeout (test.test_multiprocessing_spawn.WithManagerTestSemaphore) ... skipped 'test not appropriate for manager' >test_array (test.test_multiprocessing_spawn.WithProcessesTestArray) ... ok >test_array_from_size (test.test_multiprocessing_spawn.WithProcessesTestArray) ... ok >test_getobj_getlock_obj (test.test_multiprocessing_spawn.WithProcessesTestArray) ... ok >test_rawarray (test.test_multiprocessing_spawn.WithProcessesTestArray) ... ok >test_abort (test.test_multiprocessing_spawn.WithProcessesTestBarrier) ... ok >test_abort_and_reset (test.test_multiprocessing_spawn.WithProcessesTestBarrier) ... ok >test_action (test.test_multiprocessing_spawn.WithProcessesTestBarrier) ... ok >test_barrier (test.test_multiprocessing_spawn.WithProcessesTestBarrier) ... ok >test_barrier_10 (test.test_multiprocessing_spawn.WithProcessesTestBarrier) ... ok >test_default_timeout (test.test_multiprocessing_spawn.WithProcessesTestBarrier) ... ok >test_reset (test.test_multiprocessing_spawn.WithProcessesTestBarrier) ... ok >test_single_thread (test.test_multiprocessing_spawn.WithProcessesTestBarrier) ... ok >test_thousand (test.test_multiprocessing_spawn.WithProcessesTestBarrier) ... ok >test_timeout (test.test_multiprocessing_spawn.WithProcessesTestBarrier) ... ok >test_wait_return (test.test_multiprocessing_spawn.WithProcessesTestBarrier) ... ok >test_notify (test.test_multiprocessing_spawn.WithProcessesTestCondition) ... ok >test_notify_all (test.test_multiprocessing_spawn.WithProcessesTestCondition) ... ok >test_timeout (test.test_multiprocessing_spawn.WithProcessesTestCondition) ... ok >test_wait_result (test.test_multiprocessing_spawn.WithProcessesTestCondition) ... ok >test_waitfor (test.test_multiprocessing_spawn.WithProcessesTestCondition) ... ok >test_waitfor_timeout (test.test_multiprocessing_spawn.WithProcessesTestCondition) ... ok >test_connection (test.test_multiprocessing_spawn.WithProcessesTestConnection) ... ok >test_context (test.test_multiprocessing_spawn.WithProcessesTestConnection) ... ok >test_duplex_false (test.test_multiprocessing_spawn.WithProcessesTestConnection) ... ok >test_fd_transfer (test.test_multiprocessing_spawn.WithProcessesTestConnection) ... ok >test_large_fd_transfer (test.test_multiprocessing_spawn.WithProcessesTestConnection) ... ok >test_missing_fd_transfer (test.test_multiprocessing_spawn.WithProcessesTestConnection) ... ok >test_sendbytes (test.test_multiprocessing_spawn.WithProcessesTestConnection) ... ok >test_spawn_close (test.test_multiprocessing_spawn.WithProcessesTestConnection) ... ok >test_event (test.test_multiprocessing_spawn.WithProcessesTestEvent) ... ok >test_finalize (test.test_multiprocessing_spawn.WithProcessesTestFinalize) ... ok >test_free_from_gc (test.test_multiprocessing_spawn.WithProcessesTestHeap) ... skipped 'implementation detail specific to cpython' >test_heap (test.test_multiprocessing_spawn.WithProcessesTestHeap) ... ok >test_context (test.test_multiprocessing_spawn.WithProcessesTestListener) ... ok >test_multiple_bind (test.test_multiprocessing_spawn.WithProcessesTestListener) ... ok >test_issue14725 (test.test_multiprocessing_spawn.WithProcessesTestListenerClient) ... ok >test_issue16955 (test.test_multiprocessing_spawn.WithProcessesTestListenerClient) ... ok >test_listener_client (test.test_multiprocessing_spawn.WithProcessesTestListenerClient) ... ok >test_lock (test.test_multiprocessing_spawn.WithProcessesTestLock) ... ok >test_lock_context (test.test_multiprocessing_spawn.WithProcessesTestLock) ... ok >test_rlock (test.test_multiprocessing_spawn.WithProcessesTestLock) ... ok >test_enable_logging (test.test_multiprocessing_spawn.WithProcessesTestLogging) ... ok >test_level (test.test_multiprocessing_spawn.WithProcessesTestLogging) ... ok >test_rapid_restart (test.test_multiprocessing_spawn.WithProcessesTestManagerRestart) ... ok >test_access (test.test_multiprocessing_spawn.WithProcessesTestPicklingConnections) ... ok >test_pickling (test.test_multiprocessing_spawn.WithProcessesTestPicklingConnections) ... ok >test_boundaries (test.test_multiprocessing_spawn.WithProcessesTestPoll) ... ok >test_dont_merge (test.test_multiprocessing_spawn.WithProcessesTestPoll) ... ok >test_empty_string (test.test_multiprocessing_spawn.WithProcessesTestPoll) ... ok >test_strings (test.test_multiprocessing_spawn.WithProcessesTestPoll) ... ok >test_poll_eintr (test.test_multiprocessing_spawn.WithProcessesTestPollEintr) ... ok >test_apply (test.test_multiprocessing_spawn.WithProcessesTestPool) ... ok >test_async (test.test_multiprocessing_spawn.WithProcessesTestPool) ... ok >test_async_timeout (test.test_multiprocessing_spawn.WithProcessesTestPool) ... ok >test_context (test.test_multiprocessing_spawn.WithProcessesTestPool) ... ok >test_empty_iterable (test.test_multiprocessing_spawn.WithProcessesTestPool) ... ok >test_imap (test.test_multiprocessing_spawn.WithProcessesTestPool) ... ok >test_imap_handle_iterable_exception (test.test_multiprocessing_spawn.WithProcessesTestPool) ... ok >test_imap_unordered (test.test_multiprocessing_spawn.WithProcessesTestPool) ... ok >test_imap_unordered_handle_iterable_exception (test.test_multiprocessing_spawn.WithProcessesTestPool) ... ok >test_make_pool (test.test_multiprocessing_spawn.WithProcessesTestPool) ... ok >test_map (test.test_multiprocessing_spawn.WithProcessesTestPool) ... ok >test_map_async (test.test_multiprocessing_spawn.WithProcessesTestPool) ... ok >test_map_async_callbacks (test.test_multiprocessing_spawn.WithProcessesTestPool) ... ok >test_map_chunksize (test.test_multiprocessing_spawn.WithProcessesTestPool) ... ok >test_map_unplicklable (test.test_multiprocessing_spawn.WithProcessesTestPool) ... ok >test_starmap (test.test_multiprocessing_spawn.WithProcessesTestPool) ... ok >test_starmap_async (test.test_multiprocessing_spawn.WithProcessesTestPool) ... ok >test_terminate (test.test_multiprocessing_spawn.WithProcessesTestPool) ... ok >test_traceback (test.test_multiprocessing_spawn.WithProcessesTestPool) ... ok >test_wrapped_exception (test.test_multiprocessing_spawn.WithProcessesTestPool) ... ok >test_async_error_callback (test.test_multiprocessing_spawn.WithProcessesTestPoolWorkerErrors) ... ok >test_unpickleable_result (test.test_multiprocessing_spawn.WithProcessesTestPoolWorkerErrors) ... ok >test_pool_worker_lifetime (test.test_multiprocessing_spawn.WithProcessesTestPoolWorkerLifetime) ... ok >test_pool_worker_lifetime_early_close (test.test_multiprocessing_spawn.WithProcessesTestPoolWorkerLifetime) ... ok >test_active_children (test.test_multiprocessing_spawn.WithProcessesTestProcess) ... ok >test_cpu_count (test.test_multiprocessing_spawn.WithProcessesTestProcess) ... ok >test_current (test.test_multiprocessing_spawn.WithProcessesTestProcess) ... ok >test_daemon_argument (test.test_multiprocessing_spawn.WithProcessesTestProcess) ... ok >test_process (test.test_multiprocessing_spawn.WithProcessesTestProcess) ... ok >test_recursion (test.test_multiprocessing_spawn.WithProcessesTestProcess) ... ok >test_sentinel (test.test_multiprocessing_spawn.WithProcessesTestProcess) ... ok >test_terminate (test.test_multiprocessing_spawn.WithProcessesTestProcess) ... ok >test_fork (test.test_multiprocessing_spawn.WithProcessesTestQueue) ... ok >test_get (test.test_multiprocessing_spawn.WithProcessesTestQueue) ... ok >test_no_import_lock_contention (test.test_multiprocessing_spawn.WithProcessesTestQueue) ... ok >test_put (test.test_multiprocessing_spawn.WithProcessesTestQueue) ... ok >test_qsize (test.test_multiprocessing_spawn.WithProcessesTestQueue) ... ok >test_task_done (test.test_multiprocessing_spawn.WithProcessesTestQueue) ... ok >test_timeout (test.test_multiprocessing_spawn.WithProcessesTestQueue) ... ok >test_bounded_semaphore (test.test_multiprocessing_spawn.WithProcessesTestSemaphore) ... ok >test_semaphore (test.test_multiprocessing_spawn.WithProcessesTestSemaphore) ... ok >test_timeout (test.test_multiprocessing_spawn.WithProcessesTestSemaphore) ... ok >test_copy (test.test_multiprocessing_spawn.WithProcessesTestSharedCTypes) ... ERROR >test_sharedctypes (test.test_multiprocessing_spawn.WithProcessesTestSharedCTypes) ... ok >test_synchronize (test.test_multiprocessing_spawn.WithProcessesTestSharedCTypes) ... ok >test_stderr_flush (test.test_multiprocessing_spawn.WithProcessesTestSubclassingProcess) ... ok >test_subclassing (test.test_multiprocessing_spawn.WithProcessesTestSubclassingProcess) ... ok >test_sys_exit (test.test_multiprocessing_spawn.WithProcessesTestSubclassingProcess) ... ok >test_getobj_getlock (test.test_multiprocessing_spawn.WithProcessesTestValue) ... ok >test_rawvalue (test.test_multiprocessing_spawn.WithProcessesTestValue) ... ok >test_value (test.test_multiprocessing_spawn.WithProcessesTestValue) ... ok >test_abort (test.test_multiprocessing_spawn.WithThreadsTestBarrier) ... ok >test_abort_and_reset (test.test_multiprocessing_spawn.WithThreadsTestBarrier) ... ok >test_action (test.test_multiprocessing_spawn.WithThreadsTestBarrier) ... ok >test_barrier (test.test_multiprocessing_spawn.WithThreadsTestBarrier) ... ok >test_barrier_10 (test.test_multiprocessing_spawn.WithThreadsTestBarrier) ... ok >test_default_timeout (test.test_multiprocessing_spawn.WithThreadsTestBarrier) ... ok >test_reset (test.test_multiprocessing_spawn.WithThreadsTestBarrier) ... ok >test_single_thread (test.test_multiprocessing_spawn.WithThreadsTestBarrier) ... ok >test_thousand (test.test_multiprocessing_spawn.WithThreadsTestBarrier) ... ok >test_timeout (test.test_multiprocessing_spawn.WithThreadsTestBarrier) ... ok >test_wait_return (test.test_multiprocessing_spawn.WithThreadsTestBarrier) ... ok >test_notify (test.test_multiprocessing_spawn.WithThreadsTestCondition) ... ok >test_notify_all (test.test_multiprocessing_spawn.WithThreadsTestCondition) ... ok >test_timeout (test.test_multiprocessing_spawn.WithThreadsTestCondition) ... ok >test_wait_result (test.test_multiprocessing_spawn.WithThreadsTestCondition) ... ok >test_waitfor (test.test_multiprocessing_spawn.WithThreadsTestCondition) ... ok >test_waitfor_timeout (test.test_multiprocessing_spawn.WithThreadsTestCondition) ... ok >test_connection (test.test_multiprocessing_spawn.WithThreadsTestConnection) ... ok >test_context (test.test_multiprocessing_spawn.WithThreadsTestConnection) ... ok >test_duplex_false (test.test_multiprocessing_spawn.WithThreadsTestConnection) ... ok >test_fd_transfer (test.test_multiprocessing_spawn.WithThreadsTestConnection) ... skipped 'only makes sense with processes' >test_large_fd_transfer (test.test_multiprocessing_spawn.WithThreadsTestConnection) ... skipped 'only makes sense with processes' >test_missing_fd_transfer (test.test_multiprocessing_spawn.WithThreadsTestConnection) ... skipped 'only makes sense with processes' >test_sendbytes (test.test_multiprocessing_spawn.WithThreadsTestConnection) ... skipped 'test not appropriate for threads' >test_spawn_close (test.test_multiprocessing_spawn.WithThreadsTestConnection) ... ok >test_event (test.test_multiprocessing_spawn.WithThreadsTestEvent) ... ok >test_issue14725 (test.test_multiprocessing_spawn.WithThreadsTestListenerClient) ... ok >test_issue16955 (test.test_multiprocessing_spawn.WithThreadsTestListenerClient) ... ok >test_listener_client (test.test_multiprocessing_spawn.WithThreadsTestListenerClient) ... ok >test_lock (test.test_multiprocessing_spawn.WithThreadsTestLock) ... ok >test_lock_context (test.test_multiprocessing_spawn.WithThreadsTestLock) ... ok >test_rlock (test.test_multiprocessing_spawn.WithThreadsTestLock) ... ok >test_rapid_restart (test.test_multiprocessing_spawn.WithThreadsTestManagerRestart) ... ok >test_boundaries (test.test_multiprocessing_spawn.WithThreadsTestPoll) ... ok >test_dont_merge (test.test_multiprocessing_spawn.WithThreadsTestPoll) ... ok >test_empty_string (test.test_multiprocessing_spawn.WithThreadsTestPoll) ... ok >test_strings (test.test_multiprocessing_spawn.WithThreadsTestPoll) ... ok >test_apply (test.test_multiprocessing_spawn.WithThreadsTestPool) ... ok >test_async (test.test_multiprocessing_spawn.WithThreadsTestPool) ... ok >test_async_timeout (test.test_multiprocessing_spawn.WithThreadsTestPool) ... ok >test_context (test.test_multiprocessing_spawn.WithThreadsTestPool) ... ok >test_empty_iterable (test.test_multiprocessing_spawn.WithThreadsTestPool) ... ok >test_imap (test.test_multiprocessing_spawn.WithThreadsTestPool) ... ok >test_imap_handle_iterable_exception (test.test_multiprocessing_spawn.WithThreadsTestPool) ... ok >test_imap_unordered (test.test_multiprocessing_spawn.WithThreadsTestPool) ... ok >test_imap_unordered_handle_iterable_exception (test.test_multiprocessing_spawn.WithThreadsTestPool) ... ok >test_make_pool (test.test_multiprocessing_spawn.WithThreadsTestPool) ... ok >test_map (test.test_multiprocessing_spawn.WithThreadsTestPool) ... ok >test_map_async (test.test_multiprocessing_spawn.WithThreadsTestPool) ... ok >test_map_async_callbacks (test.test_multiprocessing_spawn.WithThreadsTestPool) ... ok >test_map_chunksize (test.test_multiprocessing_spawn.WithThreadsTestPool) ... ok >test_map_unplicklable (test.test_multiprocessing_spawn.WithThreadsTestPool) ... skipped 'test not appropriate for threads' >test_starmap (test.test_multiprocessing_spawn.WithThreadsTestPool) ... ok >test_starmap_async (test.test_multiprocessing_spawn.WithThreadsTestPool) ... ok >test_terminate (test.test_multiprocessing_spawn.WithThreadsTestPool) ... ok >test_traceback (test.test_multiprocessing_spawn.WithThreadsTestPool) ... ok >test_wrapped_exception (test.test_multiprocessing_spawn.WithThreadsTestPool) ... ok >test_active_children (test.test_multiprocessing_spawn.WithThreadsTestProcess) ... ok >test_cpu_count (test.test_multiprocessing_spawn.WithThreadsTestProcess) ... ok >test_current (test.test_multiprocessing_spawn.WithThreadsTestProcess) ... skipped 'test not appropriate for threads' >test_daemon_argument (test.test_multiprocessing_spawn.WithThreadsTestProcess) ... skipped 'test not appropriate for threads' >test_process (test.test_multiprocessing_spawn.WithThreadsTestProcess) ... ok >test_recursion (test.test_multiprocessing_spawn.WithThreadsTestProcess) ... ok >test_sentinel (test.test_multiprocessing_spawn.WithThreadsTestProcess) ... skipped 'test not appropriate for threads' >test_terminate (test.test_multiprocessing_spawn.WithThreadsTestProcess) ... skipped 'test not appropriate for threads' >test_fork (test.test_multiprocessing_spawn.WithThreadsTestQueue) ... ok >test_get (test.test_multiprocessing_spawn.WithThreadsTestQueue) ... ok >test_no_import_lock_contention (test.test_multiprocessing_spawn.WithThreadsTestQueue) ... ok >test_put (test.test_multiprocessing_spawn.WithThreadsTestQueue) ... ok >test_qsize (test.test_multiprocessing_spawn.WithThreadsTestQueue) ... ok >test_task_done (test.test_multiprocessing_spawn.WithThreadsTestQueue) ... ok >test_timeout (test.test_multiprocessing_spawn.WithThreadsTestQueue) ... ok >test_bounded_semaphore (test.test_multiprocessing_spawn.WithThreadsTestSemaphore) ... ok >test_semaphore (test.test_multiprocessing_spawn.WithThreadsTestSemaphore) ... ok >test_timeout (test.test_multiprocessing_spawn.WithThreadsTestSemaphore) ... skipped 'test not appropriate for threads' >test_import (test.test_multiprocessing_spawn._TestImportStar) ... ok > >====================================================================== >ERROR: test_copy (test.test_multiprocessing_spawn.WithProcessesTestSharedCTypes) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/_test_multiprocessing.py", line 2876, in test_copy > bar = copy(foo) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/multiprocessing/sharedctypes.py", line 99, in copy > ctypes.pointer(new_obj)[0] = obj > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/_ctypes/pointer.py", line 116, in __setitem__ > self._subarray(index)[0] = cobj._get_buffer_value() >TypeError: 'StructureInstance' object does not support item assignment > >---------------------------------------------------------------------- >Ran 266 tests in 170.041s > >FAILED (errors=1, skipped=17) >1 test failed: > test_multiprocessing_spawn >Dangling threads: {<DummyProcess(Thread-123, stopped daemon 140285002626816)>, <Thread(Thread-124, stopped daemon 140284994234112)>, <Thread(Thread-125, stopped daemon 140284985841408)>, <Thread(Thread-126, stopped daemon 140284503521024)>, <DummyProcess(Thread-127, stopped daemon 140285002626816)>, <DummyProcess(Thread-128, stopped daemon 140284503521024)>, <DummyProcess(Thread-129, stopped daemon 140284985841408)>, <Thread(Thread-130, stopped daemon 140284994234112)>, <Thread(Thread-131, stopped daemon 140284495128320)>, <Thread(Thread-132, stopped daemon 140284486735616)>} >test test_multiprocessing_spawn failed > >_______________________________________ _______________________________________ >== PyPy 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34) [PyPy 5.9.0-beta0 with GCC 5.4.0] >== Linux-4.13.12-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1 little-endian >== hash algorithm: siphash24 64bit >== /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_30942 >Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0) >[1/1] test_pydoc >test_allmethods (test.test_pydoc.PydocDocTest) ... ok >test_getpager_with_stdin_none (test.test_pydoc.PydocDocTest) ... ok >test_help_output_redirect (test.test_pydoc.PydocDocTest) ... ok >test_html_doc (test.test_pydoc.PydocDocTest) ... FAIL >test_input_strip (test.test_pydoc.PydocDocTest) ... ok >test_is_object_or_method (test.test_pydoc.PydocDocTest) ... ok >test_is_package_when_is_package (test.test_pydoc.PydocDocTest) ... ok >test_is_package_when_not_package (test.test_pydoc.PydocDocTest) ... ok >test_issue8225 (test.test_pydoc.PydocDocTest) ... ok >test_mixed_case_module_names_are_lower_cased (test.test_pydoc.PydocDocTest) ... ok >test_namedtuple_public_underscore (test.test_pydoc.PydocDocTest) ... ok >test_non_str_name (test.test_pydoc.PydocDocTest) ... ok >test_not_ascii (test.test_pydoc.PydocDocTest) ... ok >test_not_here (test.test_pydoc.PydocDocTest) ... ok >test_splitdoc_with_description (test.test_pydoc.PydocDocTest) ... ok >test_stripid (test.test_pydoc.PydocDocTest) ... ok >test_synopsis (test.test_pydoc.PydocDocTest) ... ok >test_synopsis_sourceless (test.test_pydoc.PydocDocTest) ... ok >test_synopsis_sourceless_empty_doc (test.test_pydoc.PydocDocTest) ... ok >test_text_doc (test.test_pydoc.PydocDocTest) ... ok >test_text_enum_member_with_value_zero (test.test_pydoc.PydocDocTest) ... ok >test_apropos_empty_doc (test.test_pydoc.PydocImportTest) ... ok >test_apropos_with_bad_package (test.test_pydoc.PydocImportTest) ... ok >test_apropos_with_unreadable_dir (test.test_pydoc.PydocImportTest) ... ok >test_badimport (test.test_pydoc.PydocImportTest) ... ok >test_importfile (test.test_pydoc.PydocImportTest) ... ok >test_modules (test.test_pydoc.PydocImportTest) ... skipped 'causes undesirable side-effects (#20128)' >test_modules_search (test.test_pydoc.PydocImportTest) ... skipped 'causes undesirable side-effects (#20128)' >test_modules_search_builtin (test.test_pydoc.PydocImportTest) ... skipped 'some buildbots are not cooperating (#20128)' >test_url_search_package_error (test.test_pydoc.PydocImportTest) ... ok >test_bound_builtin_method (test.test_pydoc.TestDescriptions) ... FAIL >test_bound_python_method (test.test_pydoc.TestDescriptions) ... ok >test_builtin (test.test_pydoc.TestDescriptions) ... ok >test_class (test.test_pydoc.TestDescriptions) ... ok >test_module (test.test_pydoc.TestDescriptions) ... ok >test_module_level_callable (test.test_pydoc.TestDescriptions) ... FAIL >test_typing_pydoc (test.test_pydoc.TestDescriptions) ... ok >test_unbound_builtin_method (test.test_pydoc.TestDescriptions) ... FAIL >test_unbound_python_method (test.test_pydoc.TestDescriptions) ... ok >test_server (test.test_pydoc.PydocServerTest) ... ok >test_content_type_err (test.test_pydoc.PydocUrlHandlerTest) ... ok >test_url_requests (test.test_pydoc.PydocUrlHandlerTest) ... ok >test_keywords (test.test_pydoc.TestHelper) ... ok >test_DynamicClassAttribute (test.test_pydoc.PydocWithMetaClasses) ... ok >test_buggy_dir (test.test_pydoc.PydocWithMetaClasses) ... ok >test_resolve_false (test.test_pydoc.PydocWithMetaClasses) ... ok >test_virtualClassAttributeWithOneMeta (test.test_pydoc.PydocWithMetaClasses) ... ok >test_virtualClassAttributeWithTwoMeta (test.test_pydoc.PydocWithMetaClasses) ... ok > >====================================================================== >FAIL: test_html_doc (test.test_pydoc.PydocDocTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_pydoc.py", line 447, in test_html_doc > self.assertEqual(result, expected_html) >AssertionError: '<tab[998 chars]tr>\n \n<tr><td bgcolor="#aa55cc"><tt> [6004 chars]ble>' != '<tab[998 chars]tr>\n\n<tr><td bgcolor="#aa55cc"><tt> &nb[6000 chars]ble>' >Diff is 7182 characters long. Set self.maxDiff to None to see it. > >====================================================================== >FAIL: test_bound_builtin_method (test.test_pydoc.TestDescriptions) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_pydoc.py", line 894, in test_bound_builtin_method > "dump(obj, /) method of _pickle.Pickler instance") >AssertionError: 'dump(obj) method of pickle._Pickler instance' != 'dump(obj, /) method of _pickle.Pickler instance' >- dump(obj) method of pickle._Pickler instance >? - >+ dump(obj, /) method of _pickle.Pickler instance >? +++ + > > >====================================================================== >FAIL: test_module_level_callable (test.test_pydoc.TestDescriptions) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_pydoc.py", line 900, in test_module_level_callable > "stat(path, *, dir_fd=None, follow_symlinks=True)") >AssertionError: 'stat(...)' != 'stat(path, *, dir_fd=None, follow_symlinks=True)' >- stat(...) >+ stat(path, *, dir_fd=None, follow_symlinks=True) > > >====================================================================== >FAIL: test_unbound_builtin_method (test.test_pydoc.TestDescriptions) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_pydoc.py", line 881, in test_unbound_builtin_method > "dump(self, obj, /)") >AssertionError: 'dump(self, obj)' != 'dump(self, obj, /)' >- dump(self, obj) >+ dump(self, obj, /) >? +++ > > >---------------------------------------------------------------------- >Ran 48 tests in 5.263s > >FAILED (failures=4, skipped=3) >1 test failed: > test_pydoc >test test_pydoc failed > >_______________________________________ _______________________________________ >== PyPy 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34) [PyPy 5.9.0-beta0 with GCC 5.4.0] >== Linux-4.13.12-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1 little-endian >== hash algorithm: siphash24 64bit >== /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_12491 >Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0) >[1/1] test_readline >testHistoryUpdates (test.test_readline.TestHistoryManipulation) ... ERROR >test_nonascii_history (test.test_readline.TestHistoryManipulation) ... ERROR >test_write_read_append (test.test_readline.TestHistoryManipulation) ... skipped 'append_history not available' >test_init (test.test_readline.TestReadline) ... ok >test_nonascii (test.test_readline.TestReadline) ... skipped 'function not reimplemented in pypy' > >====================================================================== >ERROR: testHistoryUpdates (test.test_readline.TestHistoryManipulation) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_readline.py", line 31, in testHistoryUpdates > readline.clear_history() > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/readline.py", line 346, in clear_history > del self.get_reader().history[:] > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/readline.py", line 251, in get_reader > console = UnixConsole(self.f_in, self.f_out, encoding=ENCODING) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/unix_console.py", line 105, in __init__ > curses.setupterm(term, self.output_fd) >_minimal_curses.error: setupterm: could not find terminal > >====================================================================== >ERROR: test_nonascii_history (test.test_readline.TestHistoryManipulation) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_readline.py", line 93, in test_nonascii_history > readline.clear_history() > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/readline.py", line 346, in clear_history > del self.get_reader().history[:] > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/readline.py", line 251, in get_reader > console = UnixConsole(self.f_in, self.f_out, encoding=ENCODING) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/unix_console.py", line 105, in __init__ > curses.setupterm(term, self.output_fd) >_minimal_curses.error: setupterm: could not find terminal > >---------------------------------------------------------------------- >Ran 5 tests in 0.236s > >FAILED (errors=2, skipped=2) >1 test failed: > test_readline >test test_readline failed > >_______________________________________ _______________________________________ >== PyPy 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34) [PyPy 5.9.0-beta0 with GCC 5.4.0] >== Linux-4.13.12-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1 little-endian >== hash algorithm: siphash24 64bit >== /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_21437 >Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0) >[1/1] test_rlcompleter >test_attr_matches (test.test_rlcompleter.TestRlcompleter) ... ERROR >test_complete (test.test_rlcompleter.TestRlcompleter) ... ERROR >test_duplicate_globals (test.test_rlcompleter.TestRlcompleter) ... ERROR >test_excessive_getattr (test.test_rlcompleter.TestRlcompleter) ... ERROR >test_global_matches (test.test_rlcompleter.TestRlcompleter) ... ERROR >test_namespace (test.test_rlcompleter.TestRlcompleter) ... ERROR > >====================================================================== >ERROR: test_attr_matches (test.test_rlcompleter.TestRlcompleter) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_rlcompleter.py", line 19, in setUp > self.stdcompleter.complete('', 0) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/rlcompleter.py", line 79, in complete > readline.insert_text('\t') > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/readline.py", line 396, in insert_text > return self.get_reader().insert(text) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/readline.py", line 251, in get_reader > console = UnixConsole(self.f_in, self.f_out, encoding=ENCODING) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/unix_console.py", line 105, in __init__ > curses.setupterm(term, self.output_fd) >_minimal_curses.error: setupterm: could not find terminal > >====================================================================== >ERROR: test_complete (test.test_rlcompleter.TestRlcompleter) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_rlcompleter.py", line 19, in setUp > self.stdcompleter.complete('', 0) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/rlcompleter.py", line 79, in complete > readline.insert_text('\t') > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/readline.py", line 396, in insert_text > return self.get_reader().insert(text) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/readline.py", line 251, in get_reader > console = UnixConsole(self.f_in, self.f_out, encoding=ENCODING) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/unix_console.py", line 105, in __init__ > curses.setupterm(term, self.output_fd) >_minimal_curses.error: setupterm: could not find terminal > >====================================================================== >ERROR: test_duplicate_globals (test.test_rlcompleter.TestRlcompleter) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_rlcompleter.py", line 19, in setUp > self.stdcompleter.complete('', 0) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/rlcompleter.py", line 79, in complete > readline.insert_text('\t') > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/readline.py", line 396, in insert_text > return self.get_reader().insert(text) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/readline.py", line 251, in get_reader > console = UnixConsole(self.f_in, self.f_out, encoding=ENCODING) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/unix_console.py", line 105, in __init__ > curses.setupterm(term, self.output_fd) >_minimal_curses.error: setupterm: could not find terminal > >====================================================================== >ERROR: test_excessive_getattr (test.test_rlcompleter.TestRlcompleter) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_rlcompleter.py", line 19, in setUp > self.stdcompleter.complete('', 0) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/rlcompleter.py", line 79, in complete > readline.insert_text('\t') > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/readline.py", line 396, in insert_text > return self.get_reader().insert(text) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/readline.py", line 251, in get_reader > console = UnixConsole(self.f_in, self.f_out, encoding=ENCODING) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/unix_console.py", line 105, in __init__ > curses.setupterm(term, self.output_fd) >_minimal_curses.error: setupterm: could not find terminal > >====================================================================== >ERROR: test_global_matches (test.test_rlcompleter.TestRlcompleter) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_rlcompleter.py", line 19, in setUp > self.stdcompleter.complete('', 0) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/rlcompleter.py", line 79, in complete > readline.insert_text('\t') > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/readline.py", line 396, in insert_text > return self.get_reader().insert(text) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/readline.py", line 251, in get_reader > console = UnixConsole(self.f_in, self.f_out, encoding=ENCODING) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/unix_console.py", line 105, in __init__ > curses.setupterm(term, self.output_fd) >_minimal_curses.error: setupterm: could not find terminal > >====================================================================== >ERROR: test_namespace (test.test_rlcompleter.TestRlcompleter) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_rlcompleter.py", line 19, in setUp > self.stdcompleter.complete('', 0) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/rlcompleter.py", line 79, in complete > readline.insert_text('\t') > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/readline.py", line 396, in insert_text > return self.get_reader().insert(text) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/readline.py", line 251, in get_reader > console = UnixConsole(self.f_in, self.f_out, encoding=ENCODING) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/pyrepl/unix_console.py", line 105, in __init__ > curses.setupterm(term, self.output_fd) >_minimal_curses.error: setupterm: could not find terminal > >---------------------------------------------------------------------- >Ran 6 tests in 0.010s > >FAILED (errors=6) >1 test failed: > test_rlcompleter >test test_rlcompleter failed > >_______________________________________ _______________________________________ >== PyPy 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34) [PyPy 5.9.0-beta0 with GCC 5.4.0] >== Linux-4.13.12-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1 little-endian >== hash algorithm: siphash24 64bit >== /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_13404 >Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0) >[1/1] test_ssl >test_ssl: testing with 'LibreSSL 2.6.3' (2, 0, 0, 0, 0) > under Linux ('Gentoo Base System', '2.4.1', '') > HAS_SNI = True > OP_ALL = 0x 4 > OP_NO_TLSv1_1 = 0x10000000 >test__create_stdlib_context (test.test_ssl.ContextTests) ... ok >test_cert_store_stats (test.test_ssl.ContextTests) ... ok >test_check_hostname (test.test_ssl.ContextTests) ... ok >test_ciphers (test.test_ssl.ContextTests) ... ok >test_constructor (test.test_ssl.ContextTests) ... ERROR >test_create_default_context (test.test_ssl.ContextTests) ... ok >test_get_ca_certs (test.test_ssl.ContextTests) ... ok >test_load_cert_chain (test.test_ssl.ContextTests) ... ok >test_load_default_certs (test.test_ssl.ContextTests) ... ok >test_load_default_certs_env (test.test_ssl.ContextTests) ... skipped "LibreSSL doesn't support env vars" >test_load_default_certs_env_windows (test.test_ssl.ContextTests) ... skipped 'Windows specific' >test_load_dh_params (test.test_ssl.ContextTests) ... ok >test_load_verify_cadata (test.test_ssl.ContextTests) ... ok >test_load_verify_locations (test.test_ssl.ContextTests) ... ok >test_options (test.test_ssl.ContextTests) ... ok >test_protocol (test.test_ssl.ContextTests) ... ERROR >test_session_stats (test.test_ssl.ContextTests) ... ERROR >test_set_default_verify_paths (test.test_ssl.ContextTests) ... ok >test_set_ecdh_curve (test.test_ssl.ContextTests) ... ok >test_sni_callback (test.test_ssl.ContextTests) ... ok >test_sni_callback_refcycle (test.test_ssl.ContextTests) ... ok >test_verify_flags (test.test_ssl.ContextTests) ... ok >test_verify_mode (test.test_ssl.ContextTests) ... ok >test_DER_to_PEM (test.test_ssl.BasicSocketTests) ... ok >test_asn1object (test.test_ssl.BasicSocketTests) ... ok >test_cert_time_to_seconds (test.test_ssl.BasicSocketTests) ... ok >test_cert_time_to_seconds_locale (test.test_ssl.BasicSocketTests) ... skipped 'locale-specific month name needs to be different from C locale' >test_cert_time_to_seconds_timezone (test.test_ssl.BasicSocketTests) ... ok >test_constants (test.test_ssl.BasicSocketTests) ... ok >test_dealloc_warn (test.test_ssl.BasicSocketTests) ... ok >test_empty_cert (test.test_ssl.BasicSocketTests) >Wrapping with an empty cert file ... ok >test_enum_certificates (test.test_ssl.BasicSocketTests) ... skipped 'Windows specific' >test_enum_crls (test.test_ssl.BasicSocketTests) ... skipped 'Windows specific' >test_errors (test.test_ssl.BasicSocketTests) ... ok >test_get_default_verify_paths (test.test_ssl.BasicSocketTests) ... ok >test_malformed_cert (test.test_ssl.BasicSocketTests) >Wrapping with a badly formatted certificate (syntax error) ... ok >test_malformed_key (test.test_ssl.BasicSocketTests) >Wrapping with a badly formatted key (syntax error) ... ok >test_match_hostname (test.test_ssl.BasicSocketTests) ... ok >test_openssl_version (test.test_ssl.BasicSocketTests) ... ok >test_parse_all_sans (test.test_ssl.BasicSocketTests) ... ok >test_parse_cert (test.test_ssl.BasicSocketTests) ... >{'issuer': ((('countryName', 'XY'),), > (('localityName', 'Castle Anthrax'),), > (('organizationName', 'Python Software Foundation'),), > (('commonName', 'localhost'),)), > 'notAfter': 'Oct 5 23:01:56 2020 GMT', > 'notBefore': 'Oct 8 23:01:56 2010 GMT', > 'serialNumber': 'D7C7381919AFC24E', > 'subject': ((('countryName', 'XY'),), > (('localityName', 'Castle Anthrax'),), > (('organizationName', 'Python Software Foundation'),), > (('commonName', 'localhost'),)), > 'subjectAltName': (('DNS', 'localhost'),), > 'version': 3} > >{'OCSP': ('http://ocsp.verisign.com',), > 'caIssuers': ('http://SVRIntl-G3-aia.verisign.com/SVRIntlG3.cer',), > 'crlDistributionPoints': ('http://SVRIntl-G3-crl.verisign.com/SVRIntlG3.crl',), > 'issuer': ((('countryName', 'US'),), > (('organizationName', 'VeriSign, Inc.'),), > (('organizationalUnitName', 'VeriSign Trust Network'),), > (('organizationalUnitName', > 'Terms of use at https://www.verisign.com/rpa (c)10'),), > (('commonName', 'VeriSign Class 3 International Server CA - G3'),)), > 'notAfter': 'Sep 20 23:59:59 2012 GMT', > 'notBefore': 'Sep 21 00:00:00 2011 GMT', > 'serialNumber': '2EE6EA7640A075CEE5005F4D7C79549A', > 'subject': ((('countryName', 'FI'),), > (('stateOrProvinceName', 'Espoo'),), > (('localityName', 'Espoo'),), > (('organizationName', 'Nokia'),), > (('organizationalUnitName', 'BI'),), > (('commonName', 'projects.developer.nokia.com'),)), > 'subjectAltName': (('DNS', 'projects.developer.nokia.com'), > ('DNS', 'projects.forum.nokia.com')), > 'version': 3} >ok >test_parse_cert_CVE_2013_4238 (test.test_ssl.BasicSocketTests) ... >{'issuer': ((('countryName', 'US'),), > (('stateOrProvinceName', 'Oregon'),), > (('localityName', 'Beaverton'),), > (('organizationName', 'Python Software Foundation'),), > (('organizationalUnitName', 'Python Core Development'),), > (('commonName', 'null.python.org\x00example.org'),), > (('emailAddress', 'python-dev@python.org'),)), > 'notAfter': 'Aug 7 13:12:52 2013 GMT', > 'notBefore': 'Aug 7 13:11:52 2013 GMT', > 'serialNumber': '00', > 'subject': ((('countryName', 'US'),), > (('stateOrProvinceName', 'Oregon'),), > (('localityName', 'Beaverton'),), > (('organizationName', 'Python Software Foundation'),), > (('organizationalUnitName', 'Python Core Development'),), > (('commonName', 'null.python.org\x00example.org'),), > (('emailAddress', 'python-dev@python.org'),)), > 'subjectAltName': (('DNS', 'altnull.python.org\x00example.com'), > ('email', 'null@python.org\x00user@example.org'), > ('URI', 'http://null.python.org\x00http://example.org'), > ('IP Address', '192.0.2.1'), > ('IP Address', '2001:DB8:0:0:0:0:0:1\n')), > 'version': 3} >ok >test_purpose_enum (test.test_ssl.BasicSocketTests) ... ok >test_random (test.test_ssl.BasicSocketTests) ... > RAND_status is 1 (sufficient randomness) >ok >test_random_fork (test.test_ssl.BasicSocketTests) ... ok >test_refcycle (test.test_ssl.BasicSocketTests) ... skipped 'implementation detail specific to cpython' >test_server_side (test.test_ssl.BasicSocketTests) ... ok >test_str_for_enums (test.test_ssl.BasicSocketTests) ... ok >test_timeout (test.test_ssl.BasicSocketTests) ... ok >test_tls_unique_channel_binding (test.test_ssl.BasicSocketTests) ... ok >test_unknown_channel_binding (test.test_ssl.BasicSocketTests) ... ok >test_unsupported_dtls (test.test_ssl.BasicSocketTests) ... ok >test_wrapped_unconnected (test.test_ssl.BasicSocketTests) ... ok >test_lib_reason (test.test_ssl.SSLErrorTests) ... ok >test_str (test.test_ssl.SSLErrorTests) ... ok >test_subclass (test.test_ssl.SSLErrorTests) ... ok >test_buffer_types (test.test_ssl.MemoryBIOTests) ... ok >test_eof (test.test_ssl.MemoryBIOTests) ... ok >test_error_types (test.test_ssl.MemoryBIOTests) ... ok >test_pending (test.test_ssl.MemoryBIOTests) ... ok >test_read_write (test.test_ssl.MemoryBIOTests) ... ok >test_alpn_protocols (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 36974) > client: sending b'FOO\n'... > server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256) > server: selected protocol is now None > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: closing connection. > server: new connection from ('127.0.0.1', 39994) > server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256) > server: selected protocol is now None > client: sending b'FOO\n'... > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: closing connection. > server: new connection from ('127.0.0.1', 36764) > client: sending b'FOO\n'... > server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256) > server: selected protocol is now None > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: closing connection. > server: new connection from ('127.0.0.1', 46346) > client: sending b'FOO\n'... > server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256) > server: selected protocol is now None > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: closing connection. >ok >test_asyncore_server (test.test_ssl.ThreadedTests) >Check the example asyncore integration. ... > server: new connection from 127.0.0.1:34484 > client: sending b'FOO\n'... > server: read b'FOO\n' from client > client: read b'foo\n' > client: closing connection. > client: connection closed. > cleanup: stopping server. > cleanup: joining server thread. > server: read b'over\n' from client > server: closed connection <ssl.SSLSocket [closed] fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0> > server: read b'' from client > cleanup: successfully joined. >ok >test_check_hostname (test.test_ssl.ThreadedTests) ... > server: new connection from ('127.0.0.1', 50788) > server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None > server: new connection from ('127.0.0.1', 51560) > server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None >ok >test_compression (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 41286) > client: sending b'FOO\n'... > server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: closing connection. > got compression: None >ok >test_compression_disabled (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 33286) > server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None > client: sending b'FOO\n'... > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: closing connection. >ok >test_crl_check (test.test_ssl.ThreadedTests) ... > server: new connection from ('127.0.0.1', 60138) > server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None > server: new connection from ('127.0.0.1', 37770) > > server: bad connection attempt from ('127.0.0.1', 37770): >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_ssl.py", line 1853, in wrap_conn > self.sock, server_side=True) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ssl.py", line 385, in wrap_socket > _context=self) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ssl.py", line 760, in __init__ > self.do_handshake() > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ssl.py", line 996, in do_handshake > self._sslobj.do_handshake() > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ssl.py", line 641, in do_handshake > self._sslobj.do_handshake() > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 349, in do_handshake > raise pyssl_error(self, ret) > _cffi_ssl._stdssl.error.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] error:14037418:SSL routines:ACCEPT_SR_KEY_EXCH:tlsv1 alert unknown ca > server: new connection from ('127.0.0.1', 36220) > server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None >ok >test_default_ciphers (test.test_ssl.ThreadedTests) ... ok >test_default_ecdh_curve (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 44222) > server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256) > server: selected protocol is now None >ok >test_dh_params (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 35750) > server: connection cipher is now ('DHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None > client: sending b'FOO\n'... > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: closing connection. >ok >test_do_handshake_enotconn (test.test_ssl.ThreadedTests) ... ok >test_echo (test.test_ssl.ThreadedTests) >Basic test of an SSL client connecting to a server ... > server: new connection from ('127.0.0.1', 55278) > server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256) > server: selected protocol is now None > client: sending b'FOO\n'... > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: closing connection. > server: new connection from ('127.0.0.1', 51044) > client: sending b'FOO\n'... > server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: closing connection. > server: new connection from ('127.0.0.1', 56554) > client: sending b'FOO\n'... > server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: closing connection. > server: new connection from ('127.0.0.1', 38326) > client: sending b'FOO\n'... > server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256) > server: selected protocol is now None > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: closing connection. >test_getpeercert (test.test_ssl.ThreadedTests) ... >{'issuer': ((('countryName', 'XY'),), > (('localityName', 'Castle Anthrax'),), > (('organizationName', 'Python Software Foundation'),), > (('commonName', 'localhost'),)), > 'notAfter': 'Oct 5 23:01:56 2020 GMT', > 'notBefore': 'Oct 8 23:01:56 2010 GMT', > 'serialNumber': 'D7C7381919AFC24E', > 'subject': ((('countryName', 'XY'),), > (('localityName', 'Castle Anthrax'),), > (('organizationName', 'Python Software Foundation'),), > (('commonName', 'localhost'),)), > 'subjectAltName': (('DNS', 'localhost'),), > 'version': 3} >Connection cipher is ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256). >ok >test_getpeercert_enotconn (test.test_ssl.ThreadedTests) ... ok >test_handshake_timeout (test.test_ssl.ThreadedTests) ... ok >test_nonblocking_send (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 46856) > server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None >Test server failure: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_ssl.py", line 1950, in run > self.write(msg.lower()) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_ssl.py", line 1895, in write > return self.sslconn.write(bytes) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ssl.py", line 816, in write > return self._sslobj.write(data) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ssl.py", line 594, in write > return self._sslobj.write(data) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 431, in write > raise pyssl_error(self, length) > ConnectionResetError: [Errno 104] Connection reset by peer >ok >test_npn_protocols (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 60718) > server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None > client: sending b'FOO\n'... > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: closing connection. >FAIL >test_protocol_sslv2 (test.test_ssl.ThreadedTests) >Connecting to an SSLv2 server with various client options ... skipped 'OpenSSL is compiled without SSLv2 support' >test_protocol_sslv23 (test.test_ssl.ThreadedTests) >Connecting to an SSLv23 server with various client options ... > {PROTOCOL_SSLv3->PROTOCOL_TLS} CERT_NONE >ERROR >test_protocol_sslv3 (test.test_ssl.ThreadedTests) >Connecting to an SSLv3 server with various client options ... > PROTOCOL_SSLv3->PROTOCOL_SSLv3 CERT_NONE >ERROR >test_protocol_tlsv1 (test.test_ssl.ThreadedTests) >Connecting to a TLSv1 server with various client options ... > PROTOCOL_TLSv1->PROTOCOL_TLSv1 CERT_NONE > PROTOCOL_TLSv1->PROTOCOL_TLSv1 CERT_OPTIONAL > PROTOCOL_TLSv1->PROTOCOL_TLSv1 CERT_REQUIRED > {PROTOCOL_SSLv3->PROTOCOL_TLSv1} CERT_NONE >ERROR >test_protocol_tlsv1_1 (test.test_ssl.ThreadedTests) >Connecting to a TLSv1.1 server with various client options. ... > PROTOCOL_TLSv1_1->PROTOCOL_TLSv1_1 CERT_NONE > {PROTOCOL_SSLv3->PROTOCOL_TLSv1_1} CERT_NONE >ERROR >test_protocol_tlsv1_2 (test.test_ssl.ThreadedTests) >Connecting to a TLSv1.2 server with various client options. ... > PROTOCOL_TLSv1_2->PROTOCOL_TLSv1_2 CERT_NONE > {PROTOCOL_SSLv3->PROTOCOL_TLSv1_2} CERT_NONE >ERROR >test_read_write_after_close_raises_valuerror (test.test_ssl.ThreadedTests) ... ok >test_recv_send (test.test_ssl.ThreadedTests) >Test recv(), send() and friends. ... > server: new connection from ('127.0.0.1', 58764) > server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None >ok >test_recv_zero (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 49836) > server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None >ok >test_rude_shutdown (test.test_ssl.ThreadedTests) >A brutal shutdown of an SSL server should raise an OSError ... ok >test_selected_alpn_protocol (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 33316) > server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None > client: sending b'FOO\n'... > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: closing connection. >ok >test_selected_alpn_protocol_if_server_uses_alpn (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 38816) > server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None > client: sending b'FOO\n'... > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: closing connection. >ok >test_selected_npn_protocol (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 39846) > client: sending b'FOO\n'... > server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: sending b'FOO\n'... > client: read b'foo\n' > client: closing connection. >ok >test_sendfile (test.test_ssl.ThreadedTests) ... ok >test_server_accept (test.test_ssl.ThreadedTests) ... ok >test_shared_ciphers (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 56556) > server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None >ok >test_sni_callback (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 59656) > server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None > server: new connection from ('127.0.0.1', 37718) > server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None > server: new connection from ('127.0.0.1', 43214) > server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None >ok >test_sni_callback_alert (test.test_ssl.ThreadedTests) ... ok >test_sni_callback_raising (test.test_ssl.ThreadedTests) ... ok >test_sni_callback_wrong_return_type (test.test_ssl.ThreadedTests) ... ok >test_socketserver (test.test_ssl.ThreadedTests) >Using socketserver to create and manage SSL connections. ... > server (('127.0.0.1', 40639):40639 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)): > [13/Nov/2017 11:34:56] "GET /keycert.pem HTTP/1.1" 200 - > client: read 1783 bytes from remote server '<HTTPSServerThread <HTTPSServer mr-fox.localdomain:40639>>' >stopping HTTPS server >joining HTTPS thread >ok >test_starttls (test.test_ssl.ThreadedTests) >Switching from clear text to encrypted and back again. ... > client: sending b'msg 1'... > server: new connection from ('127.0.0.1', 43276) > server: read b'msg 1' (unencrypted), sending back b'msg 1' (unencrypted)... > client: read b'msg 1' from server > client: sending b'MSG 2'... > server: read b'MSG 2' (unencrypted), sending back b'msg 2' (unencrypted)... > client: read b'msg 2' from server > client: sending b'STARTTLS'... > server: read STARTTLS from client, sending OK... > client: read b'ok' from server, starting TLS... > client: sending b'MSG 3'... > server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None > server: read b'MSG 3' (encrypted), sending back b'msg 3' (encrypted)... > client: read b'msg 3' from server > client: sending b'msg 4'... > server: read b'msg 4' (encrypted), sending back b'msg 4' (encrypted)... > client: read b'msg 4' from server > client: sending b'ENDTLS'... > server: read ENDTLS from client, sending OK... > client: read b'ok' from server, ending TLS... > server: connection is now unencrypted... > client: sending b'msg 5'... > server: read b'msg 5' (unencrypted), sending back b'msg 5' (unencrypted)... > client: read b'msg 5' from server > client: sending b'msg 6'... > server: read b'msg 6' (unencrypted), sending back b'msg 6' (unencrypted)... > client: read b'msg 6' from server > client: closing connection. > server: client closed connection >ok >test_tls_unique_channel_binding (test.test_ssl.ThreadedTests) >Test tls-unique channel binding. ... > server: new connection from ('127.0.0.1', 35774) > server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None > got channel binding data: b'\xc4\xfc\x97?\xe7z\xc3\x94\x86\xe3:\xb6' > server: new connection from ('127.0.0.1', 35778) > got another channel binding data: b'\x0b\xa3\x1d\xec\xa0J\xcc\xc2Sw\xc0<' > server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) > server: selected protocol is now None >ok >test_version_basic (test.test_ssl.ThreadedTests) ... ok >test_wrong_cert (test.test_ssl.ThreadedTests) >Connecting when the server rejects the client's certificate ... >SSLError is SSLError(1, '[SSL: TLSV1_ALERT_UNKNOWN_CA] error:14020418:SSL routines:CONNECT_CR_SESSION_TICKET:tlsv1 alert unknown ca') >ok > >====================================================================== >ERROR: test_constructor (test.test_ssl.ContextTests) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_ssl.py", line 818, in test_constructor > ssl.SSLContext(protocol) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ssl.py", line 369, in __new__ > self = _SSLContext.__new__(cls, protocol) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 746, in __new__ > raise ValueError("invalid protocol version") >ValueError: invalid protocol version > >====================================================================== >ERROR: test_protocol (test.test_ssl.ContextTests) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_ssl.py", line 827, in test_protocol > ctx = ssl.SSLContext(proto) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ssl.py", line 369, in __new__ > self = _SSLContext.__new__(cls, protocol) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 746, in __new__ > raise ValueError("invalid protocol version") >ValueError: invalid protocol version > >====================================================================== >ERROR: test_session_stats (test.test_ssl.ContextTests) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_ssl.py", line 1068, in test_session_stats > ctx = ssl.SSLContext(proto) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ssl.py", line 369, in __new__ > self = _SSLContext.__new__(cls, protocol) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 746, in __new__ > raise ValueError("invalid protocol version") >ValueError: invalid protocol version > >====================================================================== >ERROR: test_echo (test.test_ssl.ThreadedTests) (protocol='PROTOCOL_SSLv3') >Basic test of an SSL client connecting to a server >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_ssl.py", line 2267, in test_echo > context = ssl.SSLContext(protocol) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ssl.py", line 369, in __new__ > self = _SSLContext.__new__(cls, protocol) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 746, in __new__ > raise ValueError("invalid protocol version") >ValueError: invalid protocol version > >====================================================================== >ERROR: test_protocol_sslv23 (test.test_ssl.ThreadedTests) >Connecting to an SSLv23 server with various client options >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_ssl.py", line 2504, in test_protocol_sslv23 > try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv3, False) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_ssl.py", line 2220, in try_protocol_combo > client_context = ssl.SSLContext(client_protocol) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ssl.py", line 369, in __new__ > self = _SSLContext.__new__(cls, protocol) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 746, in __new__ > raise ValueError("invalid protocol version") >ValueError: invalid protocol version > >====================================================================== >ERROR: test_protocol_sslv3 (test.test_ssl.ThreadedTests) >Connecting to an SSLv3 server with various client options >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_ssl.py", line 2536, in test_protocol_sslv3 > try_protocol_combo(ssl.PROTOCOL_SSLv3, ssl.PROTOCOL_SSLv3, 'SSLv3') > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_ssl.py", line 2220, in try_protocol_combo > client_context = ssl.SSLContext(client_protocol) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ssl.py", line 369, in __new__ > self = _SSLContext.__new__(cls, protocol) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 746, in __new__ > raise ValueError("invalid protocol version") >ValueError: invalid protocol version > >====================================================================== >ERROR: test_protocol_tlsv1 (test.test_ssl.ThreadedTests) >Connecting to a TLSv1 server with various client options >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_ssl.py", line 2560, in test_protocol_tlsv1 > try_protocol_combo(ssl.PROTOCOL_TLSv1, ssl.PROTOCOL_SSLv3, False) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_ssl.py", line 2220, in try_protocol_combo > client_context = ssl.SSLContext(client_protocol) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ssl.py", line 369, in __new__ > self = _SSLContext.__new__(cls, protocol) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 746, in __new__ > raise ValueError("invalid protocol version") >ValueError: invalid protocol version > >====================================================================== >ERROR: test_protocol_tlsv1_1 (test.test_ssl.ThreadedTests) >Connecting to a TLSv1.1 server with various client options. >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_ssl.py", line 2576, in test_protocol_tlsv1_1 > try_protocol_combo(ssl.PROTOCOL_TLSv1_1, ssl.PROTOCOL_SSLv3, False) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_ssl.py", line 2220, in try_protocol_combo > client_context = ssl.SSLContext(client_protocol) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ssl.py", line 369, in __new__ > self = _SSLContext.__new__(cls, protocol) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 746, in __new__ > raise ValueError("invalid protocol version") >ValueError: invalid protocol version > >====================================================================== >ERROR: test_protocol_tlsv1_2 (test.test_ssl.ThreadedTests) >Connecting to a TLSv1.2 server with various client options. >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_ssl.py", line 2599, in test_protocol_tlsv1_2 > try_protocol_combo(ssl.PROTOCOL_TLSv1_2, ssl.PROTOCOL_SSLv3, False) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_ssl.py", line 2220, in try_protocol_combo > client_context = ssl.SSLContext(client_protocol) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/ssl.py", line 369, in __new__ > self = _SSLContext.__new__(cls, protocol) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 746, in __new__ > raise ValueError("invalid protocol version") >ValueError: invalid protocol version > >====================================================================== >FAIL: test_npn_protocols (test.test_ssl.ThreadedTests) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_ssl.py", line 3231, in test_npn_protocols > self.assertEqual(client_result, expected, msg % (client_result, "client")) >AssertionError: None != 'http/1.1' : failed trying ['http/1.1', 'spdy/2'] (s) and ['http/1.1', 'spdy/2'] (c). >was expecting http/1.1, but got None from the client > >---------------------------------------------------------------------- >Ran 102 tests in 1.886s > >FAILED (failures=1, errors=9, skipped=7) >1 test failed: > test_ssl >test test_ssl failed > >_______________________________________ _______________________________________ >== PyPy 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34) [PyPy 5.9.0-beta0 with GCC 5.4.0] >== Linux-4.13.12-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1 little-endian >== hash algorithm: siphash24 64bit >== /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_19826 >Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0) >[1/1] test_subprocess >test_bufsize_equal_one_binary_mode (test.test_subprocess.ProcessTestCase) ... ok >test_bufsize_equal_one_text_mode (test.test_subprocess.ProcessTestCase) ... ok >test_bufsize_is_none (test.test_subprocess.ProcessTestCase) ... ok >test_call_kwargs (test.test_subprocess.ProcessTestCase) ... ok >test_call_seq (test.test_subprocess.ProcessTestCase) ... ok >test_call_timeout (test.test_subprocess.ProcessTestCase) ... ok >test_check_call_nonzero (test.test_subprocess.ProcessTestCase) ... ok >test_check_call_zero (test.test_subprocess.ProcessTestCase) ... ok >test_check_output (test.test_subprocess.ProcessTestCase) ... ok >test_check_output_input_arg (test.test_subprocess.ProcessTestCase) ... ok >test_check_output_nonzero (test.test_subprocess.ProcessTestCase) ... ok >test_check_output_stderr (test.test_subprocess.ProcessTestCase) ... ok >test_check_output_stdin_arg (test.test_subprocess.ProcessTestCase) ... ok >test_check_output_stdin_with_input_arg (test.test_subprocess.ProcessTestCase) ... ok >test_check_output_stdout_arg (test.test_subprocess.ProcessTestCase) ... ok >test_check_output_timeout (test.test_subprocess.ProcessTestCase) ... ok >test_communicate (test.test_subprocess.ProcessTestCase) ... ok >test_communicate_eintr (test.test_subprocess.ProcessTestCase) ... ok >test_communicate_epipe (test.test_subprocess.ProcessTestCase) ... ok >test_communicate_epipe_only_stdin (test.test_subprocess.ProcessTestCase) ... ok >test_communicate_pipe_buf (test.test_subprocess.ProcessTestCase) ... ok >test_communicate_pipe_fd_leak (test.test_subprocess.ProcessTestCase) ... ok >test_communicate_returns (test.test_subprocess.ProcessTestCase) ... ok >test_communicate_stderr (test.test_subprocess.ProcessTestCase) ... ok >test_communicate_stdin (test.test_subprocess.ProcessTestCase) ... ok >test_communicate_stdout (test.test_subprocess.ProcessTestCase) ... ok >test_communicate_timeout (test.test_subprocess.ProcessTestCase) ... ok >test_communicate_timeout_large_output (test.test_subprocess.ProcessTestCase) ... ok >test_cwd (test.test_subprocess.ProcessTestCase) ... ok >test_cwd_with_absolute_arg (test.test_subprocess.ProcessTestCase) ... ok >test_cwd_with_relative_arg (test.test_subprocess.ProcessTestCase) ... ok >test_cwd_with_relative_executable (test.test_subprocess.ProcessTestCase) ... ok >test_double_close_on_error (test.test_subprocess.ProcessTestCase) ... ok >test_empty_env (test.test_subprocess.ProcessTestCase) ... FAIL >test_env (test.test_subprocess.ProcessTestCase) ... ok >test_executable (test.test_subprocess.ProcessTestCase) ... ok >test_executable_replaces_shell (test.test_subprocess.ProcessTestCase) ... ok >test_executable_takes_precedence (test.test_subprocess.ProcessTestCase) ... ok >test_executable_with_cwd (test.test_subprocess.ProcessTestCase) ... ok >test_executable_without_cwd (test.test_subprocess.ProcessTestCase) ... ok >test_failed_child_execute_fd_leak (test.test_subprocess.ProcessTestCase) >Test for the fork() failure fd leak reported in issue16327. ... ok >test_handles_closed_on_exception (test.test_subprocess.ProcessTestCase) ... ok >test_invalid_args (test.test_subprocess.ProcessTestCase) ... ok >test_invalid_bufsize (test.test_subprocess.ProcessTestCase) ... ok >test_io_buffered_by_default (test.test_subprocess.ProcessTestCase) ... ok >test_io_unbuffered_works (test.test_subprocess.ProcessTestCase) ... ok >test_issue8780 (test.test_subprocess.ProcessTestCase) ... ok >test_leaking_fds_on_error (test.test_subprocess.ProcessTestCase) ... ok >test_list2cmdline (test.test_subprocess.ProcessTestCase) ... ok >test_no_leaking (test.test_subprocess.ProcessTestCase) ... ok >test_poll (test.test_subprocess.ProcessTestCase) ... ok >test_stderr_devnull (test.test_subprocess.ProcessTestCase) ... ok >test_stderr_filedes (test.test_subprocess.ProcessTestCase) ... ok >test_stderr_fileobj (test.test_subprocess.ProcessTestCase) ... ok >test_stderr_none (test.test_subprocess.ProcessTestCase) ... ok >test_stderr_pipe (test.test_subprocess.ProcessTestCase) ... ok >test_stderr_redirect_with_no_stdout_redirect (test.test_subprocess.ProcessTestCase) ... ok >test_stdin_devnull (test.test_subprocess.ProcessTestCase) ... ok >test_stdin_filedes (test.test_subprocess.ProcessTestCase) ... ok >test_stdin_fileobj (test.test_subprocess.ProcessTestCase) ... ok >test_stdin_none (test.test_subprocess.ProcessTestCase) ... ok >test_stdin_pipe (test.test_subprocess.ProcessTestCase) ... ok >test_stdout_devnull (test.test_subprocess.ProcessTestCase) ... ok >test_stdout_filedes (test.test_subprocess.ProcessTestCase) ... ok >test_stdout_filedes_of_stdout (test.test_subprocess.ProcessTestCase) ... ok >test_stdout_fileobj (test.test_subprocess.ProcessTestCase) ... ok >test_stdout_none (test.test_subprocess.ProcessTestCase) ... ok >test_stdout_pipe (test.test_subprocess.ProcessTestCase) ... ok >test_stdout_stderr_file (test.test_subprocess.ProcessTestCase) ... ok >test_stdout_stderr_pipe (test.test_subprocess.ProcessTestCase) ... ok >test_threadsafe_wait (test.test_subprocess.ProcessTestCase) >Issue21291: Popen.wait() needs to be threadsafe for returncode. ... ok >test_universal_newlines (test.test_subprocess.ProcessTestCase) ... ok >test_universal_newlines_communicate (test.test_subprocess.ProcessTestCase) ... ok >test_universal_newlines_communicate_encodings (test.test_subprocess.ProcessTestCase) ... ok >test_universal_newlines_communicate_input_none (test.test_subprocess.ProcessTestCase) ... ok >test_universal_newlines_communicate_stdin (test.test_subprocess.ProcessTestCase) ... ok >test_universal_newlines_communicate_stdin_stdout_stderr (test.test_subprocess.ProcessTestCase) ... ok >test_wait (test.test_subprocess.ProcessTestCase) ... ok >test_wait_timeout (test.test_subprocess.ProcessTestCase) ... ok >test_writes_before_communicate (test.test_subprocess.ProcessTestCase) ... ok >test_args_string (test.test_subprocess.POSIXProcessTestCase) ... ok >test_bytes_program (test.test_subprocess.POSIXProcessTestCase) ... ok >test_call_string (test.test_subprocess.POSIXProcessTestCase) ... ok >test_close_fd_0 (test.test_subprocess.POSIXProcessTestCase) ... ok >test_close_fd_1 (test.test_subprocess.POSIXProcessTestCase) ... ok >test_close_fd_2 (test.test_subprocess.POSIXProcessTestCase) ... ok >test_close_fds (test.test_subprocess.POSIXProcessTestCase) ... ok >test_close_fds_0_1 (test.test_subprocess.POSIXProcessTestCase) ... ok >test_close_fds_0_1_2 (test.test_subprocess.POSIXProcessTestCase) ... ok >test_close_fds_0_2 (test.test_subprocess.POSIXProcessTestCase) ... ok >test_close_fds_1_2 (test.test_subprocess.POSIXProcessTestCase) ... ok >test_close_fds_after_preexec (test.test_subprocess.POSIXProcessTestCase) ... ok >test_close_fds_when_max_fd_is_lowered (test.test_subprocess.POSIXProcessTestCase) >Confirm that issue21618 is fixed (may fail under valgrind). ... ok >test_communicate_BrokenPipeError_stdin_close (test.test_subprocess.POSIXProcessTestCase) ... ok >test_communicate_BrokenPipeError_stdin_close_with_timeout (test.test_subprocess.POSIXProcessTestCase) ... ok >test_communicate_BrokenPipeError_stdin_flush (test.test_subprocess.POSIXProcessTestCase) ... ok >test_communicate_BrokenPipeError_stdin_write (test.test_subprocess.POSIXProcessTestCase) ... ok >test_exception_bad_args_0 (test.test_subprocess.POSIXProcessTestCase) >Test error in the child raised in the parent for a bad args[0]. ... ok >test_exception_bad_executable (test.test_subprocess.POSIXProcessTestCase) >Test error in the child raised in the parent for a bad executable. ... ok >test_exception_cwd (test.test_subprocess.POSIXProcessTestCase) >Test error in the child raised in the parent for a bad cwd. ... ok >test_fork_exec (test.test_subprocess.POSIXProcessTestCase) ... skipped 'implementation detail specific to cpython' >test_fork_exec_sorted_fd_sanity_check (test.test_subprocess.POSIXProcessTestCase) ... skipped 'implementation detail specific to cpython' >test_invalid_args (test.test_subprocess.POSIXProcessTestCase) ... ok >test_kill (test.test_subprocess.POSIXProcessTestCase) ... ok >test_kill_dead (test.test_subprocess.POSIXProcessTestCase) ... ok >test_leak_fast_process_del_killed (test.test_subprocess.POSIXProcessTestCase) ... ok >test_pass_fds (test.test_subprocess.POSIXProcessTestCase) ... ok >test_pass_fds_inheritable (test.test_subprocess.POSIXProcessTestCase) ... ok >test_pipe_cloexec (test.test_subprocess.POSIXProcessTestCase) ... ok >test_pipe_cloexec_real_tools (test.test_subprocess.POSIXProcessTestCase) ... ok >test_preexec (test.test_subprocess.POSIXProcessTestCase) ... ok >test_preexec_errpipe_does_not_double_close_pipes (test.test_subprocess.POSIXProcessTestCase) >Issue16140: Don't double close pipes on preexec error. ... ok >test_preexec_exception (test.test_subprocess.POSIXProcessTestCase) ... ok >test_preexec_fork_failure (test.test_subprocess.POSIXProcessTestCase) ... ok >test_preexec_gc_module_failure (test.test_subprocess.POSIXProcessTestCase) ... skipped "PyPy's _posixsubprocess doesn't have to disable gc" >test_remapping_std_fds (test.test_subprocess.POSIXProcessTestCase) ... ok >test_restore_signals (test.test_subprocess.POSIXProcessTestCase) ... ok >test_run_abort (test.test_subprocess.POSIXProcessTestCase) ... ok >test_select_unbuffered (test.test_subprocess.POSIXProcessTestCase) ... ok >test_send_signal (test.test_subprocess.POSIXProcessTestCase) ... ok >test_send_signal_dead (test.test_subprocess.POSIXProcessTestCase) ... ok >test_shell_sequence (test.test_subprocess.POSIXProcessTestCase) ... ok >test_shell_string (test.test_subprocess.POSIXProcessTestCase) ... ok >test_small_errpipe_write_fd (test.test_subprocess.POSIXProcessTestCase) >Issue #15798: Popen should work when stdio fds are available. ... ok >test_specific_shell (test.test_subprocess.POSIXProcessTestCase) ... ok >test_start_new_session (test.test_subprocess.POSIXProcessTestCase) ... ok >test_stderr_stdin_are_single_inout_fd (test.test_subprocess.POSIXProcessTestCase) ... ok >test_stdout_stderr_are_single_inout_fd (test.test_subprocess.POSIXProcessTestCase) ... ok >test_stdout_stdin_are_single_inout_fd (test.test_subprocess.POSIXProcessTestCase) ... ok >test_surrogates_error_message (test.test_subprocess.POSIXProcessTestCase) ... ok >test_swap_fds (test.test_subprocess.POSIXProcessTestCase) ... ok >test_terminate (test.test_subprocess.POSIXProcessTestCase) ... ok >test_terminate_dead (test.test_subprocess.POSIXProcessTestCase) ... ok >test_undecodable_env (test.test_subprocess.POSIXProcessTestCase) ... ok >test_wait_when_sigchild_ignored (test.test_subprocess.POSIXProcessTestCase) ... ok >test_zombie_fast_process_del (test.test_subprocess.POSIXProcessTestCase) ... ok >test_call_string (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' >test_close_fds (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' >test_creationflags (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' >test_invalid_args (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' >test_kill (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' >test_kill_dead (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' >test_send_signal (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' >test_send_signal_dead (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' >test_shell_sequence (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' >test_shell_string (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' >test_startupinfo (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' >test_terminate (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' >test_terminate_dead (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' >test__all__ (test.test_subprocess.MiscTests) >Ensure that __all__ is populated properly. ... ok >test_getoutput (test.test_subprocess.MiscTests) ... ok >test_bufsize_equal_one_binary_mode (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_bufsize_equal_one_text_mode (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_bufsize_is_none (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_call_kwargs (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_call_seq (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_call_timeout (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_check_call_nonzero (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_check_call_zero (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_check_output (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_check_output_input_arg (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_check_output_nonzero (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_check_output_stderr (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_check_output_stdin_arg (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_check_output_stdin_with_input_arg (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_check_output_stdout_arg (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_check_output_timeout (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_communicate (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_communicate_eintr (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_communicate_epipe (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_communicate_epipe_only_stdin (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_communicate_pipe_buf (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_communicate_pipe_fd_leak (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_communicate_returns (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_communicate_stderr (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_communicate_stdin (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_communicate_stdout (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_communicate_timeout (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_communicate_timeout_large_output (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_cwd (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_cwd_with_absolute_arg (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_cwd_with_relative_arg (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_cwd_with_relative_executable (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_double_close_on_error (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_empty_env (test.test_subprocess.ProcessTestCaseNoPoll) ... FAIL >test_env (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_executable (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_executable_replaces_shell (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_executable_takes_precedence (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_executable_with_cwd (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_executable_without_cwd (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_failed_child_execute_fd_leak (test.test_subprocess.ProcessTestCaseNoPoll) >Test for the fork() failure fd leak reported in issue16327. ... ok >test_handles_closed_on_exception (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_invalid_args (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_invalid_bufsize (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_io_buffered_by_default (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_io_unbuffered_works (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_issue8780 (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_leaking_fds_on_error (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_list2cmdline (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_no_leaking (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_poll (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_stderr_devnull (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_stderr_filedes (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_stderr_fileobj (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_stderr_none (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_stderr_pipe (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_stderr_redirect_with_no_stdout_redirect (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_stdin_devnull (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_stdin_filedes (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_stdin_fileobj (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_stdin_none (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_stdin_pipe (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_stdout_devnull (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_stdout_filedes (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_stdout_filedes_of_stdout (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_stdout_fileobj (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_stdout_none (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_stdout_pipe (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_stdout_stderr_file (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_stdout_stderr_pipe (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_threadsafe_wait (test.test_subprocess.ProcessTestCaseNoPoll) >Issue21291: Popen.wait() needs to be threadsafe for returncode. ... ok >test_universal_newlines (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_universal_newlines_communicate (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_universal_newlines_communicate_encodings (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_universal_newlines_communicate_input_none (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_universal_newlines_communicate_stdin (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_universal_newlines_communicate_stdin_stdout_stderr (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_wait (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_wait_timeout (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_writes_before_communicate (test.test_subprocess.ProcessTestCaseNoPoll) ... ok >test_noshell_sequence_with_spaces (test.test_subprocess.CommandsWithSpaces) ... skipped 'Windows-specific tests' >test_noshell_string_with_spaces (test.test_subprocess.CommandsWithSpaces) ... skipped 'Windows-specific tests' >test_shell_sequence_with_spaces (test.test_subprocess.CommandsWithSpaces) ... skipped 'Windows-specific tests' >test_shell_string_with_spaces (test.test_subprocess.CommandsWithSpaces) ... skipped 'Windows-specific tests' >test_broken_pipe_cleanup (test.test_subprocess.ContextManagerTests) >Broken pipe error should not prevent wait() (Issue 21619) ... ok >test_communicate_stdin (test.test_subprocess.ContextManagerTests) ... ok >test_invalid_args (test.test_subprocess.ContextManagerTests) ... ok >test_pipe (test.test_subprocess.ContextManagerTests) ... ok >test_returncode (test.test_subprocess.ContextManagerTests) ... ok >test_capture_stderr (test.test_subprocess.RunFuncTestCase) ... ok >test_capture_stdout (test.test_subprocess.RunFuncTestCase) ... ok >test_check (test.test_subprocess.RunFuncTestCase) ... ok >test_check_output_input_arg (test.test_subprocess.RunFuncTestCase) ... ok >test_check_output_stdin_arg (test.test_subprocess.RunFuncTestCase) ... ok >test_check_output_stdin_with_input_arg (test.test_subprocess.RunFuncTestCase) ... ok >test_check_output_timeout (test.test_subprocess.RunFuncTestCase) ... ok >test_check_zero (test.test_subprocess.RunFuncTestCase) ... ok >test_returncode (test.test_subprocess.RunFuncTestCase) ... ok >test_run_kwargs (test.test_subprocess.RunFuncTestCase) ... ok >test_timeout (test.test_subprocess.RunFuncTestCase) ... ok > >====================================================================== >FAIL: test_empty_env (test.test_subprocess.ProcessTestCase) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_subprocess.py", line 629, in test_empty_env > b"['__CF_USER_TEXT_ENCODING']")) >AssertionError: b"['LD_PRELOAD', 'SANDBOX_LOG', 'SANDBOX_DEBUG_LOG', 'SANDBOX_MESSAGE_P@TH', 'SANDBOX_DENY', 'SANDBOX_READ', 'SANDBOX_WRITE', 'SANDBOX_PREDICT', 'SANDBOX_ON', 'SANDBOX_ACTIVE', 'SANDBOX_VERBOSE']" not found in (b'[]', b"['__CF_USER_TEXT_ENCODING']") > >====================================================================== >FAIL: test_empty_env (test.test_subprocess.ProcessTestCaseNoPoll) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_subprocess.py", line 629, in test_empty_env > b"['__CF_USER_TEXT_ENCODING']")) >AssertionError: b"['LD_PRELOAD', 'SANDBOX_LOG', 'SANDBOX_DEBUG_LOG', 'SANDBOX_MESSAGE_P@TH', 'SANDBOX_DENY', 'SANDBOX_READ', 'SANDBOX_WRITE', 'SANDBOX_PREDICT', 'SANDBOX_ON', 'SANDBOX_ACTIVE', 'SANDBOX_VERBOSE']" not found in (b'[]', b"['__CF_USER_TEXT_ENCODING']") > >---------------------------------------------------------------------- >Ran 251 tests in 58.702s > >FAILED (failures=2, skipped=20) >1 test failed: > test_subprocess >test test_subprocess failed > >_______________________________________ _______________________________________ >== PyPy 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34) [PyPy 5.9.0-beta0 with GCC 5.4.0] >== Linux-4.13.12-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1 little-endian >== hash algorithm: siphash24 64bit >== /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_5324 >Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0) >[1/1] test_tracemalloc >1 test failed: > test_tracemalloc >test test_tracemalloc crashed -- Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/regrtest.py", line 1292, in runtest_inner > the_module = importlib.import_module(abstest) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/importlib/__init__.py", line 126, in import_module > return _bootstrap._gcd_import(name[level:], package, level) > File "<frozen importlib._bootstrap>", line 987, in _gcd_import > File "<frozen importlib._bootstrap>", line 970, in _find_and_load > File "<frozen importlib._bootstrap>", line 959, in _find_and_load_unlocked > File "<frozen importlib._bootstrap>", line 674, in _load_unlocked > File "<builtin>/frozen importlib._bootstrap_external", line 686, in exec_module > File "<frozen importlib._bootstrap>", line 223, in _call_with_frames_removed > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_tracemalloc.py", line 4, in <module> > import tracemalloc > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/tracemalloc.py", line 9, in <module> > from _tracemalloc import * >ImportError: No module named '_tracemalloc' > > >_______________________________________ _______________________________________ >== PyPy 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34) [PyPy 5.9.0-beta0 with GCC 5.4.0] >== Linux-4.13.12-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1 little-endian >== hash algorithm: siphash24 64bit >== /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_24642 >Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0) >[1/1] test_unicode >test_asucs4 (test.test_unicode.CAPITest) ... skipped 'implementation detail specific to cpython' >test_aswidechar (test.test_unicode.CAPITest) ... skipped 'implementation detail specific to cpython' >test_aswidecharstring (test.test_unicode.CAPITest) ... skipped 'implementation detail specific to cpython' >test_copycharacters (test.test_unicode.CAPITest) ... skipped 'implementation detail specific to cpython' >test_encode_decimal (test.test_unicode.CAPITest) ... skipped 'implementation detail specific to cpython' >test_from_format (test.test_unicode.CAPITest) ... ERROR >test_pep393_utf8_caching_bug (test.test_unicode.CAPITest) ... skipped 'implementation detail specific to cpython' >test_transform_decimal (test.test_unicode.CAPITest) ... skipped 'implementation detail specific to cpython' >test_formatter_field_name_split (test.test_unicode.StringModuleTest) ... ok >test_formatter_parser (test.test_unicode.StringModuleTest) ... ok >test___contains__ (test.test_unicode.UnicodeTest) ... ok >test_additional_rsplit (test.test_unicode.UnicodeTest) ... ok >test_additional_split (test.test_unicode.UnicodeTest) ... ok >test_ascii (test.test_unicode.UnicodeTest) ... ok >test_bug1001011 (test.test_unicode.UnicodeTest) ... ok >test_bytes_comparison (test.test_unicode.UnicodeTest) ... ok >test_capitalize (test.test_unicode.UnicodeTest) ... ok >test_capitalize_nonascii (test.test_unicode.UnicodeTest) ... ok >test_case_operation_overflow (test.test_unicode.UnicodeTest) ... skipped 'requires 32-bit system' >test_casefold (test.test_unicode.UnicodeTest) ... ok >test_center (test.test_unicode.UnicodeTest) ... ok >test_codecs (test.test_unicode.UnicodeTest) ... ok >test_codecs_charmap (test.test_unicode.UnicodeTest) ... ok >test_codecs_errors (test.test_unicode.UnicodeTest) ... ok >test_codecs_idna (test.test_unicode.UnicodeTest) ... ok >test_codecs_utf7 (test.test_unicode.UnicodeTest) ... ok >test_codecs_utf8 (test.test_unicode.UnicodeTest) ... ok >test_compare (test.test_unicode.UnicodeTest) ... ok >test_comparison (test.test_unicode.UnicodeTest) ... ok >test_concatenation (test.test_unicode.UnicodeTest) ... ok >test_constructor (test.test_unicode.UnicodeTest) ... ok >test_constructor_defaults (test.test_unicode.UnicodeTest) >Check the constructor argument defaults. ... ok >test_constructor_keyword_args (test.test_unicode.UnicodeTest) >Pass various keyword argument combinations to the constructor. ... ok >test_contains (test.test_unicode.UnicodeTest) ... ok >test_conversion (test.test_unicode.UnicodeTest) ... ok >test_count (test.test_unicode.UnicodeTest) ... ok >test_endswith (test.test_unicode.UnicodeTest) ... ok >test_expandtabs (test.test_unicode.UnicodeTest) ... ok >test_expandtabs_optimization (test.test_unicode.UnicodeTest) ... skipped 'implementation detail specific to cpython' >test_expandtabs_overflows_gracefully (test.test_unicode.UnicodeTest) ... skipped 'only applies to 32-bit platforms' >test_extended_getslice (test.test_unicode.UnicodeTest) ... ok >test_find (test.test_unicode.UnicodeTest) ... ok >test_find_etc_raise_correct_error_messages (test.test_unicode.UnicodeTest) ... ok >test_fixtype (test.test_unicode.UnicodeTest) ... ok >test_floatformatting (test.test_unicode.UnicodeTest) ... ok >test_format (test.test_unicode.UnicodeTest) ... ok >test_format_auto_numbering (test.test_unicode.UnicodeTest) ... ok >test_format_float (test.test_unicode.UnicodeTest) ... ok >test_format_huge_item_number (test.test_unicode.UnicodeTest) ... ok >test_format_huge_precision (test.test_unicode.UnicodeTest) ... ok >test_format_huge_width (test.test_unicode.UnicodeTest) ... ok >test_format_map (test.test_unicode.UnicodeTest) ... ok >test_format_subclass (test.test_unicode.UnicodeTest) ... ok >test_formatting (test.test_unicode.UnicodeTest) ... ok >test_formatting_c_limits (test.test_unicode.UnicodeTest) ... skipped 'implementation detail specific to cpython' >test_formatting_huge_precision (test.test_unicode.UnicodeTest) ... ok >test_formatting_huge_precision_c_limits (test.test_unicode.UnicodeTest) ... skipped 'implementation detail specific to cpython' >test_formatting_huge_width (test.test_unicode.UnicodeTest) ... ok >test_formatting_with_enum (test.test_unicode.UnicodeTest) ... ok >test_free_after_iterating (test.test_unicode.UnicodeTest) ... ok >test_getnewargs (test.test_unicode.UnicodeTest) ... ok >test_hash (test.test_unicode.UnicodeTest) ... ok >test_index (test.test_unicode.UnicodeTest) ... ok >test_inplace_rewrites (test.test_unicode.UnicodeTest) ... ok >test_invalid_cb_for_2bytes_seq (test.test_unicode.UnicodeTest) ... ok >test_invalid_cb_for_3bytes_seq (test.test_unicode.UnicodeTest) ... ok >test_invalid_cb_for_4bytes_seq (test.test_unicode.UnicodeTest) ... ok >test_invalid_start_byte (test.test_unicode.UnicodeTest) ... ok >test_isalnum (test.test_unicode.UnicodeTest) ... ok >test_isalpha (test.test_unicode.UnicodeTest) ... ok >test_isdecimal (test.test_unicode.UnicodeTest) ... ok >test_isdigit (test.test_unicode.UnicodeTest) ... ok >test_isidentifier (test.test_unicode.UnicodeTest) ... ok >test_islower (test.test_unicode.UnicodeTest) ... ok >test_isnumeric (test.test_unicode.UnicodeTest) ... ok >test_isprintable (test.test_unicode.UnicodeTest) ... ok >test_isspace (test.test_unicode.UnicodeTest) ... ok >test_issue18183 (test.test_unicode.UnicodeTest) ... ok >test_issue8271 (test.test_unicode.UnicodeTest) ... ok >test_istitle (test.test_unicode.UnicodeTest) ... ok >test_isupper (test.test_unicode.UnicodeTest) ... ok >test_iterators (test.test_unicode.UnicodeTest) ... ok >test_join (test.test_unicode.UnicodeTest) ... ok >test_literals (test.test_unicode.UnicodeTest) ... ok >test_ljust (test.test_unicode.UnicodeTest) ... ok >test_lower (test.test_unicode.UnicodeTest) ... ok >test_maketrans_translate (test.test_unicode.UnicodeTest) ... ok >test_mul (test.test_unicode.UnicodeTest) ... ok >test_none_arguments (test.test_unicode.UnicodeTest) ... ok >test_partition (test.test_unicode.UnicodeTest) ... ok >test_printable_repr (test.test_unicode.UnicodeTest) ... ok >test_printing (test.test_unicode.UnicodeTest) ... ok >test_raiseMemError (test.test_unicode.UnicodeTest) ... ok >test_replace (test.test_unicode.UnicodeTest) ... ok >test_replace_id (test.test_unicode.UnicodeTest) ... skipped 'implementation detail specific to cpython' >test_replace_overflow (test.test_unicode.UnicodeTest) ... skipped 'only applies to 32-bit platforms' >test_repr (test.test_unicode.UnicodeTest) ... ok >test_resize (test.test_unicode.UnicodeTest) ... ok >test_rfind (test.test_unicode.UnicodeTest) ... ok >test_rindex (test.test_unicode.UnicodeTest) ... ok >test_rjust (test.test_unicode.UnicodeTest) ... ok >test_rpartition (test.test_unicode.UnicodeTest) ... ok >test_rsplit (test.test_unicode.UnicodeTest) ... ok >test_slice (test.test_unicode.UnicodeTest) ... ok >test_split (test.test_unicode.UnicodeTest) ... ok >test_splitlines (test.test_unicode.UnicodeTest) ... ok >test_startswith (test.test_unicode.UnicodeTest) ... ok >test_startswith_endswith_errors (test.test_unicode.UnicodeTest) ... ok >test_strip (test.test_unicode.UnicodeTest) ... ok >test_strip_whitespace (test.test_unicode.UnicodeTest) ... ok >test_subclass_add (test.test_unicode.UnicodeTest) ... ok >test_subscript (test.test_unicode.UnicodeTest) ... ok >test_surrogates (test.test_unicode.UnicodeTest) ... ok >test_swapcase (test.test_unicode.UnicodeTest) ... ok >test_title (test.test_unicode.UnicodeTest) ... ok >test_ucs4 (test.test_unicode.UnicodeTest) ... ok >test_unexpected_end_of_data (test.test_unicode.UnicodeTest) ... ok >test_unicode_repr (test.test_unicode.UnicodeTest) ... ok >test_upper (test.test_unicode.UnicodeTest) ... ok >test_utf8_decode_invalid_sequences (test.test_unicode.UnicodeTest) ... ok >test_utf8_decode_valid_sequences (test.test_unicode.UnicodeTest) ... ok >test_zfill (test.test_unicode.UnicodeTest) ... ok > >====================================================================== >ERROR: test_from_format (test.test_unicode.CAPITest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_unicode.py", line 2399, in test_from_format > from ctypes import ( >ImportError: cannot import name 'pythonapi' > >---------------------------------------------------------------------- >Ran 122 tests in 1.596s > >FAILED (errors=1, skipped=14) >1 test failed: > test_unicode >test test_unicode failed > >_______________________________________ _______________________________________ >== PyPy 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34) [PyPy 5.9.0-beta0 with GCC 5.4.0] >== Linux-4.13.12-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1 little-endian >== hash algorithm: siphash24 64bit >== /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_23886 >Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0) >[1/1] test_asyncio >test__add_callback_cancelled_handle (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test__add_callback_handle (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test__run_once (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test__run_once_cancelled_event_cleanup (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test__run_once_logging (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test__run_once_schedule_handle (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_call_later (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_call_later_negative_delays (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_call_soon (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_call_soon_non_callable (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_check_thread (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_close (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_create_task (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_default_exc_handler_broken (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_default_exc_handler_callback (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_default_exc_handler_coro (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_env_var_debug (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_getnameinfo (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_not_implemented (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_run_forever_keyboard_interrupt (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_run_forever_pre_stopped (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_run_once (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_run_once_in_executor_plain (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_run_until_complete_baseexception (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_run_until_complete_loop (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_run_until_complete_type_error (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_set_debug (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_set_default_executor (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_set_exc_handler_broken (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_set_exc_handler_custom (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_set_exc_handler_invalid (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_set_task_factory (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_set_task_factory_invalid (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_single_selecter_event_callback_after_stopping (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_subprocess_exec_invalid_args (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_subprocess_shell_invalid_args (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_time_and_call_at (test.test_asyncio.test_base_events.BaseEventLoopTests) ... ok >test_accept_connection_exception (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_accept_connection_retry (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_call_coroutine (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_connection_bluetooth (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_connection_connect_err (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_connection_host_port_sock (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_connection_ip_addr (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_connection_multiple (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_connection_multiple_errors (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_connection_multiple_errors_local_addr (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_connection_no_getaddrinfo (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_connection_no_host_port_sock (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_connection_no_inet_pton (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_connection_no_local_addr (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_connection_no_ssl_server_hostname_errors (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_connection_service_name (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_connection_ssl_server_hostname_default (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_connection_ssl_server_hostname_errors (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_connection_timeout (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_connection_wrong_sock (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_datagram_endpoint_addr_error (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_datagram_endpoint_cant_bind (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_datagram_endpoint_connect_err (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_datagram_endpoint_ip_addr (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_datagram_endpoint_no_addrinfo (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_datagram_endpoint_no_matching_family (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_datagram_endpoint_noaddr_nofamily (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_datagram_endpoint_nosoreuseport (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_datagram_endpoint_setblk_err (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_datagram_endpoint_sock (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_datagram_endpoint_sock_sockopts (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_datagram_endpoint_socket_err (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_datagram_endpoint_sockopts (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_datagram_endpoint_wrong_sock (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_server_cant_bind (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_server_empty_host (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_server_host_port_sock (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_server_no_getaddrinfo (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_server_no_host_port_sock (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_server_nosoreuseport (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_server_soreuseport_only_defined (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_create_server_stream_bittype (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... skipped 'no socket.SOCK_NONBLOCK (linux only)' >test_create_server_wrong_sock (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_log_slow_callbacks (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests) ... ok >test_ipaddr_info (test.test_asyncio.test_base_events.BaseEventTests) ... ok >test_ipaddr_info_no_inet_pton (test.test_asyncio.test_base_events.BaseEventTests) ... ok >test_port_parameter_types (test.test_asyncio.test_base_events.BaseEventTests) ... ok >test_running_loop_within_a_loop (test.test_asyncio.test_base_events.RunningLoopTests) ... ok >test_not_implemented (test.test_asyncio.test_events.AbstractEventLoopTests) ... ok >test_add_fds_after_closing (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_add_signal_handler (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_bidirectional_pty (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_call_later (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_call_soon (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_call_soon_threadsafe (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_call_soon_threadsafe_same_thread (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_close (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_close_running_event_loop (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_connect_accepted_socket (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_connection (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_connection_local_addr (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_connection_local_addr_in_use (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_connection_sock (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_datagram_endpoint (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_datagram_endpoint_sock (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_server (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_server_addr_in_use (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_server_dual_stack (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_server_multiple_hosts_ipv4 (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_server_multiple_hosts_ipv6 (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_server_reuse_port (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_server_sock (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_server_ssl (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_server_ssl_match_failed (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_server_ssl_verified (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_server_ssl_verify_failed (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_ssl_connection (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_ssl_unix_connection (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_unix_connection (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_unix_server (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_unix_server_path_socket_error (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_unix_server_ssl (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_unix_server_ssl_verified (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_create_unix_server_ssl_verify_failed (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_internal_fds (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_legacy_create_server_ssl (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_legacy_create_server_ssl_match_failed (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_legacy_create_server_ssl_verified (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_legacy_create_server_ssl_verify_failed (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_legacy_create_ssl_connection (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_legacy_create_ssl_unix_connection (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_legacy_create_unix_server_ssl (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_legacy_create_unix_server_ssl_verified (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_legacy_create_unix_server_ssl_verify_failed (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_prompt_cancellation (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_read_pipe (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_read_pty_output (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_reader_callback (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_remove_fds_after_closing (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_run_in_executor (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_run_until_complete (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_run_until_complete_nesting (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_run_until_complete_stopped (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_server_close (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_signal_handling_args (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_signal_handling_while_selecting (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_sock_accept (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_sock_client_fail (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_sock_client_ops (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_ssl_connect_accepted_socket (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_subprocess_close_after_finish (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_subprocess_close_client_stream (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_subprocess_exec (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_subprocess_exec_invalid_args (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_subprocess_exitcode (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_subprocess_interactive (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_subprocess_kill (test.test_asyncio.test_events.EPollEventLoopTests) ... ok >test_subprocess_send_signal (test.test_asyncio.test_events.EPollEventLoopTests) ... ==== test running for 1000 seconds ==== >==========================timedout========================== > >_______________________________________ _______________________________________ >== PyPy 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34) [PyPy 5.9.0-beta0 with GCC 5.4.0] >== Linux-4.13.12-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1 little-endian >== hash algorithm: siphash24 64bit >== /var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/test_python_28920 >Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=1, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=0, isolated=0) >[1/1] test_import >test_direct (test.test_import.CircularImportTests) ... ok >test_indirect (test.test_import.CircularImportTests) ... ok >test_rebinding (test.test_import.CircularImportTests) ... ok >test_subpackage (test.test_import.CircularImportTests) ... ok >test_cached_mode_issue_2051 (test.test_import.FilePermissionTests) ... skipped 'test meaningful only when writing bytecode' >test_cached_readonly (test.test_import.FilePermissionTests) ... skipped 'test meaningful only when writing bytecode' >test_creation_mode (test.test_import.FilePermissionTests) ... skipped 'test meaningful only when writing bytecode' >test_pyc_always_writable (test.test_import.FilePermissionTests) ... skipped 'test meaningful only when writing bytecode' >test_get_sourcefile (test.test_import.GetSourcefileTests) ... skipped 'implementation detail specific to cpython' >test_get_sourcefile_bad_ext (test.test_import.GetSourcefileTests) ... skipped 'implementation detail specific to cpython' >test_get_sourcefile_no_source (test.test_import.GetSourcefileTests) ... skipped 'implementation detail specific to cpython' >test_bogus_fromlist (test.test_import.ImportTests) ... ok >test_case_sensitivity (test.test_import.ImportTests) ... ok >test_delete_builtins_import (test.test_import.ImportTests) ... skipped 'implementation detail specific to cpython' >test_double_const (test.test_import.ImportTests) ... ok >test_failing_import_sticks (test.test_import.ImportTests) ... ok >test_failing_reload (test.test_import.ImportTests) ... ok >test_file_to_source (test.test_import.ImportTests) ... skipped 'test meaningful only when writing bytecode' >test_from_import_AttributeError (test.test_import.ImportTests) ... ok >test_from_import_message_for_existing_module (test.test_import.ImportTests) ... ok >test_from_import_message_for_nonexistent_module (test.test_import.ImportTests) ... ok >test_import (test.test_import.ImportTests) ... ok >test_import_by_filename (test.test_import.ImportTests) ... ok >test_import_in_del_does_not_crash (test.test_import.ImportTests) ... ok >test_import_name_binding (test.test_import.ImportTests) ... ok >test_module_with_large_stack (test.test_import.ImportTests) ... ok >test_timestamp_overflow (test.test_import.ImportTests) ... skipped 'test meaningful only when writing bytecode' >test_broken_from (test.test_import.ImportTracebackTests) ... ok >test_broken_parent (test.test_import.ImportTracebackTests) ... ok >test_broken_parent_from (test.test_import.ImportTracebackTests) ... ok >test_broken_submodule (test.test_import.ImportTracebackTests) ... ok >test_exec_failure (test.test_import.ImportTracebackTests) ... ok >test_exec_failure_nested (test.test_import.ImportTracebackTests) ... ok >test_import_bug (test.test_import.ImportTracebackTests) ... skipped 'implementation detail specific to cpython' >test_nonexistent_module (test.test_import.ImportTracebackTests) ... ok >test_nonexistent_module_nested (test.test_import.ImportTracebackTests) ... ok >test_syntax_error (test.test_import.ImportTracebackTests) ... ok >test_unencodable_filename (test.test_import.ImportTracebackTests) ... FAIL >test_frozen_importlib (test.test_import.ImportlibBootstrapTests) ... skipped 'implementation detail specific to cpython' >test_frozen_importlib_external_is_bootstrap_external (test.test_import.ImportlibBootstrapTests) ... skipped 'implementation detail specific to cpython' >test_frozen_importlib_is_bootstrap (test.test_import.ImportlibBootstrapTests) ... skipped 'implementation detail specific to cpython' >test_there_can_be_only_one (test.test_import.ImportlibBootstrapTests) ... skipped 'implementation detail specific to cpython' >test_override_builtin (test.test_import.OverridingImportBuiltinTests) ... ok >test_UNC_path (test.test_import.PathsTests) ... skipped 'Windows-specific' >test_trailing_slash (test.test_import.PathsTests) ... ok >test_basics (test.test_import.PycRewritingTests) ... ok >test_foreign_code (test.test_import.PycRewritingTests) ... ok >test_incorrect_code_name (test.test_import.PycRewritingTests) ... ok >test_module_without_source (test.test_import.PycRewritingTests) ... ok >test___cached__ (test.test_import.PycacheTests) ... ok >test___cached___legacy_pyc (test.test_import.PycacheTests) ... skipped 'test meaningful only when writing bytecode' >test_import_pyc_path (test.test_import.PycacheTests) ... skipped 'test meaningful only when writing bytecode' >test_missing_source (test.test_import.PycacheTests) ... skipped 'test meaningful only when writing bytecode' >test_missing_source_legacy (test.test_import.PycacheTests) ... skipped 'test meaningful only when writing bytecode' >test_package___cached__ (test.test_import.PycacheTests) ... skipped 'test meaningful only when writing bytecode' >test_package___cached___from_pyc (test.test_import.PycacheTests) ... ok >test_recompute_pyc_same_second (test.test_import.PycacheTests) ... ok >test_unwritable_directory (test.test_import.PycacheTests) ... skipped 'test meaningful only when writing bytecode' >test_absolute_import_without_future (test.test_import.RelativeImportTests) ... ok >test_issue3221 (test.test_import.RelativeImportTests) ... ok >test_relimport_star (test.test_import.RelativeImportTests) ... ok >test_symlinked_dir_importable (test.test_import.TestSymbolicallyLinkedPackage) ... ok > >====================================================================== >FAIL: test_unencodable_filename (test.test_import.ImportTracebackTests) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/test_import/__init__.py", line 1087, in test_unencodable_filename > __isolated=False) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/script_helper.py", line 139, in assert_python_ok > return _assert_python(True, *args, **env_vars) > File "/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/lib-python/3/test/support/script_helper.py", line 125, in _assert_python > err)) >AssertionError: Process return code is 1 >command line: ['/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src/pypy3-c', '-X', 'faulthandler', '-E', '-c', "mod = __import__('@test_28920_tmp-\\udcff')"] > >stdout: >--- > >--- > >stderr: >--- >Traceback (most recent call last): > File "<string>", line 1, in <module> >UnicodeEncodeError: 'utf-8' codec can't encode character '\udcff' in position 16: surrogates not allowed >--- > >---------------------------------------------------------------------- >Ran 62 tests in 1.178s > >FAILED (failures=1, skipped=22) >1 test failed: > test_import >test test_import failed > >============= 22 failed, 368 passed, 9 skipped in 2713.56 seconds ============== > * ERROR: dev-python/pypy3-bin-5.9.0-r1::gentoo failed (test phase): > * (no error message) > * > * Call stack: > * ebuild.sh, line 124: Called src_test > * environment, line 3390: Called die > * The specific snippet of code: > * "${PYTHON}" ./pypy/test_all.py --pypy=./pypy3-c lib-python || die > * > * If you need support, post the output of `emerge --info '=dev-python/pypy3-bin-5.9.0-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/pypy3-bin-5.9.0-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-python:pypy3-bin-5.9.0-r1:20171113-101147.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src' > * S: '/var/tmp/portage/dev-python/pypy3-bin-5.9.0-r1/work/pypy3-v5.9.0-src'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 637382
:
504080
| 504082 |
504084
|
504086
|
504088
|
504090
|
504092