8000 gh-85525: Indicate supported sound header formats by nanjekyejoannah · Pull Request #21575 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-85525: Indicate supported sound header formats #21575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 15, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into sndhdr
  • Loading branch information
JelleZijlstra authored Apr 12, 2022
commit bf47b192ab061104c62ebf49776894a555ade291
4 changes: 3 additions & 1 deletion Lib/sndhdr.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ def whathdr(filename):

def test_aifc(h, f):
"""AIFC and AIFF files"""
import aifc
with warnings.catch_warnings():
warnings.simplefilter('ignore', category=DeprecationWarning)
import aifc
if not h.startswith(b'FORM'):
return None
if h[8:12] == b'AIFC':
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.
0