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 1616from pandas .errors import ParserError
1717
1818import pandas ._testing as tm
19+ from pandas .core .frame import DataFrame
1920
2021from pandas .io .parsers import read_csv
2122import pandas .io .parsers .readers as parsers
22- from pandas .core .frame import DataFrame
2323
2424pytestmark = pytest .mark .filterwarnings (
2525 "ignore:Passing a BlockManager to DataFrame:DeprecationWarning"
@@ -156,8 +156,8 @@ def test_pyarrow_newlines_in_values(self):
156156 "CSV parser got out of sync with chunker. "
157157 "This can mean the data file contains cell values spanning multiple "
158158 "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 )]
161161 df = DataFrame (rows )
162162 df .to_csv ("test.csv" , index = False )
163163 with pytest .raises (ValueError , match = msg ):
You can’t perform that action at this time.
0 commit comments