From b5ad7d3f30ad817a0e126cdad1be3ae0df6910c6 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 11 Nov 2012 23:00:07 -0500 Subject: A faster way to get the actual path of Windows files, especially when operating on lots of files in the same directory. --- test/test_process.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/test_process.py b/test/test_process.py index 259bf259..a67a9c2d 100644 --- a/test/test_process.py +++ b/test/test_process.py @@ -175,8 +175,8 @@ class ProcessTest(CoverageTest): data.read_file(".coverage") summary = data.summary(fullpath=True) self.assertEqual(len(summary), 1) - actual = os.path.abspath(list(summary.keys())[0]) - expected = os.path.abspath('src/x.py') + actual = os.path.normcase(os.path.abspath(list(summary.keys())[0])) + expected = os.path.normcase(os.path.abspath('src/x.py')) self.assertEqual(actual, expected) self.assertEqual(list(summary.values())[0], 6) -- cgit v1.2.1