Skip to content

Commit c1322ae

Browse files
committed
test: format the decoded-payload assert in test_guess_dict3 with ruff
Signed-off-by: KR Ravindra <42912207+KR-Ravindra@users.noreply.github.com>
1 parent d6feecf commit c1322ae

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎tests/flytekit/unit/core/test_type_hints.py‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1655,9 +1655,11 @@ def t2() -> dict:
16551655
output_lm = t2.dispatch_execute(ctx, _literal_models.LiteralMap(literals={}))
16561656
binary_idl_obj = output_lm.literals["o0"].scalar.binary
16571657
assert binary_idl_obj.tag == MESSAGEPACK
1658-
assert msgpack.loads(
1659-
binary_idl_obj.value, strict_map_key=False
1660-
) == {"k1": "v1", "k2": 3, 4: {"one": [1, "two", [3]]}}
1658+
assert msgpack.loads(binary_idl_obj.value, strict_map_key=False) == {
1659+
"k1": "v1",
1660+
"k2": 3,
1661+
4: {"one": [1, "two", [3]]},
1662+
}
16611663

16621664

16631665
@pytest.mark.skipif(

0 commit comments

Comments
 (0)