MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / require_note_seq

Function require_note_seq

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

279
280
281def require_note_seq(test_case):
282 """
283 Decorator marking a test that requires note_seq. These tests are skipped when note_seq isn't installed.
284 """
285 return unittest.skipUnless(is_note_seq_available(), "test requires note_seq")(test_case)
286
287
288def require_torchsde(test_case):

Callers

nothing calls this directly

Calls 1

is_note_seq_availableFunction · 0.85

Tested by

no test coverage detected