Skip to content

Commit 00f2085

Browse files
committed
Update test_pandas.py
1 parent 2572a32 commit 00f2085

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/io/json/test_pandas.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2186,9 +2186,10 @@ def test_read_json_dtype_backend(
21862186
@td.skip_if_no("pyarrow")
21872187
def test_read_json_pyarrow_with_dtype(self, datapath):
21882188
dtype = {"a": "int32[pyarrow]", "b": "int64[pyarrow]"}
2189+
json = '{"a": 1, "b": 2}'
21892190

21902191
df = read_json(
2191-
datapath("io", "json", "data", "line_delimited.json"),
2192+
StringIO(json),
21922193
dtype=dtype,
21932194
lines=True,
21942195
engine="pyarrow",

0 commit comments

Comments
 (0)