Show More
@@ -658,7 +658,9 b' guis = inputhook_manager.guihooks' | |||||
658 |
|
658 | |||
659 |
|
659 | |||
660 | def _deprecated_disable(): |
|
660 | def _deprecated_disable(): | |
661 |
warn("This function is deprecated since IPython 4.0 use disable_gui() instead", |
|
661 | warn("This function is deprecated since IPython 4.0 use disable_gui() instead", | |
|
662 | DeprecationWarning, stacklevel=2) | |||
662 | inputhook_manager.disable_gui() |
|
663 | inputhook_manager.disable_gui() | |
|
664 | ||||
663 | disable_wx = disable_qt4 = disable_gtk = disable_gtk3 = disable_glut = \ |
|
665 | disable_wx = disable_qt4 = disable_gtk = disable_gtk3 = disable_glut = \ | |
664 | disable_pyglet = disable_osx = _deprecated_disable |
|
666 | disable_pyglet = disable_osx = _deprecated_disable |
@@ -53,6 +53,9 b" warnings.filterwarnings('error', message='.*make_label_dec', category=Deprecatio" | |||||
53 | warnings.filterwarnings('error', message='.*decorated_dummy.*', category=DeprecationWarning, module='.*') |
|
53 | warnings.filterwarnings('error', message='.*decorated_dummy.*', category=DeprecationWarning, module='.*') | |
54 | warnings.filterwarnings('error', message='.*skip_file_no_x11.*', category=DeprecationWarning, module='.*') |
|
54 | warnings.filterwarnings('error', message='.*skip_file_no_x11.*', category=DeprecationWarning, module='.*') | |
55 | warnings.filterwarnings('error', message='.*onlyif_any_cmd_exists.*', category=DeprecationWarning, module='.*') |
|
55 | warnings.filterwarnings('error', message='.*onlyif_any_cmd_exists.*', category=DeprecationWarning, module='.*') | |
|
56 | ||||
|
57 | warnings.filterwarnings('error', message='.*disable_gui.*', category=DeprecationWarning, module='.*') | |||
|
58 | ||||
56 | if version_info < (6,): |
|
59 | if version_info < (6,): | |
57 | # nose.tools renames all things from `camelCase` to `snake_case` which raise an |
|
60 | # nose.tools renames all things from `camelCase` to `snake_case` which raise an | |
58 | # warning with the runner they also import from standard import library. (as of Dec 2015) |
|
61 | # warning with the runner they also import from standard import library. (as of Dec 2015) |
General Comments 0
You need to be logged in to leave comments.
Login now