Skip to content

Commit cf83e30

Browse files
1 parent 08df328 commit cf83e30

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎tests/system/small/test_session.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,9 @@ def test_read_pandas_json_index(session, write_engine):
959959
'{"a":1,"b":["x","y"],"c":{"x":[],"z":false}}',
960960
]
961961
expected_index: pd.Index = pd.Index(json_data, dtype=bigframes.dtypes.JSON_DTYPE)
962-
actual_result = session.read_pandas(expected_index, write_engine=write_engine).to_pandas()
962+
actual_result = session.read_pandas(
963+
expected_index, write_engine=write_engine
964+
).to_pandas()
963965
pd.testing.assert_index_equal(actual_result, expected_index)
964966

965967

@@ -1013,7 +1015,9 @@ def test_read_pandas_w_nested_json_index(session, write_engine):
10131015
pa.list_(pa.struct([("name", bigframes.dtypes.JSON_ARROW_TYPE)]))
10141016
),
10151017
)
1016-
with pytest.raises(NotImplementedError, match="Nested JSON types, found in the index"):
1018+
with pytest.raises(
1019+
NotImplementedError, match="Nested JSON types, found in the index"
1020+
):
10171021
session.read_pandas(pd_idx, write_engine=write_engine)
10181022

10191023

0 commit comments

Comments
 (0)