Closed
Description
How to ignore some warnings? For example MissingSpecAttributeWarning
The problem, is that decoy
see a missing spec when using @property
on a class. But the stubbing / verify work perfectly.
Example:
class MyClass:
@property
def my_property(self) -> Some:
return MyProperty()
Short term, how to ignore the warning so it does not pollute the pytest log?
Long term: is it possible to fix the @property
issue?
Thanks!
BTW, this library is awesome. It clearly do not have enough stars
Metadata
Metadata
Assignees
Labels
No labels