Skip to content

Commit

Permalink
fix: remove test code
Browse files Browse the repository at this point in the history
  • Loading branch information
wmak committed Nov 22, 2024
1 parent 848e04e commit c42fc4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sentry/search/events/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,7 @@ def _normalize(self, value: str) -> str:
if match and match.group("type") == "number":
return value
if not snuba_column:
raise InvalidFunctionArgument(f"{value} is not a valid column?")
raise InvalidFunctionArgument(f"{value} is not a valid column")
elif snuba_column not in ["time", "timestamp", "duration"]:
raise InvalidFunctionArgument(f"{value} is not a numeric column")
return snuba_column
Expand Down

0 comments on commit c42fc4c

Please sign in to comment.