From 8d0d48df41d6749cad175727020ef7583bf3b58b Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 25 Sep 2023 12:46:53 -0300 Subject: [PATCH] Fix linting --- tests/test_wait_signal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_wait_signal.py b/tests/test_wait_signal.py index 47cb749..e7f6013 100644 --- a/tests/test_wait_signal.py +++ b/tests/test_wait_signal.py @@ -617,7 +617,7 @@ class TestCallback: @staticmethod def get_signal_from_code(signaller, code): """Converts a code such as 'A1' to a signal (signaller.signal_args for example).""" - assert type(code) == str and len(code) == 2 + assert type(code) is str and len(code) == 2 signal = signaller.signal_args if code[0] == "A" else signaller.signal_args_2 return signal