summaryrefslogtreecommitdiff
path: root/tests/test_files.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_files.py')
-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 a84ef61d..9df4e5d0 100644
--- a/tests/test_files.py
+++ b/tests/test_files.py
@@ -25,7 +25,7 @@ class FilesTest(CoverageTest):
def abs_path(self, p):
"""Return the absolute path for `p`."""
- return os.path.join(os.getcwd(), os.path.normpath(p))
+ return os.path.join(abs_file(os.getcwd()), os.path.normpath(p))
def test_simple(self):
self.make_file("hello.py")