Decorator that handles snapshot updates and comparisons for testing functions.
- Parameters:
method (TypeVar(F, bound= Callable[..., Any])) – The testing function to wrap.
- Raises:
AssertionError – If snapshot not found and snaptol_update is False.
- Return type:
TypeVar(F, bound= Callable[..., Any])