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

Function require_note_seq

src/diffusers/utils/testing_utils.py:492–496  ·  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

490
491
492def require_note_seq(test_case):
493 """
494 Decorator marking a test that requires note_seq. These tests are skipped when note_seq isn't installed.
495 """
496 return unittest.skipUnless(is_note_seq_available(), "test requires note_seq")(test_case)
497
498
499def require_accelerator(test_case):

Callers

nothing calls this directly

Calls 1

is_note_seq_availableFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…