##// END OF EJS Templates
Add filter warnings for Traitlets 4.1 now that it's out.
Matthias Bussonnier -
Show More
@@ -51,8 +51,9 b' if version_info < (4,2):'
51 # ignore some warnings from traitlets until 6.0
51 # ignore some warnings from traitlets until 6.0
52 warnings.filterwarnings('ignore', message='.*on_trait_change is deprecated: use observe instead.*')
52 warnings.filterwarnings('ignore', message='.*on_trait_change is deprecated: use observe instead.*')
53 warnings.filterwarnings('ignore', message='.*was set from the constructor.*', category=Warning, module='IPython.*')
53 warnings.filterwarnings('ignore', message='.*was set from the constructor.*', category=Warning, module='IPython.*')
54 warnings.filterwarnings('ignore', message='.*use the instance .help string directly, like x.help.*', category=DeprecationWarning, module='IPython.*')
54 else :
55 else :
55 warnings.warn('iptest has been filtering out for Traitlets warnings messages, for 2 major versions (since 4.x), please consider updating to use new API')
56 warnings.warn('iptest has been filtering out for Traitlets warnings messages, for 2 minor versions (since 4.x), please consider updating to use new API')
56
57
57 if version_info < (6,):
58 if version_info < (6,):
58 # nose.tools renames all things from `camelCase` to `snake_case` which raise an
59 # nose.tools renames all things from `camelCase` to `snake_case` which raise an
General Comments 0
You need to be logged in to leave comments. Login now