[New-bugs-announce] [issue5089] Error in atexit._run_exitfuncs [...] Exception expected for value, tuple found

Mark Dickinson report at bugs.python.org
Wed Jan 28 13:52:50 CET 2009


New submission from Mark Dickinson <dickinsm at gmail.com>:

When running the test-suite (using "make test") for a 32-bit debug build 
of py3k on OS X 10.5/Core 2 Duo, I occasionally (perhaps 1 time in 10) get 
the following output at the end of a (successful) test_run:

...
test_zipimport_support
test_zlib
301 tests OK.
22 tests skipped:
    test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp
    test_codecmaps_kr test_codecmaps_tw test_curses test_dbm_gnu
    test_epoll test_largefile test_nis test_normalization
    test_ossaudiodev test_pep277 test_socketserver test_startfile
    test_timeout test_urllib2net test_urllibnet test_winreg
    test_winsound test_xmlrpc_net test_zipfile64
Those skips are all expected on darwin.
Error in atexit._run_exitfuncs:
TypeError: print_exception(): Exception expected for value, tuple found
[1264638 refs]


I assume that there's a genuine exception here that we're not seeing;  
i.e., that there's a shallow error (tuple instead of exception) that's 
masking output of information from a deeper error.

----------
components: Tests
messages: 80705
nosy: marketdickinson
severity: normal
status: open
title: Error in atexit._run_exitfuncs [...] Exception expected for value, tuple found
type: behavior
versions: Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5089>
_______________________________________


More information about the New-bugs-announce mailing list