summaryrefslogtreecommitdiff
path: root/tests/test_files.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-01-28 21:38:07 -0500
committerNed Batchelder <ned@nedbatchelder.com>2019-01-28 21:38:07 -0500
commit16244748ee33ef2e1cddfc6f16f03a86e466d31e (patch)
tree137baffb4d2cc651439ea14eaeac3a811f49542b /tests/test_files.py
parent1655796d48cb67d7247b41a09fe5c2463b32d47a (diff)
downloadpython-coveragepy-git-16244748ee33ef2e1cddfc6f16f03a86e466d31e.tar.gz
Fix a test to get case right on Windows
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 87b85431..e271da1b 100644
--- a/tests/test_files.py
+++ b/tests/test_files.py
@@ -59,7 +59,7 @@ class FilesTest(CoverageTest):
def test_canonical_filename_ensure_cache_hit(self):
self.make_file("sub/proj1/file1.py")
- d = os.path.normpath("sub/proj1")
+ d = actual_path(self.abs_path("sub/proj1"))
self.chdir(d)
files.set_relative_directory()
canonical_path = files.canonical_filename('sub/proj1/file1.py')