summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_files.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_files.py b/tests/test_files.py
index ea1c494..070430f 100644
--- a/tests/test_files.py
+++ b/tests/test_files.py
@@ -183,7 +183,7 @@ class RelativePathAliasesTest(CoverageTest):
aliases.add(d, '/the/source')
the_file = os.path.join(d, 'a.py')
the_file = os.path.expanduser(the_file)
- the_file = os.path.abspath(the_file)
+ the_file = os.path.abspath(os.path.realpath(the_file))
assert '~' not in the_file # to be sure the test is pure.
self.assertEqual(aliases.map(the_file), '/the/source/a.py')