Skip to content

Commit

Permalink
Add typing in test_sql
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Nov 14, 2023
1 parent 0a79c0b commit 68f2091
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pandas/tests/io/test_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -3180,6 +3180,8 @@ def dtype_backend_data() -> DataFrame:
@pytest.fixture
def dtype_backend_expected():
def func(storage, dtype_backend, conn_name) -> DataFrame:
string_array: StringArray | ArrowStringArray
string_array_na: StringArray | ArrowStringArray
if storage == "python":
string_array = StringArray(np.array(["a", "b", "c"], dtype=np.object_))
string_array_na = StringArray(np.array(["a", "b", pd.NA], dtype=np.object_))
Expand Down

0 comments on commit 68f2091

Please sign in to comment.