Skip to content

Commit 7c1c2ee

Browse files
committed
fixing tests
1 parent 4eec138 commit 7c1c2ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/system/small/bigquery/test_json.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,11 @@ def test_json_extract_from_json():
126126
def test_json_extract_from_string():
127127
s = bpd.Series(['{"a": {"b": [1, 2]}}', '{"a": {"c": 1}}', '{"a": {"b": 0}}'])
128128
actual = bbq.json_extract(s, "$.a.b")
129-
expected = bpd.Series(["[1,2]", None, "0"])
129+
expected = _get_series_from_json(["[1,2]", None, "0"])
130130
pd.testing.assert_series_equal(
131131
actual.to_pandas(),
132132
expected.to_pandas(),
133+
check_names=False,
133134
)
134135

135136

0 commit comments

Comments
 (0)