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

Function nightly

diffusers/src/diffusers/utils/testing_utils.py:219–226  ·  view source on GitHub ↗

Decorator marking a test that runs nightly in the diffusers CI. Slow tests are skipped by default. Set the RUN_NIGHTLY environment variable to a truthy value to run them.

(test_case)

Source from the content-addressed store, hash-verified

217
218
219def nightly(test_case):
220 """
221 Decorator marking a test that runs nightly in the diffusers CI.
222
223 Slow tests are skipped by default. Set the RUN_NIGHTLY environment variable to a truthy value to run them.
224
225 """
226 return unittest.skipUnless(_run_nightly_tests, "test is nightly")(test_case)
227
228
229def is_torch_compile(test_case):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected