]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Rewrite audio.py to jive with image.py (#91886)
authorBarry Warsaw <barry@python.org>
Sun, 24 Apr 2022 22:50:07 +0000 (15:50 -0700)
committerGitHub <noreply@github.com>
Sun, 24 Apr 2022 22:50:07 +0000 (15:50 -0700)
commit440332072706c5e422e6c54a2ec0ebb88e09c85c
tree76e0e5a12d37b250849b3a23486c33e57dda019c
parente93d2fbddaee329b2e8f405cbb5aec44ca221de6
Rewrite audio.py to jive with image.py (#91886)

Similar to the rewrite of email/mime/image.py and associated test after the
deprecation of imghdr.py, thisrewrites email/mime/audio.py and associated
tests after the deprecation of sndhdr.py.

Closes #91885
Lib/email/mime/audio.py
Lib/test/test_email/data/sndhdr.aifc [new file with mode: 0644]
Lib/test/test_email/data/sndhdr.aiff [new file with mode: 0644]
Lib/test/test_email/data/sndhdr.au [moved from Lib/test/test_email/data/audiotest.au with 100% similarity]
Lib/test/test_email/data/sndhdr.wav [new file with mode: 0644]
Lib/test/test_email/test_email.py