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 <rep...@bugs.python.org> <http://bugs.python.org/issue23890> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com