bpo-47061: deprecate the aifc module (GH-32134)

Co-authored-by: Christian Heimes <christian@python.org>
This commit is contained in:
Brett Cannon 2022-04-05 12:05:48 -07:00 committed by GitHub
parent 944f09adfc
commit c1d93b6411
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 95 additions and 6 deletions

View file

@ -1,6 +1,6 @@
from test.support import findfile
from test.support.os_helper import TESTFN, unlink
from test.support.warnings_helper import check_no_resource_warning
from test.support.warnings_helper import check_no_resource_warning, import_deprecated
import unittest
from unittest import mock
from test import audiotests
@ -8,7 +8,10 @@ from audioop import byteswap
import io
import sys
import struct
import aifc
aifc = import_deprecated("aifc")
class AifcTest(audiotests.AudioWriteTests,
audiotests.AudioTestsWithSourceFile):