diff --git a/Lib/test/test_macfs.py b/Lib/test/test_macfs.py index d02d9e15d6f..f6b72eeb782 100644 --- a/Lib/test/test_macfs.py +++ b/Lib/test/test_macfs.py @@ -1,6 +1,8 @@ # Copyright (C) 2003 Python Software Foundation import unittest +import warnings +warnings.filterwarnings("ignore", "macfs.*", DeprecationWarning, __name__) import macfs import os import tempfile