mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
bpo-47061: deprecate the aifc
module (GH-32134)
Co-authored-by: Christian Heimes <christian@python.org>
This commit is contained in:
parent
944f09adfc
commit
c1d93b6411
10 changed files with 95 additions and 6 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue