mirror of
https://github.com/python/cpython.git
synced 2025-08-01 23:53:15 +00:00
Suppress wartning on macfs import.
This commit is contained in:
parent
a950f7ff0d
commit
ee0325ac9a
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,8 @@
|
|||
|
||||
import sys
|
||||
import os
|
||||
import warnings
|
||||
warnings.filterwarnings("ignore", "macfs.*", DeprecationWarning, __name__)
|
||||
import macfs
|
||||
import MacOS
|
||||
import gestalt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue