(msg)
| 2046 | @mapcls_and_from_attributes |
| 2047 | def test_struct_union(self, tag1, tag2, unknown, mapcls, from_attributes): |
| 2048 | def decode(msg): |
| 2049 | return convert( |
| 2050 | mapcls(msg), Union[Test1, Test2], from_attributes=from_attributes |
| 2051 | ) |
| 2052 | |
| 2053 | class Test1(Struct, tag=tag1): |
| 2054 | a: int |
no outgoing calls
no test coverage detected