mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Remove the macfs module. This led to the deprecation of macostools.touched();
it completely relied on macfs and is a no-op on OS X according to code comments.
This commit is contained in:
parent
7e93587746
commit
5e2635103c
9 changed files with 14 additions and 546 deletions
|
|
@ -51,7 +51,11 @@ class TestMacostools(unittest.TestCase):
|
|||
|
||||
def test_touched(self):
|
||||
# This really only tests that nothing unforeseen happens.
|
||||
macostools.touched(test_support.TESTFN)
|
||||
import warnings
|
||||
with test_support.guard_warnings_filter():
|
||||
warnings.filterwarnings('ignore', 'macostools.touched*',
|
||||
DeprecationWarning)
|
||||
macostools.touched(test_support.TESTFN)
|
||||
|
||||
def test_copy(self):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue