Skip to content

Commit

Permalink
Add docstrings about legacy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuppmann committed May 22, 2023
1 parent 60d0ded commit 9b90fbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ install_requires =
pyjwt
httpx[http2]
openpyxl
# remove exception in test_io.py when changing requirement to pandas ≥ 1.5
pandas >= 1.2.0
scipy
pint >= 0.13
Expand Down
2 changes: 1 addition & 1 deletion tests/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def test_io_csv_none(test_df_year):
)
try:
assert test_df_year.to_csv(lineterminator="\n") == exp
# special treatment for Python 3.7 and pandas < 1.5
# special treatment for pandas < 1.5 (used in the legacy tests)
except TypeError:
assert test_df_year.to_csv(line_terminator="\n") == exp

Expand Down

0 comments on commit 9b90fbd

Please sign in to comment.