diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2019-01-28 21:38:07 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-01-28 21:38:07 -0500 |
commit | 16244748ee33ef2e1cddfc6f16f03a86e466d31e (patch) | |
tree | 137baffb4d2cc651439ea14eaeac3a811f49542b /tests/test_files.py | |
parent | 1655796d48cb67d7247b41a09fe5c2463b32d47a (diff) | |
download | python-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.py | 2 |
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') |