#!/usr/bin/python3 import mido msg = mido.Message('note_on', note=60) assert msg.type == 'note_on' assert msg.note == 60