Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
poplarShift committed Apr 29, 2020
1 parent 9ec76fe commit 0fe8163
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions param/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1552,7 +1552,6 @@ def _validate_dims_coords(self, val):


def _validate_property(self, expected, property, name):
# if isinstance(expected, (list, set)):
difference = set(expected) - set([str(el) for el in property])
if difference:
msg = ('Provided DataArray {name} {found} do not contain '
Expand All @@ -1569,9 +1568,9 @@ def _validate_property(self, expected, property, name):
'exactly match {expected}')
raise ValueError(msg.format(
found=list(property),
expected=sorted(expected)),
expected=sorted(expected),
name=name,
)
))


def _coord_check(self, expected, coords):
Expand Down

0 comments on commit 0fe8163

Please sign in to comment.