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 Dec 12, 2022
1 parent a95c342 commit 3f58a30
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/integration/test_deserialize_with_coercion.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ def test_coerce_json():
key = "test"
value = 2
ret = deserialize(
MyClass,
{
"my_property": f'{{"{key}": {value}}}',
},
coerce=_coerce_json,
MyClass, {"my_property": f'{{"{key}": {value}}}'}, coerce=_coerce_json
)
assert isinstance(ret, MyClass)
assert isinstance(ret.my_property, dict) and ret.my_property[key] == value

0 comments on commit 3f58a30

Please sign in to comment.