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

Function slow

src/diffusers/utils/testing_utils.py:181–188  ·  view source on GitHub ↗

Decorator marking a test as slow. Slow tests are skipped by default. Set the RUN_SLOW environment variable to a truthy value to run them.

(test_case)

Source from the content-addressed store, hash-verified

179
180
181def slow(test_case):
182 """
183 Decorator marking a test as slow.
184
185 Slow tests are skipped by default. Set the RUN_SLOW environment variable to a truthy value to run them.
186
187 """
188 return unittest.skipUnless(_run_slow_tests, "test is slow")(test_case)
189
190
191def nightly(test_case):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected