Skip to content

Commit 76c8264

Browse files
committed
Fix unused variable disable
1 parent 23a2ec3 commit 76c8264

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_MIDI_unittests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def test_unknown_before_NoteOn(self): # pylint: disable=invalid-name
184184
) + bytes(NoteOn("C5", 0x7F, channel=channel))
185185
midi = MIDI_mocked_receive(channel, raw_data, [2, 2, 1, 1, 3])
186186

187-
for unused in range(4): # pylint: disable=unused-variable
187+
for _ in range(4):
188188
msg = midi.receive()
189189
self.assertIsInstance(msg, adafruit_midi.midi_message.MIDIUnknownEvent)
190190
self.assertIsNone(msg.channel)

0 commit comments

Comments
 (0)