MCPcopy Create free account
hub / github.com/PyO3/pyo3 / test_mixed_complex_enum_pyfunction_instance_empty

Function test_mixed_complex_enum_pyfunction_instance_empty

pytests/tests/test_enums.py:183–187  ·  view source on GitHub ↗
(variant: enums.MixedComplexEnum)

Source from the content-addressed store, hash-verified

181 [enums.MixedComplexEnum.Empty()],
182)
183def test_mixed_complex_enum_pyfunction_instance_empty(variant: enums.MixedComplexEnum):
184 assert isinstance(variant, enums.MixedComplexEnum.Empty)
185 assert isinstance(
186 enums.do_mixed_complex_stuff(variant), enums.MixedComplexEnum.Nothing
187 )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected