correct the type compare the updated flake8 found

This commit is contained in:
Ronny Pfannschmidt
2023-08-01 09:12:00 +00:00
parent caff114004
commit 17da7cbe59

View File

@@ -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