Skip to content

Commit

Permalink
Fix ellipsis evaluation in doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Apr 10, 2023
1 parent 0de00a2 commit 73b3efa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ For ready-to-run code snippets, please also have a look at the `examples directo
... }
>>> observations: pd.DataFrame = client.get_observations(options, humanize=False)
>>> observations.info() # doctest: +ELLIPSIS
>>> print(observations.info())
[...]
>>> observations # doctest: +ELLIPSIS
>>> print(observations)
[...]
Expand Down
2 changes: 2 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ log_date_format = %Y-%m-%dT%H:%M:%S

log_cli = true
log_cli_level = INFO

doctest_ellipsis_markers = [...] '...' "..."

0 comments on commit 73b3efa

Please sign in to comment.