Return True for async tests that should not be converted to sync.
(f: str)
| 182 | |
| 183 | |
| 184 | def async_only_test(f: str) -> bool: |
| 185 | """Return True for async tests that should not be converted to sync.""" |
| 186 | return f in [ |
| 187 | "test_locks.py", |
| 188 | "test_concurrency.py", |
| 189 | "test_async_cancellation.py", |
| 190 | "test_async_loop_safety.py", |
| 191 | "test_async_contextvars_reset.py", |
| 192 | "test_async_loop_unblocked.py", |
| 193 | ] |
| 194 | |
| 195 | |
| 196 | test_files = [ |