Skip to content

Commit c48f3ce

Browse files
committed
adjust test_utils.py
1 parent 520e9bf commit c48f3ce

File tree

1 file changed

+1
-1
lines changed
  • packages/python/plotly/plotly/tests/test_optional/test_utils

1 file changed

+1
-1
lines changed

packages/python/plotly/plotly/tests/test_optional/test_utils/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def test_figure_json_encoding(self):
188188
'"z": [1, "A", "2014-01-05T00:00:00", '
189189
'"2014-01-05T01:01:01", "2014-01-05T01:01:01.000001"]}'
190190
)
191-
assert js2 == '{"type": "scatter", "x": [1, 2, 3]}'
191+
assert js2 == '{"type": "scatter", "x": {"bdata": "AQID", "dtype": "i1"}}'
192192

193193
# Test JSON encoding works
194194
_json.dumps(data, cls=utils.PlotlyJSONEncoder, sort_keys=True)

0 commit comments

Comments
 (0)