Source code for pook.exceptions
import warnings
[docs]
class PookExpiredMock(Exception):
def __init__(self, *args, **kwargs):
warnings.warn(
"PookExpiredMock is deprecated and will be removed in a future version of Pook",
DeprecationWarning,
stacklevel=2,
)
super().__init__(*args, **kwargs)