Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 6, 2021
1 parent 57dbed3 commit b366434
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_ujson.py
Expand Up @@ -849,7 +849,9 @@ def default(value):
return value

now = dt.datetime.now()
assert ujson.dumps(now, default=default) == '"%s"' % now.strftime(iso8601_time_format)
assert ujson.dumps(now, default=default) == '"%s"' % now.strftime(
iso8601_time_format
)

uuid4 = uuid.uuid4()
assert ujson.dumps(uuid4, default=default) == '"%s"' % uuid4.hex
Expand Down

0 comments on commit b366434

Please sign in to comment.