diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2011-08-23 23:18:31 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2011-08-23 23:18:31 -0400 |
commit | f904cebe6dc5ffaeacf0f434f57950c01affb745 (patch) | |
tree | 1db525c03cebc940af810bc8b38262524bcfb74e | |
parent | b0b390ac47c3672251a49e3df042345c1aabf0a1 (diff) | |
download | python-coveragepy-f904cebe6dc5ffaeacf0f434f57950c01affb745.tar.gz |
And also keep Py3.x happy...
-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 33a761c..ed9e89f 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) - self.assertEqual(summary.keys()[0], os.path.normpath('src/x.py')) - self.assertEqual(summary.values()[0], 6) + self.assertEqual(list(summary.keys())[0], os.path.normpath('src/x.py')) + self.assertEqual(list(summary.values())[0], 6) def test_missing_source_file(self): # Check what happens if the source is missing when reporting happens. |