(self)
| 62 | kwargs: Mapping[str, Any] |
| 63 | |
| 64 | def __post_init__(self) -> None: |
| 65 | # Brute-force the returned kwargs dict to be JSON serializable (pytest-dev/pytest-xdist#1273). |
| 66 | object.__setattr__( |
| 67 | self, "kwargs", {k: saferepr(v) for (k, v) in self.kwargs.items()} |
| 68 | ) |
| 69 | |
| 70 | def _to_json(self) -> dict[str, Any]: |
| 71 | result = dataclasses.asdict(self) |
nothing calls this directly
no test coverage detected