Skip to content

GH:624- added date_format to read_table,read_fwf and read_excel #695

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
May 18, 2023
Prev Previous commit
Next Next commit
Update test_io.py
  • Loading branch information
ramvikrams committed May 3, 2023
commit 9afff8a87ff74d1b0ef56b676317a13f445d724a
9 changes: 0 additions & 9 deletions tests/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -1407,12 +1407,3 @@ def test_read_sql_str_dtype() -> None:
DataFrame,
)
con.close()

if TYPE_CHECKING:
# sqlite3 doesn't support read_table, which is required for this function
# Could only run in pytest if SQLAlchemy was installed
with ensure_clean() as path:
co1 = sqlite3.connect(path)
assert_type(DF.to_sql("test", con=co1), Union[int, None])
assert_type(read_sql_table("test", con=co1, dtype="int"), DataFrame)
co1.close()