Skip to content

Commit

Permalink
Rename variable for flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
geographika committed Apr 4, 2018
1 parent b529e94 commit c1472d1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,12 @@ def test_dictfind():
d = mappyfile.loads(s)

pth = ["layers", 1]
l = mappyfile.dictfind(d, *pth)
assert l["name"] == "Layer2"
cmp = mappyfile.dictfind(d, *pth)
assert cmp["name"] == "Layer2"

pth = ["layers", 1, "classes", 0]
l = mappyfile.dictfind(d, *pth)
print(l)
assert l["name"] == "Class1"
cmp = mappyfile.dictfind(d, *pth)
assert cmp["name"] == "Class1"


def run_tests():
Expand Down

0 comments on commit c1472d1

Please sign in to comment.