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):
152
152
read_csv (StringIO (data ), engine = "pyarrow" , ** kwargs )
153
153
154
154
def test_pyarrow_newlines_in_values (self ):
155
- pytest .importorskip ("pyarrow" )
156
155
msg = (
157
156
"CSV parser got out of sync with chunker. "
158
157
"This can mean the data file contains cell values spanning multiple "
@@ -161,7 +160,7 @@ def test_pyarrow_newlines_in_values(self):
161
160
rows = [{"text" : "ab\n cd" , "idx" : idx } for idx in range (1_000_000 )]
162
161
df = DataFrame (rows )
163
162
df .to_csv ("test.csv" , index = False )
164
- with pytest .raises (ValueError , match = msg ):
163
+ with pytest .raises (ParserError , match = msg ):
165
164
read_csv ("test.csv" , engine = "pyarrow" )
166
165
os .unlink ("test.csv" )
167
166
You can’t perform that action at this time.
0 commit comments