This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author CharlesFengY
Recipients CharlesFengY
Date 2021-02-10.09:00:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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):

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()


System Info: Ubuntu 16.04
Python Version:  Python 3.9.1
Date User Action Args
2021-02-10 09:00:08CharlesFengYsetrecipients: + CharlesFengY
2021-02-10 09:00:08CharlesFengYsetmessageid: <>
2021-02-10 09:00:08CharlesFengYlinkissue43185 messages
2021-02-10 09:00:08CharlesFengYcreate