DeprecationWarning is in the builtin namespace
--HG-- branch : trunk
This commit is contained in:
parent
711552e84c
commit
7a4bd92e33
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue