File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 16
16
from pandas .errors import ParserError
17
17
18
18
import pandas ._testing as tm
19
+ from pandas .core .frame import DataFrame
19
20
20
21
from pandas .io .parsers import read_csv
21
22
import pandas .io .parsers .readers as parsers
22
- from pandas .core .frame import DataFrame
23
23
24
24
pytestmark = pytest .mark .filterwarnings (
25
25
"ignore:Passing a BlockManager to DataFrame:DeprecationWarning"
@@ -156,8 +156,8 @@ def test_pyarrow_newlines_in_values(self):
156
156
"CSV parser got out of sync with chunker. "
157
157
"This can mean the data file contains cell values spanning multiple "
158
158
"lines; please consider enabling the option 'newlines_in_values'."
159
- )
160
- rows = [{"text" : "ab\n cd" , "idx" : idx } for idx in range (1_000_000 )]
159
+ )
160
+ rows = [{"text" : "ab\n cd" , "idx" : idx } for idx in range (1_000_000 )]
161
161
df = DataFrame (rows )
162
162
df .to_csv ("test.csv" , index = False )
163
163
with pytest .raises (ValueError , match = msg ):
You can’t perform that action at this time.
0 commit comments