diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-11 23:00:07 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-11 23:00:07 -0500 |
| commit | 32afd146a0d3e1d8a1e8e443324cec3926306bdf (patch) | |
| tree | f8104269a26c62e0a029daddbc217cb50bdea3b8 /test/test_process.py | |
| parent | b17375c5ee16e21dc4e3c5e95b5da3d980489ec3 (diff) | |
| download | python-coveragepy-32afd146a0d3e1d8a1e8e443324cec3926306bdf.tar.gz | |
A faster way to get the actual path of Windows files, especially when operating on lots of files in the same directory.
Diffstat (limited to 'test/test_process.py')
| -rw-r--r-- | test/test_process.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_process.py b/test/test_process.py index 259bf25..a67a9c2 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) |
