Skip to content
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.