[New-bugs-announce] [issue23890] assertRaises increases reference counter

Vjacheslav Fyodorov report at bugs.python.org
Wed Apr 8 20:37:05 CEST 2015


New submission from Vjacheslav Fyodorov:

Sometimes unittest's assertRaises increases reference counter of callable. This can break tests in tricky cases. Not seen in 2.X version. Demo file attached.

----------
components: Library (Lib)
files: test_assertRaises.py
messages: 240280
nosy: Vjacheslav.Fyodorov
priority: normal
severity: normal
status: open
title: assertRaises increases reference counter
type: behavior
versions: Python 3.4
Added file: http://bugs.python.org/file38866/test_assertRaises.py

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


More information about the New-bugs-announce mailing list