diff options
Diffstat (limited to 'Lib/aifc.py')
-rw-r--r-- | Lib/aifc.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/aifc.py b/Lib/aifc.py index 314cfd230d..5254987e22 100644 --- a/Lib/aifc.py +++ b/Lib/aifc.py @@ -255,7 +255,9 @@ def _write_float(f, x): _write_ulong(f, himant) _write_ulong(f, lomant) -from chunk import Chunk +with warnings.catch_warnings(): + warnings.simplefilter("ignore", DeprecationWarning) + from chunk import Chunk from collections import namedtuple _aifc_params = namedtuple('_aifc_params', |