pytest
c287dd71 - Ensure subtest's context kwargs are JSON serializable (#13963)

Commit
7 days ago
Ensure subtest's context kwargs are JSON serializable (#13963) Convert all the values of `SubtestContext.kwargs` to strings using `saferepr`. This complies with the requirement that the returned dict from `pytest_report_to_serializable` is serializable to JSON, at the cost of losing type information for objects that are natively supported by JSON. Fixes pytest-dev/pytest-xdist#1273
Author
Parents
Loading