diff --git a/py/log/warning.py b/py/log/warning.py index 5cb0cad53..dc6911cfd 100644 --- a/py/log/warning.py +++ b/py/log/warning.py @@ -1,6 +1,6 @@ import py, sys -class Warning(py.std.exceptions.DeprecationWarning): +class Warning(DeprecationWarning): def __init__(self, msg, path, lineno): self.msg = msg self.path = path