xdiff#
- xdiff(*, when: str | dict[str, str] | None = None) None#
The test is expected to diff.
Usage#
.pyt:import canary canary.directives.xdiff(when=...)
Parameters#
when: Restrict processing of the directive to this condition
The
whenexpression is limited to the following conditions:testname: Restrict processing of the directive to this test nameplatforms: Restrict processing of the directive to certain platform or platformsoptions: Restrict processing of the directive to command line-ooptionsparameters: Restrict processing of the directive to certain parameter names and values