Skip to content

Fix/coremidi test failures#227

Open
tieu-sys wants to merge 4 commits into
SpotlightKid:masterfrom
tieu-sys:fix/coremidi-test-failures
Open

Fix/coremidi test failures#227
tieu-sys wants to merge 4 commits into
SpotlightKid:masterfrom
tieu-sys:fix/coremidi-test-failures

Conversation

@tieu-sys
Copy link
Copy Markdown

@tieu-sys tieu-sys commented May 15, 2026

  • Always use open_virtual_port in test_delete tests to fix false failures on macOS, where system MIDI ports already exist and open_port(0) does not add a new port to the port count
  • Make UnsupportedOperationError a subclass of NotImplementedError so assertRaises(NotImplementedError) passes in CoreMIDITestCase — backward compatible since NotImplementedError is itself a subclass of `RuntimeError

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant