summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_macostools.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-02-27 23:18:46 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-02-27 23:18:46 (GMT)
commit98fc683719ed2c4c99b89b8e8f3762fe79a0be9f (patch)
tree749bb97fea02db44e1a3e271dfe260da0d0e7195 /Lib/test/test_macostools.py
parentabeb7d5f7f8a7db4431521f460d964ff390b4c3c (diff)
downloadcpython-98fc683719ed2c4c99b89b8e8f3762fe79a0be9f.zip
cpython-98fc683719ed2c4c99b89b8e8f3762fe79a0be9f.tar.gz
cpython-98fc683719ed2c4c99b89b8e8f3762fe79a0be9f.tar.bz2
Getting rid of macfs.
Diffstat (limited to 'Lib/test/test_macostools.py')
-rw-r--r--Lib/test/test_macostools.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_macostools.py b/Lib/test/test_macostools.py
index d9578bb..9ed2d81 100644
--- a/Lib/test/test_macostools.py
+++ b/Lib/test/test_macostools.py
@@ -2,7 +2,7 @@
import unittest
import macostools
-import macfs
+import Carbon.File
import MacOS
import os
import sys
@@ -67,7 +67,7 @@ class TestMacostools(unittest.TestCase):
except:
pass
macostools.mkalias(test_support.TESTFN, TESTFN2)
- fss, _, _ = macfs.ResolveAliasFile(TESTFN2)
+ fss, _, _ = Carbon.File.ResolveAliasFile(TESTFN2, 0)
self.assertEqual(fss.as_pathname(), os.path.realpath(test_support.TESTFN))
def test_mkalias_relative(self):
@@ -76,7 +76,7 @@ class TestMacostools(unittest.TestCase):
except:
pass
macostools.mkalias(test_support.TESTFN, TESTFN2, sys.prefix)
- fss, _, _ = macfs.ResolveAliasFile(TESTFN2)
+ fss, _, _ = Carbon.File.ResolveAliasFile(TESTFN2, 0)
self.assertEqual(fss.as_pathname(), os.path.realpath(test_support.TESTFN))