MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / require_note_seq

Function require_note_seq

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

343
344
345def require_note_seq(test_case):
346 """
347 Decorator marking a test that requires note_seq. These tests are skipped when note_seq isn't installed.
348 """
349 return unittest.skipUnless(is_note_seq_available(), "test requires note_seq")(test_case)
350
351
352def require_torchsde(test_case):

Callers

nothing calls this directly

Calls 1

is_note_seq_availableFunction · 0.85

Tested by

no test coverage detected