summaryrefslogtreecommitdiff
path: root/test/test_process.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2011-08-23 23:18:31 -0400
committerNed Batchelder <ned@nedbatchelder.com>2011-08-23 23:18:31 -0400
commit3b4fd38f14ad2677213308bd3ed6c076162cfcc0 (patch)
treeb58b3c02aab674514bd3d9d77780aa2fafcaba73 /test/test_process.py
parent12860c24734a2d7e05ea6402c7ddcf5bfc470e75 (diff)
downloadpython-coveragepy-git-3b4fd38f14ad2677213308bd3ed6c076162cfcc0.tar.gz
And also keep Py3.x happy...
Diffstat (limited to 'test/test_process.py')
-rw-r--r--test/test_process.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_process.py b/test/test_process.py
index 33a761c5..ed9e89f3 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.