Skip to content

Commit 9a73658

Browse files
committed
Fix tests for py 3.5 dicts
1 parent 301b520 commit 9a73658

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/parser_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@ def test_parse(self, text, tags):
249249

250250
assert len(tag_list) == len(tags)
251251

252-
for tag, (name, value) in zip(tag_list.values(), tags):
252+
for name, value in tags:
253+
tag = tag_list[name]
253254
assert tag.name == name
254255
assert tag.value == value
255256

0 commit comments

Comments
 (0)