Lumicron Documentation
DocumentationAPI referenceValidationlv.testing.OffendingGeometry

lv.testing.OffendingGeometry

The structured failure payload attached to every LumicronAssertionError. Pytest’s pytest_runtest_makereport hook (in _plugin.py) lifts this off the exception and emits it in the JSON event stream the Mac Tests tab consumes.

lv.testing.OffendingGeometry(*, assertion: str, message: str, polygons: list[lumicron_validate.testing._types.OffendingPolygon] = <factory>, ports: list[lumicron_validate.testing._types.OffendingPort] = <factory>, source_loc: lumicron_validate.testing._types.SourceLoc | None = None) -> None

Search documentation

Type to search all guides and API references.

↑ ↓ to select · Enter to open · Esc to close