mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
gh-91217: deprecate-sndhdr (#91806)
Also inline necessary functionality from `sndhdr` into `email.mime.audio` for `MIMEAudio`. Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
5576ddbbbc
commit
e7929cba16
6 changed files with 49 additions and 16 deletions
|
@ -1,7 +1,10 @@
|
|||
import sndhdr
|
||||
import pickle
|
||||
import unittest
|
||||
from test.support import findfile
|
||||
from test.support import warnings_helper
|
||||
|
||||
sndhdr = warnings_helper.import_deprecated("sndhdr")
|
||||
|
||||
|
||||
class TestFormats(unittest.TestCase):
|
||||
def test_data(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue