using == on purpose here
This commit is contained in:
parent
db1dcc5e83
commit
42c69867b8
@ -86,7 +86,7 @@ def ctypes_equal(
|
|||||||
"""
|
"""
|
||||||
Check if the values stored inside two ctypes buffers are equal.
|
Check if the values stored inside two ctypes buffers are equal.
|
||||||
"""
|
"""
|
||||||
if not type(a) == type(b):
|
if not type(a) == type(b): # noqa: E721
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if isinstance(a, ctypes.Array):
|
if isinstance(a, ctypes.Array):
|
||||||
|
Loading…
Reference in New Issue
Block a user