[Python-Dev] error in test suite

Andrew Svetlov andrew.svetlov at gmail.com
Sat Aug 31 19:58:48 CEST 2013


Sorry, this is mine.
This is related to http://bugs.python.org/issue11798
Error happens when tests regrtest executed with -R option.
I've temporary disabled this feature until finally fix it.

On Sat, Aug 31, 2013 at 8:23 PM, Ethan Furman <ethan at stoneleaf.us> wrote:
> Am I the only one experiencing this?
>
> 262 tests OK.
> 93 tests failed:
>     test___all__ test_abc test_array test_ast test_asynchat
>     test_asyncore test_bisect test_buffer test_bufio test_bytes
>     test_codeccallbacks test_codecs test_colorsys test_compileall
>     test_configparser test_contextlib test_crypt test_ctypes test_dbm
>     test_dbm_dumb test_dbm_ndbm test_dictcomps test_enum
>     test_exceptions test_faulthandler test_file test_fileinput
>     test_frozen test_future test_future3 test_future5 test_genericpath
>     test_getargs2 test_getpass test_hash test_hashlib test_heapq
>     test_idle test_imaplib test_imp test_import test_index test_io
>     test_ioctl test_ipaddress test_iterlen test_json test_keyword
>     test_largefile test_locale test_macpath test_multiprocessing_fork
>     test_multiprocessing_forkserver test_multiprocessing_spawn
>     test_namespace_pkgs test_ntpath test_operator test_osx_env
>     test_pdb test_pep352 test_posixpath test_print test_py_compile
>     test_random test_regrtest test_robotparser test_runpy test_sched
>     test_set test_shutil test_site test_smtpd test_sndhdr
>     test_source_encoding test_sqlite test_stat test_strftime
>     test_sundry test_tarfile test_textwrap test_threading test_time
>     test_unicode test_univnewlines test_urllib test_urllib2net
>     test_userstring test_uuid test_warnings test_wave test_webbrowser
>     test_xml_dom_minicompat test_zipfile
> 24 tests skipped:
>     test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp
>     test_codecmaps_kr test_codecmaps_tw test_curses test_dbm_gnu
>     test_devpoll test_gdb test_kqueue test_lzma test_msilib
>     test_ossaudiodev test_smtpnet test_socketserver test_startfile
>     test_timeout test_tk test_ttk_guionly test_urllibnet test_winreg
>     test_winsound test_xmlrpc_net test_zipfile64
>
> and the failure appears to always be:
>
> test [...] crashed -- Traceback (most recent call last):
>   File "/home/ethan/source/python/issue18780/Lib/test/regrtest.py", line
> 1265, in runtest_inner
>     huntrleaks)
>   File "/home/ethan/source/python/issue18780/Lib/test/regrtest.py", line
> 1381, in dash_R
>     indirect_test()
>   File "/home/ethan/source/python/issue18780/Lib/test/regrtest.py", line
> 1261, in <lambda>
>     test_runner = lambda: support.run_unittest(tests)
>   File "/home/ethan/source/python/issue18780/Lib/test/support/__init__.py",
> line 1683, in run_unittest
>     _run_suite(suite)
>   File "/home/ethan/source/python/issue18780/Lib/test/support/__init__.py",
> line 1649, in _run_suite
>     result = runner.run(suite)
>   File "/home/ethan/source/python/issue18780/Lib/test/support/__init__.py",
> line 1548, in run
>     test(result)
>   File "/home/ethan/source/python/issue18780/Lib/unittest/suite.py", line
> 76, in __call__
>     return self.run(*args, **kwds)
>   File "/home/ethan/source/python/issue18780/Lib/unittest/suite.py", line
> 114, in run
>     test(result)
>   File "/home/ethan/source/python/issue18780/Lib/unittest/suite.py", line
> 76, in __call__
>     return self.run(*args, **kwds)
>   File "/home/ethan/source/python/issue18780/Lib/unittest/suite.py", line
> 114, in run
>     test(result)
> TypeError: 'NoneType' object is not callable
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/andrew.svetlov%40gmail.com



-- 
Thanks,
Andrew Svetlov


More information about the Python-Dev mailing list