Skip to content

Commit

Permalink
Fixing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rmhowe425 committed Aug 9, 2023
1 parent 56ec5d2 commit 71ac556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/tests/io/test_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -2949,7 +2949,7 @@ def test_read_sql_string_inference(self):
pa = pytest.importorskip("pyarrow")
table = "test"
df = DataFrame({"a": ["x", "y"]})
df.to_sql(table, conn=self.con, index=False, if_exists="replace")
df.to_sql(table, con=self.conn, index=False, if_exists="replace")

with pd.option_context("future.infer_string", True):
result = read_sql_table(table, self.conn)
Expand Down

0 comments on commit 71ac556

Please sign in to comment.