Message386763
Seeing the following program, in the second assertRaises(), function "test_invalid_adpcm_state()" is recursively called. Then a fatal Python error shows up and the Python interpreter crashes.
++++++++++++++++++++++++++++++++++++++
import unittest
import audioop
class TestAudioop(unittest.TestCase):
pass
def test_invalid_adpcm_state():
TestAudioop.assertRaises(TypeError, audioop.lin2adpcm, b'\x00', 1, 555)
TestAudioop.assertRaises(test_invalid_adpcm_state(), audioop.adpcm2lin, b'\x00', 1, (0, (- 1)))
TestAudioop = TestAudioop()
test_invalid_adpcm_state()
+++++++++++++++++++++++++++++++++++++++
System Info: Ubuntu 16.04
Python Version: Python 3.9.1 |
|
Date |
User |
Action |
Args |
2021-02-10 09:00:08 | CharlesFengY | set | recipients:
+ CharlesFengY |
2021-02-10 09:00:08 | CharlesFengY | set | messageid: <1612947608.83.0.497141724591.issue43185@roundup.psfhosted.org> |
2021-02-10 09:00:08 | CharlesFengY | link | issue43185 messages |
2021-02-10 09:00:08 | CharlesFengY | create | |
|