(nodeid: str)
| 145 | |
| 146 | |
| 147 | def async_fail(nodeid: str) -> None: |
| 148 | msg = ( |
| 149 | "async def functions are not natively supported.\n" |
| 150 | "You need to install a suitable plugin for your async framework, for example:\n" |
| 151 | " - anyio\n" |
| 152 | " - pytest-asyncio\n" |
| 153 | " - pytest-tornasync\n" |
| 154 | " - pytest-trio\n" |
| 155 | " - pytest-twisted" |
| 156 | ) |
| 157 | fail(msg, pytrace=False) |
| 158 | |
| 159 | |
| 160 | @hookimpl(trylast=True) |
no outgoing calls
no test coverage detected