Skip to content

Commit 70773d9

Browse files
anmyachevjreback
authored andcommitted
fix StringIO import for asv benchmarks (pandas-dev#25989)
1 parent 1679e54 commit 70773d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

asv_bench/benchmarks/io/csv.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import numpy as np
55
import pandas.util.testing as tm
66
from pandas import DataFrame, Categorical, date_range, read_csv
7-
from pandas.compat import cStringIO as StringIO
7+
from io import StringIO
88

99
from ..pandas_vb_common import BaseIO
1010

asv_bench/benchmarks/io/excel.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
from io import BytesIO
12
import numpy as np
23
from pandas import DataFrame, date_range, ExcelWriter, read_excel
3-
from pandas.compat import BytesIO
44
import pandas.util.testing as tm
55

66

0 commit comments

Comments
 (0)