File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,6 @@ def test_pyarrow_engine(self):
152152 read_csv (StringIO (data ), engine = "pyarrow" , ** kwargs )
153153
154154 def test_pyarrow_newlines_in_values (self ):
155- pytest .importorskip ("pyarrow" )
156155 msg = (
157156 "CSV parser got out of sync with chunker. "
158157 "This can mean the data file contains cell values spanning multiple "
@@ -161,7 +160,7 @@ def test_pyarrow_newlines_in_values(self):
161160 rows = [{"text" : "ab\n cd" , "idx" : idx } for idx in range (1_000_000 )]
162161 df = DataFrame (rows )
163162 df .to_csv ("test.csv" , index = False )
164- with pytest .raises (ValueError , match = msg ):
163+ with pytest .raises (ParserError , match = msg ):
165164 read_csv ("test.csv" , engine = "pyarrow" )
166165 os .unlink ("test.csv" )
167166
You can’t perform that action at this time.
0 commit comments