Skip to content

Commit

Permalink
Make "test_readme" work again
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Apr 25, 2021
1 parent 0cc2a4a commit 6f764fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ Acquisition of historical data for specific stations using ``wetterdienst`` as l
... ).filter_by_station_id(station_id=(1048, 4411))
>>> request.df.head() # station list
station_id from_date to_date height \
209 01048 1934-01-01 00:00:00+00:00 2021-04-23 00:00:00+00:00 227.0
818 04411 1979-12-01 00:00:00+00:00 2021-04-23 00:00:00+00:00 155.0
209 01048 1934-01-01 00:00:00+00:00 ... 00:00:00+00:00 227.0
818 04411 1979-12-01 00:00:00+00:00 ... 00:00:00+00:00 155.0
<BLANKLINE>
latitude longitude name state
209 51.1280 13.7543 Dresden-Klotzsche Sachsen
Expand Down
2 changes: 1 addition & 1 deletion tests/test_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def test_readme():
failures, _ = doctest.testfile(
filename=str(readme_file),
module_relative=False,
optionflags=doctest.NORMALIZE_WHITESPACE,
optionflags=doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS,
)

assert failures == 0

0 comments on commit 6f764fb

Please sign in to comment.