Skip to content

Commit 898365e

Browse files
committed
fixed hook error
1 parent ccd14a8 commit 898365e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/io/parser/test_unsupported.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
from pandas.errors import ParserError
1717

1818
import pandas._testing as tm
19+
from pandas.core.frame import DataFrame
1920

2021
from pandas.io.parsers import read_csv
2122
import pandas.io.parsers.readers as parsers
22-
from pandas.core.frame import DataFrame
2323

2424
pytestmark = 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\ncd", "idx" : idx} for idx in range(1_000_000)]
159+
)
160+
rows = [{"text": "ab\ncd", "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):

0 commit comments

Comments
 (0)