Message386763
| Author |
CharlesFengY |
| Recipients |
CharlesFengY |
| Date |
2021年02月10日.09:00:08 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1612947608.83.0.497141724591.issue43185@roundup.psfhosted.org> |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| 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 |
|