Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b1fbf85

Browse files
committed
Filter out the depracation warning for macfs.
1 parent 60de2e8 commit b1fbf85

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/test/test_macfs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Copyright (C) 2003 Python Software Foundation
22

33
import unittest
4+
import warnings
5+
warnings.filterwarnings("ignore", "macfs.*", DeprecationWarning, __name__)
46
import macfs
57
import os
68
import tempfile

0 commit comments

Comments
 (0)