[New-bugs-announce] [issue10990] tests mutating sys.gettrace() w/o re-instating previous state

Brett Cannon report at bugs.python.org
Mon Jan 24 00:21:16 CET 2011


New submission from Brett Cannon <brett at python.org>:

The attached patch adds resource monitoring to test.regrtest to detect which tests are changing the trace function w/o putting back to what it was previously. The tests listed below are thus all being naughty. This is a meta-issue to help track which tests need to be changed to stop this behavior.

test_doctest
test_exceptions
test_io
test_pdb
test_pickle
test_pickletools
test_richcmp
test_runpy
test_scope
test_sys_settrace
test_zipimport_support

----------
components: Tests
files: sys_gettrace_monitor.diff
keywords: patch
messages: 126908
nosy: brett.cannon
priority: normal
severity: normal
stage: needs patch
status: open
title: tests mutating sys.gettrace() w/o re-instating previous state
type: behavior
versions: Python 3.2, Python 3.3
Added file: http://bugs.python.org/file20498/sys_gettrace_monitor.diff

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


More information about the New-bugs-announce mailing list