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 Nov 8, 2024
1 parent 85da0c4 commit 7fe744b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/test_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,12 +374,11 @@ def test_dct_merge(client, request):
dct = znsocket.Dict(r=c, key="list:test")
else:
dct = {}


dct.update({"a": "1", "b": "2"})

new_dct = dct | {"b": "3", "c": "4"}

assert new_dct == {"a": "1", "b": "3", "c": "4"}
assert isinstance(new_dct, dict)

Expand All @@ -392,4 +391,3 @@ def test_dct_merge(client, request):
new_dct = dct | dct2
assert new_dct == {"a": "1", "b": "3", "c": "4"}
assert isinstance(new_dct, dict)

0 comments on commit 7fe744b

Please sign in to comment.