MCPcopy
hub / github.com/pallets/flask / test_json_decimal

Function test_json_decimal

tests/test_json.py:191–193  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

189
190
191def test_json_decimal():
192 rv = flask.json.dumps(decimal.Decimal("0.003"))
193 assert rv == '"0.003"'
194
195
196def test_json_attr(app, client):

Callers

nothing calls this directly

Calls 1

dumpsMethod · 0.45

Tested by

no test coverage detected