From 16244748ee33ef2e1cddfc6f16f03a86e466d31e Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 28 Jan 2019 21:38:07 -0500 Subject: Fix a test to get case right on Windows --- tests/test_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_files.py') 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') -- cgit v1.2.1