[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
a870f2c050
commit
74d95cdeec
5 changed files with 10 additions and 17 deletions
|
|
@ -176,7 +176,7 @@ def test_jsonify_aware_datetimes(tz):
|
|||
def test_jsonify_uuid_types(app, client):
|
||||
"""Test jsonify with uuid.UUID types"""
|
||||
|
||||
test_uuid = uuid.UUID(bytes=b"\xDE\xAD\xBE\xEF" * 4)
|
||||
test_uuid = uuid.UUID(bytes=b"\xde\xad\xbe\xef" * 4)
|
||||
url = "/uuid_test"
|
||||
app.add_url_rule(url, url, lambda: flask.jsonify(x=test_uuid))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue