From 3f58a30ce9a2b40f4697c4cd43bc79e6a8043c0d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 12 Dec 2022 02:14:01 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/integration/test_deserialize_with_coercion.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/integration/test_deserialize_with_coercion.py b/tests/integration/test_deserialize_with_coercion.py index 0eea512f..61c954a3 100644 --- a/tests/integration/test_deserialize_with_coercion.py +++ b/tests/integration/test_deserialize_with_coercion.py @@ -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