running build running build_ext INFO: Can't locate Tcl/Tk libs and/or headers Python build finished, but the necessary bits to build these modules were not found: _bz2 _curses _curses_panel _dbm _gdbm _lzma _multiprocessing _sqlite3 _ssl _tkinter readline zlib To find the necessary bits, look in setup.py in detect_modules() for the module's name. running build_scripts copying and adjusting /root/P-without-block/Tools/scripts/pydoc3 -> build/scripts-3.3 copying and adjusting /root/P-without-block/Tools/scripts/idle3 -> build/scripts-3.3 copying and adjusting /root/P-without-block/Tools/scripts/2to3 -> build/scripts-3.3 copying and adjusting /root/P-without-block/Tools/scripts/pyvenv -> build/scripts-3.3 changing mode of build/scripts-3.3/pydoc3 from 644 to 755 changing mode of build/scripts-3.3/idle3 from 644 to 755 changing mode of build/scripts-3.3/2to3 from 644 to 755 changing mode of build/scripts-3.3/pyvenv from 644 to 755 renaming build/scripts-3.3/pydoc3 to build/scripts-3.3/pydoc3.3 renaming build/scripts-3.3/idle3 to build/scripts-3.3/idle3.3 renaming build/scripts-3.3/2to3 to build/scripts-3.3/2to3-3.3 renaming build/scripts-3.3/pyvenv to build/scripts-3.3/pyvenv-3.3 ./python ./Tools/scripts/run_tests.py == CPython 3.3.1 (default, May 10 2013, 02:52:57) [GCC 4.6.3] == Linux-3.2.0-4-atari-m68k-with-debian-7.0 big-endian == /root/P-without-block/build/test_python_2618 Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=1, verbose=0, bytes_warning=2, quiet=0, hash_randomization=1) Using random seed 4548892 [ 1/371] test_compile [ 2/371] test_structmembers [ 3/371] test_time [ 4/371] test_marshal [ 5/371] test_grammar [ 6/371] test_wsgiref [ 7/371] test_module [ 8/371] test_textwrap [ 9/371] test_genericpath [ 10/371] test_bufio [ 11/371] test_ucn fetching http://www.unicode.org/Public/6.1.0/ucd/NamedSequences.txt ... [ 12/371] test_future3 [ 13/371] test_largefile [ 14/371] test_tarfile [ 15/371] test_descrtut [ 16/371] test_future5 [ 17/371] test_print [ 18/371] test_urllib2 [ 19/371] test_winreg test_winreg skipped -- No module named '_thread' [ 20/371] test_fileio [ 21/371] test_sys_settrace [ 22/371] test_heapq [ 23/371] test_zlib test_zlib skipped -- No module named 'zlib' [ 24/371] test_random [ 25/371] test_pstats [ 26/371] test_codecencodings_kr [ 27/371] test_pkgutil [ 28/371] test_future [ 29/371] test_sqlite test_sqlite skipped -- No module named '_sqlite3' [ 30/371] test_with [ 31/371] test_long [ 32/371] test_sys_setprofile [ 33/371] test_pydoc [ 34/371] test_funcattrs [ 35/371] test_collections [ 36/371] test_grp [ 37/371] test_imp [ 38/371] test_dynamic [ 39/371] test_pyexpat [ 40/371] test_colorsys [ 41/371] test_sundry [ 42/371] test_optparse test test_optparse failed -- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_optparse.py", line 619, in test_float_default self.assertHelp(self.parser, expected_help) File "/root/P-without-block/Lib/test/test_optparse.py", line 189, in assertHelp actual_help + '"\n') AssertionError: help text failure; expected: "Usage: test [options] Options: -h, --help show this help message and exit -p PROB, --prob=PROB blow up with probability PROB [default: 0.43] "; got: "Usage: test [options] Options: -h, --help show this help message and exit -p PROB, --prob=PROB blow up with probability PROB [default: 0.42999999999999999] " [ 43/371/1] test_decimal [ 44/371/1] test___all__ [ 45/371/1] test_userlist [ 46/371/1] test_bisect [ 47/371/1] test_cprofile [ 48/371/1] test_inspect [ 49/371/1] test_codecs [ 50/371/1] test_code_module [ 51/371/1] test_httpservers test_httpservers skipped -- No module named '_thread' [ 52/371/1] test_int [ 53/371/1] test_richcmp [ 54/371/1] test_importlib [ 55/371/1] test_strptime [ 56/371/1] test_smtplib [ 57/371/1] test_devpoll test_devpoll skipped -- select.devpoll not defined -- skipping test_devpoll [ 58/371/1] test_hashlib [ 59/371/1] test_argparse [ 60/371/1] test_fork1 test_fork1 skipped -- No module named '_thread' [ 61/371/1] test_dbm [ 62/371/1] test_generators [ 63/371/1] test_urllib2net [ 64/371/1] test_string [ 65/371/1] test_macpath [ 66/371/1] test_isinstance [ 67/371/1] test_operator [ 68/371/1] test_scope [ 69/371/1] test_errno [ 70/371/1] test__osx_support [ 71/371/1] test_strlit [ 72/371/1] test_complex [ 73/371/1] test_capi [ 74/371/1] test_file [ 75/371/1] test_sunau [ 76/371/1] test_int_literal [ 77/371/1] test_descr [ 78/371/1] test_pwd [ 79/371/1] test_crypt [ 80/371/1] test_call [ 81/371/1] test_pipes [ 82/371/1] test_ossaudiodev test_ossaudiodev skipped -- Use of the 'audio' resource not enabled [ 83/371/1] test_distutils [ 84/371/1] test_osx_env [ 85/371/1] test_gzip test_gzip skipped -- No module named 'zlib' [ 86/371/1] test_buffer [ 87/371/1] test_shutil /root/P-without-block/Lib/test/test_hashlib.py:50: UserWarning: Did a C extension fail to compile? No module named '_hashlib' warnings.warn('Did a C extension fail to compile? %s' % error) /root/P-without-block/Lib/socket.py:370: ResourceWarning: unclosed self._sock = None test test_shutil failed -- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_shutil.py", line 1334, in test_non_matching_mode self.assertIsNone(rv) AssertionError: '/tmp/Tmp6asp4j/Tmpxedk0n.Exe' is not None [ 88/371/2] test_future4 [ 89/371/2] test_trace [ 90/371/2] test_dummy_thread [ 91/371/2] test_profile [ 92/371/2] test_pyclbr [ 93/371/2] test_index [ 94/371/2] test_nntplib test test_nntplib failed -- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_nntplib.py", line 296, in setUpClass cls.server = cls.NNTP_CLASS(cls.NNTP_HOST, timeout=TIMEOUT, usenetrc=False) File "/root/P-without-block/Lib/nntplib.py", line 1036, in __init__ self.sock = socket.create_connection((host, port), timeout) File "/root/P-without-block/Lib/socket.py", line 435, in create_connection raise err File "/root/P-without-block/Lib/socket.py", line 421, in create_connection sock = socket(af, socktype, proto) File "/root/P-without-block/Lib/socket.py", line 94, in __init__ _socket.socket.__init__(self, family, type, proto, fileno) OSError: [Errno 97] Address family not supported by protocol [ 95/371/3] test_codecencodings_jp [ 96/371/3] test_raise [ 97/371/3] test_binop [ 98/371/3] test_unicode_file [ 99/371/3] test_ioctl [100/371/3] test_range [101/371/3] test_coding [102/371/3] test_structseq [103/371/3] test_dictviews [104/371/3] test_smtpd [105/371/3] test_set [106/371/3] test_peepholer [107/371/3] test_abstract_numbers [108/371/3] test_iter [109/371/3] test_urllibnet [110/371/3] test_http_cookies [111/371/3] test_bz2 test_bz2 skipped -- No module named '_bz2' [112/371/3] test_stat [113/371/3] test_global [114/371/3] test_pep3151 [115/371/3] test_file_eintr [116/371/3] test_poll [117/371/3] test_asyncore [118/371/3] test_multiprocessing test_multiprocessing skipped -- No module named '_multiprocessing' [119/371/3] test_cmd_line [120/371/3] test_difflib /root/P-without-block/Lib/test/test_urllibnet.py:94: DeprecationWarning: FancyURLopener style of invoking requests is deprecated. Use newer urlopen functions/methods open_url = urllib.request.FancyURLopener().open(URL) test test_difflib failed -- Traceback (most recent call last): File "/root/P-without-block/Lib/doctest.py", line 2154, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for difflib.SequenceMatcher File "/root/P-without-block/Lib/difflib.py", line 47, in SequenceMatcher ---------------------------------------------------------------------- File "/root/P-without-block/Lib/difflib.py", line 83, in difflib.SequenceMatcher Failed example: print(round(s.ratio(), 3)) Expected: 0.866 Got: 0.86599999999999999 [121/371/4] test_platform [122/371/4] test_select [123/371/4] test_augassign [124/371/4] test_plistlib [125/371/4] test_codecencodings_tw [126/371/4] test_pkg [127/371/4] test_property [128/371/4] test_urlparse [129/371/4] test_wait4 test_wait4 skipped -- No module named '_thread' [130/371/4] test_codecmaps_cn fetching http://source.icu-project.org/repos/icu/data/trunk/charset/data/xml/gb-18030-2000.xml ... fetching http://people.freebsd.org/~perky/i18n/EUC-CN.TXT ... fetching http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP936.TXT ... [131/371/4] test_getopt [132/371/4] test_epoll [133/371/4] test_glob [134/371/4] test_pep292 [135/371/4] test_syntax [136/371/4] test_pep247 [137/371/4] test_parser [138/371/4] test_mimetypes [139/371/4] test_code [140/371/4] test_codecmaps_hk [141/371/4] test_getargs2 [142/371/4] test_cgi [143/371/4] test_dbm_gnu test_dbm_gnu skipped -- No module named '_gdbm' [144/371/4] test_unary [145/371/4] test_opcodes [146/371/4] test_netrc [147/371/4] test_webbrowser [148/371/4] test_import [149/371/4] test_quopri [150/371/4] test_docxmlrpc test_docxmlrpc skipped -- No module named '_thread' [151/371/4] test_threadsignals test_threadsignals skipped -- No module named '_thread' [152/371/4] test_os [153/371/4] test_defaultdict [154/371/4] test_dummy_threading [155/371/4] test_site [156/371/4] test_binascii [157/371/4] test_traceback [158/371/4] test_cmd_line_script [159/371/4] test_posixpath [160/371/4] test_keywordonlyarg [161/371/4] test_threadedtempfile test_threadedtempfile skipped -- No module named '_thread' [162/371/4] test_startfile test_startfile skipped -- object has no attribute 'startfile' [163/371/4] test_symtable [164/371/4] test_zipimport [165/371/4] test_metaclass [166/371/4] test_bytes [167/371/4] test_pep352 [168/371/4] test_strftime [169/371/4] test_memoryio [170/371/4] test_urllib2_localnet test_urllib2_localnet skipped -- No module named '_thread' [171/371/4] test_builtin Warning -- sys.path was modified by test_site [172/371/4] test_fractions [173/371/4] test_exception_variations [174/371/4] test_datetime [175/371/4] test_float test test_float failed -- multiple errors occurred; run in verbose mode for details [176/371/5] test_tk test_tk skipped -- No module named '_tkinter' [177/371/5] test_reprlib [178/371/5] test_minidom [179/371/5] test_contains [180/371/5] test_decorators [181/371/5] test_longexp [182/371/5] test_httplib [183/371/5] test_unpack_ex [184/371/5] test_nis [185/371/5] test_venv [186/371/5] test_functools [187/371/5] test_enumerate [188/371/5] test_openpty [189/371/5] test_extcall [190/371/5] test_struct [191/371/5] test_signal [192/371/5] test_ast [193/371/5] test_sysconfig [194/371/5] test_readline test_readline skipped -- No module named 'readline' [195/371/5] test_pty [196/371/5] test_unittest [197/371/5] test_socket [198/371/5] test_ssl test_ssl skipped -- No module named '_ssl' [199/371/5] test_imaplib test_imaplib skipped -- No module named '_thread' [200/371/5] test_resource [201/371/5] test_urllib [202/371/5] test_pep380 [203/371/5] test_sort [204/371/5] test_importhooks [205/371/5] test_weakref [206/371/5] test_bigmem [207/371/5] test_subprocess test test_subprocess failed -- multiple errors occurred; run in verbose mode for details [208/371/6] test_pulldom [209/371/6] test_dbm_dumb [210/371/6] test_memoryview [211/371/6] test_userdict [212/371/6] test_mailbox [213/371/6] test_pep3131 [214/371/6] test_super [215/371/6] test_mailcap [216/371/6] test_csv [217/371/6] test_sys test test_sys failed -- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_sys.py", line 706, in test_objecttypes check(BaseException(), size('5Pi')) File "/root/P-without-block/Lib/test/support.py", line 1253, in check_sizeof test.assertEqual(result, size, msg) AssertionError: 42 != 44 : wrong size for : got 42, expected 44 [218/371/7] test_unicode test test_unicode failed -- multiple errors occurred; run in verbose mode for details [219/371/8] test_pep3120 [220/371/8] test_bigaddrspace [221/371/8] test_posix [222/371/8] test_strtod test_strtod skipped -- correctly-rounded string->float conversions not available on this system [223/371/8] test_codecmaps_tw fetching http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT ... fetching http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP950.TXT ... [224/371/8] test_lib2to3 [225/371/8] test_frozen [226/371/8] test_slice [227/371/8] test_gc [228/371/8] test_doctest [229/371/8] test_array [230/371/8] test_popen [231/371/8] test_shlex [232/371/8] test_cmath test test_cmath failed -- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_cmath.py", line 352, in test_specific_values '{}: {}(complex({!r}, {!r}))'.format(id, fn, ar, ai)) AssertionError: OverflowError not raised in test exp0050: exp(complex(710.0, 0.0)) [233/371/9] test_json [234/371/9] test_dict [235/371/9] test_tools [236/371/9] test_timeit [237/371/9] test_contextlib [238/371/9] test_cmd [239/371/9] test_codecmaps_kr fetching http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP949.TXT ... fetching http://people.freebsd.org/~perky/i18n/EUC-KR.TXT ... fetching http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/KSC/JOHAB.TXT ... [240/371/9] test_format test test_format failed -- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_format.py", line 272, in test_non_ascii self.assertEqual(format(12.3, "\u2007<6"), "12.3\u2007\u2007") AssertionError: '12.300000000000001' != '12.3\u2007\u2007' - 12.300000000000001 + 12.3   [241/371/10] test_doctest2 [242/371/10] test_sched [243/371/10] test_weakset [244/371/10] test_threading test_threading skipped -- No module named '_thread' [245/371/10] test_configparser [246/371/10] test_shelve [247/371/10] test_tokenize [248/371/10] test_stringprep [249/371/10] test_runpy [250/371/10] test_dictcomps [251/371/10] test_mmap [252/371/10] test_py_compile [253/371/10] test_xmlrpc [254/371/10] test_pep277 [255/371/10] test_pep263 [256/371/10] test_compare [257/371/10] test_unicodedata [258/371/10] test_zipfile [259/371/10] test_zipfile64 test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run [260/371/10] test_queue test_queue skipped -- No module named '_thread' [261/371/10] test_http_cookiejar [262/371/10] test_flufl [263/371/10] test_uuid [264/371/10] test_dbm_ndbm test_dbm_ndbm skipped -- No module named '_dbm' [265/371/10] test_tcl test_tcl skipped -- No module named '_tkinter' [266/371/10] test_bool [267/371/10] test_io [268/371/10] test_timeout [269/371/10] test_pow [270/371/10] test_thread test_thread skipped -- No module named '_thread' [271/371/10] test_codeccallbacks [272/371/10] test_namespace_pkgs [273/371/10] test_ntpath [274/371/10] test_asynchat test_asynchat skipped -- No module named '_thread' [275/371/10] test_rlcompleter [276/371/10] test_univnewlines [277/371/10] test_telnetlib test_telnetlib skipped -- No module named '_thread' [278/371/10] test_abc [279/371/10] test_hash [280/371/10] test_numeric_tower [281/371/10] test_aifc [282/371/10] test_sndhdr [283/371/10] test__locale [284/371/10] test_hmac [285/371/10] test_threaded_import test_threaded_import skipped -- No module named '_thread' [286/371/10] test_gdb test_gdb skipped -- gdb not built with embedded python support [287/371/10] test_pprint [288/371/10] test_support [289/371/10] test_pickletools [290/371/10] test_uu [291/371/10] test_wave [292/371/10] test_linecache [293/371/10] test_exceptions [294/371/10] test_crashers [295/371/10] test_binhex [296/371/10] test_codeop [297/371/10] test_warnings [298/371/10] test_types /root/P-without-block/Lib/test/test_exceptions.py:952: BytesWarning: str() on a bytes instance self.assertEqual(str(arg), str(exc)) Warning -- warnings.filters was modified by test_warnings test test_types failed -- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_types.py", line 466, in test_float__format__ test(1e200, '+', '+1e+200') File "/root/P-without-block/Lib/test/test_types.py", line 402, in test self.assertEqual(f.__format__(format_spec), result) AssertionError: '+9.9999999999999997e+199' != '+1e+200' - +9.9999999999999997e+199 + +1e+200 [299/371/11] test_fnmatch [300/371/11] test_poplib test_poplib skipped -- No module named '_thread' [301/371/11] test_atexit [302/371/11] test_curses test_curses skipped -- No module named '_curses' [303/371/11] test_locale [304/371/11] test_iterlen [305/371/11] test___future__ [306/371/11] test_filecmp [307/371/11] test_email [308/371/11] test_html [309/371/11] test_tuple [310/371/11] test_urllib_response [311/371/11] test_audioop [312/371/11] test_ctypes test test_ctypes failed -- multiple errors occurred; run in verbose mode for details [313/371/12] test_zipimport_support [314/371/12] test_charmapcodec [315/371/12] test_tempfile [316/371/12] test_htmlparser [317/371/12] test_fcntl [318/371/12] test_copyreg [319/371/12] test_modulefinder [320/371/12] test_xml_etree_c [321/371/12] test_ttk_guionly test_ttk_guionly skipped -- No module named '_tkinter' [322/371/12] test_calendar [323/371/12] test_codecencodings_hk [324/371/12] test_xdrlib [325/371/12] test_ipaddress [326/371/12] test_listcomps [327/371/12] test_re [328/371/12] test_xml_etree [329/371/12] test_dis [330/371/12] test_cgitb [331/371/12] test_typechecks [332/371/12] test_threading_local test_threading_local skipped -- No module named '_thread' [333/371/12] test_fileinput [334/371/12] test_eof [335/371/12] test_normalization test test_normalization failed -- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_normalization.py", line 59, in test_main c1,c2,c3,c4,c5 = [unistr(x) for x in line.split(';')[:-1]] File "/root/P-without-block/Lib/test/test_normalization.py", line 59, in c1,c2,c3,c4,c5 = [unistr(x) for x in line.split(';')[:-1]] File "/root/P-without-block/Lib/test/test_normalization.py", line 32, in unistr data = [int(x, 16) for x in data.split(" ")] File "/root/P-without-block/Lib/test/test_normalization.py", line 32, in data = [int(x, 16) for x in data.split(" ")] ValueError: invalid literal for int() with base 16: '' fetching http://www.unicode.org/Public/6.1.0/ucd/NormalizationTest.txt ... [336/371/13] test_ftplib test_ftplib skipped -- No module named '_thread' [337/371/13] test_pkgimport [338/371/13] test_compileall [339/371/13] test_robotparser [340/371/13] test_multibytecodec [341/371/13] test_codecencodings_cn [342/371/13] test_codecencodings_iso2022 [343/371/13] test_itertools [344/371/13] test_lzma test_lzma skipped -- No module named '_lzma' [345/371/13] test_socketserver [346/371/13] test_base64 [347/371/13] test_math test test_math failed -- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_math.py", line 1097, in test_mtestfile '\n '.join(failures)) AssertionError: Failures in test_mtestfile: lgam0107:lgamma(2.5599833278516399e+305): expected 'OverflowError', got inf lgam0108:lgamma(1.6999999999999999e+308): expected 'OverflowError', got inf gam0048:gamma(5.499999999999998e-309): expected 'OverflowError', got inf gam0049:gamma(1.0000000000000019e-309): expected 'OverflowError', got inf gam0050:gamma(9.8813129168249309e-324): expected 'OverflowError', got inf gam0051:gamma(4.9406564584124654e-324): expected 'OverflowError', got inf gam0068:gamma(-5.499999999999998e-309): expected 'OverflowError', got -inf gam0069:gamma(-1.0000000000000019e-309): expected 'OverflowError', got -inf gam0070:gamma(-9.8813129168249309e-324): expected 'OverflowError', got -inf gam0071:gamma(-4.9406564584124654e-324): expected 'OverflowError', got -inf expm10303:expm1(709.78271289348402): expected 'OverflowError', got inf expm10304:expm1(1000.0): expected 'OverflowError', got inf [348/371/14] test_kqueue test_kqueue skipped -- test works only on BSD [349/371/14] test_smtpnet test_smtpnet skipped -- No module named '_ssl' [350/371/14] test_list [351/371/14] test_winsound test_winsound skipped -- Use of the 'audio' resource not enabled [352/371/14] test_msilib test_msilib skipped -- No module named '_msi' [353/371/14] test_faulthandler [354/371/14] test_pickle [355/371/14] test_ttk_textonly test_ttk_textonly skipped -- No module named '_tkinter' [356/371/14] test_copy [357/371/14] test_deque [358/371/14] test_genexps [359/371/14] test_userstring [360/371/14] test_class [361/371/14] test_logging [362/371/14] test_setcomps [363/371/14] test_unpack [364/371/14] test_codecmaps_jp fetching http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP932.TXT ... fetching http://people.freebsd.org/~perky/i18n/EUC-JISX0213.TXT ... fetching http://people.freebsd.org/~perky/i18n/EUC-JP.TXT ... fetching http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/JIS/SHIFTJIS.TXT ... fetching http://people.freebsd.org/~perky/i18n/SHIFT_JISX0213.TXT ... [365/371/14] test_concurrent_futures test_concurrent_futures skipped -- No module named '_multiprocessing' [366/371/14] test_xmlrpc_net [367/371/14] test_sax [368/371/14] test_pdb [369/371/14] test_syslog [370/371/14] test_gettext [371/371/14] test_wait3 test_wait3 skipped -- No module named '_thread' 310 tests OK. 14 tests failed: test_cmath test_ctypes test_difflib test_float test_format test_math test_nntplib test_normalization test_optparse test_shutil test_subprocess test_sys test_types test_unicode 2 tests altered the execution environment: test_site test_warnings 45 tests skipped: test_asynchat test_bz2 test_concurrent_futures test_curses test_dbm_gnu test_dbm_ndbm test_devpoll test_docxmlrpc test_fork1 test_ftplib test_gdb test_gzip test_httpservers test_imaplib test_kqueue test_lzma test_msilib test_multiprocessing test_ossaudiodev test_poplib test_queue test_readline test_smtpnet test_sqlite test_ssl test_startfile test_strtod test_tcl test_telnetlib test_thread test_threaded_import test_threadedtempfile test_threading test_threading_local test_threadsignals test_tk test_ttk_guionly test_ttk_textonly test_urllib2_localnet test_wait3 test_wait4 test_winreg test_winsound test_zipfile64 test_zlib 34 skips unexpected on linux: test_asynchat test_bz2 test_concurrent_futures test_dbm_gnu test_dbm_ndbm test_docxmlrpc test_fork1 test_ftplib test_gzip test_httpservers test_imaplib test_lzma test_multiprocessing test_poplib test_queue test_readline test_smtpnet test_ssl test_strtod test_tcl test_telnetlib test_thread test_threaded_import test_threadedtempfile test_threading test_threading_local test_threadsignals test_tk test_ttk_guionly test_ttk_textonly test_urllib2_localnet test_wait3 test_wait4 test_zlib Re-running failed tests in verbose mode Re-running test 'test_cmath' in verbose mode testAtanSign (test.test_cmath.CMathTests) ... ok testAtanhSign (test.test_cmath.CMathTests) ... ok testTanhSign (test.test_cmath.CMathTests) ... ok test_abs (test.test_cmath.CMathTests) ... ok test_abs_overflows (test.test_cmath.CMathTests) ... ok test_cmath_matches_math (test.test_cmath.CMathTests) ... ok test_constants (test.test_cmath.CMathTests) ... ok test_input_type (test.test_cmath.CMathTests) ... ok test_isfinite (test.test_cmath.CMathTests) ... ok test_isinf (test.test_cmath.CMathTests) ... ok test_isnan (test.test_cmath.CMathTests) ... ok test_phase (test.test_cmath.CMathTests) ... ok test_polar (test.test_cmath.CMathTests) ... ok test_rect (test.test_cmath.CMathTests) ... ok test_specific_values (test.test_cmath.CMathTests) ... FAIL test_user_object (test.test_cmath.CMathTests) ... test test_cmath failed ok ====================================================================== FAIL: test_specific_values (test.test_cmath.CMathTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_cmath.py", line 352, in test_specific_values '{}: {}(complex({!r}, {!r}))'.format(id, fn, ar, ai)) AssertionError: OverflowError not raised in test exp0050: exp(complex(710.0, 0.0)) ---------------------------------------------------------------------- Ran 16 tests in 6.960s FAILED (failures=1) Re-running test 'test_ctypes' in verbose mode 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_an_integer (ctypes.test.test_values.ValuesTestCase) ... ok test_undefined (ctypes.test.test_values.ValuesTestCase) ... 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_GetLastError (ctypes.test.test_errno.Test) ... skipped 'Test specific to Windows' test_open (ctypes.test.test_errno.Test) ... ok test_find (ctypes.test.test_loading.LoaderTest) ... ok test_load (ctypes.test.test_loading.LoaderTest) ... ok test_load_version (ctypes.test.test_loading.LoaderTest) ... ok test_PyBytes_FromStringAndSize (ctypes.test.test_python_api.PythonAPITestCase) ... ok test_PyOS_snprintf (ctypes.test.test_python_api.PythonAPITestCase) ... ok test_PyObj_FromPtr (ctypes.test.test_python_api.PythonAPITestCase) ... ok test_PyString_FromString (ctypes.test.test_python_api.PythonAPITestCase) ... ok test_pyobject_repr (ctypes.test.test_python_api.PythonAPITestCase) ... 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_emtpy (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) ... FAIL test_positional_args (ctypes.test.test_structures.StructureTestCase) ... ok test_simple_structs (ctypes.test.test_structures.StructureTestCase) ... FAIL test_struct_alignment (ctypes.test.test_structures.StructureTestCase) ... ok test_structures_with_wchar (ctypes.test.test_structures.StructureTestCase) ... ok 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_simple (ctypes.test.test_pickling.PickleTest) ... ok test_struct (ctypes.test.test_pickling.PickleTest) ... ok test_unpickable (ctypes.test.test_pickling.PickleTest) ... ok test_wchar (ctypes.test.test_pickling.PickleTest) ... 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_c_char (ctypes.test.test_bytes.BytesTest) ... ok test_c_char_p (ctypes.test.test_bytes.BytesTest) ... ok test_c_wchar (ctypes.test.test_bytes.BytesTest) ... ok 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_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_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_alignments (ctypes.test.test_numbers.NumberTestCase) ... FAIL 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_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_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_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) ... FAIL test_longdoubleresult (ctypes.test.test_functions.FunctionTestCase) ... ok 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_8H (ctypes.test.test_functions.FunctionTestCase) ... ok test_voidresult (ctypes.test.test_functions.FunctionTestCase) ... ok test_wchar_parm (ctypes.test.test_functions.FunctionTestCase) ... FAIL test_wchar_result (ctypes.test.test_functions.FunctionTestCase) ... ok test_qsort (ctypes.test.test_libc.LibTest) ... ok test_sqrt (ctypes.test.test_libc.LibTest) ... 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_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_incomplete_example (ctypes.test.test_incomplete.MyTestCase) ... ok test_anon_bitfields (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_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) ... FAIL test_shorts (ctypes.test.test_bitfields.C_Test) ... FAIL test_endian_types (ctypes.test.test_pep3118.Test) ... ok test_native_types (ctypes.test.test_pep3118.Test) ... ok test_fom_buffer (ctypes.test.test_frombuffer.Test) ... ok test_fom_buffer_copy_with_offset (ctypes.test.test_frombuffer.Test) ... ok test_fom_buffer_with_offset (ctypes.test.test_frombuffer.Test) ... ok test_from_buffer_copy (ctypes.test.test_frombuffer.Test) ... ok test (ctypes.test.test_array_in_pointer.Test) ... ok test_2 (ctypes.test.test_array_in_pointer.Test) ... ok test_cint_array (ctypes.test.test_keeprefs.ArrayTestCase) ... ok 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_get (ctypes.test.test_init.InitTest) ... 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_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 (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_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_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_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_native (ctypes.test.test_unaligned_structures.TestStructures) ... ok test_swapped (ctypes.test.test_unaligned_structures.TestStructures) ... ok 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_char (ctypes.test.test_repr.ReprTest) ... ok test_numbers (ctypes.test.test_repr.ReprTest) ... ok test__POINTER_c_char (ctypes.test.test_stringptr.StringPtrTestCase) ... ok test__c_char_p (ctypes.test.test_stringptr.StringPtrTestCase) ... ok test_functions (ctypes.test.test_stringptr.StringPtrTestCase) ... ok 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_string_at (ctypes.test.test_memfunctions.MemFunctionsTest) ... ok test_wstring_at (ctypes.test.test_memfunctions.MemFunctionsTest) ... 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_checkretval (ctypes.test.test_checkretval.Test) ... ok 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_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_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_pointers_bool (ctypes.test.test_pointers.PointersTestCase) ... ok 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_callback (ctypes.test.test_refcounts.AnotherLeak) ... ok test_1 (ctypes.test.test_refcounts.RefcountTestCase) ... ok test_refcount (ctypes.test.test_refcounts.RefcountTestCase) ... 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 (ctypes.test.test_strings.WStringArrayTestCase) ... ok test_nonbmp (ctypes.test.test_strings.WStringArrayTestCase) ... ok 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_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_byte (ctypes.test.test_cfuncs.CFunctions) ... FAIL test_byte_plus (ctypes.test.test_cfuncs.CFunctions) ... FAIL 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) ... ok test_longdouble_plus (ctypes.test.test_cfuncs.CFunctions) ... ok test_longlong (ctypes.test.test_cfuncs.CFunctions) ... ok test_longlong_plus (ctypes.test.test_cfuncs.CFunctions) ... ok test_short (ctypes.test.test_cfuncs.CFunctions) ... FAIL test_short_plus (ctypes.test.test_cfuncs.CFunctions) ... FAIL 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 (ctypes.test.test_objects.TestCase) ... ok test_byte (ctypes.test.test_callbacks.Callbacks) ... FAIL test_char (ctypes.test.test_callbacks.Callbacks) ... FAIL 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) ... FAIL 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_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_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_struct_by_value (ctypes.test.test_win32.Structures) ... 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) ... test test_ctypes failed ok ====================================================================== FAIL: test_packed (ctypes.test.test_structures.StructureTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/ctypes/test/test_structures.py", line 182, in test_packed self.assertEqual(sizeof(X), 12) AssertionError: 10 != 12 ====================================================================== FAIL: test_simple_structs (ctypes.test.test_structures.StructureTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/ctypes/test/test_structures.py", line 67, in test_simple_structs (calcsize("c%c0%c" % (code, code)), code)) AssertionError: Tuples differ: (8, 'L') != (6, 'L') First differing element 0: 8 6 - (8, 'L') ? ^ + (6, 'L') ? ^ ====================================================================== FAIL: test_alignments (ctypes.test.test_numbers.NumberTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/ctypes/test/test_numbers.py", line 152, in test_alignments (code, align)) AssertionError: Tuples differ: ('l', 4) != ('l', 2) First differing element 1: 4 2 - ('l', 4) ? ^ + ('l', 2) ? ^ ====================================================================== FAIL: test_intresult (ctypes.test.test_functions.FunctionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/ctypes/test/test_functions.py", line 112, in test_intresult self.assertEqual(result, 21) AssertionError: 11558 != 21 ====================================================================== FAIL: test_wchar_parm (ctypes.test.test_functions.FunctionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/ctypes/test/test_functions.py", line 74, in test_wchar_parm self.assertEqual(result, 139) AssertionError: 11558 != 139 ====================================================================== FAIL: test_ints (ctypes.test.test_bitfields.C_Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/ctypes/test/test_bitfields.py", line 40, in test_ints self.assertEqual(getattr(b, name), func(byref(b), name.encode('ascii'))) AssertionError: 1 != 0 ====================================================================== FAIL: test_shorts (ctypes.test.test_bitfields.C_Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/ctypes/test/test_bitfields.py", line 47, in test_shorts self.assertEqual(getattr(b, name), func(byref(b), name.encode('ascii'))) AssertionError: -1 != 0 ====================================================================== FAIL: test_byte (ctypes.test.test_cfuncs.CFunctions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/ctypes/test/test_cfuncs.py", line 20, in test_byte self.assertEqual(self._dll.tf_b(-126), -42) AssertionError: 38 != -42 ====================================================================== FAIL: test_byte_plus (ctypes.test.test_cfuncs.CFunctions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/ctypes/test/test_cfuncs.py", line 26, in test_byte_plus self.assertEqual(self._dll.tf_bb(0, -126), -42) AssertionError: 38 != -42 ====================================================================== FAIL: test_short (ctypes.test.test_cfuncs.CFunctions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/ctypes/test/test_cfuncs.py", line 44, in test_short self.assertEqual(self._dll.tf_h(-32766), -10922) AssertionError: 11558 != -10922 ====================================================================== FAIL: test_short_plus (ctypes.test.test_cfuncs.CFunctions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/ctypes/test/test_cfuncs.py", line 50, in test_short_plus self.assertEqual(self._dll.tf_bh(0, -32766), -10922) AssertionError: 11558 != -10922 ====================================================================== FAIL: test_byte (ctypes.test.test_callbacks.Callbacks) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/ctypes/test/test_callbacks.py", line 36, in test_byte self.check_type(c_byte, 42) File "/root/P-without-block/Lib/ctypes/test/test_callbacks.py", line 23, in check_type self.assertEqual(result, arg) AssertionError: 38 != 42 ====================================================================== FAIL: test_char (ctypes.test.test_callbacks.Callbacks) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/ctypes/test/test_callbacks.py", line 85, in test_char self.check_type(c_char, b"x") File "/root/P-without-block/Lib/ctypes/test/test_callbacks.py", line 23, in check_type self.assertEqual(result, arg) AssertionError: b'&' != b'x' ====================================================================== FAIL: test_short (ctypes.test.test_callbacks.Callbacks) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/ctypes/test/test_callbacks.py", line 43, in test_short self.check_type(c_short, 42) File "/root/P-without-block/Lib/ctypes/test/test_callbacks.py", line 23, in check_type self.assertEqual(result, arg) AssertionError: 11558 != 42 ---------------------------------------------------------------------- Ran 346 tests in 49.880s FAILED (failures=14, skipped=1) Re-running test 'test_difflib' in verbose mode test_bjunk (test.test_difflib.TestWithAscii) ... ok test_one_delete (test.test_difflib.TestWithAscii) ... ok test_one_insert (test.test_difflib.TestWithAscii) ... ok test_one_insert_homogenous_sequence (test.test_difflib.TestAutojunk) ... ok test_html_diff (test.test_difflib.TestSFpatches) ... ok test_recursion_limit (test.test_difflib.TestSFpatches) ... ok test_added_tab_hint (test.test_difflib.TestSFbugs) ... ok test_comparing_empty_lists (test.test_difflib.TestSFbugs) ... ok test_ratio_for_null_seqn (test.test_difflib.TestSFbugs) ... ok test_no_trailing_tab_on_empty_filedate (test.test_difflib.TestOutputFormat) ... ok test_range_format_context (test.test_difflib.TestOutputFormat) ... ok test_range_format_unified (test.test_difflib.TestOutputFormat) ... ok test_tab_delimiter (test.test_difflib.TestOutputFormat) ... ok Differ (difflib) Doctest: difflib.Differ ... ok _fancy_replace (difflib.Differ) Doctest: difflib.Differ._fancy_replace ... ok _qformat (difflib.Differ) Doctest: difflib.Differ._qformat ... ok compare (difflib.Differ) Doctest: difflib.Differ.compare ... ok IS_CHARACTER_JUNK (difflib) Doctest: difflib.IS_CHARACTER_JUNK ... ok IS_LINE_JUNK (difflib) Doctest: difflib.IS_LINE_JUNK ... ok SequenceMatcher (difflib) Doctest: difflib.SequenceMatcher ... FAIL find_longest_match (difflib.SequenceMatcher) Doctest: difflib.SequenceMatcher.find_longest_match ... ok get_grouped_opcodes (difflib.SequenceMatcher) Doctest: difflib.SequenceMatcher.get_grouped_opcodes ... ok get_matching_blocks (difflib.SequenceMatcher) Doctest: difflib.SequenceMatcher.get_matching_blocks ... ok get_opcodes (difflib.SequenceMatcher) Doctest: difflib.SequenceMatcher.get_opcodes ... ok ratio (difflib.SequenceMatcher) Doctest: difflib.SequenceMatcher.ratio ... ok set_seq1 (difflib.SequenceMatcher) Doctest: difflib.SequenceMatcher.set_seq1 ... ok set_seq2 (difflib.SequenceMatcher) Doctest: difflib.SequenceMatcher.set_seq2 ... ok set_seqs (difflib.SequenceMatcher) Doctest: difflib.SequenceMatcher.set_seqs ... ok _count_leading (difflib) Doctest: difflib._count_leading ... ok context_diff (difflib) Doctest: difflib.context_diff ... ok get_close_matches (difflib) Doctest: difflib.get_close_matches ... ok ndiff (difflib) Doctest: difflib.ndiff ... ok restore (difflib) Doctest: difflib.restore ... ok unified_diff (difflib) Doctest: difflib.unified_diff ... test test_difflib failed ok ====================================================================== FAIL: SequenceMatcher (difflib) Doctest: difflib.SequenceMatcher ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/doctest.py", line 2154, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for difflib.SequenceMatcher File "/root/P-without-block/Lib/difflib.py", line 47, in SequenceMatcher ---------------------------------------------------------------------- File "/root/P-without-block/Lib/difflib.py", line 83, in difflib.SequenceMatcher Failed example: print(round(s.ratio(), 3)) Expected: 0.866 Got: 0.86599999999999999 ---------------------------------------------------------------------- Ran 34 tests in 218.120s FAILED (failures=1) Re-running test 'test_float' in verbose mode test_error_message (test.test_float.GeneralFloatCases) ... ok test_float (test.test_float.GeneralFloatCases) ... ok test_float_containment (test.test_float.GeneralFloatCases) ... ok test_float_mod (test.test_float.GeneralFloatCases) ... ok test_float_pow (test.test_float.GeneralFloatCases) ... ok test_float_with_comma (test.test_float.GeneralFloatCases) ... ok test_floatasratio (test.test_float.GeneralFloatCases) ... ok test_floatconversion (test.test_float.GeneralFloatCases) ... ok test_is_integer (test.test_float.GeneralFloatCases) ... ok test_getformat (test.test_float.FormatFunctionsTestCase) ... ok test_setformat (test.test_float.FormatFunctionsTestCase) ... ok test_double_specials_dont_unpack (test.test_float.UnknownFormatTestCase) ... ok test_float_specials_dont_unpack (test.test_float.UnknownFormatTestCase) ... ok test_double_specials_do_unpack (test.test_float.IEEEFormatTestCase) ... ok test_float_specials_do_unpack (test.test_float.IEEEFormatTestCase) ... ok test_format (test.test_float.FormatTestCase) ... ok test_format_testfile (test.test_float.FormatTestCase) ... FAIL test_issue5864 (test.test_float.FormatTestCase) ... ok test_repr (test.test_float.ReprTestCase) ... ok test_short_repr (test.test_float.ReprTestCase) ... skipped 'applies only when using short float repr style' test_format_specials (test.test_float.RoundTestCase) ... ok test_inf_nan (test.test_float.RoundTestCase) ... ok test_large_n (test.test_float.RoundTestCase) ... ERROR test_matches_float_format (test.test_float.RoundTestCase) ... skipped 'applies only when using short float repr style' test_overflow (test.test_float.RoundTestCase) ... FAIL test_previous_round_bugs (test.test_float.RoundTestCase) ... skipped 'applies only when using short float repr style' test_small_n (test.test_float.RoundTestCase) ... ok test_inf_as_str (test.test_float.InfNanTest) ... ok test_inf_from_str (test.test_float.InfNanTest) ... ok test_inf_signs (test.test_float.InfNanTest) ... ok test_nan_as_str (test.test_float.InfNanTest) ... ok test_nan_from_str (test.test_float.InfNanTest) ... ok test_nan_signs (test.test_float.InfNanTest) ... skipped 'applies only when using short float repr style' test_ends (test.test_float.HexFloatTestCase) ... ok test_from_hex (test.test_float.HexFloatTestCase) ... ok test_invalid_inputs (test.test_float.HexFloatTestCase) ... ok test_roundtrip (test.test_float.HexFloatTestCase) ... ok test_whitespace (test.test_float.HexFloatTestCase) ... test test_float failed ok ====================================================================== ERROR: test_large_n (test.test_float.RoundTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_float.py", line 681, in test_large_n self.assertEqual(round(1e150, 300), 1e150) OverflowError: overflow occurred during round ====================================================================== FAIL: test_format_testfile (test.test_float.FormatTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_float.py", line 591, in test_format_testfile self.assertEqual(fmt % float(arg), rhs) AssertionError: '0.029999999999999999' != '0.03' - 0.029999999999999999 + 0.03 ====================================================================== FAIL: test_overflow (test.test_float.RoundTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_float.py", line 695, in test_overflow self.assertRaises(OverflowError, round, 1.6e308, -308) AssertionError: OverflowError not raised by round ---------------------------------------------------------------------- Ran 38 tests in 37.560s FAILED (failures=2, errors=1, skipped=4) Re-running test 'test_format' in verbose mode test_format (test.test_format.FormatTest) ... ok test_locale (test.test_format.FormatTest) ... ok test_non_ascii (test.test_format.FormatTest) ... test test_format failed FAIL ====================================================================== FAIL: test_non_ascii (test.test_format.FormatTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_format.py", line 272, in test_non_ascii self.assertEqual(format(12.3, "\u2007<6"), "12.3\u2007\u2007") AssertionError: '12.300000000000001' != '12.3\u2007\u2007' - 12.300000000000001 + 12.3   ---------------------------------------------------------------------- Ran 3 tests in 0.469s FAILED (failures=1) Re-running test 'test_math' in verbose mode testAcos (test.test_math.MathTests) ... ok testAcosh (test.test_math.MathTests) ... ok testAsin (test.test_math.MathTests) ... ok testAsinh (test.test_math.MathTests) ... ok testAtan (test.test_math.MathTests) ... ok testAtan2 (test.test_math.MathTests) ... ok testAtanh (test.test_math.MathTests) ... ok testCeil (test.test_math.MathTests) ... ok testConstants (test.test_math.MathTests) ... ok testCopysign (test.test_math.MathTests) ... ok testCos (test.test_math.MathTests) ... ok testCosh (test.test_math.MathTests) ... ok testDegrees (test.test_math.MathTests) ... ok testExp (test.test_math.MathTests) ... ok testFabs (test.test_math.MathTests) ... ok testFactorial (test.test_math.MathTests) ... ok testFloor (test.test_math.MathTests) ... ok testFmod (test.test_math.MathTests) ... ok testFrexp (test.test_math.MathTests) ... ok testFsum (test.test_math.MathTests) ... skipped 'fsum is not exact on machines with double rounding' testHypot (test.test_math.MathTests) ... ok testIsfinite (test.test_math.MathTests) ... ok testIsinf (test.test_math.MathTests) ... ok testIsnan (test.test_math.MathTests) ... ok testLdexp (test.test_math.MathTests) ... ok testLog (test.test_math.MathTests) ... ok testLog10 (test.test_math.MathTests) ... ok testLog1p (test.test_math.MathTests) ... ok testLog2 (test.test_math.MathTests) ... ok testLog2Exact (test.test_math.MathTests) ... ok testModf (test.test_math.MathTests) ... ok testPow (test.test_math.MathTests) ... ok testRadians (test.test_math.MathTests) ... ok testSin (test.test_math.MathTests) ... ok testSinh (test.test_math.MathTests) ... ok testSqrt (test.test_math.MathTests) ... ok testTan (test.test_math.MathTests) ... ok testTanh (test.test_math.MathTests) ... ok testTanhSign (test.test_math.MathTests) ... ok test_mtestfile (test.test_math.MathTests) ... FAIL test_testfile (test.test_math.MathTests) ... ok test_trunc (test.test_math.MathTests) ... ok /root/P-without-block/Lib/test/ieee754.txt Doctest: ieee754.txt ... test test_math failed ok ====================================================================== FAIL: test_mtestfile (test.test_math.MathTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_math.py", line 1097, in test_mtestfile '\n '.join(failures)) AssertionError: Failures in test_mtestfile: lgam0107:lgamma(2.5599833278516399e+305): expected 'OverflowError', got inf lgam0108:lgamma(1.6999999999999999e+308): expected 'OverflowError', got inf gam0048:gamma(5.499999999999998e-309): expected 'OverflowError', got inf gam0049:gamma(1.0000000000000019e-309): expected 'OverflowError', got inf gam0050:gamma(9.8813129168249309e-324): expected 'OverflowError', got inf gam0051:gamma(4.9406564584124654e-324): expected 'OverflowError', got inf gam0068:gamma(-5.499999999999998e-309): expected 'OverflowError', got -inf gam0069:gamma(-1.0000000000000019e-309): expected 'OverflowError', got -inf gam0070:gamma(-9.8813129168249309e-324): expected 'OverflowError', got -inf gam0071:gamma(-4.9406564584124654e-324): expected 'OverflowError', got -inf expm10303:expm1(709.78271289348402): expected 'OverflowError', got inf expm10304:expm1(1000.0): expected 'OverflowError', got inf ---------------------------------------------------------------------- Ran 43 tests in 126.890s FAILED (failures=1, skipped=1) Re-running test 'test_nntplib' in verbose mode test_decode_header (test.test_nntplib.MiscTests) ... ok test_parse_datetime (test.test_nntplib.MiscTests) ... ok test_parse_overview (test.test_nntplib.MiscTests) ... ok test_parse_overview_fmt (test.test_nntplib.MiscTests) ... ok test_unparse_datetime (test.test_nntplib.MiscTests) ... ok test_unparse_datetime_legacy (test.test_nntplib.MiscTests) ... ok test_article (test.test_nntplib.NNTPv1Tests) ... ok test_article_file (test.test_nntplib.NNTPv1Tests) ... ok test_authinfo (test.test_nntplib.NNTPv1Tests) ... ok test_body (test.test_nntplib.NNTPv1Tests) ... ok test_body_file (test.test_nntplib.NNTPv1Tests) ... ok test_caps (test.test_nntplib.NNTPv1Tests) ... ok test_date (test.test_nntplib.NNTPv1Tests) ... ok test_description (test.test_nntplib.NNTPv1Tests) ... ok test_descriptions (test.test_nntplib.NNTPv1Tests) ... ok test_group (test.test_nntplib.NNTPv1Tests) ... ok test_head (test.test_nntplib.NNTPv1Tests) ... ok test_head_file (test.test_nntplib.NNTPv1Tests) ... ok test_help (test.test_nntplib.NNTPv1Tests) ... ok test_ihave (test.test_nntplib.NNTPv1Tests) ... ok test_last (test.test_nntplib.NNTPv1Tests) ... ok test_list (test.test_nntplib.NNTPv1Tests) ... ok test_newnews (test.test_nntplib.NNTPv1Tests) ... ok test_next (test.test_nntplib.NNTPv1Tests) ... ok test_over (test.test_nntplib.NNTPv1Tests) ... ok test_post (test.test_nntplib.NNTPv1Tests) ... ok test_quit (test.test_nntplib.NNTPv1Tests) ... ok test_stat (test.test_nntplib.NNTPv1Tests) ... ok test_welcome (test.test_nntplib.NNTPv1Tests) ... ok test_xover (test.test_nntplib.NNTPv1Tests) ... ok test_article (test.test_nntplib.NNTPv2Tests) ... ok test_article_file (test.test_nntplib.NNTPv2Tests) ... ok test_authinfo (test.test_nntplib.NNTPv2Tests) ... ok test_body (test.test_nntplib.NNTPv2Tests) ... ok test_body_file (test.test_nntplib.NNTPv2Tests) ... ok test_caps (test.test_nntplib.NNTPv2Tests) ... ok test_date (test.test_nntplib.NNTPv2Tests) ... ok test_description (test.test_nntplib.NNTPv2Tests) ... ok test_descriptions (test.test_nntplib.NNTPv2Tests) ... ok test_group (test.test_nntplib.NNTPv2Tests) ... ok test_head (test.test_nntplib.NNTPv2Tests) ... ok test_head_file (test.test_nntplib.NNTPv2Tests) ... ok test_help (test.test_nntplib.NNTPv2Tests) ... ok test_ihave (test.test_nntplib.NNTPv2Tests) ... ok test_last (test.test_nntplib.NNTPv2Tests) ... ok test_list (test.test_nntplib.NNTPv2Tests) ... ok test_newnews (test.test_nntplib.NNTPv2Tests) ... ok test_next (test.test_nntplib.NNTPv2Tests) ... ok test_over (test.test_nntplib.NNTPv2Tests) ... ok test_post (test.test_nntplib.NNTPv2Tests) ... ok test_quit (test.test_nntplib.NNTPv2Tests) ... ok test_stat (test.test_nntplib.NNTPv2Tests) ... ok test_welcome (test.test_nntplib.NNTPv2Tests) ... ok test_xover (test.test_nntplib.NNTPv2Tests) ... ok test_caps_only_after_login (test.test_nntplib.CapsAfterLoginNNTPv2Tests) ... ok test_we_are_in_reader_mode_after_connect (test.test_nntplib.SendReaderNNTPv2Tests) ... test test_nntplib failed ok ERROR ====================================================================== ERROR: setUpClass (test.test_nntplib.NetworkedNNTPTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_nntplib.py", line 296, in setUpClass cls.server = cls.NNTP_CLASS(cls.NNTP_HOST, timeout=TIMEOUT, usenetrc=False) File "/root/P-without-block/Lib/nntplib.py", line 1036, in __init__ self.sock = socket.create_connection((host, port), timeout) File "/root/P-without-block/Lib/socket.py", line 435, in create_connection raise err File "/root/P-without-block/Lib/socket.py", line 426, in create_connection sock.connect(sa) OSError: getsockaddrarg: bad family ---------------------------------------------------------------------- Ran 56 tests in 4.680s FAILED (errors=1) Re-running test 'test_normalization' in verbose mode test_bug_834676 (test.test_normalization.NormalizationTest) ... ok test_main (test.test_normalization.NormalizationTest) ... test test_normalization failed ERROR ====================================================================== ERROR: test_main (test.test_normalization.NormalizationTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_normalization.py", line 59, in test_main c1,c2,c3,c4,c5 = [unistr(x) for x in line.split(';')[:-1]] File "/root/P-without-block/Lib/test/test_normalization.py", line 59, in c1,c2,c3,c4,c5 = [unistr(x) for x in line.split(';')[:-1]] File "/root/P-without-block/Lib/test/test_normalization.py", line 32, in unistr data = [int(x, 16) for x in data.split(" ")] File "/root/P-without-block/Lib/test/test_normalization.py", line 32, in data = [int(x, 16) for x in data.split(" ")] ValueError: invalid literal for int() with base 16: '' ---------------------------------------------------------------------- Ran 2 tests in 110.660s FAILED (errors=1) Re-running test 'test_optparse' in verbose mode test_bool_default (test.test_optparse.TestBool) ... ok test_bool_false (test.test_optparse.TestBool) ... ok test_bool_flicker_on_and_off (test.test_optparse.TestBool) ... ok test_bool_true (test.test_optparse.TestBool) ... ok test_callback (test.test_optparse.TestCallback) ... ok test_callback_help (test.test_optparse.TestCallback) ... ok test_abbrev_callback_expansion (test.test_optparse.TestCallbackCheckAbbrev) ... ok test_callback_extra_args (test.test_optparse.TestCallbackExtraArgs) ... ok test_many_args (test.test_optparse.TestCallbackManyArgs) ... ok test_callback_meddle_args (test.test_optparse.TestCallbackMeddleArgs) ... ok test_callback_meddle_args_separator (test.test_optparse.TestCallbackMeddleArgs) ... ok test_consume_separator_stop_at_option (test.test_optparse.TestCallbackVarArgs) ... ok test_positional_arg_and_variable_args (test.test_optparse.TestCallbackVarArgs) ... ok test_stop_at_invalid_option (test.test_optparse.TestCallbackVarArgs) ... ok test_stop_at_option (test.test_optparse.TestCallbackVarArgs) ... ok test_variable_args (test.test_optparse.TestCallbackVarArgs) ... ok test_add_choice_option (test.test_optparse.TestChoice) ... ok test_invalid_choice (test.test_optparse.TestChoice) ... ok test_valid_choice (test.test_optparse.TestChoice) ... ok test_conflict_error (test.test_optparse.TestConflict) ... ok test_conflict_error_group (test.test_optparse.TestConflict) ... ok test_no_such_conflict_handler (test.test_optparse.TestConflict) ... ok test_conflict_override_args (test.test_optparse.TestConflictOverride) ... ok test_conflict_override_help (test.test_optparse.TestConflictOverride) ... ok test_conflict_override_opts (test.test_optparse.TestConflictOverride) ... ok test_conflict_resolve (test.test_optparse.TestConflictResolve) ... ok test_conflict_resolve_help (test.test_optparse.TestConflictResolve) ... ok test_conflict_resolve_long_opt (test.test_optparse.TestConflictResolve) ... ok test_conflict_resolve_long_opts (test.test_optparse.TestConflictResolve) ... ok test_conflict_resolve_short_opt (test.test_optparse.TestConflictResolve) ... ok test_conflict_default (test.test_optparse.TestConflictingDefaults) ... ok test_conflict_default_none (test.test_optparse.TestConflictingDefaults) ... ok test_count_interspersed_args (test.test_optparse.TestCount) ... ok test_count_no_interspersed_args (test.test_optparse.TestCount) ... ok test_count_no_such_option (test.test_optparse.TestCount) ... ok test_count_one (test.test_optparse.TestCount) ... ok test_count_option_no_value (test.test_optparse.TestCount) ... ok test_count_override_amount (test.test_optparse.TestCount) ... ok test_count_override_quiet (test.test_optparse.TestCount) ... ok test_count_overriding (test.test_optparse.TestCount) ... ok test_count_overriding_default (test.test_optparse.TestCount) ... ok test_count_three (test.test_optparse.TestCount) ... ok test_count_three_apart (test.test_optparse.TestCount) ... ok test_count_with_default (test.test_optparse.TestCount) ... ok test_empty (test.test_optparse.TestCount) ... ok test_basic_defaults (test.test_optparse.TestDefaultValues) ... ok test_mixed_defaults_post (test.test_optparse.TestDefaultValues) ... ok test_mixed_defaults_pre (test.test_optparse.TestDefaultValues) ... ok test_process_default (test.test_optparse.TestDefaultValues) ... ok test_alt_expand (test.test_optparse.TestExpandDefaults) ... ok test_default_none_1 (test.test_optparse.TestExpandDefaults) ... ok test_default_none_2 (test.test_optparse.TestExpandDefaults) ... ok test_float_default (test.test_optparse.TestExpandDefaults) ... FAIL test_no_default (test.test_optparse.TestExpandDefaults) ... ok test_no_expand (test.test_optparse.TestExpandDefaults) ... ok test_option_default (test.test_optparse.TestExpandDefaults) ... ok test_parser_default_1 (test.test_optparse.TestExpandDefaults) ... ok test_parser_default_2 (test.test_optparse.TestExpandDefaults) ... ok test_extend_add_action (test.test_optparse.TestExtendAddActions) ... ok test_extend_add_action_normal (test.test_optparse.TestExtendAddActions) ... ok test_filetype_noexist (test.test_optparse.TestExtendAddTypes) ... ok test_filetype_notfile (test.test_optparse.TestExtendAddTypes) ... ok test_filetype_ok (test.test_optparse.TestExtendAddTypes) ... ok test_help (test.test_optparse.TestHelp) ... ok test_help_description_groups (test.test_optparse.TestHelp) ... ok test_help_long_opts_first (test.test_optparse.TestHelp) ... ok test_help_old_usage (test.test_optparse.TestHelp) ... ok test_help_title_formatter (test.test_optparse.TestHelp) ... ok test_help_unicode (test.test_optparse.TestHelp) ... ok test_help_unicode_description (test.test_optparse.TestHelp) ... ok test_wrap_columns (test.test_optparse.TestHelp) ... ok test_match_abbrev (test.test_optparse.TestMatchAbbrev) ... ok test_match_abbrev_error (test.test_optparse.TestMatchAbbrev) ... ok test_nargs_invalid_float_value (test.test_optparse.TestMultipleArgs) ... ok test_nargs_long_opt (test.test_optparse.TestMultipleArgs) ... ok test_nargs_required_values (test.test_optparse.TestMultipleArgs) ... ok test_nargs_with_positional_args (test.test_optparse.TestMultipleArgs) ... ok test_nargs_append (test.test_optparse.TestMultipleArgsAppend) ... ok test_nargs_append_const (test.test_optparse.TestMultipleArgsAppend) ... ok test_nargs_append_required_values (test.test_optparse.TestMultipleArgsAppend) ... ok test_nargs_append_simple (test.test_optparse.TestMultipleArgsAppend) ... ok test_action_invalid (test.test_optparse.TestOptionChecks) ... ok test_attr_invalid (test.test_optparse.TestOptionChecks) ... ok test_bad_choices_list (test.test_optparse.TestOptionChecks) ... ok test_callback_args_no_tuple (test.test_optparse.TestOptionChecks) ... ok test_callback_kwargs_no_dict (test.test_optparse.TestOptionChecks) ... ok test_callback_not_callable (test.test_optparse.TestOptionChecks) ... ok test_no_callback_args_for_action (test.test_optparse.TestOptionChecks) ... ok test_no_callback_for_action (test.test_optparse.TestOptionChecks) ... ok test_no_callback_kwargs_for_action (test.test_optparse.TestOptionChecks) ... ok test_no_choices_for_type (test.test_optparse.TestOptionChecks) ... ok test_no_choices_list (test.test_optparse.TestOptionChecks) ... ok test_no_const_for_action (test.test_optparse.TestOptionChecks) ... ok test_no_nargs_for_action (test.test_optparse.TestOptionChecks) ... ok test_no_single_dash (test.test_optparse.TestOptionChecks) ... ok test_no_type_for_action (test.test_optparse.TestOptionChecks) ... ok test_opt_string_empty (test.test_optparse.TestOptionChecks) ... ok test_opt_string_long_invalid (test.test_optparse.TestOptionChecks) ... ok test_opt_string_short_invalid (test.test_optparse.TestOptionChecks) ... ok test_opt_string_too_short (test.test_optparse.TestOptionChecks) ... ok test_type_invalid (test.test_optparse.TestOptionChecks) ... ok test_add_group_invalid_arguments (test.test_optparse.TestOptionGroup) ... ok test_add_group_no_group (test.test_optparse.TestOptionGroup) ... ok test_add_group_wrong_parser (test.test_optparse.TestOptionGroup) ... ok test_group_manipulate (test.test_optparse.TestOptionGroup) ... ok test_option_group_create_instance (test.test_optparse.TestOptionGroup) ... ok test_add_option_invalid_arguments (test.test_optparse.TestOptionParser) ... ok test_add_option_no_Option (test.test_optparse.TestOptionParser) ... ok test_get_option (test.test_optparse.TestOptionParser) ... ok test_get_option_equals (test.test_optparse.TestOptionParser) ... ok test_has_option (test.test_optparse.TestOptionParser) ... ok test_refleak (test.test_optparse.TestOptionParser) ... ok test_remove_long_opt (test.test_optparse.TestOptionParser) ... ok test_remove_nonexistent (test.test_optparse.TestOptionParser) ... ok test_remove_short_opt (test.test_optparse.TestOptionParser) ... ok test_basics (test.test_optparse.TestOptionValues) ... ok test_numeric_options (test.test_optparse.TestParseNumber) ... ok test_parse_num_fail (test.test_optparse.TestParseNumber) ... ok test_parse_num_ok (test.test_optparse.TestParseNumber) ... ok test_custom_progname (test.test_optparse.TestProgName) ... ok test_default_progname (test.test_optparse.TestProgName) ... ok test_abbrev_long_option (test.test_optparse.TestStandard) ... ok test_ambiguous_option (test.test_optparse.TestStandard) ... ok test_combined_single_invalid_option (test.test_optparse.TestStandard) ... ok test_defaults (test.test_optparse.TestStandard) ... ok test_empty (test.test_optparse.TestStandard) ... ok test_hyphen_becomes_positional_arg (test.test_optparse.TestStandard) ... ok test_invalid_integer (test.test_optparse.TestStandard) ... ok test_long_invalid_integer (test.test_optparse.TestStandard) ... ok test_long_option_append (test.test_optparse.TestStandard) ... ok test_long_option_argument_joined (test.test_optparse.TestStandard) ... ok test_long_option_argument_split (test.test_optparse.TestStandard) ... ok test_long_option_short_option (test.test_optparse.TestStandard) ... ok test_no_append_versus_append (test.test_optparse.TestStandard) ... ok test_no_such_option (test.test_optparse.TestStandard) ... ok test_option_argument_joined (test.test_optparse.TestStandard) ... ok test_option_argument_joined_integer (test.test_optparse.TestStandard) ... ok test_option_argument_split (test.test_optparse.TestStandard) ... ok test_option_argument_split_negative_integer (test.test_optparse.TestStandard) ... ok test_option_consumes_optionlike_string (test.test_optparse.TestStandard) ... ok test_required_value (test.test_optparse.TestStandard) ... ok test_short_and_long_option_split (test.test_optparse.TestStandard) ... ok test_short_option_consumes_separator (test.test_optparse.TestStandard) ... ok test_short_option_joined_and_separator (test.test_optparse.TestStandard) ... ok test_short_option_split_long_option_append (test.test_optparse.TestStandard) ... ok test_short_option_split_one_positional_arg (test.test_optparse.TestStandard) ... ok test_shortopt_empty_longopt_append (test.test_optparse.TestStandard) ... ok test_str_aliases_string (test.test_optparse.TestTypeAliases) ... ok test_type_object (test.test_optparse.TestTypeAliases) ... ok test_no_version (test.test_optparse.TestVersion) ... ok test_version (test.test_optparse.TestVersion) ... test test_optparse failed ok ====================================================================== FAIL: test_float_default (test.test_optparse.TestExpandDefaults) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_optparse.py", line 619, in test_float_default self.assertHelp(self.parser, expected_help) File "/root/P-without-block/Lib/test/test_optparse.py", line 189, in assertHelp actual_help + '"\n') AssertionError: help text failure; expected: "Usage: test [options] Options: -h, --help show this help message and exit -p PROB, --prob=PROB blow up with probability PROB [default: 0.43] "; got: "Usage: test [options] Options: -h, --help show this help message and exit -p PROB, --prob=PROB blow up with probability PROB [default: 0.42999999999999999] " ---------------------------------------------------------------------- Ran 151 tests in 8.800s FAILED (failures=1) Re-running test 'test_shutil' in verbose mode test_chown (test.test_shutil.TestShutil) ... ok test_copy (test.test_shutil.TestShutil) ... ok test_copy2 (test.test_shutil.TestShutil) ... ok test_copy2_symlinks (test.test_shutil.TestShutil) ... ok test_copy2_xattr (test.test_shutil.TestShutil) ... skipped 'no non-broken extended attribute support' test_copy_return_value (test.test_shutil.TestShutil) ... ok test_copy_symlinks (test.test_shutil.TestShutil) ... ok test_copyfile_named_pipe (test.test_shutil.TestShutil) ... ok test_copyfile_return_value (test.test_shutil.TestShutil) ... ok test_copyfile_symlinks (test.test_shutil.TestShutil) ... ok test_copymode_follow_symlinks (test.test_shutil.TestShutil) ... ok test_copymode_symlink_to_symlink (test.test_shutil.TestShutil) ... skipped 'requires os.lchmod' test_copymode_symlink_to_symlink_wo_lchmod (test.test_shutil.TestShutil) ... ok test_copystat_handles_harmless_chflags_errors (test.test_shutil.TestShutil) ... skipped 'requires os.chflags, EOPNOTSUPP & ENOTSUP' test_copystat_symlinks (test.test_shutil.TestShutil) ... ok test_copytree_dangling_symlinks (test.test_shutil.TestShutil) ... ok test_copytree_named_pipe (test.test_shutil.TestShutil) ... ok test_copytree_return_value (test.test_shutil.TestShutil) ... ok test_copytree_simple (test.test_shutil.TestShutil) ... ok test_copytree_special_func (test.test_shutil.TestShutil) ... ok test_copytree_symlinks (test.test_shutil.TestShutil) ... ok test_copytree_with_exclude (test.test_shutil.TestShutil) ... ok test_copyxattr (test.test_shutil.TestShutil) ... skipped 'no non-broken extended attribute support' test_copyxattr_symlinks (test.test_shutil.TestShutil) ... skipped 'no non-broken extended attribute support' test_disk_usage (test.test_shutil.TestShutil) ... ok test_dont_copy_file_onto_link_to_itself (test.test_shutil.TestShutil) ... ok test_dont_copy_file_onto_symlink_to_itself (test.test_shutil.TestShutil) ... ok test_make_archive (test.test_shutil.TestShutil) ... ok test_make_archive_cwd (test.test_shutil.TestShutil) ... ok test_make_archive_owner_group (test.test_shutil.TestShutil) ... skipped 'requires zlib' test_make_tarball (test.test_shutil.TestShutil) ... skipped 'requires zlib' test_make_zipfile (test.test_shutil.TestShutil) ... skipped 'requires zlib' test_register_archive_format (test.test_shutil.TestShutil) ... ok test_rmtree_does_not_choke_on_failing_lstat (test.test_shutil.TestShutil) ... ok test_rmtree_dont_delete_file (test.test_shutil.TestShutil) ... ok test_rmtree_errors (test.test_shutil.TestShutil) ... ok test_rmtree_fails_on_symlink (test.test_shutil.TestShutil) ... ok test_rmtree_on_symlink (test.test_shutil.TestShutil) ... ok test_rmtree_uses_safe_fd_version_if_available (test.test_shutil.TestShutil) ... ok test_rmtree_works_on_bytes (test.test_shutil.TestShutil) ... ok test_rmtree_works_on_symlinks (test.test_shutil.TestShutil) ... ok test_tarfile_root_owner (test.test_shutil.TestShutil) ... skipped 'requires zlib' test_tarfile_vs_tar (test.test_shutil.TestShutil) ... skipped 'requires zlib' test_unpack_archive (test.test_shutil.TestShutil) ... skipped 'requires zlib' test_unpack_registery (test.test_shutil.TestShutil) ... ok test_destinsrc_false_negative (test.test_shutil.TestMove) ... ok test_destinsrc_false_positive (test.test_shutil.TestMove) ... ok test_dont_move_dir_in_itself (test.test_shutil.TestMove) ... ok test_existing_file_inside_dest_dir (test.test_shutil.TestMove) ... ok test_move_as_rename_return_value (test.test_shutil.TestMove) ... ok test_move_dangling_symlink (test.test_shutil.TestMove) ... ok test_move_dir (test.test_shutil.TestMove) ... ok test_move_dir_other_fs (test.test_shutil.TestMove) ... ok test_move_dir_symlink (test.test_shutil.TestMove) ... ok test_move_dir_to_dir (test.test_shutil.TestMove) ... ok test_move_dir_to_dir_other_fs (test.test_shutil.TestMove) ... ok test_move_file (test.test_shutil.TestMove) ... ok test_move_file_other_fs (test.test_shutil.TestMove) ... ok test_move_file_symlink (test.test_shutil.TestMove) ... ok test_move_file_symlink_to_dir (test.test_shutil.TestMove) ... ok test_move_file_to_dir (test.test_shutil.TestMove) ... ok test_move_file_to_dir_other_fs (test.test_shutil.TestMove) ... ok test_move_return_value (test.test_shutil.TestMove) ... ok test_move_dir_caseinsensitive (test.test_shutil.TestCopyFile) ... ok test_w_dest_close_fails (test.test_shutil.TestCopyFile) ... ok test_w_dest_open_fails (test.test_shutil.TestCopyFile) ... ok test_w_source_close_fails (test.test_shutil.TestCopyFile) ... ok test_w_source_open_fails (test.test_shutil.TestCopyFile) ... ok test_does_not_crash (test.test_shutil.TermsizeTests) Check if get_terminal_size() returns a meaningful value. ... ok test_os_environ_first (test.test_shutil.TermsizeTests) Check if environment variables have precedence ... ok test_stty_match (test.test_shutil.TermsizeTests) Check if stty returns the same results ignoring env ... skipped 'not on tty' test_absolute_cmd (test.test_shutil.TestWhich) ... ok test_basic (test.test_shutil.TestWhich) ... ok test_cwd (test.test_shutil.TestWhich) ... ok test_non_matching_mode (test.test_shutil.TestWhich) ... FAIL test_nonexistent_file (test.test_shutil.TestWhich) ... ok test_pathext_checking (test.test_shutil.TestWhich) ... skipped 'pathext check is Windows-only' test_relative_cmd (test.test_shutil.TestWhich) ... ok test_relative_path (test.test_shutil.TestWhich) ... test test_shutil failed ok ====================================================================== FAIL: test_non_matching_mode (test.test_shutil.TestWhich) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_shutil.py", line 1334, in test_non_matching_mode self.assertIsNone(rv) AssertionError: '/tmp/Tmphvdojz/Tmpooduar.Exe' is not None ---------------------------------------------------------------------- Ran 79 tests in 3.240s FAILED (failures=1, skipped=13) Re-running test 'test_subprocess' in verbose mode 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_nonzero (test.test_subprocess.ProcessTestCase) ... ok test_check_output_stderr (test.test_subprocess.ProcessTestCase) ... ok test_check_output_stdout_arg (test.test_subprocess.ProcessTestCase) ... ok test_check_output_timeout (test.test_subprocess.ProcessTestCase) ... FAIL 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_ouput (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_empty_env (test.test_subprocess.ProcessTestCase) ... skipped 'the python library cannot be loaded with an empty environment' 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) ... skipped 'need an installed Python. See #7774' 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_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_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) ... ERROR 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_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_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_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_gc_module_failure (test.test_subprocess.POSIXProcessTestCase) ... ok 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_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_getoutput (test.test_subprocess.CommandTests) ... 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_nonzero (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_check_output_stderr (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_check_output_stdout_arg (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_check_output_timeout (test.test_subprocess.ProcessTestCaseNoPoll) ... FAIL 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_ouput (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_empty_env (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'the python library cannot be loaded with an empty environment' 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) ... skipped 'need an installed Python. See #7774' 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_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_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) ... ERROR test_writes_before_communicate (test.test_subprocess.ProcessTestCaseNoPoll) ... ok test_eintr_retry_call (test.test_subprocess.HelperFunctionTests) ... 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_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) ... test test_subprocess failed ok ====================================================================== ERROR: test_wait_timeout (test.test_subprocess.ProcessTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_subprocess.py", line 957, in test_wait_timeout self.assertEqual(p.wait(timeout=3), 0) File "/root/P-without-block/Lib/subprocess.py", line 1523, in wait raise TimeoutExpired(self.args, timeout) subprocess.TimeoutExpired: Command '['/root/P-without-block/python', '-c', 'import time; time.sleep(0.1)']' timed out after 3 seconds ====================================================================== ERROR: test_wait_timeout (test.test_subprocess.ProcessTestCaseNoPoll) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_subprocess.py", line 957, in test_wait_timeout self.assertEqual(p.wait(timeout=3), 0) File "/root/P-without-block/Lib/subprocess.py", line 1523, in wait raise TimeoutExpired(self.args, timeout) subprocess.TimeoutExpired: Command '['/root/P-without-block/python', '-c', 'import time; time.sleep(0.1)']' timed out after 3 seconds ====================================================================== FAIL: test_check_output_timeout (test.test_subprocess.ProcessTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_subprocess.py", line 183, in test_check_output_timeout self.assertEqual(c.exception.output, b'BDFL') AssertionError: b'' != b'BDFL' ====================================================================== FAIL: test_check_output_timeout (test.test_subprocess.ProcessTestCaseNoPoll) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_subprocess.py", line 183, in test_check_output_timeout self.assertEqual(c.exception.output, b'BDFL') AssertionError: b'' != b'BDFL' ---------------------------------------------------------------------- Ran 212 tests in 1942.886s FAILED (failures=2, errors=2, skipped=21) Re-running test 'test_sys' in verbose mode test_43581 (test.test_sys.SysModuleTest) ... ok test_attributes (test.test_sys.SysModuleTest) ... ok test_call_tracing (test.test_sys.SysModuleTest) ... ok test_clear_type_cache (test.test_sys.SysModuleTest) ... ok test_current_frames (test.test_sys.SysModuleTest) ... ok test_custom_displayhook (test.test_sys.SysModuleTest) ... ok test_debugmallocstats (test.test_sys.SysModuleTest) ... ok test_dlopenflags (test.test_sys.SysModuleTest) ... ok test_excepthook (test.test_sys.SysModuleTest) ... ok test_executable (test.test_sys.SysModuleTest) ... ok test_exit (test.test_sys.SysModuleTest) ... ok test_getdefaultencoding (test.test_sys.SysModuleTest) ... ok test_getfilesystemencoding (test.test_sys.SysModuleTest) ... ok test_getframe (test.test_sys.SysModuleTest) ... ok test_getwindowsversion (test.test_sys.SysModuleTest) ... skipped "object has no attribute 'getwindowsversion'" test_implementation (test.test_sys.SysModuleTest) ... ok test_intern (test.test_sys.SysModuleTest) ... ok test_ioencoding (test.test_sys.SysModuleTest) ... ok test_lost_displayhook (test.test_sys.SysModuleTest) ... ok test_original_displayhook (test.test_sys.SysModuleTest) ... ok test_original_excepthook (test.test_sys.SysModuleTest) ... ok test_recursionlimit (test.test_sys.SysModuleTest) ... ok test_recursionlimit_fatalerror (test.test_sys.SysModuleTest) ... ok test_recursionlimit_recovery (test.test_sys.SysModuleTest) ... ok test_refcount (test.test_sys.SysModuleTest) ... ok test_setcheckinterval (test.test_sys.SysModuleTest) ... ok test_switchinterval (test.test_sys.SysModuleTest) ... skipped 'Threading required for this test.' test_sys_flags (test.test_sys.SysModuleTest) ... ok test_thread_info (test.test_sys.SysModuleTest) ... skipped 'Threading required for this test.' test_default (test.test_sys.SizeofTest) ... ok test_gc_head_size (test.test_sys.SizeofTest) ... ok test_objecttypes (test.test_sys.SizeofTest) ... FAIL test_pythontypes (test.test_sys.SizeofTest) ... test test_sys failed ok ====================================================================== FAIL: test_objecttypes (test.test_sys.SizeofTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_sys.py", line 706, in test_objecttypes check(BaseException(), size('5Pi')) File "/root/P-without-block/Lib/test/support.py", line 1253, in check_sizeof test.assertEqual(result, size, msg) AssertionError: 42 != 44 : wrong size for : got 42, expected 44 ---------------------------------------------------------------------- Ran 33 tests in 43.360s FAILED (failures=1, skipped=3) Re-running test 'test_types' in verbose mode test_boolean_ops (test.test_types.TypesTests) ... ok test_comparisons (test.test_types.TypesTests) ... ok test_float__format__ (test.test_types.TypesTests) ... FAIL test_float__format__locale (test.test_types.TypesTests) ... ok test_float_constructor (test.test_types.TypesTests) ... ok test_float_to_string (test.test_types.TypesTests) ... ok test_floats (test.test_types.TypesTests) ... ok test_format_spec_errors (test.test_types.TypesTests) ... ok test_int__format__ (test.test_types.TypesTests) ... ok test_int__format__locale (test.test_types.TypesTests) ... ok test_internal_sizes (test.test_types.TypesTests) ... ok test_normal_integers (test.test_types.TypesTests) ... ok test_numeric_types (test.test_types.TypesTests) ... ok test_strings (test.test_types.TypesTests) ... ok test_truth_values (test.test_types.TypesTests) ... ok test_type_function (test.test_types.TypesTests) ... ok test_zero_division (test.test_types.TypesTests) ... ok test_chainmap (test.test_types.MappingProxyTests) ... ok test_constructor (test.test_types.MappingProxyTests) ... ok test_contains (test.test_types.MappingProxyTests) ... ok test_copy (test.test_types.MappingProxyTests) ... ok test_customdict (test.test_types.MappingProxyTests) ... ok test_get (test.test_types.MappingProxyTests) ... ok test_iterators (test.test_types.MappingProxyTests) ... ok test_len (test.test_types.MappingProxyTests) ... ok test_methods (test.test_types.MappingProxyTests) ... ok test_missing (test.test_types.MappingProxyTests) ... ok test_views (test.test_types.MappingProxyTests) ... ok test_metaclass_derivation (test.test_types.ClassCreationTests) ... ok test_metaclass_override_callable (test.test_types.ClassCreationTests) ... ok test_metaclass_override_function (test.test_types.ClassCreationTests) ... ok test_new_class_basics (test.test_types.ClassCreationTests) ... ok test_new_class_defaults (test.test_types.ClassCreationTests) ... ok test_new_class_exec_body (test.test_types.ClassCreationTests) ... ok test_new_class_meta (test.test_types.ClassCreationTests) ... ok test_new_class_meta_with_base (test.test_types.ClassCreationTests) ... ok test_new_class_metaclass_keywords (test.test_types.ClassCreationTests) ... ok test_new_class_subclass (test.test_types.ClassCreationTests) ... ok test_prepare_class (test.test_types.ClassCreationTests) ... ok test_as_dict (test.test_types.SimpleNamespaceTests) ... ok test_attrdel (test.test_types.SimpleNamespaceTests) ... ok test_attrget (test.test_types.SimpleNamespaceTests) ... ok test_attrset (test.test_types.SimpleNamespaceTests) ... ok test_constructor (test.test_types.SimpleNamespaceTests) ... ok test_nested (test.test_types.SimpleNamespaceTests) ... ok test_recursive (test.test_types.SimpleNamespaceTests) ... ok test_recursive_repr (test.test_types.SimpleNamespaceTests) ... ok test_repr (test.test_types.SimpleNamespaceTests) ... ok test_subclass (test.test_types.SimpleNamespaceTests) ... ok test_unbound (test.test_types.SimpleNamespaceTests) ... ok test_underlying_dict (test.test_types.SimpleNamespaceTests) ... test test_types failed ok ====================================================================== FAIL: test_float__format__ (test.test_types.TypesTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_types.py", line 466, in test_float__format__ test(1e200, '+', '+1e+200') File "/root/P-without-block/Lib/test/test_types.py", line 402, in test self.assertEqual(f.__format__(format_spec), result) AssertionError: '+9.9999999999999997e+199' != '+1e+200' - +9.9999999999999997e+199 + +1e+200 ---------------------------------------------------------------------- Ran 51 tests in 2.031s FAILED (failures=1) Re-running test 'test_unicode' in verbose mode 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_aswidechar (test.test_unicode.UnicodeTest) ... ok test_aswidecharstring (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_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_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_encode_decimal (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) ... ok test_expandtabs_overflows_gracefully (test.test_unicode.UnicodeTest) ... ok test_extended_getslice (test.test_unicode.UnicodeTest) ... ok test_find (test.test_unicode.UnicodeTest) ... FAIL test_find_etc_raise_correct_error_messages (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_huge_precision (test.test_unicode.UnicodeTest) ... ok test_formatting_huge_width (test.test_unicode.UnicodeTest) ... ok test_from_format (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_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) ... ok test_replace_overflow (test.test_unicode.UnicodeTest) ... ok test_repr (test.test_unicode.UnicodeTest) ... ok test_resize (test.test_unicode.UnicodeTest) ... ok test_rfind (test.test_unicode.UnicodeTest) ... FAIL 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_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_transform_decimal (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) ... test test_unicode failed ok ====================================================================== FAIL: test_find (test.test_unicode.UnicodeTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_unicode.py", line 180, in test_find self.checkequal(100, 'a' * 100 + '\U00100304', 'find', '\U00100304') File "/root/P-without-block/Lib/test/string_tests.py", line 64, in checkequal realresult AssertionError: 100 != -1 ====================================================================== FAIL: test_rfind (test.test_unicode.UnicodeTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/P-without-block/Lib/test/test_unicode.py", line 198, in test_rfind self.checkequal(0, '\U00100304' + 'a' * 100, 'rfind', '\U00100304') File "/root/P-without-block/Lib/test/string_tests.py", line 64, in checkequal realresult AssertionError: 0 != -1 ---------------------------------------------------------------------- Ran 109 tests in 298.290s FAILED (failures=2) make: *** [test] Error 1