MCPcopy Index your code
hub / github.com/huggingface/diffusers / require_note_seq

Function require_note_seq

tests/testing_utils.py:683–687  ·  view source on GitHub ↗

Decorator marking a test that requires note_seq. These tests are skipped when note_seq isn't installed.

(test_case)

Source from the content-addressed store, hash-verified

681
682
683def require_note_seq(test_case):
684 """
685 Decorator marking a test that requires note_seq. These tests are skipped when note_seq isn't installed.
686 """
687 return pytest.mark.skipif(not is_note_seq_available(), reason="test requires note_seq")(test_case)
688
689
690def require_accelerator(test_case):

Callers

nothing calls this directly

Calls 1

is_note_seq_availableFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…