[New-bugs-announce] [issue22937] unittest errors can't show locals

Robert Collins report at bugs.python.org
Tue Nov 25 03:06:22 CET 2014


New submission from Robert Collins:

>From https://github.com/testing-cabal/testtools/issues/111 - any code that is data dependent can be hard to diagnose from a backtrace alone. Many unittest and server environments address this by doing custom tracebacks that include locals.

To address this in unittest, we need to add a similar capacity to traceback, and then use it from unittest (as we can't just depend on a module from PyPI in the stdlib). This issue is for the unittest part of it. For the traceback dependency see http://bugs.python.org/issue22936 .

----------
components: Library (Lib)
messages: 231629
nosy: rbcollins
priority: normal
severity: normal
status: open
title: unittest errors can't show locals
type: enhancement
versions: Python 3.6

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


More information about the New-bugs-announce mailing list