summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_audioop.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/test/test_audioop.py b/Lib/test/test_audioop.py
index ff67f2c..a92cf87 100644
--- a/Lib/test/test_audioop.py
+++ b/Lib/test/test_audioop.py
@@ -1,7 +1,6 @@
import audioop
import sys
import unittest
-from test.support import run_unittest
def pack(width, data):
return b''.join(v.to_bytes(width, sys.byteorder, signed=True) for v in data)
@@ -374,8 +373,5 @@ class TestAudioop(unittest.TestCase):
self.assertRaises(audioop.error, audioop.alaw2lin, data, size)
self.assertRaises(audioop.error, audioop.adpcm2lin, data, size, state)
-def test_main():
- run_unittest(TestAudioop)
-
if __name__ == '__main__':
- test_main()
+ unittest.main()
h2023-05-251-1/+18 * gh-104372: use == -1 before PyErr_Occurred (#104831)Gregory P. Smith2023-05-241-1/+1 * gh-104372: Use non-Raw malloc for c_fds_to_keep in _posixsubprocess (#104697)Gregory P. Smith2023-05-201-2/+2 * gh-104372: Cleanup _posixsubprocess `make_inheritable` for async signal safet...Gregory P. Smith2023-05-171-34/+91 * gh-99113: Add Py_MOD_PER_INTERPRETER_GIL_SUPPORTED (gh-104205)Eric Snow2023-05-051-0/+1 * gh-94518: Port 23-argument `_posixsubprocess.fork_exec` to Argument Clinic (#...Oleg Iarygin2023-04-241-66/+93 * gh-94518: Rename `group*` to `extra_group*` to avoid confusion (#101054)Oleg Iarygin2023-01-261-28/+28 * gh-94518: [_posixsubprocess] Replace variable validity flags with reserved va...Oleg Iarygin2023-01-141-33/+30 * bpo-15999: Accept arbitrary values for boolean parameters. (#15609)Serhiy Storchaka2022-12-03