Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in atexit._run_exitfuncs [...] Exception expected for value, tuple found #49339

Closed
mdickinson opened this issue Jan 28, 2009 · 3 comments
Closed
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@mdickinson
Copy link
Member

BPO 5089
Nosy @mdickinson

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2010-07-09.13:20:47.425>
created_at = <Date 2009-01-28.12:52:47.353>
labels = ['type-bug', 'tests']
title = 'Error in atexit._run_exitfuncs [...] Exception expected for value, tuple found'
updated_at = <Date 2010-07-09.13:20:47.423>
user = 'https://github.com/mdickinson'

bugs.python.org fields:

activity = <Date 2010-07-09.13:20:47.423>
actor = 'mark.dickinson'
assignee = 'none'
closed = True
closed_date = <Date 2010-07-09.13:20:47.425>
closer = 'mark.dickinson'
components = ['Tests']
creation = <Date 2009-01-28.12:52:47.353>
creator = 'mark.dickinson'
dependencies = []
files = []
hgrepos = []
issue_num = 5089
keywords = []
message_count = 3.0
messages = ['80705', '109728', '109730']
nosy_count = 2.0
nosy_names = ['mark.dickinson', 'BreamoreBoy']
pr_nums = []
priority = 'normal'
resolution = 'works for me'
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue5089'
versions = ['Python 3.1']

@mdickinson
Copy link
Member Author

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.

@mdickinson mdickinson added tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error labels Jan 28, 2009
@BreamoreBoy
Copy link
Mannequin

BreamoreBoy mannequin commented Jul 9, 2010

Can this be reproduced with 3.1, 3.2 or even 2.7, or can it be closed?

@mdickinson
Copy link
Member Author

I haven't seen this for a while; it can probably be closed. Thanks!

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant