(self, spec)
| 298 | return self.get_maker(spec)(spec) |
| 299 | |
| 300 | def example(self, spec): |
| 301 | # A good representative of the object - no degenerate case |
| 302 | cls = spec if isinstance(spec, type) else spec[0] |
| 303 | if meth := self._get_method("example", cls): |
| 304 | return meth(spec) |
| 305 | else: |
| 306 | return self.make(spec) |
| 307 | |
| 308 | def match_any(self, spec, got, want): |
| 309 | assert got == want |
no test coverage detected