Revert using direct annotations in looponfail.py
We need to use string annotations otherwise we get this error:
```
ValueError: ("the use of non-builtin globals isn't supported", ['execnet', 'Any'])
```
This commit is contained in:
@@ -158,9 +158,9 @@ def repr_pytest_looponfailinfo(
|
||||
|
||||
|
||||
def init_worker_session(
|
||||
channel: execnet.Channel,
|
||||
channel: "execnet.Channel", # noqa: UP037
|
||||
args: list[str],
|
||||
option_dict: dict[str, Any],
|
||||
option_dict: dict[str, "Any"], # noqa: UP037
|
||||
) -> None:
|
||||
import os
|
||||
import sys
|
||||
|
||||
Reference in New Issue
Block a user