Show More
@@ -194,6 +194,9 b' if _dowarn and pycompat.ispy3:' | |||||
194 | r'mercurial') |
|
194 | r'mercurial') | |
195 | warnings.filterwarnings(r'ignore', r'invalid escape sequence', |
|
195 | warnings.filterwarnings(r'ignore', r'invalid escape sequence', | |
196 | DeprecationWarning, r'mercurial') |
|
196 | DeprecationWarning, r'mercurial') | |
|
197 | # TODO: reinvent imp.is_frozen() | |||
|
198 | warnings.filterwarnings(r'ignore', r'the imp module is deprecated', | |||
|
199 | DeprecationWarning, r'mercurial') | |||
197 |
|
200 | |||
198 | def nouideprecwarn(msg, version, stacklevel=1): |
|
201 | def nouideprecwarn(msg, version, stacklevel=1): | |
199 | """Issue an python native deprecation warning |
|
202 | """Issue an python native deprecation warning |
General Comments 0
You need to be logged in to leave comments.
Login now