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 Jul 1, 2024
1 parent ef9d283 commit 1343473
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -831,14 +831,14 @@ def test_load_from_file(impl, tmpdir):

def test_nested_dict(impl):
value = impl.loads(unhexlify("A1D9177082010201"))
assert type(value) is dict # noqa: E721
assert type(value) is dict
assert value == {impl.CBORTag(6000, (1, 2)): 1}


def test_set(impl):
payload = unhexlify("d9010283616361626161")
value = impl.loads(payload)
assert type(value) is set # noqa: E721
assert type(value) is set
assert value == {"a", "b", "c"}


Expand Down

0 comments on commit 1343473

Please sign in to comment.