You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: IPython/testing/iptest.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -51,8 +51,9 @@
51
51
# ignore some warnings from traitlets until 6.0
52
52
warnings.filterwarnings('ignore', message='.*on_trait_change is deprecated: use observe instead.*')
53
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
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
58
ifversion_info< (6,):
58
59
# nose.tools renames all things from `camelCase` to `snake_case` which raise an
0 commit comments