[issue43185] <unittest> AssertRaises() causes core dump in handling recursion
Irit Katriel
report at bugs.python.org
Wed Feb 10 06:55:45 EST 2021
Irit Katriel <iritkatriel at yahoo.com> added the comment:
Reproduced on master as well. Simplified script:
------------------------------------------
import unittest
def f():
raise TypeError
class TestAudioop(unittest.TestCase):
def test_invalid_adpcm_state(self):
self.assertRaises(TypeError, f)
self.test_invalid_adpcm_state()
TestAudioop().test_invalid_adpcm_state()
------------------------------------------
----------
nosy: +Mark.Shannon, iritkatriel
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43185>
_______________________________________
More information about the Python-bugs-list
mailing list