diff options
author | Brett Cannon <bcannon@gmail.com> | 2007-05-20 23:17:38 +0000 |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2007-05-20 23:17:38 +0000 |
commit | 5e2635103c34ca1d4226f64c84c6bdf54d528d75 (patch) | |
tree | 1da233d88d33946de18f4e696b6c9013ada049ac /Lib/test/test_macostools.py | |
parent | 7e93587746374693b10b3c8cade7a0bc8c7eb100 (diff) | |
download | cpython-git-5e2635103c34ca1d4226f64c84c6bdf54d528d75.tar.gz |
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.
Diffstat (limited to 'Lib/test/test_macostools.py')
-rw-r--r-- | Lib/test/test_macostools.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Lib/test/test_macostools.py b/Lib/test/test_macostools.py index f3292ced32..40b690a1f6 100644 --- a/Lib/test/test_macostools.py +++ b/Lib/test/test_macostools.py @@ -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: |