Skip to content

Commit

Permalink
Tweak error message and fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Jan 18, 2021
1 parent f3e8289 commit 283a1e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimade/validator/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ def _test_versions_endpoint_content(
text_content = response.text.strip().split("\n")
if text_content[0] != "version":
raise ResponseError(
f"First line of `/{CONF.versions_endpoint}` response must be 'version', not {text_content[0]}"
f"First line of `/{CONF.versions_endpoint}` response must be 'version', not {text_content[0]!r}"
)

if len(text_content) <= 1:
Expand Down

0 comments on commit 283a1e4

Please sign in to comment.