(self)
| 44 | |
| 45 | @functools.cached_property |
| 46 | def cached_property(self): |
| 47 | if MyExprCachedProperty.called_cached_property: |
| 48 | raise RuntimeError("No!") |
| 49 | MyExprCachedProperty.called_cached_property = True |
| 50 | return self.foo + self.bar |
| 51 | |
| 52 | |
| 53 | @pytest.mark.slow() |
nothing calls this directly
no outgoing calls
no test coverage detected