summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_macostools.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_macostools.py')
-rw-r--r--Lib/test/test_macostools.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_macostools.py b/Lib/test/test_macostools.py
index 268d9bb..f5abb6d 100644
--- a/Lib/test/test_macostools.py
+++ b/Lib/test/test_macostools.py
@@ -68,7 +68,7 @@ class TestMacostools(unittest.TestCase):
pass
macostools.mkalias(test_support.TESTFN, TESTFN2)
fss, _, _ = macfs.ResolveAliasFile(TESTFN2)
- self.assertEqual(fss.as_pathname(), os.path.abspath(test_support.TESTFN))
+ self.assertEqual(fss.as_pathname(), os.path.realpath(test_support.TESTFN))
def test_mkalias_relative(self):
try:
@@ -77,7 +77,7 @@ class TestMacostools(unittest.TestCase):
pass
macostools.mkalias(test_support.TESTFN, TESTFN2, sys.prefix)
fss, _, _ = macfs.ResolveAliasFile(TESTFN2)
- self.assertEqual(fss.as_pathname(), os.path.abspath(test_support.TESTFN))
+ self.assertEqual(fss.as_pathname(), os.path.realpath(test_support.TESTFN))
def test_main():