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)
| 217 | |
| 218 | |
| 219 | def 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 | |
| 229 | def is_torch_compile(test_case): |
nothing calls this directly
no outgoing calls
no test coverage detected