(datetime_value, engine, pretty)
| 173 | |
| 174 | |
| 175 | def test_datetime(datetime_value, engine, pretty): |
| 176 | value = build_test_dict(datetime_value) |
| 177 | result = pio.to_json_plotly(value, engine=engine, pretty=pretty) |
| 178 | expected = build_test_dict_string('"{}"'.format(isoformat_test(datetime_value))) |
| 179 | assert result == expected |
| 180 | check_roundtrip(result, engine=engine, pretty=pretty) |
| 181 | |
| 182 | |
| 183 | def test_datetime_arrays(datetime_array, engine, pretty): |
nothing calls this directly
no test coverage detected