Skip to content

Commit

Permalink
Merge pull request #20 from Andrew-SK/bugfix/fix-failing-test
Browse files Browse the repository at this point in the history
Fix failing test `test.test_example.Example.test_example`.
  • Loading branch information
multimeric authored Apr 12, 2019
2 parents 72ec6bf + 2aacaef commit 4f64baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas_schema/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def __init__(self, options: typing.Iterable, case_sensitive: bool = True, **kwar

@property
def default_message(self):
values = ','.join(str(v) for v in self.options)
values = ', '.join(str(v) for v in self.options)
return 'is not in the list of legal options ({})'.format(values)

def validate(self, series: pd.Series) -> pd.Series:
Expand Down

0 comments on commit 4f64baa

Please sign in to comment.