Skip to content

Commit

Permalink
Fix the error message (s/Min/Max)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcorbasson committed Sep 13, 2017
1 parent 7ab71ec commit f1caa8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agate/aggregations/max.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def validate(self, table):
if not (isinstance(column.data_type, Number) or
isinstance(column.data_type, Date) or
isinstance(column.data_type, DateTime)):
raise DataTypeError('Min can only be applied to columns containing DateTime orNumber data.')
raise DataTypeError('Max can only be applied to columns containing DateTime orNumber data.')

def run(self, table):
column = table.columns[self._column_name]
Expand Down

0 comments on commit f1caa8d

Please sign in to comment.