diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ac90223..e1d4d94 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,11 +22,11 @@ repos: - id: check-yaml - id: debug-statements - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + rev: 6.1.0 hooks: - id: flake8 - repo: https://github.com/asottile/pyupgrade - rev: v3.9.0 + rev: v3.10.1 hooks: - id: pyupgrade args: [--py3-plus] diff --git a/testing/test_workermanage.py b/testing/test_workermanage.py index e83b574..6f5a3a4 100644 --- a/testing/test_workermanage.py +++ b/testing/test_workermanage.py @@ -374,7 +374,7 @@ def test_unserialize_warning_msg(w_cls): v1 = getattr(w_msg, k) v2 = getattr(w_msg2, k) if k == "message": - assert type(v1) == type(v2) + assert type(v1) is type(v2) assert v1.args == v2.args else: assert v1 == v2