Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
191
def
test_json_decimal():
192
rv = flask.json.dumps(decimal.Decimal(
"0.003"
))
193
assert rv ==
'"0.003"'
194
195
196
def
test_json_attr(app, client):
Callers
nothing calls this directly
Calls
1
dumps
Method · 0.45
Tested by
no test coverage detected