MCPcopy Index your code
hub / github.com/plotly/plotly.py / to_json_test

Function to_json_test

tests/test_io/test_to_from_plotly_json.py:30–31  ·  view source on GitHub ↗
(value, pretty=False)

Source from the content-addressed store, hash-verified

28
29
30def to_json_test(value, pretty=False):
31 return json.dumps(value, **build_json_opts(pretty=pretty))
32
33
34def isoformat_test(dt_value):

Callers 5

build_test_dict_stringFunction · 0.85
test_datetime_arraysFunction · 0.85

Calls 1

build_json_optsFunction · 0.85

Tested by

no test coverage detected