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 Oct 29, 2024
1 parent 4222d6c commit 3a83e60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js_tests/native.dict.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ test("native_dict_items", async () => {
[5, "5"],
[6, "6"],
]);
});
});
3 changes: 1 addition & 2 deletions tests/test_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,11 +322,10 @@ def test_dct_clear(client, request):
assert isinstance(dct, ZnSocketObject)
else:
dct = {}

assert len(dct) == 0
dct.clear()
assert len(dct) == 0
dct.update({"a": "1", "b": "2"})
assert len(dct) == 2
assert dct == {"a": "1", "b": "2"}

0 comments on commit 3a83e60

Please sign in to comment.