Skip to content

Commit 3b4fd38

Browse files
committed
And also keep Py3.x happy...
1 parent 12860c2 commit 3b4fd38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_process.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ def test_combine_with_aliases(self):
175175
data.read_file(".coverage")
176176
summary = data.summary(fullpath=True)
177177
self.assertEqual(len(summary), 1)
178-
self.assertEqual(summary.keys()[0], os.path.normpath('src/x.py'))
179-
self.assertEqual(summary.values()[0], 6)
178+
self.assertEqual(list(summary.keys())[0], os.path.normpath('src/x.py'))
179+
self.assertEqual(list(summary.values())[0], 6)
180180

181181
def test_missing_source_file(self):
182182
# Check what happens if the source is missing when reporting happens.

0 commit comments

Comments
 (0)