Skip to content

Commit

Permalink
fixed one test to work on python2 and 3
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Dec 13, 2016
1 parent ea65e7a commit d763db8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test-taxa.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,6 @@ def test_taxa_common():
assert list == list(res.keys()).__class__
assert list == res['results'].__class__
assert dict == res['results'][0].__class__
assert ['name', 'language'] == res['results'][0].keys()
xx = list(res['results'][0].keys())
xx.sort()
assert ['language', 'name'] == xx

0 comments on commit d763db8

Please sign in to comment.