Skip to content

Commit 574d129

Browse files
committed
remove io since StringIO is already imported
1 parent babed36 commit 574d129

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/tests/io/test_common.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import codecs
66
import errno
77
from functools import partial
8-
import io
98
from io import (
109
BytesIO,
1110
StringIO,
@@ -680,6 +679,6 @@ def test_pickle_reader(reader):
680679
def test_pyarrow_read_csv_datetime_dtype():
681680
data = "date,id\n20/12/2025,a\n,b\n31/12/2020,c"
682681
df = pd.read_csv(
683-
io.StringIO(data), parse_dates=["date"], dayfirst=True, dtype_backend="pyarrow"
682+
StringIO(data), parse_dates=["date"], dayfirst=True, dtype_backend="pyarrow"
684683
)
685684
assert (df["date"].dtype) == "datetime64[s]"

0 commit comments

Comments
 (0)