Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus authored Sep 25, 2023
1 parent fdbc399 commit 8d0d48d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_wait_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8d0d48d

Please sign in to comment.